*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; }

.worldvm-banner {
  padding: 10px 16px;
  border-bottom: 1px solid #e7e5e4;
  background: #f5f5f4;
  color: #44403c;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
.worldvm-banner p { margin: 0; }
.worldvm-banner a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.worldvm-banner a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.oo {
  --bg: #f6f5ef;
  --surface: #ffffff;
  --surface-2: #fbfaf6;
  --ink: #10201a;
  --muted: #59615a;
  --faint: #8b928b;
  --rule: #e4e3da;
  --rule-strong: #d2d3c7;
  --accent: #1f6b4f;
  --accent-ink: #154d39;
  --accent-soft: #e3efe8;
  --marigold: #ffc53d;
  --clay: #c4532d;
  --amber: #9a6a00;
  --blue: #2b7a9a;
  --warn: #b25f00;
  --err: #c8372d;
  --code: #0f1a16;
  --code-2: #15221d;
  --code-rule: #24352e;
  --code-ink: #e4efe8;
  --code-dim: #8ea398;
  --blurple: #5865f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgb(15 26 19 / 5%), 0 1px 1px rgb(15 26 19 / 3%);
  --shadow-md: 0 1px 2px rgb(15 26 19 / 5%), 0 10px 28px -12px rgb(15 40 22 / 18%);
  --shadow-lg: 0 2px 6px rgb(15 26 19 / 6%), 0 36px 80px -28px rgb(15 40 22 / 38%);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.oo ::selection { background: var(--marigold); color: var(--ink); }
.oo a { color: inherit; text-decoration: none; transition: color 120ms ease; }
.oo a:hover { color: var(--accent); }
.oo a:focus-visible,
.oo button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.oo code { font-family: var(--mono); font-size: 0.86em; }
.oo :not(pre) > code {
  padding: 0.12em 0.38em;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--accent-ink);
  white-space: nowrap;
}
.oo pre {
  margin: 0;
  overflow-x: auto;
  background: var(--code);
  color: var(--code-ink);
  font: 12.5px/1.75 var(--mono);
  tab-size: 2;
}
.oo pre code { font-size: inherit; }
.oo-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.oo-skip {
  position: absolute; z-index: 100; top: 8px; left: 8px;
  padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--bg) !important;
  transform: translateY(-150%);
}
.oo-skip:focus { transform: none; }

/* Syntax colors, applied by site.js. */
.t-form { color: var(--marigold); font-weight: 600; }
.t-op { color: #9fd8b9; }
.t-kw { color: #f2a98a; }
.t-str { color: #ffd479; }
.t-var { color: #8cc8e0; }
.t-num { color: #c9d98a; }
.t-com { color: var(--code-dim); font-style: italic; }

/* Navigation and the agent note. */
.oo-nav {
  position: sticky; top: 0; z-index: 20;
  min-height: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
}
.oo-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16.5px; font-weight: 650; letter-spacing: -0.035em; white-space: nowrap;
}
.oo-brand:hover { color: var(--ink) !important; }
.oo-nav nav,
.oo-footer nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 14px; font-weight: 520;
}
.oo-nav nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); }
.oo-nav nav a:hover { background: rgb(15 26 19 / 5%); color: var(--ink); }
.oo-nav nav .oo-nav__discord { display: inline-flex; align-items: center; gap: 6px; }
.oo-nav nav .oo-nav__discord svg { color: var(--blurple); }
.oo-nav nav .oo-nav__guide {
  order: 10; margin-left: 6px; padding: 7px 13px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600;
}
.oo-nav nav .oo-nav__guide::after { content: " →"; color: var(--marigold); }
.oo-nav nav .oo-nav__guide:hover { background: var(--accent-ink); color: #fff; }

.oo-agentbar {
  padding: 9px max(32px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #c4d2c6;
  font: 12px/1.55 var(--mono);
}
.oo-agentbar p { margin: 0; }
.oo-agentbar strong {
  display: inline-block; margin-right: 8px; padding: 1px 7px;
  border-radius: 999px; background: var(--marigold); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.oo-agentbar a { color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--marigold) 70%, transparent); text-underline-offset: 3px; }
.oo-agentbar a:hover { color: var(--marigold); }

.oo-main { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

/* Hero. */
.oo-hero {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 72px;
}
.oo-main .oo-hero { width: auto; }
.oo-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 -50vw;
  background-image:
    linear-gradient(rgb(16 32 26 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 32 26 / 5%) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 25%, transparent 78%);
}
.oo-eyebrow,
.oo-overline {
  margin: 0;
  color: var(--accent);
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.oo-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 5px 12px 5px 10px; border: 1px solid var(--rule); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: var(--shadow-sm);
  color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-weight: 500;
}
.oo-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
  animation: oo-pulse 2.4s ease-in-out infinite;
}
.oo h1 {
  margin: 0;
  font: 400 clamp(46px, 5.4vw, 74px)/1.02 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.oo h1 em { color: var(--accent); font-style: italic; }
.oo-lead { max-width: 580px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; text-wrap: pretty; }

.oo-forAgents {
  position: relative;
  max-width: 580px;
  margin-top: 28px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.oo-forAgents::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--clay), color-mix(in srgb, var(--clay) 40%, var(--marigold))); }
