/* Launch Harness — styles. Plain CSS, no build step.
   Tokens on :root, dark by default (prefers-color-scheme), light override. */

:root {
  --bg: #151311;
  --bg-raised: #1c1a17;
  --bg-sunken: #100f0d;
  --surface: #1f1d19;
  --surface-2: #26231f;
  --border: #2f2c27;
  --border-strong: #433f38;
  --text: #ece7df;
  --text-2: #b8b0a4;
  --muted: #8a8378;
  --accent: #e39a3b;
  --accent-strong: #f0ad55;
  --accent-ink: #1a1206;
  --accent-soft: rgba(227, 154, 59, 0.14);
  --ok: #7fb77e;
  --warn: #d8a657;
  --bad: #d67a6a;
  --focus: #f0ad55;
  --shadow: 0 1px 0 rgba(0,0,0,.25);
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 14px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1120px;
  --measure: 62ch;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f3ee;
    --bg-raised: #ffffff;
    --bg-sunken: #efeae2;
    --surface: #ffffff;
    --surface-2: #f2eee7;
    --border: #e0dad0;
    --border-strong: #c9c2b6;
    --text: #1c1a17;
    --text-2: #4d473f;
    --muted: #6f685e;
    --accent: #b8641a;
    --accent-strong: #9a520f;
    --accent-ink: #ffffff;
    --accent-soft: rgba(184, 100, 26, 0.12);
    --ok: #3f7d3e;
    --warn: #9a6b12;
    --bad: #b04a3a;
    --focus: #b8641a;
    --shadow: 0 1px 2px rgba(28,26,23,.06);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f3ee; --bg-raised: #ffffff; --bg-sunken: #efeae2; --surface: #ffffff; --surface-2: #f2eee7;
  --border: #e0dad0; --border-strong: #c9c2b6; --text: #1c1a17; --text-2: #4d473f; --muted: #6f685e;
  --accent: #b8641a; --accent-strong: #9a520f; --accent-ink: #ffffff; --accent-soft: rgba(184,100,26,.12);
  --ok: #3f7d3e; --warn: #9a6b12; --bad: #b04a3a; --focus: #b8641a; --shadow: 0 1px 2px rgba(28,26,23,.06);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font-body);
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li + li { margin-top: .35rem; }
code, pre, kbd { font-family: var(--font-mono); font-size: .875em; }
pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-s); }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.lede { font-size: 1.125rem; color: var(--text-2); max-width: var(--measure); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .75rem;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { max-width: var(--measure); margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .5rem .75rem; border-radius: var(--radius-s);
}
.skip:focus { top: 8px; }

/* ---------- header / footer ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); flex: none; }
.brand .mark svg { width: 100%; height: 100%; }
.brand .name { white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--text-2); padding: .45rem .6rem; border-radius: var(--radius-s); font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: .35rem; }
@media (max-width: 480px) {
  .brand .name { display: none; }
  .nav a:not(.btn) { padding-inline: .45rem; }
}

.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer .brand { font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer a { color: var(--text-2); }
@media (min-width: 720px) {
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .6rem 1rem; border-radius: var(--radius-s);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font-weight: 500; font-size: .95rem; line-height: 1.2; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-sm { padding: .35rem .65rem; font-size: .85rem; }
.btn-lg { padding: .8rem 1.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn svg { width: 1em; height: 1em; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

label { display: block; font-weight: 600; margin-bottom: .4rem; }
.hint { color: var(--muted); font-size: .875rem; margin-top: .4rem; }
textarea, input[type="text"] {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg-raised); border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: .8rem .9rem; line-height: 1.5; resize: vertical;
}
textarea:focus, input[type="text"]:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
textarea::placeholder, input::placeholder { color: var(--muted); }
.idea-box { position: relative; }
.idea-box textarea { min-height: 148px; font-size: 1.05rem; padding-bottom: 2.4rem; }
.idea-box .counter {
  position: absolute; right: .9rem; bottom: .7rem; font-size: .8rem; color: var(--muted);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.idea-box .counter[data-state="bad"] { color: var(--bad); }
.idea-box .counter[data-state="ok"] { color: var(--ok); }
.field-error { color: var(--bad); font-size: .875rem; margin-top: .4rem; }

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 3rem; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 0%, var(--accent-soft), transparent 70%);
}
.hero h1 { max-width: 14ch; margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-bottom: 1.75rem; }
.hero-grid { display: grid; gap: 2rem; }
.hero-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1rem; box-shadow: var(--shadow); }
.hero-form .actions { margin-top: .75rem; justify-content: space-between; }
.hero-form .examples { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.hero-form .examples button {
  border: 1px dashed var(--border-strong); background: transparent; color: var(--text-2);
  border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; cursor: pointer;
}
.hero-form .examples button:hover { border-style: solid; color: var(--text); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .875rem; margin-top: 1.25rem; }
.hero-proof span::before { content: "— "; color: var(--accent); }
@media (min-width: 900px) {
  .hero { padding: 5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 1.1rem 1.1rem 1.1rem 3.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.1rem; top: 1.05rem; width: 1.6rem; height: 1.6rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
}
.steps h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cards, chips, badges ---------- */
.card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1.25rem; box-shadow: var(--shadow); }
.card + .card { margin-top: 1rem; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .75rem; }
.card-head h2, .card-head h3 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; max-width: 100%; overflow-wrap: anywhere; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); background: var(--bg-raised); }
.badge {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  padding: .2rem .55rem; border-radius: var(--radius-s); border: 1px solid transparent; white-space: nowrap;
}
.badge-target-claude_code { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.badge-target-cowork { background: rgba(127,183,126,.14); color: var(--ok); border-color: rgba(127,183,126,.35); }
.badge-target-generic { background: var(--surface-2); color: var(--text-2); border-color: var(--border-strong); }
.badge-verdict-stronger { background: rgba(127,183,126,.14); color: var(--ok); border-color: rgba(127,183,126,.35); }
.badge-verdict-neutral { background: rgba(216,166,87,.14); color: var(--warn); border-color: rgba(216,166,87,.35); }
.badge-verdict-commoditised { background: rgba(214,122,106,.14); color: var(--bad); border-color: rgba(214,122,106,.35); }
.badge-demo { background: var(--warn); color: #1a1206; }
.badge-locked { background: var(--surface-2); color: var(--muted); border-color: var(--border-strong); }
.badge-unlocked { background: rgba(127,183,126,.14); color: var(--ok); }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface-2); font-size: .925rem; color: var(--text-2); margin-bottom: 1.25rem; }
.notice strong { color: var(--text); }
.notice .badge { flex: none; margin-top: .15rem; }
.notice-error { border-color: color-mix(in srgb, var(--bad) 50%, var(--border)); }

