/* Three chapters: dark introduction, light explanation, dark installation. */
:root {
  --ink: #0c0c0d;
  --ink-2: #18181b;
  --ink-3: #27272a;
  --paper: #f7f7f8;
  --paper-2: #efeff1;
  --card: #fff;
  --text: #18181b;
  --text-muted: #63636b;
  --on-dark: #fafafa;
  --on-dark-muted: #a1a1aa;
  --line-dark: rgb(255 255 255 / .08);
  --line-light: rgb(24 24 27 / .09);
  --accent: #ff7a3d;
  --accent-hover: #ff8b55;
  --accent-soft: #ffb38a;
  --accent-ink: #c2410c;
  /* Read by ascii.js. */
  --ascii-claude: #ff7a3d;
  --ascii-openai: #f4f4f5;
  /* Surfaces that flip with the theme. */
  --pool: 12 12 13;
  --glass: rgb(255 255 255 / .06);
  --glass-line: rgb(255 255 255 / .12);
  --glass-strong: rgb(255 255 255 / .1);
  --term-text: #e4e4e7;
  --term-dim: #a1a1aa;
  --raise: #34343a;
  --bar-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 8px 24px -12px rgb(0 0 0 / .3);
  --display: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --rail: 1120px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 16px/25px var(--body); letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
code { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--card); color: var(--text); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Content sits on an invisible 1120px grid with 32px gutters (20px on phones). */
.rails { position: relative; max-width: var(--rail); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .rails { padding: 0 20px; } }

.dark {
  background: var(--ink); color: var(--on-dark);
  /* Inside a black section the content tokens point at their dark values, so any section can flip. */
  --text: var(--on-dark); --text-muted: var(--on-dark-muted); --line-light: var(--line-dark);
  --card: var(--ink-2); --accent-ink: var(--accent);
}
.light { background: var(--paper); }
.light.alt { background: var(--paper-2); }

/* Headlines: light weight, tight tracking, a second line in a quieter tone. */
h1, h2 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.022em; }
.tone { color: var(--text-muted); }
.dark .tone { color: var(--on-dark-muted); }
h3 { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 24px; letter-spacing: -.01em; }
.kicker { font: 500 12px/20px var(--mono); color: var(--text-muted); margin-bottom: 16px; letter-spacing: .02em; text-transform: uppercase; }
.body-lede { margin-top: 20px; max-width: 56ch; font-size: 18px; line-height: 28px; color: var(--text-muted); }
@media (max-width: 720px) { .body-lede { font-size: 17px; line-height: 26px; } }
.dark .body-lede { color: var(--on-dark-muted); }
.body-lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.body-lede a:hover { color: var(--accent); }
.light .body-lede a:hover { color: var(--accent-ink); }
.light :focus-visible, .skip:focus-visible { outline-color: var(--accent-ink); }

