/* Brand on Cue — public website (invite-only private pilot). Built on /shared/tokens.css + /shared/components.css.
   No inline styles anywhere (CSP). Colors come from tokens; the only site-level additions are below. */

:root {
  --site-bg: var(--ivory);                /* Warm Ivory page, white cards: same palette as the app */
  --site-alt: var(--n-100);
  --accent-text: var(--brand);            /* brand-colored text that must pass AA */
  --container: 1180px;
  --gutter: 24px;
  --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] { --site-bg: #0b1120; --site-alt: #0f172a; --accent-text: color-mix(in srgb, var(--brand) 58%, #fff); }
}
:root[data-theme="dark"] { --site-bg: #0b1120; --site-alt: #0f172a; --accent-text: color-mix(in srgb, var(--brand) 58%, #fff); }   /* Midnight Navy */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: var(--fs-lg); line-height: var(--lh-loose); background: var(--site-bg); overflow-x: hidden; }
a { color: var(--accent-text); }
main { display: block; }
main:focus { outline: none; }
p + p { margin-top: var(--s-4); }
ul, ol { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 780px; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--site-bg) 94%, transparent); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--s-6); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: var(--fw-semibold); font-size: var(--fs-lg); letter-spacing: var(--tracking-tight); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand { min-height: 44px; }                 /* the product mark itself is drawn by /shared/brand/brand.css (.boc-logo) */
.brand .boc-logo { --boc-h: 32px; margin: 0; }
.nav-links { display: flex; align-items: center; gap: var(--s-1); list-style: none; padding: 0; margin: 0 auto 0 var(--s-4); }
.nav-links a { display: block; padding: 6px 12px; border-radius: var(--r-sm); color: var(--text-2); font-size: var(--fs-md); font-weight: var(--fw-medium); }
.nav-links a:hover { color: var(--text); background: var(--bg-hover); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-active); }
.nav-actions { display: flex; align-items: center; gap: var(--s-2); }
.nav-actions .signin { color: var(--text-2); font-size: var(--fs-md); font-weight: var(--fw-medium); padding: 6px 10px; border-radius: var(--r-sm); }
.nav-actions .signin:hover { color: var(--text); background: var(--bg-hover); text-decoration: none; }
.nav-actions .signin[aria-current="page"] { color: var(--text); }
.theme-toggle .t-sun { display: none; }
.theme-toggle[data-mode="dark"] .t-sun { display: block; }
.theme-toggle[data-mode="dark"] .t-moon { display: none; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .signin, .nav-actions .demo-btn { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: block; border-top: 1px solid var(--border); background: var(--site-bg); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav ul { list-style: none; padding: var(--s-3) 0; margin: 0; }
  .mobile-nav li a { display: block; padding: 12px 4px; color: var(--text); font-weight: var(--fw-medium); border-bottom: 1px solid var(--divider); }
  .mobile-nav li a[aria-current="page"] { color: var(--accent-text); }
  .mobile-nav .mobile-actions { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; padding: var(--s-2) 0 var(--s-6); }
}
@media (max-width: 380px) { .brand .boc-logo { --boc-h: 28px; } }

/* ---------- Type ---------- */
.display { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.032em; font-weight: var(--fw-bold); }
.h-section { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.12; letter-spacing: var(--tracking-display); font-weight: var(--fw-bold); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--text-2); line-height: 1.6; max-width: 640px; }
.hero-sub { font-size: clamp(1.15rem, 1.6vw + .6rem, 1.5rem); font-weight: var(--fw-semibold); color: var(--text); margin: 4px 0 12px; letter-spacing: -.01em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--accent-text); letter-spacing: .01em; }
.kicker .ic { width: 16px; height: 16px; }
.prose h2 { font-size: var(--fs-2xl); margin: var(--s-10) 0 var(--s-3); }
.prose h3 { font-size: var(--fs-xl); margin: var(--s-6) 0 var(--s-2); }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: var(--s-3); }
.prose li + li { margin-top: var(--s-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--site-alt); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head > * + * { margin-top: var(--s-3); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy > * + * { margin-top: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-note { font-size: var(--fs-sm); color: var(--text-3); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { width: 15px; height: 15px; color: var(--success); }
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.page-hero .lead { margin-top: var(--s-4); }
.page-hero .hero-actions { margin-top: var(--s-6); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Generic cards & grids ---------- */
.cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); }
.tile h3 { font-size: var(--fs-xl); margin-top: var(--s-4); }
.tile p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); line-height: var(--lh-loose); }
.tile-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-4); font-size: var(--fs-md); font-weight: var(--fw-medium); min-height: 44px; }   /* phone tap size (Mission Control change sc_1effa16002734938, contact page only) */
.tile-link .ic { width: 15px; height: 15px; }
.f-icon { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-soft); color: var(--accent-text); }
.f-icon .ic { width: 20px; height: 20px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--text-2); font-size: var(--fs-md); }
.checklist li .ic { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.checklist li strong { color: var(--text); font-weight: var(--fw-semibold); }

/* Split rows (copy + visual) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 104px); }
.split.flip > :first-child { order: 2; }
.split-copy > * + * { margin-top: var(--s-4); }
.split-copy h2, .split-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: var(--tracking-display); line-height: 1.15; }
.split-copy p { color: var(--text-2); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* Flow (leads -> jobs -> revenue) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); counter-reset: flow; }
.flow li { list-style: none; position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); }
.flow li .flow-k { font-size: var(--fs-xs); color: var(--text-3); text-transform: uppercase; letter-spacing: var(--tracking-caps); font-weight: var(--fw-semibold); }
.flow li strong { display: block; margin-top: var(--s-2); font-size: var(--fs-xl); letter-spacing: var(--tracking-tight); }
.flow li p { margin-top: var(--s-2); font-size: var(--fs-md); color: var(--text-2); }
.flow-wrap { padding: 0; margin: 0; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* Numbered steps */
.steps-v { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); counter-reset: st; }
.steps-v > li { counter-increment: st; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-5); }
.steps-v > li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: var(--fw-semibold); background: var(--brand-soft); color: var(--accent-text); font-size: var(--fs-md); }
.steps-v h3 { font-size: var(--fs-xl); }
.steps-v p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); }
.steps-v .step-meta { margin-top: var(--s-3); display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* Callouts */
.note-band { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border: 1px solid var(--border); background: var(--bg-elev); border-radius: var(--r-lg); font-size: var(--fs-md); color: var(--text-2); }
.note-band .ic { color: var(--accent-text); margin-top: 3px; }
.note-band strong { color: var(--text); }
.proposed-banner { display: flex; gap: var(--s-3); align-items: center; justify-content: center; text-align: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); border: 1px solid var(--warning-border); background: var(--warning-bg); color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-medium); }
.proposed-banner .ic { color: var(--warning); }
.legal-banner { margin-top: var(--s-6); }

