
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/geist-400.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  /* Text uses --ink or --ink-60 (5.2:1 on white, 4.6:1 on --surface). --ink-45 (3.1:1) and --ink-30 are for borders and
     icons only: they fail WCAG AA for text below 18px. */
  --ink: #0c0a08; --ink-60: rgb(12 10 8 / 0.6); --ink-45: rgb(12 10 8 / 0.45); --ink-30: rgb(12 10 8 / 0.3);
  --line: rgb(12 10 8 / 0.1); --line-strong: rgb(12 10 8 / 0.18);
  --canvas: #ffffff; --surface: #f4f2f0; --surface-2: #ebe8e4;
  --lime: #e4f222; --lime-hover: #d6e40e;
  --dark: #1a1919; --footer: #1f1f1d;
  --good: #1f7a45; --good-bg: #e3f1e8; --bad: #b8321c; --bad-bg: #fbe8e3;
  /* Type scale: 12 / 14 / 16 / 18 / 20 / 24 / 32 / 40 / 64px, plus 11px uppercase mono labels and the 23px wordmark. */
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 48px;
  --r-btn: 6px; --r-input: 8px; --r-panel: 12px;
  --shadow-float: 0 1px 2px rgb(12 10 8 / 0.05), 0 18px 40px -16px rgb(12 10 8 / 0.18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--footer); color-scheme: light; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ink); background: var(--footer); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, form, table, figure, pre { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; overflow-wrap: anywhere; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
strong, b { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.foot :focus-visible, .panel-dark :focus-visible { outline-color: #fff; }
::selection { background: var(--lime); color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 16px; height: 16px; flex: none; }
.ico-lg { width: 22px; height: 22px; flex: none; }
.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: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-btn); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Sheet, header, footer ---------- */
.sheet { position: relative; z-index: 1; background: var(--canvas); border-radius: 0 0 24px 24px; min-height: 70vh; display: flex; flex-direction: column; }
.sheet > main { flex: 1; }
.bar { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 8px 28px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); flex: none; }
.logo-word { font-size: 23px; line-height: 1; font-weight: 500; letter-spacing: -0.045em; }
.logo-mark { width: 26px; height: 20px; margin-top: -2px; transform-origin: 30% 90%; }
.logo:hover .logo-mark { animation: wave 1.1s ease-in-out; }
.logo-light { color: #fff; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 35% { transform: rotate(10deg); } 55% { transform: rotate(-9deg); } 75% { transform: rotate(6deg); } }
.nav { display: flex; gap: 2px; margin-right: auto; min-width: 0; }
.nav a { font-size: 14px; line-height: 14px; padding: 10px 12px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink-60); white-space: nowrap; transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.bar-end form { display: inline; }
.bar-link { font-size: 14px; color: var(--ink-60); text-decoration: none; }
.bar-link:hover { color: var(--ink); }
.ws-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--ink); }
.ws-chip:hover { border-color: var(--line-strong); background: var(--surface); }
.ws-chip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.foot { margin-top: -24px; padding: calc(24px + 56px) 0 40px; background: var(--footer); color: rgb(255 255 255 / 0.6); font-size: 14px; line-height: 20px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; }
.foot-tag { margin-top: 12px; font-size: 16px; line-height: 22px; }
.foot-meta { display: grid; gap: 8px; max-width: 520px; }
.foot .fine { color: rgb(255 255 255 / 0.6); }
.foot a { color: rgb(255 255 255 / 0.85); }
.foot a:hover { color: #fff; }

/* ---------- Type ---------- */
h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.015em; }
h2 { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }
h3 { font-size: 18px; line-height: 24px; letter-spacing: -0.005em; }
.display { font-size: 64px; line-height: 64px; letter-spacing: -0.02em; }
.two-tone span { color: var(--ink-60); }
.two-tone .block { display: block; }
.lede { font-size: 20px; line-height: 28px; color: var(--ink-60); margin-top: 16px; max-width: 640px; }
.muted { color: var(--ink-60); }
.fine { font-size: 14px; line-height: 20px; color: var(--ink-60); }
.mono, .num, code, pre, kbd { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mono-label { font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-60); }
code { font-size: 12px; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
pre { font-size: 12px; line-height: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px 14px; overflow-x: auto; white-space: pre; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-60); text-decoration: none; transition: color .15s; }
.link:hover { color: var(--ink); }
.link .ico { transition: transform .15s; }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Rhythm ---------- */
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-lg > * + * { margin-top: 40px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }

/* ---------- Page frames ---------- */
main.page { padding-block: 56px 112px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
main.focus { padding-block: 32px 96px; }
.stage { position: relative; display: grid; place-items: center; min-height: 560px; padding: 64px 24px; background: var(--surface); border-radius: var(--r-panel); overflow: hidden; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); opacity: 0.13; pointer-events: none; }
.float-card { position: relative; z-index: 1; width: min(560px, 100%); padding: 40px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-float); }
.float-card h1 { font-size: 32px; line-height: 36px; letter-spacing: -0.01em; }
.float-card .lede { font-size: 18px; line-height: 26px; margin-top: 12px; }
.float-card > .stack > form { margin-top: 24px; }
.card-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.card-foot > * + * { margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-btn); background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 48px; padding: 0 20px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-danger { background: var(--canvas); color: var(--bad); border: 1px solid rgb(184 50 28 / 0.45); }
.btn-danger:hover { background: var(--bad-bg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn[disabled]:hover { background: var(--surface); }
.btn-primary[disabled]:hover { background: var(--lime); }
.btn-link { background: none; border: 0; padding: 0; color: var(--ink-60); cursor: pointer; font-size: 14px; }
.btn-link:hover { color: var(--ink); text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- Forms ---------- */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-size: 14px; line-height: 20px; color: var(--ink-60); margin-bottom: 8px; }
label { display: block; font-size: 14px; line-height: 20px; color: var(--ink-60); margin-bottom: 6px; }
input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-input); background: var(--canvas); transition: border-color .15s, box-shadow .15s; }
input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink-60); box-shadow: 0 0 0 3px rgb(12 10 8 / 0.08); }
input::placeholder, textarea::placeholder { color: var(--ink-60); }
/* Element + attribute, so these outrank the input[type] rules above. */
input[aria-invalid="true"] { border-color: var(--bad); }
input[aria-invalid="true"]:focus { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
.combo:has([aria-invalid="true"]) { border-color: var(--bad); }
.field-error { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--bad); }
input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--line-strong); border-radius: var(--r-input); background: var(--canvas); font-size: 14px; color: var(--ink-60); }
input[type="file"]::file-selector-button { margin-right: 12px; height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-btn); background: var(--surface); color: var(--ink); cursor: pointer; }
textarea { min-height: 160px; font-family: var(--mono); font-size: 12px; line-height: 20px; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ink); width: 16px; height: 16px; margin: 3px 0 0; flex: none; }
.field + .field { margin-top: 16px; }
.combo { display: flex; align-items: center; gap: 8px; padding: 4px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-input); transition: border-color .15s, box-shadow .15s; }
.combo:focus-within { border-color: var(--ink-60); box-shadow: 0 0 0 3px rgb(12 10 8 / 0.08); }
.combo input[type="email"], .combo input[type="text"] { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; background: transparent; border: 0; box-shadow: none; }
.combo input:focus { box-shadow: none; }
.combo select { flex: 1; min-width: 0; min-height: 40px; border: 0; background: transparent; box-shadow: none; }
.combo select:focus { box-shadow: none; }
.combo .btn:not(.btn-primary) { background: var(--canvas); border: 1px solid var(--line); }
.combo .btn:not(.btn-primary):hover { border-color: var(--line-strong); }
.panel .combo { background: var(--canvas); }
.panel .combo .btn:not(.btn-primary) { background: var(--surface); border-color: transparent; }
.panel .combo .btn:not(.btn-primary):hover { background: var(--surface-2); }
.hero .actions { margin-top: 28px; }
.code-input { font-family: var(--mono); font-size: 24px; line-height: 32px; letter-spacing: 0.4em; text-align: center; padding-left: 0.4em; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-input); background: var(--canvas); color: var(--ink); cursor: pointer; margin-bottom: 8px; font-size: 16px; line-height: 22px; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--ink-45); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-body { display: grid; gap: 2px; min-width: 0; }
.choice-fixed { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-input); }
.choice-fixed .perm-head { margin-bottom: 4px; }

/* ---------- Panels and cards ---------- */
.panel { background: var(--surface); border-radius: var(--r-panel); padding: 28px; }
.panel > * + * { margin-top: 12px; }
.panel > h2 + *, .card > h3 + * { margin-top: 8px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; background: var(--canvas); }
.card > * + * { margin-top: 12px; }
.card > .card-actions { margin-top: auto; padding-top: 20px; }
.card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--line); color: var(--ink); flex: none; }
.panel .tile { border-color: transparent; }
.tile-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.section-head .muted { font-size: 14px; }