/* Nav */
/* Solid black bar at the top; once the page scrolls it shrinks into a floating black pill. */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0; pointer-events: none; color: var(--on-dark); transition: padding 500ms var(--ease-out); }
.nav-inner {
  pointer-events: auto; width: 100%; max-width: 100%; height: 64px; padding: 0 max(32px, calc((100% - var(--rail)) / 2 + 32px));
  display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 500; letter-spacing: -.005em;
  background: var(--ink); border-radius: 0; box-shadow: 0 1px 0 var(--line-dark);
  transition: max-width 500ms var(--ease-out), height 500ms var(--ease-out), padding 500ms var(--ease-out), border-radius 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.nav.is-compact { padding: 10px 12px 0; }
.nav.is-compact .nav-inner {
  max-width: 820px; height: 48px; padding: 0 8px 0 18px; border-radius: 999px;
  box-shadow: var(--bar-shadow);
}
.nav-cta { text-decoration: none; }
.nav.is-compact .nav-cta { padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #1a0d06; transition: background-color 150ms ease; }
.nav.is-compact .nav-cta:hover { background: var(--accent-hover); }
.nav.is-compact .nav-cta span { color: inherit; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 500 15px/1 var(--display); letter-spacing: -.02em; }
.nav nav { flex: 1; display: flex; justify-content: center; gap: 24px; }
.nav nav a, .nav-gh { text-decoration: none; color: var(--on-dark-muted); transition: color 150ms ease; }
.nav nav a:hover, .nav-gh:hover { color: var(--on-dark); }
.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-cta span { color: var(--on-dark-muted); margin-left: 2px; }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav-inner { padding: 0 16px; justify-content: space-between; }
  .nav.is-compact .nav-inner { padding: 0 6px 0 14px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero { min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; }
.hero > .rails { width: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(34% 30% at 50% 47%, rgb(var(--pool) / .92), rgb(var(--pool) / .7) 45%, rgb(var(--pool) / .2) 80%, transparent 100%);
}
/* Full-bleed ASCII field drawn by ascii.js; the copy sits on a soft dark pool in the middle. */
.ascii-field {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  /* The field dissolves toward the bottom, so the hero flows into the black block below without an edge. */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); mask-image: linear-gradient(to bottom, #000 55%, transparent 98%);
}
@media (max-width: 720px) {
  .hero::after { background: radial-gradient(90% 34% at 50% 50%, rgb(var(--pool) / .94), rgb(var(--pool) / .75) 55%, rgb(var(--pool) / .25) 85%, transparent 100%); }
}
.hero-copy { padding: 120px 0 200px; text-align: center; }
.pill {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px; padding: 5px 6px 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 18px; text-decoration: none; letter-spacing: 0;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); backdrop-filter: blur(8px);
}
.pill-cta { padding: 2px 10px; border-radius: 999px; background: var(--glass-strong); font-weight: 600; }
@media (max-width: 480px) { .pill-cta { display: none; } .pill { padding-right: 14px; } }
.pill:hover .pill-cta { background: var(--glass-line); }
.hero h1 { margin-top: 32px; font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 .tone { color: var(--accent); }
.lede { margin: 24px auto 0; max-width: 34em; font-size: 17px; line-height: 26px; color: var(--on-dark-muted); }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 8px;
  font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: -.005em;
  transition: background-color 150ms ease, transform 160ms var(--ease);
}
.btn:active { transform: scale(.98); transition-duration: 80ms; }
.btn-accent { background: var(--accent); color: #1a0d06; box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 4px 14px -4px rgb(255 122 61 / .6); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink-3); color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--glass-line), 0 3px 3px -2px rgb(0 0 0 / .2); }
.btn-dark:hover { background: var(--raise); }
@media (max-width: 720px) { .hero-copy { padding: 72px 0 140px; } .hero h1 span { display: inline; } }

/* The replica uses the real panel’s dark theme, inside one presentation surface. */
.showcase { background: var(--ink); }
.showcase .rails { padding-bottom: 72px; }
.panel-preview { position: relative; max-width: 860px; margin: -150px auto 0; }
.panel-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 16px; }
.panel-label { font: 500 13px/20px var(--mono); color: var(--on-dark); }
.panel-hint { font-size: 13px; line-height: 20px; color: var(--on-dark-muted); text-align: right; white-space: nowrap; }
/* The panel in its light theme: a white window that lifts off the dark chapter, with the real panel's tokens. */
.window {
  position: relative; z-index: 2; max-width: 860px; margin: 0;
  --panel-background: #f7f7f8;
  --panel-foreground: #18181b;
  --panel-card: #fff;
  --panel-secondary: #efeff1;
  --panel-muted: #f4f4f5;
  --panel-muted-foreground: #63636b;
  --panel-border: #e4e4e7;
  --panel-primary: #ff7a3d;
  --panel-primary-ink: #c2410c;
  --panel-warning: #8a6100;
  --panel-warning-foreground: #fff;
  --panel-success: #1e7d36;
  background: var(--panel-background); color: var(--panel-foreground); border-radius: 14px; overflow: hidden;
  font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, sans-serif; letter-spacing: 0;
  color-scheme: light;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 40px 120px -40px rgb(255 122 61 / .28), 0 30px 60px -30px rgb(0 0 0 / .6);
}
/* The real panel's dark theme, switched by the replica's moon button. */
.window.is-dark {
  --panel-background: #0c0c0d;
  --panel-foreground: #fafafa;
  --panel-card: #18181b;
  --panel-secondary: #27272a;
  --panel-muted: #1f1f23;
  --panel-muted-foreground: #a1a1aa;
  --panel-border: #2e2e33;
  --panel-primary-ink: #ff7a3d;
  --panel-warning: #f5b800;
  --panel-warning-foreground: #18181b;
  --panel-success: #30d158;
  color-scheme: dark;
}
.window, .window * { transition-property: background-color, color, box-shadow, border-color; transition-duration: 200ms; transition-timing-function: ease; }
.window-bar { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--panel-card); box-shadow: 0 1px 0 var(--panel-border); }
.lights { position: absolute; left: 14px; display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.window-title { padding: 0 72px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: var(--panel-muted-foreground); }
.window-body { padding: 18px 20px 22px; display: grid; gap: 12px; }
.row-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--panel-muted-foreground); }
.row-head .prepared { align-self: center; }
.row-end { display: flex; align-items: center; gap: 4px; }
.row-end .waiting { margin-left: 6px; }
/* Small ghost buttons, as in the real panel's first row. */
.ptoggle { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--panel-muted-foreground); font-size: 12px; font-weight: 600; }
.ptoggle:hover { background: var(--panel-muted); color: var(--panel-foreground); }
.ptoggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ptoggle .sun, .window.is-dark .ptoggle .moon { display: none; }
.window.is-dark .ptoggle .sun { display: block; }
.window :focus-visible { outline-color: var(--panel-primary-ink); }
.waiting { color: var(--panel-warning-foreground); background: var(--panel-warning); padding: 2px 8px; border-radius: 6px; }
.tile { background: var(--panel-card); border-radius: 12px; padding: 12px 14px; min-width: 0; box-shadow: 0 0 0 .5px var(--panel-border), 0 1px 2px rgb(0 0 0 / .05); }
.objective { font-size: 15px; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-title { font-weight: 500; }
.tile-sub { margin-top: 4px; font-size: 13px; color: var(--panel-muted-foreground); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.switch { flex: none; position: relative; width: 32px; height: 18px; padding: 0; border: 0; border-radius: 9px; background: var(--panel-border); transition: background-color 200ms ease; }
.switch span { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fafafa; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform 260ms var(--ease); }
.switch[aria-checked="true"] { background: var(--panel-primary); }
.switch[aria-checked="true"] span { transform: translateX(14px); }
.stepper { display: flex; align-items: center; height: 32px; border-radius: 999px; background: var(--panel-secondary); }
.stepper button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--panel-muted-foreground); font-size: 17px; }
.stepper button:hover { color: var(--panel-foreground); }
.stepper output { min-width: 52px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.approve-row { display: flex; align-items: center; gap: 20px; }
.approve { flex: 1; height: 40px; border: 0; border-radius: 10px; background: var(--panel-primary); color: #1a0d06; font-size: 15px; font-weight: 600; transition: transform 160ms var(--ease); }
.approve:active { transform: scale(.985); }
.quiet { color: var(--panel-primary-ink); padding-right: 8px; }
.list { list-style: none; margin: 0; padding: 0; background: var(--panel-card); border-radius: 12px; box-shadow: 0 0 0 .5px var(--panel-border), 0 1px 2px rgb(0 0 0 / .05); }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.list li + li { box-shadow: 0 -1px 0 var(--panel-border); }
.li-title { font-weight: 500; }
.li-sub { font-size: 12px; color: var(--panel-muted-foreground); }
.badge { flex: none; font-size: 12px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--panel-border); color: var(--panel-muted-foreground); }
.badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.badge.completed { color: var(--panel-success); }
.badge.paused { color: var(--panel-warning); border-color: color-mix(in srgb, var(--panel-warning) 35%, transparent); background: color-mix(in srgb, var(--panel-warning) 7%, transparent); }
.caption { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }
@media (max-width: 640px) {
  .panel-preview { margin-top: -100px; }
  .panel-intro { display: block; }
  .panel-hint { margin-top: 6px; max-width: 36ch; text-align: left; white-space: normal; }
  .window-body { padding: 16px; }
  .tile-grid > .tile:nth-child(-n+2) { grid-column: 1 / -1; }
  .tile-grid > .tile:nth-child(n+3) .tile-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .tile-grid > .tile:nth-child(n+3) .stepper { justify-content: space-between; }
  .tile-grid > .tile:nth-child(n+3) .stepper output { min-width: 0; }
  .window .list { display: none; }
  .row-head .waiting { display: none; }
  .list li { align-items: flex-start; }
}

@media (max-width: 360px) {
  .tile-grid { grid-template-columns: 1fr; }
  .tile-grid > .tile:nth-child(n+3) .tile-row { flex-direction: row; align-items: center; }
}

/* A declaration of the product’s difference, followed by equal entry points. */
.conversation .rails { padding-top: 48px; padding-bottom: 96px; text-align: center; }
.conversation h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.035em; }
.conversation h2 span { color: var(--accent-ink); }
.conversation-lede { max-width: 35em; margin: 24px auto 0; color: var(--text-muted); font-size: 17px; line-height: 26px; }
.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; text-align: left; }
.direction { min-width: 0; background: #18181b; color: #fafafa; border: 1px solid #2e2e33; border-radius: 14px; padding: 28px; }
.direction h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid #2e2e33; }
.agent-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.codex-dot { background: #fafafa; }
.prompt-who { margin-top: 24px; font: 12px/20px var(--mono); color: #a1a1aa; }
.prompt-text { margin-top: 8px; font: 14px/23px var(--mono); }
.prompt-return { margin-top: 28px; font: 12px/20px var(--mono); color: #a1a1aa; }
.conversation-note { margin-top: 20px; font-size: 14px; color: var(--on-dark-muted); }
.compare-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 32px; text-underline-offset: 4px; font-size: 14px; }
.compare-link:hover { color: var(--accent-ink); }
@media (max-width: 720px) {
  .conversation .rails { padding-top: 24px; padding-bottom: 64px; }
  .directions { grid-template-columns: 1fr; margin-top: 32px; gap: 16px; }
  .direction { padding: 24px; }
}

/* Sections */
.why .rails, .how .rails, .control .rails, .compare .rails, .install .rails { padding-top: 96px; padding-bottom: 96px; }
/* Within the light chapter, sections are separated by a rule, not by another color. */
.light + .light .rails { border-top: 1px solid var(--line-light); }
@media (max-width: 720px) { .why .rails, .how .rails, .control .rails, .compare .rails, .install .rails { padding-top: 64px; padding-bottom: 64px; } }

/* Tabs, as a row of equal columns with a sliding underline. */
.tabs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-light); }
.tabs button {
  position: relative; height: 48px; border: 0; background: none; color: var(--text-muted);
  font-size: 14px; font-weight: 500; transition: color 150ms ease;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-ink) 30%, var(--accent-ink) 70%, transparent);
}
.pane[hidden] { display: none; }
.pane { padding-top: 48px; display: grid; gap: 32px; align-items: start; }
@media (min-width: 880px) { .pane { grid-template-columns: 1fr 1.25fr; gap: 56px; } }
.pane-lead { color: var(--text-muted); font-size: 17px; line-height: 26px; }
.pane-lead strong { color: var(--text); font-weight: 500; }
.term {
  font: 13px/22px var(--mono); letter-spacing: 0;
  background: var(--ink-2); color: var(--term-text); border-radius: 12px; padding: 20px 22px;
  box-shadow: inset 0 0 0 1px var(--line-dark), 0 16px 40px -24px rgb(0 0 0 / .35);
}
.term .who { display: block; color: var(--accent); font-size: 12px; }
.term .who:not(:first-child) { margin-top: 12px; }
.term .ans { display: block; color: var(--on-dark-muted); margin-bottom: 6px; }
.term .dim { display: block; margin-top: 14px; color: var(--term-dim); font-size: 12px; }
@media (max-width: 640px) { .tabs button { font-size: 13px; } }

