/* Izini marketing site. Built by scripts/landing/build.mjs; tokens follow the
   dashboard (Inter, slate, emerald) so the site and the app look like one product. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6878;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --em: #047857;
  --em-hover: #065f46;
  --em-ink: #ffffff;
  --em-soft: #e8f6ef;
  --em-text: #046c4e;
  --dark: #06261d;
  --dark-2: #0b3328;
  --dark-ink: #e3f2eb;
  --dark-muted: #9cc3b2;
  --dark-accent: #6ee7b7;
  --dark-line: rgba(255, 255, 255, .12);
  --rust: #b4441b;
  --focus: #059669;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1210; --bg-soft: #0f1a17; --surface: #111d19; --ink: #e8efec; --ink-2: #c9d6d0; --muted: #98aaa2;
    --line: #22312c; --line-strong: #2f413a; --em: #10b981; --em-hover: #34d399; --em-ink: #04241a; --em-soft: #0f2d23; --em-text: #4ade9f;
    --dark: #04120d; --dark-2: #0a1f18; --rust: #f0845b; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1210; --bg-soft: #0f1a17; --surface: #111d19; --ink: #e8efec; --ink-2: #c9d6d0; --muted: #98aaa2;
  --line: #22312c; --line-strong: #2f413a; --em: #10b981; --em-hover: #34d399; --em-ink: #04241a; --em-soft: #0f2d23; --em-text: #4ade9f;
  --dark: #04120d; --dark-2: #0a1f18; --rust: #f0845b; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
img { max-width: 100%; height: auto; display: block }
a { color: var(--em-text) }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -0.022em; font-weight: 700 }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.06 }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12 }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 650 }
p { margin: 0 }
ul { margin: 0 }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: 16px; top: -60px; background: var(--em); color: var(--em-ink); padding: 10px 14px; border-radius: 8px; z-index: 100 }
.skip:focus { top: 12px }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px }
@media (max-width: 640px) { .wrap { padding-inline: 18px } }
.section { padding-block: 96px }
.section--soft { background: var(--bg-soft) }
.section--tight { padding-block: 64px }
.section + .section:not(.section--soft):not(.band) { border-top: 1px solid var(--line) }
@media (max-width: 760px) { .section { padding-block: 64px } .section--tight { padding-block: 48px } }

.eyebrow { display: inline-block; font: 500 .78rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--em-text) }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch }
.muted { color: var(--muted) }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px }
.head--center { margin-inline: auto; text-align: center; justify-items: center }
.head p { color: var(--ink-2); font-size: 1.1rem; max-width: 62ch }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; font: 600 .98rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s }
.btn--primary { background: var(--em); color: var(--em-ink) }
.btn--primary:hover { background: var(--em-hover) }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong) }
.btn--ghost:hover { border-color: var(--ink-2) }
.btn--link { min-height: auto; padding: 0; color: var(--em-text); background: none; white-space: normal; text-align: left }
.btn--link:hover { text-decoration: underline }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .92rem }
.btn svg { width: 18px; height: 18px; flex: none }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center }

/* Chips */
.chip { display: inline-flex; align-items: center; font: 500 .74rem/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--em-soft); color: var(--em-text); white-space: nowrap }
.chips { display: flex; flex-wrap: wrap; gap: 6px }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line) }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em }
.logo img { width: 30px; height: 30px; border-radius: 7px }
.nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none }
.nav > li { position: relative }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .96rem/1 var(--font); background: none; border: 0; cursor: pointer }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-soft) }
.nav-link .caret { width: 12px; height: 12px; transition: transform .15s }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg) }
.nav-link[aria-current="page"] { color: var(--em-text) }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 8px }
.header-end .login { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 8px }
.header-end .login:hover { background: var(--bg-soft) }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer }
.menu-toggle svg { width: 22px; height: 22px }