/* ---------- summary ---------- */
.summary-grid { display: grid; gap: 1rem; }
.summary-grid > * { min-width: 0; }
.summary-main .kv dd, .summary-main .one-liner { overflow-wrap: anywhere; }
.summary-main h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .25rem; }
.summary-main .one-liner { font-size: 1.15rem; color: var(--text-2); margin-bottom: 1rem; }
.kv { display: grid; gap: .9rem; margin: 0; }
.kv > div { padding-top: .9rem; border-top: 1px solid var(--border); }
.kv dt { font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.kv dd { margin: 0; color: var(--text); }
.price-table { width: 100%; border-collapse: collapse; font-size: .925rem; table-layout: fixed; }
.price-table col.c-tier { width: 28%; } .price-table col.c-price { width: 27%; }
.price-table th, .price-table td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.price-table td:nth-child(2) { font-weight: 600; }
.price-table th, .price-table td { overflow-wrap: anywhere; }
.risks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.risks li { padding: .7rem .85rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-s); font-size: .925rem; }
.risks li strong { display: block; margin-bottom: .15rem; }
.risks li span { color: var(--text-2); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.checklist li::before { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: .25rem; border: 1.5px solid var(--border-strong); border-radius: 4px; }
@media (min-width: 900px) {
  .summary-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
}

/* tabs */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: .9rem; }
.tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: .5rem .75rem; color: var(--muted); cursor: pointer; font-weight: 500; border-radius: 0;
}
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabs button:hover { color: var(--text); }
[role="tabpanel"] ul { margin: 0; }