/* Principles (big promise rows) */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.promise > div { background: var(--bg-elev); padding: var(--s-6); }
.promise h3 { font-size: var(--fs-lg); display: flex; align-items: center; gap: var(--s-2); }
.promise h3 .ic { color: var(--accent-text); }
.promise p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); }
@media (max-width: 860px) { .promise { grid-template-columns: minmax(0, 1fr); } }

/* CTA band */
.cta-band { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center; box-shadow: var(--shadow-sm); }
.cta-band h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: var(--tracking-display); }
.cta-band p { margin-top: var(--s-3); color: var(--text-2); }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 780px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .hero-actions { justify-content: flex-start; } }

/* Industry chips + solution sections */
.trade-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.trade-nav a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: var(--bg-elev); color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-medium); }
.trade-nav a:hover { border-color: var(--accent-text); text-decoration: none; }
.trade-nav .ic { width: 16px; height: 16px; color: var(--accent-text); }
.trade { padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--divider); }
.trade:first-of-type { border-top: 0; }
.trade-head { display: flex; align-items: center; gap: var(--s-4); }
.trade-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: var(--tracking-display); }
.trade-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: var(--s-6); }
.trade-grid h3 { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: var(--fw-semibold); margin-bottom: var(--s-3); }
.trade-grid > div > p { color: var(--text-2); }
.idea-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.idea-list li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); font-size: var(--fs-md); }
.idea-list li .ic { color: var(--accent-text); margin-top: 3px; width: 16px; height: 16px; }
.idea-list .when { margin-left: auto; color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; padding-left: var(--s-2); }
.service-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.service-tags span { font-size: var(--fs-sm); padding: 4px 10px; border-radius: var(--r-full); background: var(--bg-sunken); color: var(--text-2); border: 1px solid var(--border); }
@media (max-width: 860px) { .trade-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Product mock UI ---------- */
.mock { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: var(--fs-md); line-height: var(--lh); margin: 0; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px var(--s-4); border-bottom: 1px solid var(--divider); background: var(--bg-elev); }
.mock-bar .mock-title { display: flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.mock-bar .mock-title .ic { width: 16px; height: 16px; color: var(--text-3); }
.mock-body { padding: var(--s-4); background: var(--bg); }
.mock-cap { padding: 8px var(--s-4); font-size: var(--fs-xs); color: var(--text-3); border-top: 1px solid var(--divider); background: var(--bg-elev); }
.mock-stack { display: grid; gap: var(--s-4); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.kpi { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-3); min-width: 0; }
.kpi .k-label { font-size: var(--fs-xs); color: var(--text-2); font-weight: var(--fw-medium); line-height: 1.3; }
.kpi .k-value { margin-top: 4px; font-size: var(--fs-xl); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.kpi .k-foot { margin-top: 2px; font-size: 11px; color: var(--text-3); }
.kpi.is-key { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent); }
@media (max-width: 520px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.funnel { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 48px; gap: var(--s-3); align-items: center; font-size: var(--fs-xs); color: var(--text-2); }
.funnel-row .num { text-align: right; color: var(--text); font-weight: var(--fw-semibold); }
.bar { height: 8px; border-radius: var(--r-full); background: var(--bg-sunken); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bar.w-100 > i { width: 100%; } .bar.w-60 > i { width: 60%; } .bar.w-40 > i { width: 40%; } .bar.w-86 > i { width: 86%; }
.bar.w-72 > i { width: 72%; } .bar.w-30 > i { width: 30%; } .bar.w-55 > i { width: 55%; }
.bar.ok > i { background: var(--success); }

.lead-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-4); display: grid; gap: var(--s-3); }
.lead-top { display: flex; align-items: center; gap: var(--s-3); }
.lead-top .who { min-width: 0; flex: 1; }
.lead-top .who strong { display: block; font-size: var(--fs-md); }
.lead-top .who span { font-size: var(--fs-xs); color: var(--text-3); }
.score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: var(--fw-bold); font-size: var(--fs-lg); color: var(--hot); background: var(--hot-bg); border: 2px solid color-mix(in srgb, var(--hot) 40%, transparent); font-variant-numeric: tabular-nums; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.reasons li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); }
.reasons li .ic { width: 15px; height: 15px; color: var(--success); margin-top: 2px; }
.reasons li.flag .ic { color: var(--text-3); }
.lead-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.approval { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.approval-head { padding: var(--s-4); display: flex; gap: var(--s-3); align-items: flex-start; }
.approval-head .f-icon { width: 34px; height: 34px; flex: none; }
.approval-head strong { display: block; font-size: var(--fs-md); line-height: 1.35; }
.approval-head span { display: block; font-size: var(--fs-xs); color: var(--text-3); margin-top: 2px; }
.approval .kv { padding: 0 var(--s-4) var(--s-4); font-size: var(--fs-sm); grid-template-columns: minmax(100px, auto) 1fr; }
.approval-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--divider); background: var(--bg-sunken); flex-wrap: wrap; }
.approval-foot .who-can { font-size: var(--fs-xs); color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.approval-foot .who-can .ic { width: 14px; height: 14px; }
.fake-btns { display: flex; gap: var(--s-2); }
.fake-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 var(--s-3); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: var(--fw-medium); border: 1px solid var(--border-strong); background: var(--bg-elev); color: var(--text); }
.fake-btn.primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }

.cal { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-3); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-day { min-width: 0; display: grid; gap: 6px; align-content: start; }
.cal-day .d { font-size: 11px; color: var(--text-3); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.cal-post { border-radius: var(--r-xs); padding: 6px; font-size: 11px; line-height: 1.3; background: var(--bg-sunken); border-left: 3px solid var(--border-strong); color: var(--text-2); overflow: hidden; overflow-wrap: break-word; hyphens: auto; }
.cal-post.ok { border-left-color: var(--success); }
.cal-post.wait { border-left-color: var(--warning); }
.cal-post.draft { border-left-color: var(--text-3); border-left-style: dashed; }
.cal-legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; background: var(--border-strong); }
.cal-legend i.ok { background: var(--success); } .cal-legend i.wait { background: var(--warning); } .cal-legend i.draft { background: var(--text-3); }
@media (max-width: 480px) { .cal { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cal-day.extra { display: none; } }

.voice { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.voice-post { padding: var(--s-4); font-size: var(--fs-sm); color: var(--text); border-bottom: 1px solid var(--divider); }
.voice-post .tags { color: var(--accent-text); margin-top: 6px; display: block; }
.voice-checks { list-style: none; padding: var(--s-3) var(--s-4); margin: 0; display: grid; gap: 8px; }
.voice-checks li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.voice-checks li > span:first-child { display: inline-flex; gap: 8px; align-items: center; min-width: 0; }
.voice-checks .ic { width: 15px; height: 15px; color: var(--success); flex: none; }
.hero-visual { position: relative; display: grid; gap: var(--s-4); }
.hero-visual .float { margin-left: auto; width: min(100%, 380px); position: relative; box-shadow: var(--shadow-lg); }
@media (min-width: 901px) and (max-width: 1240px) { .hero-grid .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hero-visual .float { margin-top: 0; width: 100%; } }

/* ---------- Pricing ---------- */
.billing-switch { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); margin-bottom: var(--s-8); }
.billing-switch .segmented button { height: 34px; padding: 0 var(--s-4); font-size: var(--fs-md); }
.billing-switch .save { font-size: var(--fs-sm); color: var(--text-2); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.plan { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); position: relative; }
.plan.is-popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.plan .popular { position: absolute; top: -12px; left: var(--s-6); }
.plan h3 { font-size: var(--fs-2xl); }
.plan .tagline { color: var(--text-2); font-size: var(--fs-md); margin-top: var(--s-1); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-size: 2.75rem; font-weight: var(--fw-bold); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price .per { color: var(--text-2); font-size: var(--fs-md); }
.price-note { font-size: var(--fs-sm); color: var(--text-3); min-height: 1.5em; margin-top: var(--s-2); }
.plan .limits { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s-3); font-size: var(--fs-sm); padding: var(--s-4); background: var(--bg-sunken); border-radius: var(--r-md); margin: 0; }
.plan .limits dt { color: var(--text-2); }
.plan .limits dd { margin: 0; font-weight: var(--fw-semibold); text-align: right; font-variant-numeric: tabular-nums; }
.plan .checklist { flex: 1; align-content: start; }            /* short lists stay at the top instead of spreading out */
.plan .btn { width: 100%; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elev); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-md); min-width: 620px; }
.compare caption { text-align: left; padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); color: var(--text-2); caption-side: bottom; border-top: 1px solid var(--divider); }
.compare th, .compare td { padding: 12px var(--s-5); border-bottom: 1px solid var(--divider); text-align: left; vertical-align: middle; }
.compare thead th { font-size: var(--fs-sm); color: var(--text); font-weight: var(--fw-semibold); background: var(--bg-sunken); }
.compare tbody th { font-weight: var(--fw-regular); color: var(--text-2); }
.compare td { text-align: center; font-variant-numeric: tabular-nums; }
.compare thead th:not(:first-child) { text-align: center; }
.compare .group th { background: var(--site-alt); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-3); font-weight: var(--fw-semibold); }
.compare .yes { color: var(--success); display: inline-flex; }
.compare .no { color: var(--text-3); }
.compare .ic { width: 18px; height: 18px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: var(--s-12); }
.faq-group > h2 { font-size: var(--fs-2xl); margin-bottom: var(--s-4); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.faq-q { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) 0; cursor: pointer; font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text); line-height: 1.4; }
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-xs); }
.faq-q .ic { width: 20px; height: 20px; color: var(--text-3); transition: transform var(--dur-2) var(--ease); flex: none; }
.faq-q[aria-expanded="true"] .ic { transform: rotate(180deg); }
.faq-a { padding: 0 0 var(--s-5); color: var(--text-2); max-width: 720px; font-size: var(--fs-md); line-height: var(--lh-loose); }
.faq-a[hidden] { display: none; }
form[data-request-form][hidden], .pilot-email[hidden] { display: none; }
.pilot-email h2 { font-size: var(--fs-xl); margin-top: var(--s-4); }
.pilot-email p { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-md); line-height: var(--lh-loose); }
.pilot-email p a:not(.btn) { overflow-wrap: anywhere; }
.pilot-email .btn { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-2); }
.faq-a ul { padding-left: 1.2em; margin-top: var(--s-2); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card .input, .form-card .select { height: 44px; font-size: var(--fs-lg); }
.form-card .textarea { font-size: var(--fs-lg); min-height: 120px; }
.form-card .label { font-size: var(--fs-md); }
.req { color: var(--danger); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.form-foot p { font-size: var(--fs-sm); color: var(--text-3); max-width: 360px; }
.error-text:empty { display: none; }
.form-alert { margin-bottom: var(--s-5); }
.form-alert:empty { display: none; }
.success-panel { text-align: center; padding: var(--s-8) var(--s-4); }
.success-panel:focus { outline: none; }
.success-panel .f-icon { width: 52px; height: 52px; margin: 0 auto var(--s-4); background: var(--success-bg); color: var(--success); border-radius: 50%; }
.success-panel .f-icon .ic { width: 26px; height: 26px; }
.success-panel h2 { font-size: var(--fs-2xl); }
.success-panel p { margin-top: var(--s-3); color: var(--text-2); }
.success-panel .hero-actions { justify-content: center; margin-top: var(--s-6); }

/* Auth handoff pages */
.auth-wrap { max-width: 520px; margin: 0 auto; }
.auth-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-md); }
.auth-card > * + * { margin-top: var(--s-5); }
.auth-card .boc-logo { margin-left: 0; }
.auth-card h1 { font-size: var(--fs-3xl); }
.auth-card .btn-lg { width: 100%; }
.auth-alt { text-align: center; font-size: var(--fs-md); color: var(--text-2); margin-top: var(--s-5); }