/* Dropdown panels */
.panel { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px }
.panel[hidden] { display: none }
.panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--ink) }
.panel a:hover, .panel a:focus-visible { background: var(--bg-soft) }
.panel a b { font-weight: 600; font-size: .96rem }
.panel a span { color: var(--muted); font-size: .86rem; line-height: 1.4 }
.panel--mega { left: -140px; width: min(940px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 4px; padding: 14px }
.panel--mega[hidden] { display: none }
.panel-col { display: grid; gap: 2px; align-content: start; padding: 4px }
.panel-col h4 { font: 500 .72rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px }
.panel-feature { background: var(--em-soft); border-radius: 12px; padding: 16px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--ink) }
.panel-feature img { border-radius: 8px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100% }
.panel-feature b { font-size: .98rem }
.panel-feature span { color: var(--ink-2); font-size: .88rem }

@media (max-width: 1060px) {
  .nav, .header-end .login, .header-end .btn { display: none }
  .menu-toggle { display: inline-flex }
}

/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px) }
.sheet[hidden] { display: none }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-inline: 18px; border-bottom: 1px solid var(--line) }
.sheet-body { flex: 1; overflow-y: auto; padding: 8px 18px 24px }
.sheet details { border-bottom: 1px solid var(--line) }
.sheet summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-weight: 600; font-size: 1.05rem; cursor: pointer }
.sheet summary::-webkit-details-marker { display: none }
.sheet summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 1.3rem }
.sheet details[open] summary::after { content: "–" }
.sheet details a { display: grid; gap: 2px; padding: 10px 2px; text-decoration: none; color: var(--ink) }
.sheet details a span { color: var(--muted); font-size: .88rem }
.sheet details > div { padding-bottom: 12px }
.sheet .sheet-link { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--ink) }
.sheet-foot { display: grid; gap: 10px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line) }
.sheet-foot .btn { width: 100% }
body.sheet-open { overflow: hidden }

/* Browser frame around product screenshots */
.shot { position: relative; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden }
.shot::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 16px 15px, #f87171 4.5px, transparent 5px),
  radial-gradient(circle at 32px 15px, #fbbf24 4.5px, transparent 5px),
  radial-gradient(circle at 48px 15px, #34d399 4.5px, transparent 5px), var(--bg-soft) }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left }
.shot--main img { aspect-ratio: 1184 / 900 }
.shot--crop img { aspect-ratio: 16 / 9 }

/* Hero */
.hero { padding-block: 72px 80px; overflow: hidden }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center }
.hero-copy { display: grid; gap: 22px; justify-items: start }
.hero-copy .lede { font-size: 1.22rem }
.hero-note { font-size: .92rem; color: var(--muted) }
.hero-shot { margin-right: -120px }
@media (max-width: 1280px) { .hero-shot { margin-right: -60px } }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px } .hero-shot { margin-right: 0 } }
.crumb { font: 400 .84rem/1.2 var(--mono); color: var(--muted) }
.crumb a { color: var(--muted); text-decoration: none }
.crumb a:hover { color: var(--em-text) }

/* Proof strip */
.proof { border-block: 1px solid var(--line); background: var(--bg-soft) }
.proof ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 }
.proof li { padding: 22px 24px 22px 0; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); font-size: .98rem; line-height: 1.45 }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line) }
.proof svg { width: 20px; height: 20px; flex: none; color: var(--em); margin-top: 2px }
@media (max-width: 900px) { .proof ul { grid-template-columns: 1fr 1fr } .proof li:nth-child(3) { padding-left: 0; border-left: 0 } .proof li { border-top: 1px solid var(--line) } .proof li:nth-child(-n+2) { border-top: 0 } }
@media (max-width: 520px) { .proof ul { grid-template-columns: 1fr } .proof li, .proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) } .proof li:first-child { border-top: 0 } }