/* ---------- timeline / prompt sequence ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline li { position: relative; padding: 0 0 1rem 2.6rem; }
.timeline .num {
  position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border-strong);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text-2);
}
.timeline .row { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; padding-top: .3rem; }
.timeline .title { font-weight: 600; }
.timeline .meta { color: var(--muted); font-size: .85rem; }

.prompt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.prompt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.prompt-card.is-open { border-color: var(--border-strong); }
.prompt-toggle > span:nth-child(2) { min-width: 0; }
.prompt-toggle .title { overflow-wrap: anywhere; }
.prompt-toggle {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start;
  text-align: left; background: none; border: 0; padding: 1rem 1.1rem; cursor: pointer; border-radius: var(--radius-l);
}
.prompt-toggle:hover { background: var(--surface-2); }
.prompt-toggle:focus-visible { outline-offset: -2px; }
.prompt-toggle .num {
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-head); font-weight: 600;
}
.prompt-card.is-locked .prompt-toggle .num { background: var(--surface-2); color: var(--muted); }
.prompt-toggle .title { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.prompt-toggle .meta { display: flex; flex-wrap: wrap; gap: .35rem .7rem; align-items: center; margin-top: .35rem; color: var(--muted); font-size: .85rem; }
.prompt-toggle .chev { width: 1.1rem; height: 1.1rem; color: var(--muted); transition: transform .2s; margin-top: .45rem; }
.prompt-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.prompt-body { padding: 0 1.1rem 1.1rem; border-top: 1px solid var(--border); }
.prompt-body .when { padding: .9rem 0 .5rem; color: var(--text-2); font-size: .95rem; }
.prompt-body .when strong { color: var(--text); }
.prompt-pre-wrap { position: relative; margin: .5rem 0 1rem; }
.prompt-pre {
  background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1rem 1rem; padding-right: 5.5rem; font-size: .85rem; line-height: 1.6; color: var(--text);
  max-height: 480px; overflow: auto;
}
.prompt-pre-wrap .btn { position: absolute; top: .55rem; right: .55rem; }
.prompt-cols { display: grid; gap: 1rem; }
.prompt-cols h4 { margin-bottom: .35rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prompt-cols ul { margin: 0; padding-left: 1.1rem; font-size: .925rem; color: var(--text-2); }
@media (min-width: 720px) { .prompt-cols { grid-template-columns: 1fr 1fr; } }

.locked-box {
  position: relative; margin: .5rem 0 1rem; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
  background: var(--bg-sunken);
}
.locked-box .blur {
  padding: 1rem; font-family: var(--font-mono); font-size: .85rem; line-height: 1.6; color: var(--text-2);
  filter: blur(6px); user-select: none; pointer-events: none; opacity: .8;
}
.locked-box .cta {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg-sunken) 85%, transparent) 40%);
}
.locked-box .cta p { margin: 0 0 .6rem; color: var(--text-2); font-size: .925rem; }

.pack-head { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.pack-head .idea { font-family: var(--font-head); font-size: 1.2rem; color: var(--text-2); font-style: italic; max-width: var(--measure); margin: 0; }
.pack-head .actions { align-items: center; }
.pack-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; color: var(--muted); font-size: .875rem; }
.section-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin: 2.5rem 0 1rem; }
.section-title-row h2 { margin: 0; }

/* ---------- generator ---------- */
.stepper { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.stepper li { display: inline-flex; align-items: center; gap: .4rem; }
.stepper li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--border-strong); }
.stepper li[aria-current="step"] { color: var(--text); }
.stepper li[aria-current="step"]::before { background: var(--accent); }
.stepper li.done::before { background: var(--ok); }
.stepper li + li { margin-left: .5rem; }