.oo-forAgents__label {
  margin: 0; color: var(--clay);
  font: 650 10.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.oo-forAgents__text { margin: 6px 0 12px; font-size: 14.5px; line-height: 1.55; font-weight: 500; }
.oo-forAgents__fetch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oo-forAgents__fetch code {
  padding: 7px 11px !important;
  border-color: var(--ink) !important;
  border-radius: 8px !important;
  background: var(--ink) !important;
  color: var(--marigold) !important;
  font-size: 13px !important;
}

.oo-copy {
  padding: 7px 11px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font: 600 11px/1 var(--mono);
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}
.oo-copy:hover { border-color: var(--accent); color: var(--accent); }
.oo-copy[data-copied] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.oo-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 30px; font-size: 14.5px; font-weight: 580;
}
.oo-primary,
.oo-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 11px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.oo-primary {
  background: var(--ink); color: var(--bg) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 1px 2px rgb(15 26 19 / 20%), 0 10px 24px -10px rgb(15 40 22 / 60%);
}
.oo-primary span { display: inline-block; color: var(--marigold); transition: transform 160ms ease; }
.oo-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.oo-primary:hover span { transform: translateX(3px); }
.oo-secondary { border: 1px solid var(--rule-strong); background: var(--surface); box-shadow: var(--shadow-sm); }
.oo-secondary span { color: var(--faint); transition: transform 160ms ease; }
.oo-secondary:hover { border-color: var(--accent); color: var(--ink) !important; transform: translateY(-1px); }
.oo-secondary:hover span { transform: translateY(2px); color: var(--accent); }
.oo-meta {
  display: flex; flex-wrap: wrap; gap: 6px 0; margin: 22px 0 0;
  color: var(--faint); font-size: 13px; font-weight: 500;
}
.oo-meta > * + *::before { content: "·"; margin: 0 10px; color: var(--rule-strong); }
.oo-meta a { color: var(--muted); }