/* Dark band */
.band { background: var(--dark); color: var(--dark-ink) }
.band h2, .band h3 { color: #fff }
.band .eyebrow { color: #6ee7b7 }
.band p { color: var(--dark-ink) }
.band-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start }
.band-copy { display: grid; gap: 18px }
.band-copy .note { font-size: .86rem; color: var(--dark-muted) }
.band-copy .note a { color: var(--dark-muted) }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.figure { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start }
.figure b { font: 600 1.7rem/1 var(--mono); color: #fff; letter-spacing: -0.02em }
.figure span { font-size: .93rem; color: var(--dark-ink) }
.figure a { color: var(--dark-muted); font-size: .82rem }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; gap: 36px } }
@media (max-width: 480px) { .figures { grid-template-columns: 1fr } }

/* Product tour tabs */
.tour-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px }
.tour-tabs button { font: 600 .95rem/1 var(--font); padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer }
.tour-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg) }
.tour-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center }
.tour-panel[hidden] { display: none }
.tour-copy { display: grid; gap: 16px; align-content: start }
@media (max-width: 900px) { .tour-panel { grid-template-columns: 1fr; gap: 28px } .tour-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px } .tour-tabs button { flex: none } }

/* Ticks */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2) }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--em-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat }

/* Feature rows */
.rows { display: grid; gap: 96px }
.row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center }
.row--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) }
.row--flip .row-copy { order: 2 }
.row-copy { display: grid; gap: 16px; align-content: start }
.row-copy p { color: var(--ink-2) }
@media (max-width: 900px) { .row, .row--flip { grid-template-columns: 1fr; gap: 28px } .row--flip .row-copy { order: 0 } .rows { gap: 64px } }

/* Cards */
.grid { display: grid; gap: 16px }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr) } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start }
.card p { color: var(--ink-2); font-size: .97rem }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s }
a.card:hover { border-color: var(--em) }
.card .more { color: var(--em-text); font-weight: 600; font-size: .95rem; margin-top: 4px }
.card--outcome { background: transparent; border: 0; padding: 0; gap: 8px }
.card--outcome h3 { font-size: 1.15rem }
.num { font: 600 .85rem/1 var(--mono); color: var(--em-text) }
.module { gap: 8px }
.module h3 { font-size: 1.05rem }
.module p { font-size: .94rem }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface) }
.steps li { list-style: none; padding: 28px; display: grid; gap: 10px; align-content: start; counter-increment: step }
.steps li + li { border-left: 1px solid var(--line) }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--em-soft); color: var(--em-text); font: 600 .95rem/1 var(--mono) }
.steps p { color: var(--ink-2); font-size: .97rem }
.steps { padding: 0; margin: 0 }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr } .steps li + li { border-left: 0; border-top: 1px solid var(--line) } }

/* Language demo */
.lang-demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px; max-width: 520px; justify-self: end; width: 100% }
.lang-tabs { display: flex; gap: 6px; flex-wrap: wrap }
.lang-tabs button { font: 600 .86rem/1 var(--font); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); cursor: pointer }
.lang-tabs button[aria-selected="true"] { background: var(--em-soft); border-color: var(--em); color: var(--em-text) }
.lang-demo p { color: var(--ink-2); font-size: .98rem; min-height: 3.2em }
.lang-demo .actions .btn { min-height: 40px }
@media (max-width: 900px) { .lang-demo { justify-self: stretch; max-width: none } }

/* Integrations strip */
.logos { display: flex; flex-wrap: wrap; gap: 10px }
.logos span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 600; font-size: .94rem; color: var(--ink-2) }

/* Law table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface) }
table.law { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem }
table.law th { text-align: left; font: 500 .74rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft) }
table.law td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2) }
table.law tr:last-child td { border-bottom: 0 }
table.law td:first-child { color: var(--ink); font-weight: 600 }
.table-note { margin-top: 12px; font-size: .86rem; color: var(--muted) }

/* Code (developers) */
.code { background: #0b1220; color: #d7e3f4; border-radius: var(--radius); padding: 20px 22px; font: 400 .86rem/1.65 var(--mono); overflow-x: auto; border: 1px solid #1e293b }
.code .c { color: #7f8ea3 } .code .k { color: #7dd3fc } .code .s { color: #86efac }
.code-head { display: flex; justify-content: space-between; align-items: center; font: 500 .78rem/1 var(--mono); color: var(--muted); margin-bottom: 8px }
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px }
.events div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--surface); display: grid; gap: 4px }
.events code { font: 500 .82rem/1.2 var(--mono); color: var(--em-text) }
.events span { font-size: .9rem; color: var(--ink-2) }