/* 404 */
.notfound { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.notfound .code { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--accent-text); letter-spacing: var(--tracking-caps); }
.notfound h1 { margin-top: var(--s-3); }
.notfound .lead { margin: var(--s-4) auto 0; }
.notfound .hero-actions { justify-content: center; margin-top: var(--s-8); }
.notfound .trade-nav { justify-content: center; margin-top: var(--s-10); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--site-alt); padding: var(--s-16) 0 var(--s-8); font-size: var(--fs-md); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: var(--s-8); }
.footer-about p { margin-top: var(--s-3); color: var(--text-2); max-width: 300px; font-size: var(--fs-md); }
.footer-col h2 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text); letter-spacing: normal; }
.footer-col ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-2); }
.footer-col a { color: var(--text-2); display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); color: var(--text-3); font-size: var(--fs-sm); }
.footer-bottom .proto { display: inline-flex; gap: 8px; align-items: flex-start; max-width: 720px; }
.footer-bottom .proto .ic { width: 16px; height: 16px; margin-top: 3px; flex: none; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.reveal-armed .reveal { opacity: 0; transform: translateY(12px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
.reveal-armed .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-armed .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-10 { margin-top: var(--s-10); }
.mt-12 { margin-top: var(--s-12); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.inline-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-md); }
.small-print { font-size: var(--fs-sm); color: var(--text-3); }
.integrations { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s-3); }
.integration { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-elev); font-size: var(--fs-md); font-weight: var(--fw-medium); }
.checklist.no li .ic { color: var(--text-3); }
.tile h2 { font-size: var(--fs-xl); margin-top: var(--s-4); }
.skip-link { top: -80px; }
.skip-link:focus { top: var(--s-3); }
.badge-brand { color: var(--accent-text); }
.plan .popular { background: var(--brand); color: var(--brand-ink); border-color: transparent; }

