:root {
  color-scheme: light;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --ink: #202321;
  --muted: #6c726e;
  --faint: #929894;
  --line: #e2e6e2;
  --green: #427d4a;
  --green-soft: #edf5ed;
  --blue: #1f57d6;
  --shadow: 0 24px 80px rgba(30, 42, 32, .16);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 246, .92);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1745ce;
}
.brand-mark i {
  width: 2px;
  height: 9px;
  position: absolute;
  border-radius: 2px;
  background: #fff;
  transform-origin: 50% 8px;
}
.brand-mark i:nth-child(1) { transform: rotate(0deg) translateY(-3px); }
.brand-mark i:nth-child(2) { transform: rotate(120deg) translateY(-3px); }
.brand-mark i:nth-child(3) { transform: rotate(240deg) translateY(-3px); }
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
.github-link { display: inline-flex; align-items: center; gap: 7px; }
.github-link svg { width: 17px; height: 17px; fill: currentColor; }
.hero {
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #171c18;
  color: #f4f7f4;
}
.hero::after {
  content: "OPENCOMPUTER";
  position: absolute;
  right: -18px;
  bottom: -70px;
  z-index: -1;
  color: rgba(255, 255, 255, .035);
  font-size: 160px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}
.hero-content {
  width: min(1320px, calc(100% - 48px));
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 72px 0;
}
.hero-eyebrow {
  margin: 0 0 20px;
  color: #89c48e;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: 72px;
  line-height: .98;
}
.hero-content > p:not(.hero-eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: #b9c2bb;
  font-size: 17px;
  line-height: 1.65;
}
.hero-action {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  padding: 0 20px;
  border-radius: 5px;
  background: #f4f7f4;
  color: #202321;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}
.hero-action:hover { background: #dfe9df; }
.hero-action svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.runtime-map {
  width: 560px;
  height: 390px;
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - 1320px) / 2));
  transform: translateY(-50%);
}
.map-line {
  height: 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(137, 196, 142, .42);
  transform-origin: left center;
}
.line-one { width: 220px; transform: rotate(-33deg); }
.line-two { width: 205px; transform: rotate(29deg); }
.line-three { width: 185px; transform: rotate(158deg); }
.map-node {
  min-width: 126px;
  min-height: 66px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(23, 28, 24, .86);
}
.map-node strong { font-size: 11px; letter-spacing: .08em; }
.map-node small { margin-top: 5px; color: #8e9a91; font-family: var(--mono); font-size: 9px; }
.node-agent {
  width: 106px;
  min-width: 106px;
  height: 106px;
  left: 50%;
  top: 50%;
  align-items: center;
  border-color: #89c48e;
  border-radius: 50%;
  background: #f4f7f4;
  color: #2b5d31;
  transform: translate(-50%, -50%);
}
.node-agent i { width: 7px; height: 7px; margin-bottom: 9px; border-radius: 50%; background: #3c9d52; }
.node-agent small { color: #66806a; }
.node-local { top: 18px; right: 12px; }
.node-state { right: 0; bottom: 28px; }
.node-ship { left: 5px; bottom: 58px; }
.catalog-shell {
  width: min(1320px, calc(100% - 48px));
  min-height: calc(100vh - 136px);
  margin: 0 auto;
  padding: 70px 0 92px;
}
.catalog-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 490px);
  align-items: end;
  gap: 56px;
  margin-bottom: 54px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: 68px;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.02;
}
.catalog-heading > p {
  max-width: 480px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.tabs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 34px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  min-width: max-content;
  min-height: 57px;
  padding: 0 8px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--faint);
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] {
  border-color: var(--green);
  color: var(--green);
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 66px;
  row-gap: 0;
  padding-top: 28px;
}
.agent-item {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--line);
}
.agent-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}
.agent-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.25;
}
.app-list {
  min-height: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.app-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 5px;
  background: #ecefec;
  color: #69716b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.app-icon.gmail { background: #fff0ed; color: #d94737; }
.app-icon.blue { background: #e9efff; color: #1745ce; }
.app-icon.slack { background: #eff8f2; color: #16875e; }
.app-icon.notion, .app-icon.github { border: 1px solid #c9ceca; background: #fff; color: #242624; }
.app-icon.calendar { background: #eaf2ff; color: #2874dc; }
.app-icon.outlook { background: #e8f2ff; color: #1674cf; }
.app-icon.clickup { background: #f1edff; color: #7658d9; }
.app-icon.fireflies { background: #fff0f7; color: #d94a92; }
.app-icon.drive { background: #edf7ee; color: #2d9758; }
.app-icon.asana { background: #fff0f0; color: #db5a63; }
.app-icon.stripe { background: #eeecff; color: #6757d9; }
.app-icon.linkedin { background: #e7f2fa; color: #1675a8; }
.app-icon.salesforce { background: #e8f8ff; color: #1b94c6; }
.app-icon.supabase { background: #eaf8ee; color: #238d51; }
.app-icon.perplexity { background: #e7f5f4; color: #217978; }
.agent-item > p {
  max-width: 360px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.try-button, .soon-button {
  width: max-content;
  min-height: 40px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}
.try-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  cursor: pointer;
}
.try-button span { font-size: 17px; }
.try-button:hover { color: #255f2e; }
.soon-button {
  color: #a3a9a5;
  cursor: default;
}
footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}
dialog {
  width: min(800px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7ddd7;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop { background: rgba(26, 32, 27, .42); backdrop-filter: blur(3px); }
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 0;
}
.dialog-header h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}
.close-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.close-button:hover { background: #f1f3f1; }
.close-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dialog-lede {
  max-width: 680px;
  margin: 18px 32px 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.prompt-toolbar {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid #2d342f;
  border-bottom: 0;
  margin: 0 32px;
  background: #202522;
  color: #e5eae6;
}
.coding-agent { display: flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 650; }
.tool-logos { display: flex; align-items: center; gap: 6px; }
.tool-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #556059;
  border-radius: 6px;
  color: #cfd8d1;
}
.tool-logo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.tool-logo-claude { color: #e39a78; }
.tool-logo-claude svg { stroke-width: 2; stroke-linecap: round; }
.tool-logo-opencode svg { stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
}
.prompt-toolbar .copy-button { background: transparent; color: #c7cec9; font-size: 12px; }
.copy-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.prompt {
  min-height: 180px;
  flex: 1 1 360px;
  margin: 0 32px;
  padding: 24px;
  overflow: auto;
  border: 1px solid #2d342f;
  background: #171b18;
  white-space: pre-wrap;
}
.prompt code {
  color: #dce5de;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
}
.dialog-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px 20px;
  color: var(--faint);
  font-size: 12px;
}
.primary-copy {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}
.primary-copy:hover { background: #326b3a; }
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 5px;
  background: #202522;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 13px;
}
:focus-visible { outline: 3px solid #246bdd; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { min-height: 470px; }
  .hero h1 { font-size: 62px; }
  .runtime-map { right: -180px; opacity: .42; }
  .catalog-heading { grid-template-columns: 1fr; gap: 22px; }
  .catalog-heading > p { max-width: 620px; }
  h1 { font-size: 52px; }
  .tabs { justify-content: flex-start; }
  .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
}
@media (max-width: 620px) {
  .site-header { height: 64px; padding: 0 18px; }
  nav > a:not(.github-link) { display: none; }
  .github-link span { display: none; }
  .hero { min-height: 500px; }
  .hero-content { width: calc(100% - 36px); padding: 60px 0; }
  .hero h1 { font-size: 48px; }
  .hero-content > p:not(.hero-eyebrow) { font-size: 15px; }
  .runtime-map { right: -310px; opacity: .3; }
  .hero::after { font-size: 160px; bottom: -30px; }
  .catalog-shell { width: calc(100% - 36px); padding: 48px 0 70px; }
  .catalog-heading { margin-bottom: 38px; }
  h1 { font-size: 42px; }
  .catalog-heading > p { font-size: 14px; }
  .tabs { gap: 24px; }
  .tabs button { min-height: 52px; font-size: 15px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agent-item { min-height: 260px; }
  footer { padding: 18px; }
  footer span:last-child { display: none; }
  .dialog-header { padding: 24px 20px 0; }
  .dialog-header h2 { font-size: 25px; }
  .dialog-lede { margin: 16px 20px 22px; }
  .prompt-toolbar, .prompt { margin-left: 20px; margin-right: 20px; }
  .prompt-toolbar { padding: 0 15px; }
  .coding-agent > span:last-child { display: none; }
  .tool-logo { width: 27px; height: 27px; }
  .prompt { padding: 18px; }
  .dialog-footer { padding: 13px 20px 18px; }
  .dialog-footer > span { display: none; }
  .primary-copy { width: 100%; }
}