/* CTA band */
.cta { background: var(--dark); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; color: var(--dark-ink) }
.cta h2 { color: #fff }
.cta .ticks li { color: var(--dark-ink) }
.cta .ticks li::before { background-color: rgba(110, 231, 183, .16) }
.cta-side { display: grid; gap: 12px; justify-items: start }
.cta-side .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3) }
.cta-side small { color: var(--dark-muted); font-size: .88rem }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 36px 26px } }

/* Index (Template C) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px }
.filters button { font: 600 .9rem/1 var(--font); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.filters input { margin-left: auto; min-width: 240px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); padding: 0 14px; font: 400 .95rem var(--font) }
@media (max-width: 700px) { .filters input { margin-left: 0; width: 100%; min-width: 0 } }
.area-block { display: grid; gap: 18px; margin-bottom: 56px }
.area-block[hidden] { display: none }
.area-block > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px }
.module[hidden] { display: none }
.empty-note { color: var(--muted) }

/* Article (Template D) */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start }
.article { max-width: 70ch; display: grid; gap: 18px }
.article h2 { font-size: 1.6rem; margin-top: 22px }
.article p, .article li { color: var(--ink-2) }
.article ul { padding-left: 20px; display: grid; gap: 6px }
.aside { position: sticky; top: 96px; display: grid; gap: 16px }
.aside .card { padding: 20px }
.aside nav a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem }
.aside nav a:hover { color: var(--em-text) }
.meta-line { font: 400 .84rem/1.4 var(--mono); color: var(--muted) }
.cases { width: 100%; border-collapse: collapse; font-size: .96rem }
.cases th { text-align: left; font: 500 .74rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line) }
.cases td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2) }
.cases td b { color: var(--ink) }
.cases .amt { font: 600 1rem/1.2 var(--mono); color: var(--rust); white-space: nowrap }
.sources { padding-left: 20px; display: grid; gap: 8px; font-size: .94rem }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr } .aside { position: static } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface) }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1 }
.faq details[open] summary::after { content: "–" }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); display: grid; gap: 10px }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: 64px 32px; font-size: .95rem }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px }
.footer-brand { display: grid; gap: 14px; align-content: start }
.footer-brand p { color: var(--muted); max-width: 34ch }
.site-footer h4 { font: 500 .74rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px }
.site-footer a { color: var(--ink-2); text-decoration: none }
.site-footer a:hover { color: var(--em-text) }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--muted) }
.theme-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface) }
.theme-switch button { border: 0; background: none; color: var(--muted); font: 500 .82rem/1 var(--font); padding: 7px 11px; border-radius: 999px; cursor: pointer }
.theme-switch button[aria-pressed="true"] { background: var(--bg-soft); color: var(--ink) }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr } .footer-brand { grid-column: 1 / -1 } }

/* WhatsApp button */
.whatsapp { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #128c4a; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4) }
.whatsapp svg { width: 28px; height: 28px }

.stack { display: grid; gap: 16px }
.center { text-align: center }
.mt-32 { margin-top: 32px }
.mt-48 { margin-top: 48px }
.has-chat .whatsapp { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) }
.grid > * , .row > *, .tour-panel > *, .hero-grid > *, .band-grid > *, .article-grid > * { min-width: 0 }
.tour-copy .btn--link, .row-copy .btn--link, .hero-copy .btn--link { justify-self: start }
body.sheet-open .whatsapp, body.sheet-open .woot--bubble-holder, body.sheet-open .woot-widget-bubble { display: none !important }
.panel-feature { align-self: start }