/* Four-up strip. */
.oo-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.oo-strip > div {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 3px;
  align-content: start; padding: 20px 22px;
}
.oo-strip > div + div { border-left: 1px solid var(--rule); }
.oo-strip i {
  grid-row: span 3; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font: normal 600 14px/1 var(--mono);
}
.oo-strip span { color: var(--faint); font: 600 10px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.oo-strip strong { font-size: 15px; font-weight: 620; }
.oo-strip small { color: var(--muted); font-size: 13px; }

/* Sections. */
.oo-section { margin-top: 112px; }
.oo-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  grid-template-areas: "over over" "title text";
  align-items: end;
  column-gap: clamp(32px, 6vw, 90px);
}
.oo-head .oo-overline { grid-area: over; }
.oo-head h2 { grid-area: title; }
.oo-head > p:not(.oo-overline) { grid-area: text; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.oo-overline { display: inline-flex; align-items: center; gap: 10px; }
.oo-overline span {
  display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px;
  border-radius: 6px; background: var(--ink); color: var(--marigold);
  font-size: 10.5px; letter-spacing: 0.02em;
}
.oo h2 {
  margin: 14px 0 0;
  font: 400 clamp(34px, 3.8vw, 50px)/1.06 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.oo h3 { margin: 0; font-size: 17px; font-weight: 630; letter-spacing: -0.025em; }
.oo-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.oo-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }


/* Terminals and panels. */
.oo-terms { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; margin-top: 36px; align-items: start; }
.oo-term,
.oo-panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--code-rule); border-radius: var(--radius);
  background: var(--code);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), var(--shadow-md);
}
.oo-term__head,
.oo-panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--code-rule);
  background: var(--code-2);
  color: var(--code-dim); font: 11px/1.5 var(--mono);
}
.oo-term__head span:first-child,
.oo-panel__head span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--code-ink); font-weight: 500; }
.oo-term__head span:first-child::before,
.oo-panel__head span:first-child::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--marigold) 18%, transparent);
}
.oo-term__head span:last-child,
.oo-panel__head span:last-child { padding: 1px 8px; border: 1px solid var(--code-rule); border-radius: 999px; }
.oo-term pre + .oo-term__head { border-top: 1px solid var(--code-rule); }
.oo-term pre,
.oo-panel pre { padding: 16px 18px 18px; }
.oo-prompt { color: var(--code-dim); }
.oo-warn { color: #ff9d57; font-weight: 600; }
.oo-err { color: #ff8f85; font-weight: 600; }


.oo-panel--ir {
  grid-column: 1 / -1;
  border-color: color-mix(in srgb, var(--marigold) 35%, var(--code-rule));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--marigold) 22%, transparent), var(--shadow-md);
}

/* Limits. */
.oo-limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.oo-limits > div { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.oo-limits ul,
.oo-limits ol { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
.oo-limits li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--rule); }
.oo-limits li:first-child { border-top: 0; }
.oo-limits li::before {
  position: absolute; left: 0; top: 9px;
  display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  font: 700 11px/1 var(--mono);
}
.oo-yes li::before { content: "✓"; background: var(--accent-soft); color: var(--accent); }
.oo-no li { color: var(--muted); }
.oo-no li::before { content: "–"; background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); }
.oo-roadmap {
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--marigold) 16%, transparent), transparent 55%), var(--code) !important;
  border-color: var(--code-rule) !important; color: var(--code-ink);
}
.oo-roadmap h3 { color: var(--marigold); }
.oo-roadmap ol { counter-reset: road; }
.oo-roadmap li { counter-increment: road; border-top-color: var(--code-rule); }
.oo-roadmap li::before { content: counter(road); border: 1px solid var(--code-rule); color: var(--code-dim); }
.oo-roadmap p { margin: 12px 0 0; color: var(--code-dim); font-size: 13px; }

/* Start. */
.oo-term--start { margin-top: 36px; max-width: 760px; }
.oo-copy--term { position: absolute; top: 7px; right: 10px; border-color: var(--code-rule); background: var(--code); color: var(--code-dim); }
.oo-copy--term:hover { border-color: var(--marigold); color: var(--marigold); }
.oo-term--start .oo-term__head span:last-child { margin-right: 70px; }
.oo-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.oo-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px;
  background: var(--surface); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 570;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.oo-links a:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.oo-links a span { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 11px; }