/* Why: an editorial grid with top rules and quiet numerals. */
.points { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: point; display: grid; gap: 0 48px; }
@media (min-width: 760px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { counter-increment: point; padding: 24px 0 28px; border-top: 1px solid var(--line-light); }
.points h3::before { content: counter(point, decimal-leading-zero); display: block; margin-bottom: 12px; font: 500 12px/20px var(--mono); color: var(--text-muted); letter-spacing: .02em; }
.points p { margin-top: 8px; max-width: 46ch; color: var(--text-muted); }

/* Control */
.split { display: grid; gap: 48px; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.facts { margin: 0; border-top: 1px solid var(--line-light); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.facts dt { font: 500 13px/24px var(--mono); color: var(--text); letter-spacing: 0; }
.facts dd { margin: 0; color: var(--text-muted); }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Table */
.compare-cell-label { display: none; }
.table-wrap { margin-top: 48px; overflow-x: auto; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--line-light); }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 16px 22px; }
tbody tr { border-top: 1px solid var(--line-light); }
thead th { font: 500 12px/20px var(--mono); color: var(--text-muted); letter-spacing: 0; }
thead th:last-child { color: var(--accent-ink); font-weight: 600; }
tbody th { font-weight: 500; white-space: nowrap; }
tbody td { color: var(--text-muted); }
tbody td:last-child { color: var(--text); font-weight: 600; }

/* The same table becomes labeled answer pairs on a narrow screen. */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
  .compare table, .compare tbody { display: block; width: 100%; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr { display: block; margin-bottom: 16px; border: 1px solid var(--line-light); border-radius: 12px; overflow: hidden; background: #fff; }
  .compare tbody th, .compare tbody td { display: block; white-space: normal; padding: 12px 18px; }
  .compare tbody th { padding-top: 18px; padding-bottom: 4px; font-size: 17px; }
  .compare-cell-label { display: block; margin-bottom: 6px; font: 500 12px/20px var(--mono); color: var(--text-muted); }
  .bridge-cell .compare-cell-label { color: var(--accent-ink); font-weight: 600; }
  .compare tbody .bridge-cell { background: #efeff1; border-top: 1px solid var(--line-light); padding-bottom: 18px; }
}

/* Install */
.package-note { margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 40px; }
@media (min-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 32px; } .steps li:last-child { grid-column: 1 / -1; padding-top: 32px; border-top: 1px solid var(--line-light); } }
.steps li { min-width: 0; }
.num { font: 500 13px var(--mono); color: var(--accent); margin-right: 6px; letter-spacing: 0; }
.steps p { margin-top: 12px; color: var(--text-muted); font-size: 15px; }
.steps strong { color: var(--text); font-weight: 500; }
.steps a { color: var(--text); }
/* Commands read as a terminal: a warm black panel. */
.code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px;
  background: #121110; border-radius: 8px; padding: 8px 8px 8px 14px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.code code { min-width: 0; font-size: 12.5px; line-height: 20px; color: var(--term-text); overflow-wrap: anywhere; letter-spacing: 0; }
.copy {
  flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 6px;
  font-size: 12px; font-weight: 500; color: var(--on-dark); background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--glass-line);
  transition: color 150ms ease, box-shadow 150ms ease;
}
.copy:hover { background: var(--raise); color: var(--accent); box-shadow: inset 0 0 0 1px rgb(255 122 61 / .45); }

/* Footer */
.footer { border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 32px; padding-bottom: 40px; font-size: 13px; color: var(--on-dark-muted); }
.footer-inner p:first-of-type { flex: 1; min-width: 240px; }
.footer a { color: var(--on-dark); }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav-inner { transition: none; }
  html { scroll-behavior: auto; }
  .btn:active, .approve:active { transform: none; }
  .switch, .switch span, .window, .window * { transition: none; }
}