/* Pilot page */
[data-offer][hidden], [data-nooffer][hidden], #check [hidden], #places[hidden] { display: none !important }
.places { margin-bottom: 16px; min-height: 148px }
.places .num { letter-spacing: .04em }
.places-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 1.05rem; color: var(--ink) }
.places .places-big { font: 700 3rem/1 var(--font); color: var(--ink); letter-spacing: -0.02em }
.places .places-big.is-low { color: var(--em-text) }
.places-text { font-size: 1.05rem; color: var(--ink) }
.card .places-line { font-size: .92rem; color: var(--muted) }
.card .places-strong { color: var(--ink); font-weight: 600 }
.places-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden }
.places-bar span { display: block; height: 100%; background: var(--em); border-radius: 99px }
#hero-body { color: var(--ink-2); font-size: 1.05rem }
.check-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow) }
#pilot-form { display: grid; gap: 20px }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px }
.field { display: grid; gap: 6px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0 }
.field label, .field legend { font-weight: 600; font-size: .94rem; color: var(--ink); padding: 0 }
.field .opt { font-weight: 400; font-style: italic; color: var(--muted) }
.help { font-size: .88rem; line-height: 1.45; color: var(--muted) }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font) }
.field textarea { min-height: 96px; resize: vertical }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1 }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--em) }
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--rust) }
.err { display: flex; gap: 6px; align-items: flex-start; font-size: .9rem; color: var(--rust); font-weight: 500 }
.err svg { width: 18px; height: 18px; flex: none; margin-top: 2px }
.err a { color: inherit }
.count { font-size: .84rem; color: var(--muted); justify-self: end }
.choices { gap: 4px }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400 !important; cursor: pointer }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--em); flex: none }
.btn-hint { all: unset; cursor: pointer; color: var(--em-text); text-decoration: underline; font-weight: 600; padding: 12px 2px }
.tick { position: relative; display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; min-height: 44px }
.tick + .tick { margin-top: -8px }
.tick input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--em); flex: none }
.tick label { font-weight: 600; color: var(--ink); cursor: pointer }
.tick label::after { content: ""; position: absolute; inset: 0 }
.tick input { position: relative; z-index: 1 }
.tick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px }
.tick.is-highlight { background: var(--em-soft) }
@media (prefers-reduced-motion: no-preference) { .tick { transition: background 1.5s } }
.notice { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; font-size: .88rem; line-height: 1.55; color: var(--ink-2) }
.confirm-line { font-size: .92rem; color: var(--ink-2) }
.submit-row { display: grid; gap: 10px; justify-items: start }
.submit-row .btn { min-width: 260px; min-height: 48px; white-space: normal }
.btn[aria-disabled="true"] { opacity: .75; cursor: progress }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50% }
.btn.is-busy .spinner { display: inline-block }
@media (prefers-reduced-motion: no-preference) { .btn.is-busy .spinner { animation: pilot-spin .8s linear infinite } }
@keyframes pilot-spin { to { transform: rotate(360deg) } }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden }
.summary, .banner { border: 2px solid var(--rust); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); background: var(--surface) }
.summary h3 { font-size: 1rem; color: var(--rust) }
.summary ul { margin: 8px 0 0; padding-left: 20px }
.summary a { color: var(--ink) }
.success { display: grid; gap: 14px; justify-items: start }
.success h3 { font-size: 1.5rem }
.success p { color: var(--ink-2) }
.success .small { font-size: .9rem }
.next { position: sticky; top: 96px; display: grid; gap: 16px }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative }
.timeline li { position: relative; padding-left: 28px; display: grid; gap: 2px }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--em) }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -20px; width: 2px; background: var(--line) }
.timeline li:last-child::after { display: none }
.timeline span { color: var(--ink-2); font-size: .95rem }
@media (max-width: 980px) { .check-grid { grid-template-columns: minmax(0, 1fr) } .next { position: static } }
@media (max-width: 760px) { .field-pair { grid-template-columns: minmax(0, 1fr) } .form-card { padding: 20px } .submit-row .btn { width: 100% } }
/* Pilot form: messages for a visitor without JavaScript. The app redirects a
   refused native post to /pilot#check-error or /pilot#check-busy, and CSS alone
   shows the matching message. */