/* Dark connector panel: the one dark block in the app, like the stat panel on the site. */
.panel-dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: var(--r-panel); padding: 32px; }
.panel-dark .waves { color: #fff; opacity: 0.12; }
.panel-dark > :not(.waves) { position: relative; }
.panel-dark > * + * { margin-top: 12px; }
.panel-dark .muted, .panel-dark .fine { color: rgb(255 255 255 / 0.62); }
.url { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--r-input); }
.url code { flex: 1; min-width: 0; padding: 8px 0; background: none; border: 0; color: #fff; font-size: 16px; line-height: 22px; user-select: all; -webkit-user-select: all; cursor: text; overflow-wrap: anywhere; }
.url .mono-label { color: rgb(255 255 255 / 0.5); padding-right: 8px; white-space: nowrap; }
.url-light { background: var(--canvas); border-color: var(--line-strong); }
.url-light code { color: var(--ink); }
.url-light .mono-label { color: var(--ink-60); }

/* ---------- Notices, pills, dots ---------- */
.notice { padding: 12px 16px; border-radius: var(--r-input); background: var(--surface); font-size: 14px; line-height: 20px; }
.notice-good { background: var(--good-bg); color: var(--good); }
.notice-bad { background: var(--bad-bg); color: var(--bad); }
.notice a { color: inherit; }
.panel .notice:not(.notice-good):not(.notice-bad) { background: var(--canvas); }
.dev-only { padding: 12px 16px; border: 1px dashed var(--ink-45); border-radius: var(--r-input); font-family: var(--mono); font-size: 12px; line-height: 20px; overflow-wrap: anywhere; }
.pill { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 18px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink); white-space: nowrap; vertical-align: 1px; }
.panel .pill { background: var(--canvas); }
.pill-good { background: var(--good-bg); color: var(--good); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.panel .pill-good { background: var(--good-bg); }
.panel .pill-bad { background: var(--bad-bg); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--ink-30); box-shadow: 0 0 0 3px var(--surface); }
.dot-good { background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }
.dot-bad { background: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }

/* ---------- Empty states and disclosures ---------- */
.empty { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-panel); }
.empty > * + * { margin-top: 6px; }
.empty .actions { margin-top: 16px; }
.disclosure > summary { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; padding: 8px 0; cursor: pointer; list-style: none; border-top: 1px solid var(--line); }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary .ico { align-self: center; margin-left: auto; color: var(--ink-60); transition: transform .2s; }
.disclosure[open] > summary .ico { transform: rotate(90deg); }
.disclosure > summary:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.disclosure > summary .muted { font-size: 14px; }
.disclosure-sm > summary { border-top: 0; padding: 0; font-size: 14px; color: var(--ink-60); }
.disclosure-sm > summary:hover { color: var(--ink); }
.disclosure-sm > .table-wrap { margin-top: 12px; }
.disclosure > .stack { margin-top: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 16px 10px 0; vertical-align: top; }
th { font-weight: 400; font-size: 12px; line-height: 16px; color: var(--ink-60); padding-top: 0; white-space: nowrap; }
td { border-top: 1px solid var(--line); }
td.num, th.num { text-align: right; font-family: var(--mono); }
th:last-child, td:last-child { padding-right: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.kv dt { color: var(--ink-60); }
.kv dd { overflow-wrap: anywhere; }

/* ---------- Dashboard ---------- */
/* The DOM order is the phone order: checklist, then the connector while no AI app is connected (it's the next step),
   then the workspace. Wide screens put the workspace beside the checklist and the connector underneath. */
.dash { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "check ws" "conn conn"; gap: 40px 24px; align-items: start; }
.dash-check { grid-area: check; }
.dash-ws { grid-area: ws; }
.dash-conn { grid-area: conn; }
.panel-row { padding-top: 16px; border-top: 1px solid var(--line); }
.panel-row > * + * { margin-top: 4px; }

/* ---------- Setup checklist (a real sequence) ---------- */
.checklist { counter-reset: step; border-top: 1px solid var(--line); }
.check-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-mark { counter-increment: step; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--ink-60); }
.check-mark::before { content: counter(step); }
.check-step.is-done .check-mark { background: var(--ink); border-color: var(--ink); color: #fff; }
.check-step.is-done .check-mark::before { content: none; }
.check-step.is-done .check-title { color: var(--ink-60); }
.check-title { font-size: 16px; line-height: 22px; }
.check-desc { grid-column: 2; font-size: 14px; line-height: 20px; color: var(--ink-60); }
/* Actions sit under the description at every width, so a step with several choices never squeezes its text. */
.check-step .actions { grid-column: 2; margin-top: 10px; }
.check-optional { font-family: var(--mono); font-size: 11px; color: var(--ink-60); margin-left: 8px; }

/* ---------- Connect your AI app ---------- */
.apps { border-top: 1px solid var(--line); }
.app { border-bottom: 1px solid var(--line); }
.app summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 16px; }
.app summary::-webkit-details-marker { display: none; }
.app summary:hover .app-name { text-decoration: underline; }
.app summary .ico { margin-left: auto; color: var(--ink-45); transition: transform .2s; }
.app[open] summary .ico { transform: rotate(90deg); }
.app-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); flex: none; }
.app-ico svg { width: 18px; height: 18px; }
.app-body { padding: 0 0 18px 44px; font-size: 14px; line-height: 20px; color: var(--ink-60); }
.app-body > * + * { margin-top: 10px; }
.app-body ol { list-style: decimal; padding-left: 18px; display: grid; gap: 4px; }
.app-body strong { color: var(--ink); }
.panel .app-ico { border-color: transparent; }