/* Community. */
.oo-community {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  margin: 112px 0 96px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--code-rule);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgb(88 101 242 / 38%), transparent 50%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--marigold) 14%, transparent), transparent 45%),
    var(--code);
  color: var(--code-ink);
  box-shadow: var(--shadow-lg);
}
.oo-community::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1.2px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.oo-community > * { position: relative; }
.oo-community__mark {
  display: grid; place-items: center; width: 76px; height: 76px;
  border-radius: 22px; background: var(--blurple); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 25%), 0 14px 30px -10px rgb(88 101 242 / 70%);
}
.oo-community .oo-overline { color: var(--code-dim); }
.oo-community .oo-overline span { background: var(--marigold); color: var(--ink); }
.oo-community h2 { color: #f5fbf4; }
.oo-community__copy > p:last-child { max-width: 620px; margin: 10px 0 0; color: #a9b8ab; font-size: 15px; line-height: 1.65; }
.oo-community__cta { white-space: nowrap; background: var(--blurple) !important; color: #fff !important; }
.oo-community__cta span { color: #fff; }
.oo-community__cta:hover { background: #4752c4 !important; }

.oo-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  padding: 28px max(32px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--rule); color: var(--faint); font-size: 13px;
}
.oo-footer__brand b { margin-right: 8px; color: var(--ink); font-weight: 620; }
.oo-footer nav { gap: 4px 18px; font-size: 13px; }
.oo-footer nav a { color: var(--muted); }

/* Scroll reveal, enabled by site.js only. */
.oo-js .oo-reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1); }
.oo-js .oo-reveal.is-in { opacity: 1; transform: none; }


/* Hero additions: stamped wordmark, detail, and the scripted terminal. */
.oo-detail { max-width: 580px; margin: 18px 0 0; font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.oo-detail strong { font-weight: 620; }
.oo-hero__side { margin: 0; min-width: 0; }
.oo-repl {
  overflow: hidden;
  border: 1px solid var(--code-rule);
  border-radius: 12px;
  background: var(--code);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%), var(--shadow-lg);
}
.oo-repl__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--code-rule);
  background: var(--code-2); color: var(--code-dim); font: 500 11.5px/1 var(--mono);
}
.oo-repl__bar span { width: 10px; height: 10px; border-radius: 50%; background: #ec6a5e; }
.oo-repl__bar span:nth-child(2) { background: #f4bf4f; }
.oo-repl__bar span:nth-child(3) { background: #61c554; }
.oo-repl__bar b { margin-left: 10px; color: var(--code-ink); font-weight: 500; }
.oo-repl__bar em {
  margin-left: auto; padding: 2px 8px; border: 1px solid var(--code-rule); border-radius: 999px;
  color: var(--code-dim); font-style: normal; font-size: 10.5px;
}
.oo-typer { min-height: 318px; padding: 18px 20px 22px; background: none !important; }
.oo-line[data-cmd] { color: #fff; }
.oo-line[data-cmd]:not(:first-child) { display: inline-block; margin-top: 10px; }
.oo-js .oo-typer[data-typing] .oo-line { visibility: hidden; }
.oo-js .oo-typer[data-typing] .oo-line.is-shown { visibility: visible; }
.oo-caret::after { content: "▍"; color: var(--marigold); animation: oo-blink 1s steps(1) infinite; }
.oo-ok { color: #8fe0b0; font-weight: 600; }
.oo-dim { color: var(--code-dim); }
.oo-hero__note { margin: 20px 0 0; color: var(--faint); font: 11.5px/1.5 var(--mono); }
.oo-hero__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* Standard library mapping table. */
.oo-rosetta-wrap {
  margin-top: 36px; overflow-x: auto;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.oo-rosetta { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font: 13px/1.45 var(--mono); }
.oo-rosetta td { white-space: nowrap; }
.oo-rosetta th,
.oo-rosetta td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); transition: background 140ms ease, color 140ms ease; }
.oo-rosetta tbody tr:last-child > * { border-bottom: 0; }
.oo-rosetta thead th { background: var(--surface-2); border-bottom: 1px solid var(--rule-strong); font-size: 12px; font-weight: 700; }
.oo-rosetta thead a { display: inline-flex; align-items: baseline; gap: 6px; }
.oo-rosetta tbody th { color: var(--accent-ink); font-weight: 650; white-space: nowrap; }
.oo-rosetta__kernel,
.oo-rosetta tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface-2); border-right: 1px solid var(--rule); }
.oo-rosetta__kernel { color: var(--faint); }
.oo-rosetta td { color: var(--muted); }
.oo-rosetta .is-col { background: color-mix(in srgb, var(--marigold) 26%, var(--surface)) !important; color: var(--ink) !important; }

/* Flavor spreads. Each flavor gets its own ink. */
.oo-spreads { margin-top: 44px; border-top: 1px solid var(--ink); }
.oo-spread {
  --kind: var(--accent);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
  padding: 48px 0; border-bottom: 1px solid var(--rule-strong);
  scroll-margin-top: 84px;
}
.oo-spread--salesforce { --kind: var(--blue); }
.oo-spread--stripe { --kind: #6b4fbf; }
.oo-spread__index {
  display: flex; align-items: center; gap: 10px; margin: 0;
  color: var(--kind, var(--accent)); font: 650 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.oo-spread__index span {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px;
  border: 1px solid currentColor; border-radius: 6px; font-size: 10.5px;
}
.oo-pkg {
  margin: 14px 0 0 !important;
  font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--mono) !important;
  letter-spacing: -0.04em !important;
  overflow-wrap: anywhere;
}
.oo-spread__title { margin: 10px 0 0; font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.oo-status {
  display: inline-flex; align-items: center; gap: 7px; margin: 16px 0 0;
  padding: 3px 10px; border-radius: 999px;
  font: 650 10.5px/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.oo-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.oo-status--today { background: var(--accent-soft); color: var(--accent-ink); }
.oo-status--preview { background: color-mix(in srgb, var(--marigold) 32%, transparent); color: #6d4b00; }
.oo-status--sketch { border: 1px dashed var(--rule-strong); color: var(--faint); }
.oo-story {
  margin-top: 22px; padding: 14px 18px;
  border-left: 3px solid var(--clay); border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--clay) 6%, var(--surface));
}
.oo-story span { color: var(--clay); font: 650 10.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.oo-story p { margin: 6px 0 0; font: 400 18px/1.4 var(--serif); }
.oo-spread__does { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; text-wrap: pretty; }
.oo-uses { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.oo-uses li {
  padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 12.5px;
}
.oo-uses li code { padding: 0 !important; border: 0 !important; background: none !important; color: var(--kind) !important; font-weight: 600; }
.oo-install {
  display: inline-block; margin-top: 20px;
  padding: 8px 12px !important; border: 1px solid var(--ink) !important; border-radius: 8px !important;
  background: var(--ink) !important; color: var(--marigold) !important; font-size: 12.5px !important;
}
.oo-install::before { content: "$ "; color: var(--code-dim); }
.oo-spread__code { display: grid; gap: 12px; min-width: 0; }
.oo-spread__code .oo-panel:first-child { border-top: 3px solid var(--kind); }
.oo-panel--out { background: var(--code-2); }
.oo-panel--out pre { background: none; color: #f1e2b4; }

/* Smaller flavor cards. */
.oo-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; scroll-margin-top: 84px; }
.oo-card {
  --kind: var(--amber);
  display: flex; flex-direction: column;
  padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.oo-card:nth-child(2) { --kind: var(--clay); }
.oo-card:nth-child(3) { --kind: var(--blue); }
.oo-card:hover { border-color: color-mix(in srgb, var(--kind) 45%, var(--rule)); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.oo-card .oo-pkg { font-size: 16px !important; margin-top: 12px !important; }
.oo-card__title { margin: 8px 0 0; font: 400 21px/1.2 var(--serif); }
.oo-card__story { flex: 1; margin: 10px 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.oo-card pre { margin: 0 -8px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 11.5px; line-height: 1.6; }
.oo-card__lowers { margin: 12px 0 0; color: var(--kind); font: 600 11px/1.5 var(--mono); }
.oo-card .oo-status { align-self: flex-start; margin-top: 12px; }
.oo-card--yours { --kind: var(--accent); border: 1.5px dashed var(--rule-strong); background: transparent; box-shadow: none; }
.oo-card__cta { align-self: flex-start; margin-top: 14px; color: var(--accent) !important; font-size: 13.5px; font-weight: 650; }

/* Lowering stages, in the style of Forma's pass-by-pass demos. */
.oo-stages { margin-top: 36px; }
.oo-stages__rail {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px;
  padding: 5px; border: 1px solid var(--rule-strong); border-radius: 10px; background: var(--surface);
  width: fit-content; max-width: 100%;
}
.oo-stages__rail button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 0; border-radius: 8px;
  background: none; color: var(--muted); font: 600 13px/1 Inter, sans-serif; cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.oo-stages__rail button span { color: var(--faint); font: 600 10.5px/1 var(--mono); }
.oo-stages__rail button:hover { background: var(--surface-2); color: var(--ink); }
.oo-stages__rail button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.oo-stages__rail button[aria-selected="true"] span { color: var(--marigold); }
.oo-stage { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 24px; align-items: start; }
.oo-stage + .oo-stage { margin-top: 18px; }
.oo-js .oo-stages[data-ready] .oo-stage + .oo-stage { margin-top: 0; }
.oo-js .oo-stages[data-ready] .oo-stage:not(.is-active) { display: none; }
.oo-stage__note b { color: var(--accent); font: 650 11px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.oo-stage__note p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.oo-stage .oo-panel { min-height: 240px; }
/* Packages. */
.oo-together { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.oo-together__files { display: grid; gap: 14px; }
.oo-ascii {
  display: flex; align-items: center;
  padding: 28px 30px !important;
  justify-content: center;
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--surface) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px !important; line-height: 1.8 !important;
}
.oo-ascii b { font-weight: 700; }
.oo-ascii .oo-dim { color: var(--faint); }
.oo-hi { padding: 1px 4px; border-radius: 4px; background: color-mix(in srgb, var(--marigold) 55%, transparent); font-weight: 600; }
.oo-commands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.oo-commands > div { padding: 18px 20px; }
.oo-commands > div + div { border-left: 1px solid var(--rule); }
.oo-commands dt code { padding: 3px 8px !important; border-color: var(--ink) !important; background: var(--ink) !important; color: var(--marigold) !important; font-weight: 600; }
.oo-commands dd { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.oo-commands dd code { white-space: normal !important; }

/* Agents. */
.oo-terms .oo-forAgents { margin-top: 0; max-width: none; }
.oo-terms .oo-forAgents .oo-primary { margin-top: 16px; font-size: 14px; font-weight: 600; }
.oo-roadmap p { line-height: 1.55; }

/* Family band. */
.oo-family { padding: 88px 0 96px; background: var(--code); color: var(--code-ink); }
.oo-family__inner { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.oo-family__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.oo-family .oo-overline { color: var(--code-dim); }
.oo-family .oo-overline span { background: var(--marigold); color: var(--ink); }
.oo-family h2 { color: #f5fbf4; }
.oo-family__head > p { margin: 0; color: #a9b8ab; font-size: 15px; line-height: 1.7; }
.oo-family__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.oo-family__grid a,
.oo-family__grid li > div {
  display: grid; gap: 4px; height: 100%; padding: 18px 20px;
  border: 1px solid var(--code-rule); border-radius: 12px; background: var(--code-2);
  transition: border-color 160ms ease, transform 160ms ease;
}
.oo-family__grid a:hover { border-color: var(--project); color: inherit; transform: translateY(-2px); }
.oo-swatch { width: 26px; height: 6px; margin-bottom: 8px; border-radius: 3px; background: var(--project); }
.oo-family__grid strong { color: #fff; font-size: 16px; font-weight: 650; }
.oo-family__grid em { color: var(--project); font: italic 400 17px/1.3 var(--serif); }
.oo-family__grid span:last-child { color: #a9b8ab; font-size: 13.5px; line-height: 1.5; }
.oo-family__here > div { border-style: dashed !important; border-color: var(--project) !important; }
.oo-family__cta { display: inline-block; margin-top: 26px; color: var(--marigold) !important; font-weight: 600; }
.oo-family__cta:hover { color: #fff !important; }


/* The hidden graph: cross-platform references nothing checks. */
.oo-xray {
  margin: 36px 0 0; padding: 22px 24px; list-style: none;
  border: 1px solid var(--code-rule); border-radius: var(--radius);
  background: var(--code); color: var(--code-ink);
  box-shadow: var(--shadow-md);
  font: 13px/1.5 var(--mono); overflow-x: auto;
}
.oo-xray__root { padding: 0 0 6px; color: var(--code-dim); }
.oo-xray a {
  display: grid; grid-template-columns: 34px 104px minmax(250px, 1fr) minmax(250px, 1.1fr) auto;
  align-items: center; gap: 10px; min-width: 760px;
  padding: 7px 8px; border-radius: 8px; color: inherit !important;
}
.oo-xray a:hover { background: var(--code-2); }
.oo-xray__branch { color: var(--code-dim); }
.oo-xray__where { color: var(--marigold); font-weight: 600; }
.oo-xray code { padding: 0 !important; border: 0 !important; background: none !important; color: #fff !important; font-size: 13px !important; }
.oo-xray__what { color: var(--code-dim); }
.oo-xray__flag {
  padding: 2px 9px; border: 1px solid color-mix(in srgb, var(--err) 55%, transparent); border-radius: 999px;
  color: #ff8f85; font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Standard library. */
.oo-std { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 16px; margin-top: 36px; align-items: stretch; }
.oo-std__side { display: grid; gap: 16px; }
.oo-std > .oo-panel { border-top: 3px solid var(--marigold); }
.oo-std + .oo-rosetta-wrap { margin-top: 18px; }

/* Diff lines and the package grid. */
.oo-del { color: #ff8f85; }
.oo-add { color: #8fe0b0; }
.oo-pm { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 36px; align-items: stretch; }
.oo-pm .oo-commands { margin: 0; grid-template-columns: 1fr 1fr; }
.oo-pm .oo-commands > div { border-left: 0 !important; border-top: 1px solid var(--rule); }
.oo-pm .oo-commands > div:nth-child(-n + 2) { border-top: 0; }
.oo-pm .oo-commands > div:nth-child(even) { border-left: 1px solid var(--rule) !important; }
.oo-pm .oo-commands > div:last-child { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--rule); }
.oo-together .oo-term { box-shadow: var(--shadow-md); }

@media (max-width: 1020px) {
  .oo-hero,
  .oo-terms,
  .oo-spread,
  .oo-std,
  .oo-pm,
  .oo-together { grid-template-columns: minmax(0, 1fr); }
  .oo-hero::after { top: 45%; right: 0; width: 90%; }
  .oo-strip { grid-template-columns: 1fr 1fr; }
  .oo-strip > div:nth-child(3) { border-left: 0; }
  .oo-strip > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .oo-cards { grid-template-columns: 1fr 1fr; }
  .oo-commands { grid-template-columns: 1fr 1fr; }
  .oo-commands > div { border-left: 0 !important; border-top: 1px solid var(--rule); }
  .oo-commands > div:nth-child(-n + 2) { border-top: 0; }
  .oo-commands > div:nth-child(even) { border-left: 1px solid var(--rule) !important; }
  .oo-limits { grid-template-columns: 1fr 1fr; }
  .oo-roadmap { grid-column: 1 / -1; }
  .oo-family__grid { grid-template-columns: 1fr 1fr; }
  .oo-nav__section { display: none; }
}

@media (max-width: 720px) {
  .oo-nav { padding: 10px 20px; gap: 12px; }
  .oo-nav nav { gap: 2px; }
  .oo-nav nav .oo-nav__discord span { display: none; }
  .oo-agentbar { padding: 9px 20px; }
  .oo-main,
  .oo-hero,
  .oo-family__inner { width: calc(100% - 40px); }
  .oo-hero { padding: 44px 0 52px; }
  .oo-typer { min-height: 0; font-size: 10.5px !important; }
  .oo-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "over" "title" "text"; }
  .oo-head > p:not(.oo-overline) { margin-top: 14px; }
  .oo-limits,
  .oo-links,
  .oo-cards,
  .oo-commands,
  .oo-family__head,
  .oo-family__grid,
  .oo-stage,
  .oo-strip { grid-template-columns: minmax(0, 1fr); }
  .oo-commands > div { border-left: 0 !important; border-top: 1px solid var(--rule) !important; }
  .oo-commands > div:first-child { border-top: 0 !important; }
  .oo-strip > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .oo-section { margin-top: 76px; }
  .oo pre { font-size: 11.5px; }
  .oo-ascii { padding: 20px !important; font-size: 10.5px !important; }
  .oo-footer { padding: 24px 20px; }
  .oo-community { grid-template-columns: minmax(0, 1fr); margin: 76px 0 60px; }
  .oo-community__mark { width: 60px; height: 60px; border-radius: 18px; }
  .oo-community__cta { justify-self: start; }
}

@media (max-width: 480px) {
  .oo-nav nav a:not(.oo-nav__guide):not(.oo-nav__discord) { display: none; }
}

@keyframes oo-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent-soft) 60%, transparent); }
}
@keyframes oo-blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oo-pulse,
  .oo-caret::after { animation: none; }
  .oo *,
  .oo-js .oo-reveal { transition: none !important; }
  .oo-js .oo-reveal { opacity: 1; transform: none; }
}