.native-msg{display:none}
.native-msg:target{display:block}
/* Pilot page: how it works, what we ask, closing band and the mobile bar (built only with the form live) */
.steps--pad li::before { content: counter(step, decimal-leading-zero) }
.card--plain { background: transparent }
.ask-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start }
.ask-grid .head { margin-bottom: 0 }
.ask-list { counter-reset: ask; list-style: none; margin: 0; padding: 0; display: grid; gap: 24px }
.ask-list li { counter-increment: ask; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 6px }
.ask-list li::before { content: counter(ask, decimal-leading-zero); grid-row: span 2; font: 500 .95rem/1.6 var(--mono); color: var(--em-text) }
.ask-list p { color: var(--ink-2); font-size: .97rem }
@media (max-width: 900px) { .ask-grid { grid-template-columns: minmax(0, 1fr); gap: 28px } }
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) }
.sticky-bar .btn { width: 100%; white-space: normal }
.sticky-bar[hidden] { display: none }
@media (min-width: 760px) { .sticky-bar { display: none !important } }
@media (max-width: 759.98px) { body:has(#sticky-bar) { padding-bottom: 72px } body:has(#sticky-bar:not([hidden])) .whatsapp { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) } }

/* Pilot page layout (pl-). Used only by /pilot. The dark band tokens (--dark, --dark-2, --dark-ink,
   --dark-muted, --dark-accent, --dark-line) are the same in both themes. */
.pl-sec { padding-block: 112px; border-top: 0 !important }
.pl-sec .head { gap: 16px; margin-bottom: 56px }
.pl-sec h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -0.028em }
.pl-sec .head p { font-size: 1.15rem }
@media (max-width: 760px) { .pl-sec { padding-block: 72px } .pl-sec .head { margin-bottom: 40px } }
.pl-label { font: 500 .76rem/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted) }
.pl-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--em-soft); color: var(--em-text); display: grid; place-items: center; flex: none }
.pl-icon svg { width: 26px; height: 26px }

/* Hero: a full-bleed brand band with the founding member card */
.pl-hero { padding-block: 88px 96px; color: var(--dark-ink); border-bottom: 1px solid var(--line);
  background: radial-gradient(1100px 520px at 88% -12%, color-mix(in oklab, var(--em) 24%, transparent), transparent 62%), var(--dark) }
.pl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center }
.pl-hero-grid > * { min-width: 0 }
.pl-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.9rem) }
.pl-hero .eyebrow { color: var(--dark-accent) }
.pl-hero .lede, .pl-hero #hero-body { color: var(--dark-ink) }
.pl-hero .hero-note { color: var(--dark-muted) }
.pl-hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34) }
.pl-hero .btn--ghost:hover { border-color: #fff }
.pl-hero .btn--link { color: var(--dark-accent); min-height: 44px }
@media (max-width: 980px) { .pl-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px } }
@media (max-width: 760px) { .pl-hero { padding-block: 56px 64px } }