/* ---------- Consent ---------- */
.handshake { display: flex; align-items: center; gap: 0; margin-bottom: 28px; }
.handshake .tile { width: 48px; height: 48px; border-radius: 12px; }
.handshake-line { flex: 1; min-width: 24px; max-width: 72px; height: 0; border-top: 2px dotted var(--ink-30); margin: 0 8px; }
.client-initial { font-family: var(--mono); font-size: 18px; text-transform: uppercase; }
.perm { display: grid; gap: 10px; font-size: 16px; line-height: 22px; }
.perm li { display: flex; gap: 10px; align-items: flex-start; }
.perm .ico { margin-top: 3px; }
.perm-yes .ico { color: var(--good); }
.perm-no { color: var(--ink-60); }
.perm-no .ico { color: var(--bad); }
.perm-head { font-size: 12px; line-height: 16px; color: var(--ink-60); margin-bottom: 8px; }
.perm-box { display: grid; gap: 20px; padding: 20px; border-radius: var(--r-input); background: var(--surface); }

/* ---------- Home ---------- */
.hero { padding-top: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--ink-60); margin-bottom: 8px; }
.step p.muted { margin-top: 8px; font-size: 14px; line-height: 20px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line-strong); }
.plan-hot { border: 2px solid var(--lime); padding: 23px; }
.plan-name { font-size: 24px; line-height: 28px; letter-spacing: -0.01em; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  :root { --gutter: 32px; }
  .dash { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 32px; }
  .dash-check, .dash-ws, .dash-conn { grid-area: auto; }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  /* Every tab stays visible: the row wraps instead of scrolling out of sight, and the taller header stops being sticky. */
  .bar { position: relative; }
  .bar-in { flex-wrap: wrap; padding-block: 12px 8px; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; margin: 0 -12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  main.page { padding-block: 32px 80px; }
  main.focus { padding-block: 16px 72px; }
  h1 { font-size: 32px; line-height: 36px; }
  .display { font-size: 40px; line-height: 42px; }
  h2 { font-size: 20px; line-height: 26px; }
  .lede { font-size: 18px; line-height: 26px; }
  .stage { min-height: 0; padding: 16px; border-radius: 10px; }
  .float-card { padding: 24px 20px; }
  .panel, .panel-dark { padding: 20px; }
  .card { padding: 20px; }
  .bar-in { column-gap: 12px; }
  .ws-chip { max-width: 132px; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr { display: block; width: 100%; }
  .table-stack tr { padding: 10px 0; border-top: 1px solid var(--line); }
  .table-stack td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 3px 0; border: 0; }
  .table-stack td::before { content: attr(data-label); color: var(--ink-60); font-size: 12px; line-height: 20px; }
  .table-stack td .pill { justify-self: start; }
  .url { flex-wrap: wrap; padding: 6px 12px; }
  .url .mono-label { display: none; }
  .app-body { padding-left: 0; }
  .handshake .tile { width: 40px; height: 40px; }
  .stack-lg > * + * { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