/* ---------- Homepage v2 (Oct 23): autopilot hero, bento benefits, dark control band ---------- */
.site-header { background: var(--site-bg); }                                 /* fully opaque: nothing shows through while scrolling */
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-weight: var(--fw-semibold); color: var(--text); }
.text-link:hover { color: var(--accent-text); text-decoration: none; }
.text-link .ic { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }
.hero-ap .hero-actions { align-items: center; gap: var(--s-4); }
/* Phones: full-width, taller "Request a demo" so it is easy to tap */
@media (max-width: 600px) { .hero-ap .hero-actions .btn-lg { width: 100%; justify-content: center; height: auto; min-height: 56px; font-size: var(--fs-xl); } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal-500) 60%, transparent); animation: live 2.4s var(--ease-out) infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal-500) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.hero-ap { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 88px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 380px at 82% 30%, color-mix(in srgb, var(--teal-500) 16%, transparent), transparent 70%),
    radial-gradient(420px 300px at 96% 88%, color-mix(in srgb, var(--amber-500) 12%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--navy) 6%, transparent) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, color-mix(in srgb, var(--navy) 6%, transparent) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: radial-gradient(900px 600px at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(900px 600px at 70% 40%, #000 30%, transparent 75%); }
.hero-ap .hero-grid { position: relative; z-index: 1; }
.hero-ap .display { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 12ch; }
.grad { background: linear-gradient(100deg, var(--teal-800) 0%, var(--teal-600) 45%, var(--teal-500) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ap .hero-sub { font-weight: var(--fw-regular); color: var(--text-2); font-size: clamp(1.1rem, .95rem + .6vw, 1.35rem); line-height: 1.55; max-width: 34ch; margin: 0; }
.hero-ap .hero-copy > * + * { margin-top: var(--s-6); }

/* The autopilot console (illustrative) */
.ap { margin: 0; position: relative; }
.ap::before { content: ""; position: absolute; inset: -6% -4% -8% -4%; border-radius: 36px; z-index: -1;
  background: conic-gradient(from 210deg, color-mix(in srgb, var(--teal-500) 35%, transparent), transparent 40%, color-mix(in srgb, var(--amber-500) 25%, transparent) 70%, transparent 85%, color-mix(in srgb, var(--teal-500) 35%, transparent));
  filter: blur(36px); opacity: .7; }
.ap-card { --ap-bg: #071a33; --ap-line: rgba(169, 220, 216, .16); --ap-text: #e8eef6; --ap-dim: #9fb0c6;
  background: linear-gradient(160deg, #0a2a50 0%, var(--ap-bg) 55%, #04121f 100%); color: var(--ap-text); border: 1px solid rgba(169, 220, 216, .22);
  border-radius: 22px; padding: clamp(16px, 2.4vw, 22px); box-shadow: 0 30px 60px -20px rgba(0, 18, 42, .55), inset 0 1px 0 rgba(255, 255, 255, .06); display: grid; gap: 14px; }
.ap-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ap-title { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); font-size: var(--fs-md); letter-spacing: .01em; }
.ap-tag { font-size: 11px; font-weight: var(--fw-semibold); color: var(--ap-dim); border: 1px dashed rgba(159, 176, 198, .5); border-radius: var(--r-full); padding: 3px 9px; white-space: nowrap; }

.ap-flow { list-style: none; margin: 0; padding: 12px 6px 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.ap-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 30px; height: 2px; background: var(--ap-line); }
.ap-flow::after { content: ""; position: absolute; left: 10%; top: 30px; height: 2px; width: 60%; background: linear-gradient(90deg, var(--teal-500), #5eead4); box-shadow: 0 0 12px rgba(94, 234, 212, .6); }
.ap-flow li { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; font-size: 11px; color: var(--ap-dim); line-height: 1.25; min-width: 0; padding: 0 2px; }
.ap-node { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #0c2340; border: 1px solid var(--ap-line); color: var(--ap-dim); }
.ap-node .ic { width: 18px; height: 18px; }
.ap-flow li.done .ap-node { background: rgba(0, 144, 140, .18); border-color: rgba(94, 234, 212, .45); color: #5eead4; }
.ap-flow li.done { color: var(--ap-text); }
.ap-flow li.now .ap-node { background: var(--amber-500); border-color: var(--amber-500); color: #00122a; box-shadow: 0 0 0 6px rgba(244, 156, 0, .18); animation: nodePulse 2.2s var(--ease-out) infinite; }
.ap-flow li.now { color: #ffd58a; font-weight: var(--fw-semibold); }
@keyframes nodePulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(244, 156, 0, .18); } 50% { box-shadow: 0 0 0 10px rgba(244, 156, 0, .06); } }
.ap-flow .pulse { display: none; }

.ap-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.ap-post { background: rgba(255, 255, 255, .04); border: 1px solid var(--ap-line); border-radius: 14px; overflow: hidden; }
.ap-photo { position: relative; }
.ap-doors { display: block; width: 100%; height: auto; }
.ap-after { animation: reveal 6s var(--ease) infinite; }
@keyframes reveal { 0%, 15% { opacity: .35; } 35%, 85% { opacity: 1; } 100% { opacity: .35; } }
.ap-lab { position: absolute; top: 8px; font-size: 10px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: rgba(0, 18, 42, .7); color: #fff; }
.ap-lab.l { left: 8px; } .ap-lab.r { right: 8px; background: rgba(0, 144, 140, .85); }
.ap-post-meta { padding: 10px 12px; display: grid; gap: 6px; }
.ap-post-meta strong { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.ap-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ap-chips span { font-size: 11px; padding: 2px 8px; border-radius: var(--r-full); background: rgba(169, 220, 216, .12); color: #a9dcd8; border: 1px solid rgba(169, 220, 216, .2); }
.ap-stats { display: grid; gap: 12px; align-content: stretch; }
.ap-stat { background: rgba(255, 255, 255, .04); border: 1px solid var(--ap-line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.ap-k { font-size: 11px; color: var(--ap-dim); }
.ap-stat strong { font-size: 1.6rem; line-height: 1.1; font-weight: var(--fw-bold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ap-spark { width: 100%; height: 26px; margin-top: 2px; }
.ap-spark polyline { stroke: #5eead4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 2.4s var(--ease-out) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ap-bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 2px; }
.ap-bars i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #5eead4, var(--teal-600)); height: 100%; transform-origin: bottom; animation: grow .9s var(--ease-out) both; }
.ap-bars i:nth-child(1) { height: 45%; } .ap-bars i:nth-child(2) { height: 70%; animation-delay: .08s; } .ap-bars i:nth-child(3) { height: 55%; animation-delay: .16s; }
.ap-bars i:nth-child(4) { height: 90%; animation-delay: .24s; } .ap-bars i:nth-child(5) { height: 65%; animation-delay: .32s; } .ap-bars i:nth-child(6) { height: 80%; animation-delay: .4s; }
.ap-bars i:nth-child(7) { height: 50%; animation-delay: .48s; } .ap-bars i:nth-child(8) { height: 100%; animation-delay: .56s; background: linear-gradient(180deg, #ffd58a, var(--amber-500)); }
@keyframes grow { from { transform: scaleY(.1); opacity: .3; } to { transform: none; opacity: 1; } }

.ap-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ap-feed li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); line-height: 1.35; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid var(--ap-line); animation: slideIn .6s var(--ease-out) both; }
.ap-feed li:nth-child(2) { animation-delay: .15s; } .ap-feed li:nth-child(3) { animation-delay: .3s; }
.ap-feed em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ap-dim); white-space: nowrap; padding-left: 8px; }
.ap-feed .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ap-feed .dot.lead { background: #ff8a4c; box-shadow: 0 0 10px rgba(255, 138, 76, .7); } .ap-feed .dot.ok { background: #3ccf8e; } .ap-feed .dot.wait { background: var(--amber-500); }
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ap-cap { margin-top: 12px; font-size: var(--fs-xs); color: var(--text-3); text-align: center; }

@media (max-width: 900px) {
  .hero-ap .display { max-width: none; }
  .ap { margin-top: var(--s-2); }
}
@media (max-width: 520px) {
  .ap-main { grid-template-columns: minmax(0, 1fr); }
  .ap-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-flow li span:last-child { font-size: 10px; }
  .ap-node { width: 34px; height: 34px; border-radius: 10px; }
  .ap-feed li { font-size: 13px; padding: 8px 10px; }
  .ap-flow::before, .ap-flow::after { top: 28px; }
}

/* Benefits (bento) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.bento-card { position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); overflow: hidden; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.bento-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--teal-500) 14%, transparent), transparent 70%); pointer-events: none; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.b-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--teal-700) 70%, transparent); }
.b-icon .ic { width: 22px; height: 22px; }
.bento-card h3 { margin-top: var(--s-5); font-size: var(--fs-xl); letter-spacing: var(--tracking-tight); }
.bento-card p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); line-height: var(--lh-loose); }
@media (max-width: 900px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* Dark control band */
.section-dark { background: radial-gradient(700px 400px at 90% 0%, rgba(0, 144, 140, .25), transparent 60%), linear-gradient(160deg, #0a2a50, #001c3c 60%, #00122a); color: #e8eef6; }
.section-dark .eyebrow { color: #5eead4; }
.section-dark .h-section { color: #fff; }
.section-dark .lead { color: #b9c6d8; }
.control-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.control-copy > * + * { margin-top: var(--s-4); }
.control-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.control-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-5); border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(169, 220, 216, .16); }
.c-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 144, 140, .2); color: #5eead4; border: 1px solid rgba(94, 234, 212, .3); }
.c-icon .ic { width: 20px; height: 20px; }
.control-list h3 { font-size: var(--fs-lg); color: #fff; }
.control-list p { margin-top: 4px; color: #b9c6d8; font-size: var(--fs-md); }
@media (max-width: 900px) { .control-grid { grid-template-columns: minmax(0, 1fr); } }

.center-nav { justify-content: center; }
.cta-glow { position: relative; overflow: hidden; }
.cta-glow::before { content: ""; position: absolute; inset: -50% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--teal-500) 16%, transparent), transparent 70%); pointer-events: none; }
.cta-glow > * { position: relative; }
.footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); } .site-footer { padding-top: var(--s-10); } .footer-bottom { margin-top: var(--s-8); } }
.cal-post { hyphens: manual; }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .ap-flow li.now .ap-node, .ap-after, .ap-bars i, .ap-feed li { animation: none; }
  .ap-spark polyline { animation: none; stroke-dashoffset: 0; }
  .bento-card, .text-link .ic { transition: none; }
  .bento-card:hover { transform: none; }
}
:root[data-theme="dark"] .hero-bg { background:
    radial-gradient(600px 380px at 82% 30%, rgba(0, 144, 140, .22), transparent 70%),
    radial-gradient(420px 300px at 96% 88%, rgba(244, 156, 0, .12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px; }
:root[data-theme="dark"] .grad { background: linear-gradient(100deg, #5eead4 10%, #2bb3ab 55%, #ffc65c 110%); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="dark"] .text-link { color: var(--text); }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .hero-bg { background:
      radial-gradient(600px 380px at 82% 30%, rgba(0, 144, 140, .22), transparent 70%),
      radial-gradient(420px 300px at 96% 88%, rgba(244, 156, 0, .12), transparent 70%),
      linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
      linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px; }
  :root[data-theme="system"] .grad { background: linear-gradient(100deg, #5eead4 10%, #2bb3ab 55%, #ffc65c 110%); -webkit-background-clip: text; background-clip: text; }
}
.legal-toc { columns: 2; column-gap: var(--s-8); padding-left: 1.2em; font-size: var(--fs-md); }
.legal-toc li { break-inside: avoid; }
@media (max-width: 600px) { .legal-toc { columns: 1; } }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.hero-ap .display { max-width: 15ch; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem); }
.hero-ap .hero-sub { max-width: 40ch; }
.ap-stat strong small { font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--ap-dim); letter-spacing: 0; }
.caps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-2) var(--s-3); margin-top: clamp(28px, 4vw, 44px); }
.caps-k { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-3); margin-right: var(--s-2); }
.cap { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-full); background: var(--bg-elev); border: 1px solid var(--border); font-size: var(--fs-md); font-weight: var(--fw-medium); color: var(--text); }
.cap .ic { width: 16px; height: 16px; color: var(--accent-text); }
@media (max-width: 520px) { .caps-k { flex-basis: 100%; text-align: center; margin: 0 0 var(--s-1); } }
.hero-ap .display .ln { display: block; }
.hero-ap .display { max-width: 14ch; }
/* Big numbers band */
.bignums { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); background: var(--bg-elev); }
.bn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.bn-grid li { display: grid; gap: 6px; align-content: start; padding-left: var(--s-5); border-left: 2px solid color-mix(in srgb, var(--brand) 30%, var(--border)); }
.bn { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); line-height: 1; font-weight: var(--fw-bold); letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--navy) 0%, var(--teal-700) 55%, var(--teal-500) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bn-grid span { color: var(--text-2); font-size: var(--fs-md); line-height: 1.45; max-width: 24ch; }
@media (max-width: 900px) { .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-8); } }
:root[data-theme="dark"] .bn { background: linear-gradient(110deg, #ffffff 0%, #5eead4 60%, #2bb3ab 100%); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] .bn { background: linear-gradient(110deg, #ffffff 0%, #5eead4 60%, #2bb3ab 100%); -webkit-background-clip: text; background-clip: text; } }
/* Hiring */
.hiring-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hiring-copy > * + * { margin-top: var(--s-4); }
.proof { display: flex; align-items: center; gap: var(--s-5); margin-top: var(--s-6) !important; padding: var(--s-5); border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.proof .bn { flex: none; }
.proof span { color: var(--text-2); font-size: var(--fs-md); line-height: 1.5; }
.proof b { color: var(--text); }
.hire-card { margin: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 20px; padding: var(--s-5); box-shadow: var(--shadow-lg); }
.hc-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--divider); }
.hc-title { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); }
.hc-title .ic { width: 18px; height: 18px; color: var(--accent-text); }
.hc-tag { font-size: 11px; font-weight: var(--fw-semibold); color: var(--text-3); border: 1px dashed var(--border-strong); border-radius: var(--r-full); padding: 3px 9px; white-space: nowrap; }
.hc-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.hc-list li { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); }
.hc-list li > div { min-width: 0; flex: 1; display: grid; }
.hc-list strong { font-size: var(--fs-md); }
.hc-list span:not(.hc-av) { font-size: var(--fs-sm); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: var(--fw-bold); color: #fff; background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); }
.hc-av.b { background: linear-gradient(135deg, #3b4f6b, #001c3c); } .hc-av.c { background: linear-gradient(135deg, #f49c00, #b45309); } .hc-av.d { background: linear-gradient(135deg, #56657a, #1b3a63); }
.hc-list em { font-style: normal; font-size: 11px; font-weight: var(--fw-semibold); padding: 3px 9px; border-radius: var(--r-full); white-space: nowrap; }
.hc-new { background: var(--hot-bg); color: var(--hot); } .hc-step { background: var(--warning-bg); color: var(--warning); } .hc-step.ok { background: var(--success-bg); color: var(--success); }
@media (max-width: 900px) { .hiring-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .proof { flex-direction: column; align-items: flex-start; gap: var(--s-2); } }
.ap-flow li > span:last-child { font-size: 11px; line-height: 1.25; max-width: 100%; }
@media (max-width: 600px) { .ap-flow li > span:last-child { font-size: 10px; } .ap-flow li.now > span:last-child { letter-spacing: -.01em; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages v2 (Oct 23) ---------- */
.ph-ap { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.ph-inner { position: relative; z-index: 1; display: grid; gap: var(--s-5); max-width: 860px; }
.ph-ap .display { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.035em; }
.ph-ap .hero-sub { font-weight: var(--fw-regular); color: var(--text-2); font-size: clamp(1.1rem, .95rem + .55vw, 1.3rem); line-height: 1.55; max-width: 46ch; margin: 0; }
.ph-ap .hero-actions { align-items: center; gap: var(--s-4); }
.bento.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .bento.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento.three { grid-template-columns: minmax(0, 1fr); } }
.bento-card[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.int-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); }
.int-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--s-2); padding: 14px 16px; border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--border); font-weight: var(--fw-medium); font-size: var(--fs-md); }
.int-item .badge { white-space: nowrap; }
#integrations { scroll-margin-top: var(--header-h); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); counter-reset: none; }
.step-card { position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 28px); overflow: hidden; }
.step-card h3 { margin-top: var(--s-5); font-size: var(--fs-xl); letter-spacing: var(--tracking-tight); }
.step-card p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); }
.step-n { position: absolute; top: 14px; right: 18px; font-size: 3rem; font-weight: var(--fw-bold); line-height: 1; letter-spacing: -0.04em; color: color-mix(in srgb, var(--brand) 18%, transparent); }
@media (max-width: 980px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps-grid { grid-template-columns: minmax(0, 1fr); } }
.trade-grid-v2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.trade-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-5); scroll-margin-top: calc(var(--header-h) + 24px); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.trade-card:hover, .trade-card:target { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.trade-card h3 { margin-top: var(--s-4); font-size: var(--fs-lg); }
.trade-card p { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-md); }
.trade-ideas { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-sm) !important; color: var(--text-3) !important; }
.trade-ideas .ic { width: 14px; height: 14px; margin-top: 3px; flex: none; color: var(--accent-text); }
@media (max-width: 1100px) { .trade-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trade-grid-v2 { grid-template-columns: minmax(0, 1fr); } }
.center-lead { margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: var(--s-6); }
.faq-v2 { border-top: 0; display: grid; gap: var(--s-3); }
.faq-v2 .faq-item { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-elev); padding: 0 var(--s-5); }
.faq-v2 .faq-q { font-size: var(--fs-lg); }
.plan .popular { position: absolute; top: -12px; left: var(--s-6); }
@media (prefers-reduced-motion: reduce) { .trade-card { transition: none; } .trade-card:hover, .trade-card:target { transform: none; } }
.ph-ap > .container { position: relative; z-index: 1; }
.ph-inner { justify-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.ph-inner .hero-actions { justify-content: center; }
.ph-ap + .section { padding-top: clamp(16px, 3vw, 40px); }
.plan .price .amt { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
/* 716 proof band */
.proof-band { background: var(--bg-elev); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.pb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.pb-grid li { display: grid; gap: 8px; align-content: start; padding: var(--s-6) var(--s-5); border-radius: var(--r-xl); background: var(--site-bg); border: 1px solid var(--border); }
.pb-grid span { color: var(--text-2); font-size: var(--fs-md); line-height: 1.45; }
.pb-note { max-width: 820px; margin: var(--s-6) auto 0; line-height: 1.5; }
@media (max-width: 980px) { .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pb-grid { grid-template-columns: minmax(0, 1fr); } }
.int-more { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--accent-text); }