.pl-member { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 30px; border-radius: 20px; background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .7) }
.pl-member::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--dark-accent) }
.pl-member-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.pl-member-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em }
.pl-member-brand img { width: 28px; height: 28px; border-radius: 7px }
.pl-member .pl-label { color: var(--dark-muted) }
.pl-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--dark-line) }
.pl-terms li { display: grid; gap: 8px; align-content: start; padding: 22px 16px }
.pl-terms li:first-child { padding-left: 0 }
.pl-terms li:last-child { padding-right: 0 }
.pl-terms li + li { border-left: 1px solid var(--dark-line) }
.pl-terms b { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--font); color: #fff; letter-spacing: -0.03em; white-space: nowrap }
.pl-terms span { font-size: .9rem; line-height: 1.4; color: var(--dark-ink) }
@media (max-width: 520px) {
  .pl-member { padding: 24px 20px }
  .pl-terms { grid-template-columns: minmax(0, 1fr) }
  .pl-terms li, .pl-terms li:first-child, .pl-terms li:last-child { grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 0 }
  .pl-terms li + li { border-left: 0; border-top: 1px solid var(--dark-line) }
  .pl-terms b { font-size: 1.5rem }
}
.pl-member .places { margin: 0; min-height: 150px; display: grid; gap: 12px; align-content: start }
.pl-member #places-inner { display: grid; gap: 14px }
.pl-member .places-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; color: var(--dark-ink); font-size: 1.1rem }
.pl-member .places-big { font: 700 clamp(3.4rem, 7vw, 4.75rem)/.9 var(--font); color: #fff; letter-spacing: -0.04em; font-variant-numeric: tabular-nums }
.pl-member .places-big.is-low { color: var(--dark-accent) }
.pl-member .places-text { color: #fff; font-size: 1.05rem }
.pl-member .places-line { color: var(--dark-muted); font-size: .9rem }
.pl-member .places-strong { color: #fff; font-weight: 600 }
.pl-member .places-bar { height: 12px; background: var(--dark-line) }
.pl-member .places-bar span { background: var(--dark-accent) }

/* What founding members get */
.pl-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px }
.pl-benefit { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-content: start; min-width: 0 }
.pl-benefit .pl-icon { grid-row: span 2 }
.pl-benefit h3 { font-size: 1.25rem; padding-top: 2px }
.pl-benefit p { color: var(--ink-2) }
@media (max-width: 760px) { .pl-benefits { grid-template-columns: minmax(0, 1fr); gap: 32px } .pl-benefit { column-gap: 16px } }

/* Founding prices */
.pl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch }
.pl-plans > * { min-width: 0 }
.pl-plan { position: relative; display: grid; gap: 22px; align-content: start; padding: 30px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line) }
.pl-plan header { display: grid; gap: 8px }
.pl-plan header h3 { font-size: 1.5rem }
.pl-plan header p { color: var(--ink-2); font-size: .97rem }
.pl-plan--hl { border: 2px solid var(--em); box-shadow: var(--shadow) }
.pl-badge { position: absolute; top: -13px; left: 26px; font: 600 .72rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; background: var(--em); color: var(--em-ink); padding: 7px 10px; border-radius: 999px }
.pl-rate { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line) }
.pl-amt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: var(--ink) }
.pl-amt b { font: 700 clamp(1.8rem, 2.8vw, 2.3rem)/1.05 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums }
.pl-amt span { color: var(--muted); font-size: .98rem }
.pl-was { font-size: .9rem; color: var(--muted) }
.pl-was s { text-decoration-thickness: 1.5px }
.pl-note { margin-top: 24px; max-width: 80ch; font-size: .92rem }
@media (max-width: 900px) { .pl-plans { grid-template-columns: minmax(0, 1fr) } .pl-plan { padding: 24px 22px } }

/* Who it is for */
.pl-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px }
.pl-paths > * { min-width: 0 }
.pl-path { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 32px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line) }
.pl-path .stack { gap: 10px }
.pl-path p { color: var(--ink-2) }
.pl-path .actions { margin-top: 10px }
@media (max-width: 760px) { .pl-paths { grid-template-columns: minmax(0, 1fr) } .pl-path { grid-template-columns: minmax(0, 1fr); padding: 24px 20px } }

/* How it works (form live): a numbered stepper */
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: plstep }
.pl-steps li { position: relative; counter-increment: plstep; display: grid; gap: 10px; align-content: start; padding-right: 40px; min-width: 0 }
.pl-steps li::before { content: counter(plstep); position: relative; z-index: 1; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; background: var(--em); color: var(--em-ink); font: 700 1.1rem/1 var(--font); box-shadow: 0 0 0 6px var(--bg) }
.pl-steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 60px; right: 12px; height: 2px; background: var(--line-strong) }
.pl-steps h3 { font-size: 1.25rem }
.pl-steps p { color: var(--ink-2) }
@media (max-width: 820px) {
  .pl-steps { grid-template-columns: minmax(0, 1fr) }
  .pl-steps li { padding: 0 0 36px 68px }
  .pl-steps li:last-child { padding-bottom: 0 }
  .pl-steps li::before { position: absolute; left: 0; top: 0; margin: 0 }
  .pl-steps li:not(:last-child)::after { top: 60px; bottom: 10px; left: 23px; right: auto; width: 2px; height: auto }
  .pl-steps h3 { padding-top: 11px }
}
.pl-isnt { margin-top: 56px; max-width: 760px; display: grid; gap: 8px; padding: 24px 28px; background: var(--bg-soft); border-left: 4px solid var(--em); border-radius: 0 var(--radius) var(--radius) 0 }
.pl-isnt p { color: var(--ink-2) }