.question { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.question:first-of-type { border-top: 0; padding-top: 0; }
.question legend { font-weight: 600; font-size: 1.05rem; padding: 0; margin-bottom: .2rem; }
.question .why { color: var(--muted); font-size: .875rem; margin-bottom: .75rem; }
.question fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.options { display: grid; gap: .5rem; }
.option {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border: 1px solid var(--border-strong);
  border-radius: var(--radius-s); background: var(--bg-raised); cursor: pointer; font-weight: 400; margin: 0;
}
.option:hover { border-color: var(--accent); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.option input { accent-color: var(--accent); margin: 0; width: 1rem; height: 1rem; flex: none; }
.option .rec { margin-left: auto; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.option-other input[type="text"] { margin-top: .5rem; padding: .5rem .7rem; }
@media (min-width: 720px) { .options { grid-template-columns: 1fr 1fr; } .options .option-other { grid-column: 1 / -1; } }

.progress { padding: 2rem 0; }
.progress .stages { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.progress .stages li { display: flex; align-items: center; gap: .8rem; color: var(--muted); transition: color .3s; }
.progress .stages li .dot { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.progress .stages li.active { color: var(--text); }
.progress .stages li.active .dot { border-color: var(--accent); }
.progress .stages li.active .dot::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
.progress .stages li.done { color: var(--text-2); }
.progress .stages li.done .dot { border-color: var(--ok); background: rgba(127,183,126,.15); }
.progress .stages li.done .dot::after { content: ""; width: .35rem; height: .6rem; border: solid var(--ok); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 1.5rem; }
.progress-bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .8s linear; }
@keyframes pulse { 0%,100% { transform: scale(.7); opacity: .6; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 1rem; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 1.25rem; box-shadow: var(--shadow); }
.plan.featured { border-color: var(--accent); }
.plan .price { font-family: var(--font-head); font-size: 2.2rem; letter-spacing: -0.02em; line-height: 1; margin: .5rem 0 .25rem; }
.plan .price small { font-family: var(--font-body); font-size: .85rem; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .875rem; margin-bottom: 1rem; }
.plan ul { padding-left: 1.1rem; margin: 0 0 1.25rem; font-size: .925rem; color: var(--text-2); flex: 1; }
.plan .btn { margin-top: auto; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } }

/* ---------- harness features ---------- */
.feature-grid { display: grid; gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; }
.feature code { display: inline-block; color: var(--accent); background: var(--accent-soft); padding: .1rem .4rem; border-radius: 4px; margin-bottom: .5rem; font-size: .8rem; }
.feature h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.4rem; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: 0 0 1rem; max-width: var(--measure); }

/* ---------- agents / docs ---------- */
.codeblock { background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; overflow: auto; font-size: .85rem; line-height: 1.6; margin: 0 0 1.25rem; }
.codeblock code { font-size: inherit; }
.flow { counter-reset: f; list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.flow li { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; align-items: baseline; }
.flow li::before { counter-increment: f; content: counter(f); font-family: var(--font-head); color: var(--accent); font-weight: 600; }
.doc-cols { display: grid; gap: 2rem; }
@media (min-width: 900px) { .doc-cols { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; font-size: .925rem; }
.aside h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- toast & misc ---------- */
.toast-region { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 90; display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: .65rem 1rem; border-radius: var(--radius-s); font-size: .9rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: toast-in .2s ease-out; text-align: center; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--text-2); }
.empty h2 { font-size: 1.5rem; }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 1rem; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.cta-band { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 2rem 1.25rem; text-align: center; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--text-2); max-width: 50ch; margin: 0 auto 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