/* What we ask in return (form live) */
.pl-ask .ask-list { gap: 0 }
.pl-ask .ask-list li { padding: 24px 0; grid-template-columns: 56px minmax(0, 1fr); border-top: 1px solid var(--line-strong) }
.pl-ask .ask-list li:last-child { border-bottom: 1px solid var(--line-strong) }
.pl-ask .ask-list li::before { font: 600 1.4rem/1.1 var(--mono) }
.pl-ask .ask-list h3 { font-size: 1.2rem }

/* The website check (form live): the form in an elevated panel beside the report and the next steps */
.pl-check .check-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px }
.pl-check .form-card { padding: 40px; border-radius: 20px; border-top: 4px solid var(--em); box-shadow: var(--shadow), 0 40px 80px -48px rgba(15, 23, 42, .35) }
.pl-next { position: static; gap: 28px }
@media (min-width: 981px) and (min-height: 940px) { .pl-next { position: sticky; top: 96px } }
.pl-report { display: grid; gap: 14px; padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line) }
.pl-timeline { display: grid; gap: 16px; padding-inline: 4px }
@media (max-width: 980px) { .pl-check .check-grid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 760px) { .pl-check .form-card { padding: 24px 18px } .pl-report { padding: 22px 18px } }

/* Questions: the heading stays beside the answers on wide screens */
.pl-faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 64px; align-items: start }
.pl-faq-grid > * { min-width: 0 }
.pl-faq .pl-faq-head { position: sticky; top: 104px; margin-bottom: 0 }
.pl-faq .faq { max-width: none }
@media (max-width: 900px) { .pl-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px } .pl-faq .pl-faq-head { position: static } }

/* The closing band */
.pl-final { padding-block: 104px; background: radial-gradient(900px 420px at 12% 120%, color-mix(in oklab, var(--em) 22%, transparent), transparent 62%), var(--dark) }
.pl-final-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center }
.pl-final-grid > * { min-width: 0 }
.pl-final h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem) }
.pl-final .stack p { font-size: 1.2rem; max-width: 56ch }
@media (max-width: 860px) { .pl-final { padding-block: 72px } .pl-final-grid { grid-template-columns: minmax(0, 1fr); gap: 28px } }

/* /pilot: pilot.js hides by attribute; .btn and the pl- layouts set display, so hidden must win. */
[data-form][hidden], [data-noform][hidden], [data-offer][hidden], [data-nooffer][hidden] { display: none !important }

/* Form pairs: on wide screens both fields share one row grid (label, helper, box, hint, error), so the
   boxes line up whether or not a field has helper text. Without subgrid the stacked layout stays. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 760.02px) {
    .field-pair { grid-template-rows: repeat(5, auto); row-gap: 0 }
    .field-pair > .field { grid-row: span 5; grid-template-rows: subgrid; row-gap: 6px }
    .field-pair > .field > label { grid-row: 1 }
    .field-pair > .field > .help:not(#role-hint) { grid-row: 2 }
    .field-pair > .field > input, .field-pair > .field > select { grid-row: 3; align-self: start }
    .field-pair > .field > #role-hint { grid-row: 4 }
    .field-pair > .field > .err { grid-row: 5 }
  }
}
/* "Choose one" reads as a prompt, not an answer, until something is chosen. */
.field select:invalid { color: var(--muted) }
.field select option { color: var(--ink) }
