/*
  Solaio public site V2 · shared stylesheet. Built on the OpenDesign web-prototype seed class
  system, tokens bound to brand/DESIGN.md. Raw hex appears only inside :root.
  Pages: index · what-it-does · how-it-works · count-on · audit · privacy.
  Motion ideas (2026-09-18, from the Brims reference video): dark inverted hero with an accent
  underline sweep and a cycling card deck · marquee ticker · sticky screen that changes with the
  numbered steps as you scroll · dark lineup where hovering swaps the featured card · a picker with
  progress bars · dark closing CTA. Every effect switches off under prefers-reduced-motion.
*/

/* ─── tokens (brand/DESIGN.md §2–3, §6a) ─── */
:root {
  --c-cream:   #FFF6D5;
  --c-cream-2: #FFFBEA;
  --c-slate:   #4A4E69;
  --c-slate-2: #555977;
  --c-slate-3: #62668A;
  --c-deep:    #2A2D45;
  --c-muted:   #6B6F87;
  --c-line:    #E6D9AE;
  --c-accent:  #FF6D00;
  --c-gold:    #FFD166;
  --c-amber:   #FFA200;

  --bg:      var(--c-cream);
  --surface: var(--c-cream-2);
  --fg:      var(--c-slate);
  --muted:   var(--c-muted);
  --border:  var(--c-line);
  --accent:  var(--c-accent);
  --gold:    var(--c-gold);
  --amber:   var(--c-amber);
  --fg-strong: var(--c-deep);
  --shade:   var(--c-slate);

  --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
  --ring:   inset 0 0 0 1px color-mix(in oklch, var(--shade) 9%, transparent);
  --elev-1: 0 1px 1px color-mix(in oklch, var(--shade) 3%, transparent), 0 2px 2px color-mix(in oklch, var(--shade) 4%, transparent);
  --elev-2: 0 2px 2px color-mix(in oklch, var(--shade) 4%, transparent), 0 8px 8px -8px color-mix(in oklch, var(--shade) 8%, transparent);
  --elev-3: 0 2px 2px color-mix(in oklch, var(--shade) 4%, transparent), 0 8px 16px -4px color-mix(in oklch, var(--shade) 8%, transparent), 0 24px 32px -8px color-mix(in oklch, var(--shade) 10%, transparent);
  --elev-4: 0 1px 1px color-mix(in oklch, var(--shade) 4%, transparent), 0 8px 16px -4px color-mix(in oklch, var(--shade) 10%, transparent), 0 24px 48px -8px color-mix(in oklch, var(--shade) 16%, transparent), 0 48px 80px -16px color-mix(in oklch, var(--shade) 22%, transparent);
  --ease: cubic-bezier(.2,.7,.2,1);

  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, monospace;

  --fs-h1: clamp(44px, 6.4vw, 88px);
  --fs-h2: clamp(30px, 4vw, 52px);
  --fs-h3: 19px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs: 8px; --gap-sm: 12px; --gap-md: 20px; --gap-lg: 32px; --gap-xl: 56px; --gap-2xl: 96px;
  --container: 1160px;
  --gutter: 32px;
  --radius: 10px;
  --radius-lg: 18px;
}

/* inverted sections: the same six roles, remapped. Shadows keep the slate shade. */
.inverse {
  --bg:      var(--c-slate);
  --surface: var(--c-slate-2);
  --fg:      var(--c-cream);
  --muted:   rgba(255,246,213,.74);
  --border:  rgba(255,246,213,.18);
  --accent-soft: color-mix(in oklch, var(--c-gold) 18%, transparent);
  --shade:   var(--c-deep);
  background: var(--bg); color: var(--fg);
}

/* ─── reset & base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Safari ignores overflow-x:clip on <body> unless <html> carries it too — which is why the phone
   could still pan sideways even though body said not to. Both, deliberately. */
html { overflow-x: clip; max-width: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ─── layout primitives (seed) ─── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); }
.section.tight { padding-block: clamp(36px, 5vw, 64px); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
@media (max-width: 920px) { .grid-2, .grid-3, .grid-1-2, .grid-2-1 { grid-template-columns: 1fr; } }

/* ─── type ─── */
h1, .h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: .98; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
h2, .h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--gap-md); }
.inverse .eyebrow { color: var(--gold); }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.subline { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); margin: 10px 0 0; }
.big { font-family: var(--font-display); font-size: clamp(40px, 6vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
/* the underline sweep on one word of a headline (Brims: the yellow bar under BRIM) */
.sweep { position: relative; display: inline-block; white-space: nowrap; }
.sweep::after { content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; animation: sweep .9s var(--ease) .6s both; z-index: -1; }
.inverse .sweep::after { background: var(--accent); }
@keyframes sweep { to { transform: scaleX(1); } }

/* ─── chrome ─── */
.topnav { position: sticky; top: 0; z-index: 10; background: color-mix(in oklch, var(--c-cream) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--c-line); color: var(--c-slate); transition: box-shadow .4s var(--ease), background .4s var(--ease); }
.topnav.scrolled { box-shadow: var(--elev-2); background: color-mix(in oklch, var(--c-cream) 82%, transparent); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); padding-block: 14px; transition: padding .4s var(--ease); }
.topnav.scrolled .topnav-inner { padding-block: 8px; }
.logo { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 9px; }
.logo .mark { width: 28px; height: 28px; transition: transform .3s var(--ease); }
.logo:hover .mark { transform: rotate(-6deg) scale(1.06); }
.logo b { font-weight: inherit; background: linear-gradient(135deg, var(--c-accent), var(--c-amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topnav nav { display: flex; gap: 6px; align-items: center; }
.topnav nav a.tab { font-size: 14px; color: var(--c-muted); padding: 8px 12px; border-radius: 999px; transition: background .25s ease, color .25s ease; }
.topnav nav a.tab:hover { color: var(--c-slate); background: var(--c-gold); }
.topnav nav a.tab[aria-current="page"] { color: var(--c-cream); background: var(--c-slate); }
.topnav nav a.tab .short { display: none; }
.topnav nav .btn { margin-left: 10px; }
.topnav .btn.mobile-cta { display: none; }
@media (max-width: 920px) {
  .topnav-inner { flex-wrap: wrap; padding-block: 10px; }
  .topnav nav { order: 3; flex-basis: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-bottom: 2px; }
  .topnav nav a.tab { white-space: nowrap; text-align: center; font-size: 13px; padding: 8px 6px; border: 1px solid var(--c-line); }
  .topnav nav a.tab .full { display: none; } .topnav nav a.tab .short { display: inline; }
  .topnav nav .btn { display: none; }
  .topnav .btn.mobile-cta { display: inline-flex; padding: 9px 14px; font-size: 14px; }
}
.progress { position: fixed; top: 0; left: 0; z-index: 11; width: 100%; height: 2px; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot .links { display: flex; gap: var(--gap-md); flex-wrap: wrap; }
.pagefoot a:hover { color: var(--fg); }

/* ─── buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; transition: transform .25s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: var(--c-deep); border-color: var(--c-accent); }
.btn-primary:hover { background: var(--c-amber); border-color: var(--c-amber); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in oklch, var(--c-accent) 30%, transparent); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { background: var(--gold); border-color: var(--gold); color: var(--c-deep); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { color: var(--accent); }
.inverse .btn-ghost:hover { color: var(--gold); }
.btn-arrow::after { content: '→'; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }
.btn-magnet { will-change: transform; }

/* ─── card / surface ─── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card.raised { box-shadow: var(--ring), var(--elev-3); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card.raised:hover { transform: scale(1.02); box-shadow: var(--ring), var(--elev-4); }
@media (max-width: 920px) { .card { padding: 22px; } }

/* ─── example card (the product, shown as real UI) ─── */
.example { cursor: zoom-in; }
.example .top { display: flex; align-items: center; gap: 12px; }
.example .top .eyebrow { margin: 0 auto 0 0; color: var(--muted); }
@media (max-width: 640px) { .example .top { flex-wrap: wrap; } .example .top .eyebrow { flex-basis: 100%; margin-right: 0; } .example .top .meta { margin-right: auto; } }
.example .t { font-weight: 600; font-size: 18px; line-height: 1.35; margin-top: var(--gap-sm); }
.example .b { color: var(--muted); font-size: 15px; margin-top: 8px; }
.example ul { list-style: none; margin: var(--gap-md) 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.example li { display: flex; align-items: center; gap: 10px; }
.example li.no { color: var(--muted); }
.example[hidden] { display: none; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: var(--c-deep); display: inline-grid; place-items: center; flex-shrink: 0; }
.dot svg { width: 11px; height: 11px; }
.dot.off { background: transparent; border: 1.5px solid var(--border); }
.zoom-btn { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg); color: var(--fg); padding: 0; flex-shrink: 0; transition: background .25s ease, transform .25s var(--ease), color .25s ease; }
.zoom-btn svg { width: 15px; height: 15px; }
.zoom-btn:hover { background: var(--gold); color: var(--c-deep); transform: scale(1.08); }
.example.swap { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: scale(.965) translateY(10px); } to { opacity: 1; transform: none; } }

/* ─── hero (home): dark, full-width headline; the console overlaps its bottom edge ─── */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; overflow: visible; }
.hero .container { padding-bottom: clamp(300px, 26vw, 380px); }
.hero h1 { font-size: clamp(44px, 8.4vw, 118px); max-width: 14ch; }
.hero .lead { margin: 0; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gap-lg); margin-top: var(--gap-lg); flex-wrap: wrap; }
.hero-cta { display: flex; gap: var(--gap-sm); flex-wrap: wrap; align-items: center; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in > * { animation: rise .7s var(--ease) both; }
.hero-in > *:nth-child(1){animation-delay:.05s}.hero-in > *:nth-child(2){animation-delay:.15s}.hero-in > *:nth-child(3){animation-delay:.25s}.hero-in > *:nth-child(4){animation-delay:.35s}.hero-in > *:nth-child(5){animation-delay:.45s}

/* ─── the console (the product, shown as the product) ─── */
.console-wrap { margin-top: calc(-1 * clamp(280px, 24vw, 340px)); padding-bottom: clamp(40px, 5vw, 64px); position: relative; z-index: 2; }
.console { display: grid; grid-template-columns: 220px 1fr 340px; grid-template-rows: 44px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--ring), var(--elev-4), 0 80px 140px -24px color-mix(in oklch, var(--c-deep) 45%, transparent); min-height: 620px; animation: rise .9s var(--ease) .35s both; }
.console-chrome { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
.console-chrome > span:not(.console-url) { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.console-url { margin-inline: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 4px 48px; border-radius: 6px; white-space: nowrap; }
.console-side { background: var(--c-slate); color: var(--c-cream); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.console-side .side-title { padding: 6px 12px 14px; color: rgba(255,246,213,.5); }
.side-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: rgba(255,246,213,.72); background: transparent; border: 0; text-align: left; width: 100%; font-family: inherit; transition: background .2s ease, color .2s ease, transform .2s var(--ease); }
.side-item:active { transform: scale(.98); }
.side-item:hover { background: rgba(255,246,213,.08); color: var(--c-cream); }
.side-item.on { background: var(--c-cream); color: var(--c-slate); font-weight: 600; }
.side-count { margin-left: auto; font-size: 12px; }
.side-foot { margin-top: auto; padding: 12px; color: rgba(255,246,213,.5); line-height: 1.6; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); flex-shrink: 0; display: inline-block; }
.live-dot.off { background: transparent; border: 1.5px solid var(--border); }
.console-main { padding: 22px 0 8px; display: flex; flex-direction: column; min-width: 0; }
.console-head { padding: 0 22px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.console-head h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; font-weight: 700; }
.console-head.sub { padding-top: 24px; } .console-head.sub h3 { font-size: 16px; }
.crow { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 22px; border-top: 1px solid var(--border); font-size: 14px; width: 100%; text-align: left; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; font-family: inherit; color: inherit; position: relative; transition: background .2s ease; }
.crow:hover { background: var(--bg); }
.crow.sel { background: var(--bg); }
.crow.sel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-accent); }
.crow .ctag:empty { display: none; }
.crow .meta.num:empty { display: none; }
.cview[hidden], .cdetail[hidden] { display: none; }
.cview { animation: cardIn .35s var(--ease) both; }
.cdetail { display: flex; flex-direction: column; gap: 12px; flex: 1; animation: cardIn .35s var(--ease) both; }
.cdetail .call-foot .meta { white-space: nowrap; }
.call-foot { margin-top: auto; }
.crow .ct { font-weight: 600; } .crow .cs { font-size: 13px; color: var(--muted); margin-top: 2px; }
.crow[hidden] { display: none; }
.crow.arrive { animation: rowIn .6s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: var(--gold); } 60% { background: color-mix(in oklch, var(--gold) 60%, transparent); } to { opacity: 1; transform: none; } }
.ctag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); white-space: nowrap; }
.ctag.ask { background: var(--gold); color: var(--c-deep); border-color: var(--gold); }
.ctag.who { background: var(--bg); }
.console-call { border-left: 1px solid var(--border); background: var(--bg); padding: 22px 20px; display: flex; flex-direction: column; }
.call-top { display: flex; justify-content: space-between; align-items: center; }
.call-top .eyebrow.live { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.call-top .live-dot { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.call-title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.bubble { border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.bubble .meta { display: block; font-size: 11px; margin-bottom: 2px; }
.bubble.caller { background: var(--surface); border: 1px solid var(--border); }
.bubble.desk { background: var(--c-slate); color: var(--c-cream); } .bubble.desk .meta { color: rgba(255,246,213,.6); }
.call-notes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.call-notes li { display: flex; align-items: center; gap: 10px; } .call-notes li.no { color: var(--muted); }
.call-foot .meta { white-space: nowrap; }
.call-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
/* the replay: steps appear in order */
.console [data-step] { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.console [data-step].in { opacity: 1; transform: none; }
.console-note { text-align: center; margin: 18px auto 0; max-width: 60ch; }
@media (max-width: 1100px) and (min-width: 921px) { .console { grid-template-columns: 200px 1fr; } .console-call { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); } }
/* phones: an app frame. Tabs as a chip row, the list scrolls inside, a row opens its detail as a sheet */
.detail-back { display: none; }
@media (max-width: 920px) {
  .hero .container { padding-bottom: 200px; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .hero-row { margin-top: var(--gap-md); }
  .console-wrap { margin-top: -170px; }
  .console { position: relative; display: flex; flex-direction: column; height: 640px; min-height: 0; overflow: hidden; }
  .console-chrome, .console-main, .console-call, .crow, .console-head { min-width: 0; }
  .console-url { flex: 0 1 auto; min-width: 0; padding: 4px 12px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
  .console-side { flex-direction: row; gap: 6px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex-shrink: 0; min-width: 0; max-width: 100%; }
  .console-side::-webkit-scrollbar { display: none; }
  .console-side .side-title, .side-foot { display: none; }
  .side-item { width: auto; white-space: nowrap; border: 1px solid rgba(255,246,213,.18); border-radius: 999px; padding: 7px 12px; flex-shrink: 0; }
  .side-count { margin-left: 4px; }
  .console-main { flex: 1; overflow-y: auto; padding-top: 16px; }
  .console-head { padding: 0 16px 10px; flex-wrap: wrap; row-gap: 2px; }
  .console-head h3 { font-size: 18px; }
  .console-head.sub { padding-top: 18px; }
  .crow { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .crow .meta.num { display: none; }
  .crow .ct { font-size: 14px; } .crow .cs { font-size: 12.5px; }
  .console-call { position: absolute; left: 0; right: 0; bottom: 0; top: 44px; border-left: 0; border-top: 1px solid var(--border); padding: 16px; overflow-y: auto; transform: translateY(102%); transition: transform .45s var(--ease); box-shadow: 0 -12px 32px color-mix(in oklch, var(--c-deep) 18%, transparent); z-index: 2; }
  .console.show-detail .console-call { transform: none; }
  .detail-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 600; font-family: inherit; color: inherit; }
  .cdetail .call-foot { margin-top: 16px; }
  .console-note { font-size: 12px; }
}

/* ─── ticker (Brims: the yellow marquee) ─── */
.ticker { background: var(--c-gold); color: var(--c-deep); overflow: hidden; border-block: 1px solid color-mix(in oklch, var(--c-deep) 12%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 0; }
.ticker li { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .01em; text-transform: uppercase; padding-inline: 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.ticker li::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── pillars chip grid (home) ─── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: var(--gap-lg); }
@media (max-width: 920px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s ease; }
.pillar:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--ring), var(--elev-3); border-color: var(--gold); }
.pillar .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.pillar .name { font-weight: 600; font-size: 16px; }
.pillar .what { font-size: 13px; color: var(--muted); }

/* ─── steps strip (home teaser) ─── */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); margin-top: var(--gap-lg); }
@media (max-width: 920px) { .strip { grid-template-columns: 1fr; } }
.strip .feature { position: relative; border-top: 2px solid var(--border); padding: 18px 18px 22px; margin: 0 -18px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), border-color .35s ease; }
.strip .feature:hover { transform: translateY(-4px); border-top-color: var(--fg); }
.strip .feature > * { position: relative; }
.feature h3 { margin: 8px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklch, var(--gold) 55%, transparent), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.spot:hover::before { opacity: 1; }
.inverse .spot::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklch, var(--gold) 22%, transparent), transparent 70%); }

/* ─── picker: "Where does your week go?" (Brims: the poll). One surface, two halves, one footer ─── */
.picker { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: var(--gap-lg); padding: 0; overflow: hidden; box-shadow: var(--ring), var(--elev-3); }
.picker-col { padding: 28px; min-width: 0; }
.picker-col + .picker-col { border-left: 1px solid var(--border); background: var(--bg); }
.picker .eyebrow { margin-bottom: 16px; color: var(--muted); }
.picker-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 28px; border-top: 1px solid var(--border); background: var(--surface); }
@media (max-width: 920px) { .picker { grid-template-columns: 1fr; } .picker-col { padding: 22px 18px; } .picker-col + .picker-col { border-left: 0; border-top: 1px solid var(--border); } .picker-foot { padding: 14px 18px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font-weight: 600; font-size: 14px; color: var(--fg); transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--gold); color: var(--c-deep); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip[aria-pressed="true"]::before { content: '✓'; font-size: 12px; }
.tally { display: flex; flex-direction: column; gap: 11px; }
.tally-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.tally-row .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tally-row .bar { height: 8px; border-radius: 999px; background: color-mix(in oklch, var(--fg) 8%, transparent); overflow: hidden; }
.tally-row .bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .7s var(--ease); }
.tally-row.on .bar i { background: var(--accent); }
.tally-row.on .name { color: var(--accent); }
.tally-row .cnt { font-family: var(--font-mono); font-size: 12px; color: var(--muted); min-width: 5ch; text-align: right; }
@media (max-width: 640px) { .tally-row { grid-template-columns: 1fr auto; row-gap: 6px; } .tally-row .bar { grid-column: 1 / -1; } }
.picker-cta[hidden] { display: none; }

/* ─── lineup (what it does): dark, featured card left, the eight on the right ─── */
.lineup { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: var(--gap-lg); }
.lineup-stage { position: sticky; top: 96px; perspective: 1400px; }
@media (max-width: 920px) { .lineup-stage { position: static; } }
.lineup-stage .card { --bg: var(--c-cream); --surface: var(--c-cream-2); --fg: var(--c-slate); --muted: var(--c-muted); --border: var(--c-line); color: var(--fg); transform-style: preserve-3d; }
.lineup-stage .example .top { flex-wrap: wrap; } .lineup-stage .example .top .eyebrow { flex-basis: 100%; margin-right: 0; } .lineup-stage .example .top .meta { margin-right: auto; }
.lineup-list { display: flex; flex-direction: column; gap: 8px; }
.lineup-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: transparent; color: var(--fg); transition: transform .3s var(--ease), background .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.lineup-item:hover { transform: translateX(6px); background: color-mix(in oklch, var(--c-cream) 8%, transparent); }
.lineup-item[aria-selected="true"] { background: var(--c-cream); color: var(--c-slate); border-color: var(--c-cream); }
.lineup-item .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.lineup-item[aria-selected="true"] .n { color: var(--c-accent); }
.lineup-item .name { font-weight: 600; font-size: 16px; display: block; }
.lineup-item .sub { font-size: 13px; color: var(--muted); display: block; }
.lineup-item[aria-selected="true"] .sub { color: var(--c-muted); }
.lineup-item .go { font-size: 18px; transition: transform .25s var(--ease); }
.lineup-item:hover .go { transform: translateX(3px); }
.lineup-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
.lineup.auto .lineup-item[aria-selected="true"]::after { animation: timer 6s linear both; }
@keyframes timer { to { transform: scaleX(1); } }
.flip { animation: flip .6s var(--ease) both; }
@keyframes flip { 0% { transform: rotateY(-70deg) scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 920px) {
  /* min-width:0 is the whole fix (2026-09-25): a flex CHILD defaults to min-width:auto, so the
     chip row sized itself to its content (924px) instead of scrolling inside the viewport, and
     dragged the page with it — the phone zoomed out and scrolled sideways. Every scrolling strip
     needs it; overflow-x alone does nothing while the box is still free to grow. */
  .lineup { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .lineup > * { min-width: 0; max-width: 100%; }
  .lineup-list { order: -1; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; min-width: 0; max-width: 100%; }
  .lineup-list::-webkit-scrollbar { display: none; }
  .lineup-item { flex: 0 0 auto; width: auto; display: inline-grid; grid-template-columns: auto auto; gap: 8px; padding: 9px 14px; border-radius: 999px; overflow: visible; }
  .lineup-item .sub, .lineup-item .go { display: none; }
  .lineup-item .name { font-size: 14px; }
  .lineup-item:hover { transform: none; }
  .lineup-item::after { display: none; }
  .lineup-stage .example .top .meta { flex: 1; min-width: 0; }
}

/* ─── scrolly (how it works): sticky screen left, steps right ─── */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: var(--gap-lg); }
@media (max-width: 920px) { .scrolly { grid-template-columns: 1fr; } }
.screen-wrap { position: sticky; top: 110px; }
@media (max-width: 920px) { .screen-wrap { position: static; } }
.screen { min-height: 360px; perspective: 1200px; }
.screen .card { cursor: default; }
.screen .card[hidden] { display: none; }
.ui-rows { list-style: none; margin: var(--gap-md) 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.example li.ui-row, .ui-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; font-size: 14px; }
.ui-row .bar { grid-column: 1 / -1; width: 100%; height: 8px; border-radius: 999px; background: color-mix(in oklch, var(--fg) 8%, transparent); overflow: hidden; }
.ui-row .bar i { display: block; height: 100%; width: var(--w, 40%); background: var(--gold); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.card.live .ui-row .bar i { transform: none; }
.ui-row .state { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ui-row .state.on { color: var(--c-deep); background: var(--gold); padding: 2px 8px; border-radius: 999px; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: clamp(32px, 6vh, 64px) 0; border-top: 1px solid var(--border); min-height: 46vh; align-content: center; transition: opacity .4s ease; }
@media (max-width: 920px) { .step { min-height: 0; padding: 28px 0; } }
.step:last-child { border-bottom: 1px solid var(--border); }
.step .num { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--border); transition: color .4s ease, transform .4s var(--ease); }
.step h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; margin: 6px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step .line { height: 3px; width: 100%; background: color-mix(in oklch, var(--fg) 8%, transparent); border-radius: 2px; margin-bottom: 14px; overflow: hidden; }
.step .line i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.step.on .num { color: var(--accent); transform: scale(1.1); }
.step.on .line i { transform: none; }
.steps.has-on .step:not(.on) { opacity: .45; }

/* ─── rules (what you can count on): three big rows that open ─── */
.rules { margin-top: var(--gap-lg); border-top: 1px solid var(--border); }
.rule { border-bottom: 1px solid var(--border); }
.rule-head { width: 100%; display: grid; grid-template-columns: 64px 1fr 40px; gap: 18px; align-items: center; text-align: left; padding: 26px 0; background: transparent; border: 0; color: inherit; }
.rule-head .num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--muted); letter-spacing: -0.03em; transition: color .3s ease; }
.rule-head h3 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.025em; font-weight: 600; margin: 0; transition: transform .35s var(--ease); }
.rule-head:hover h3 { transform: translateX(8px); }
.rule-head .plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s ease, color .3s ease; }
.rule-head .plus svg { width: 16px; height: 16px; }
.rule[open] .rule-head .plus { transform: rotate(45deg); background: var(--gold); color: var(--c-deep); border-color: var(--gold); }
.rule[open] .rule-head .num { color: var(--gold); }
.rule-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg); padding: 0 0 32px 82px; }
@media (max-width: 920px) { .rule-body { grid-template-columns: 1fr; padding-left: 0; } .rule-head { grid-template-columns: 44px 1fr 40px; } }
.rule-body p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.rule-body .card p.eyebrow { font-size: 12px; line-height: 1.5; }
.rule-body .card .b, .rule-body .card p.b { font-size: 15px; }
@media (max-width: 640px) { .rule-body .card .top { flex-wrap: wrap; } .rule-body .card .top .eyebrow { flex-basis: 100%; } }
.rule-body .card { --bg: var(--c-cream); --surface: var(--c-cream-2); --fg: var(--c-slate); --muted: var(--c-muted); --border: var(--c-line); color: var(--fg); cursor: default; animation: cardIn .5s var(--ease) both; }
.perm { list-style: none; margin: var(--gap-md) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.perm li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.perm .k { font-family: var(--font-mono); font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--c-deep); white-space: nowrap; flex-shrink: 0; }
.perm .k.ask { background: transparent; border: 1px solid var(--border); color: var(--fg); }
.perm .k.never { background: var(--fg); color: var(--bg); }

/* ─── audit page: dark, the form on cream ─── */
.audit-hero { text-align: center; max-width: 720px; margin-inline: auto; }
.audit-hero .lead { margin: var(--gap-md) auto 0; }
.panel { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: var(--gap-xl) auto 0; --bg: var(--c-cream); --surface: var(--c-cream-2); --fg: var(--c-slate); --muted: var(--c-muted); --border: var(--c-line); color: var(--fg); box-shadow: var(--ring), var(--elev-4); padding: clamp(24px, 4vw, 40px); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--fg); font-weight: 600; }
.input, .textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; }
.input:focus, .textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-accent); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.two { display: grid; gap: 14px; }
@media (min-width: 640px) { .two { grid-template-columns: repeat(2, 1fr); } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fine { font-size: 12px; color: var(--muted); max-width: 320px; }
.notice { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.notice.ok { background: var(--gold); color: var(--c-deep); }
.notice.err { background: color-mix(in oklch, var(--c-accent) 14%, transparent); color: var(--c-deep); }
form.sent .ok, form.failed .err { display: block; }
.link-accent { font-weight: 600; border-bottom: 1px solid var(--accent); }
.link-accent:hover { color: var(--accent); }
.inverse .link-accent { border-bottom-color: var(--gold); }
.inverse .link-accent:hover { color: var(--gold); }
.prefill { display: none; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in oklch, var(--gold) 40%, transparent); font-size: 14px; }
.prefill.show { display: block; }

/* ─── closing CTA band (Brims: "get the first drop") ─── */
.cta-band { position: relative; text-align: center; padding-block: clamp(64px, 8vw, 104px); overflow: hidden; background: radial-gradient(1200px 520px at 50% 0%, var(--c-slate-3), var(--c-slate) 55%, var(--c-deep)); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .big { margin-bottom: var(--gap-md); }
.cta-band .lead { margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: var(--gap-xl); }
.cta-band .grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .07; pointer-events: none; }
.cta-def { margin: clamp(48px, 7vw, 88px) auto 0; padding-top: var(--gap-lg); border-top: 1px solid var(--border); max-width: 640px; }
.cta-def .word { color: var(--fg); }
.cta-def .word::after { content: '.'; color: var(--accent); }
.cta-def .word .say { font-size: 0.42em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.cta-def .meta { margin: 10px 0 0; color: var(--gold); }
.cta-def .def { margin: 14px auto 0; max-width: 46ch; font-size: 16px; line-height: 1.55; color: var(--muted); }
.word { font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
@media (max-width: 920px) {
  .cta-band { padding-block: 56px 48px; }
  .cta-band .big { font-size: clamp(36px, 11vw, 48px); }
  .cta-band .lead { font-size: 16px; }
  .cta-band .hero-cta { margin-top: var(--gap-lg); flex-direction: column; gap: 6px; }
  .cta-def { margin-top: 44px; padding-top: 24px; }
  .cta-def .def { font-size: 15px; }
  .pagefoot { padding-block: 36px; }
  .pagefoot .row-between { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pagefoot .links { gap: 8px 18px; }
}

/* ─── zoom view ─── */
.zoom { border: 0; padding: 0; background: transparent; max-width: min(820px, 92vw); width: 100%; margin: auto; overflow: visible; color: var(--c-slate); }
.zoom::backdrop { background: color-mix(in oklch, var(--c-deep) 60%, transparent); backdrop-filter: blur(10px); }
.zoom .card { --bg: var(--c-cream); --surface: var(--c-cream-2); --fg: var(--c-slate); --muted: var(--c-muted); --border: var(--c-line); box-shadow: var(--ring), var(--elev-4); padding: clamp(24px, 4vw, 44px); cursor: default; }
.zoom .card .top { flex-wrap: wrap; }
.zoom .card .t { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.2; margin-top: var(--gap-md); }
.zoom .card .b { font-size: clamp(16px, 1.6vw, 19px); margin-top: 12px; }
.zoom .card ul { font-size: 16px; gap: 12px; margin-top: var(--gap-lg); }
.zoom .card .dot { width: 22px; height: 22px; } .zoom .card .dot svg { width: 13px; height: 13px; }
.zoom .zoom-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: var(--gap-lg); padding-top: var(--gap-md); border-top: 1px solid var(--border); }
.zoom .zoom-foot .meta { max-width: 40ch; }
.zoom .zoom-nav { display: flex; gap: 8px; }
@media (max-width: 640px) { .zoom .zoom-foot { flex-wrap: wrap; } .zoom .zoom-foot .meta { flex-basis: 100%; max-width: none; } .zoom .zoom-nav { margin-left: auto; } }
.zoom[open] { animation: zoomOpen .45s var(--ease) both; }
.zoom[open]::backdrop { animation: fadeIn .45s ease both; }
.zoom.closing { animation: zoomClose .3s var(--ease) both; }
.zoom.closing::backdrop { animation: fadeOut .3s ease both; }
@keyframes zoomOpen { from { opacity: 0; transform: scale(.82) translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomClose { to { opacity: 0; transform: scale(.9) translateY(12px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }

/* ─── scroll-driven entrances ─── */
[data-reveal], .zoom-in { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].pre { opacity: 0; transform: translateY(24px); }
.zoom-in.pre { opacity: 0; transform: scale(.94) translateY(24px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.sda [data-reveal], html.sda .zoom-in { transition: none; }
    html.sda [data-reveal] { animation: riseIn linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    html.sda .zoom-in { animation: zoomIn linear both; animation-timeline: view(); animation-range: entry 0% entry 65%; }
    html.sda .strip > .zoom-in:nth-child(2), html.sda .pillars > .zoom-in:nth-child(4n+2) { animation-range: entry 10% entry 72%; }
    html.sda .strip > .zoom-in:nth-child(3), html.sda .pillars > .zoom-in:nth-child(4n+3) { animation-range: entry 20% entry 80%; }
    html.sda .pillars > .zoom-in:nth-child(4n+4) { animation-range: entry 30% entry 88%; }
    html.sda .word.zoom-in { animation-name: wordIn; animation-range: entry 0% entry 90%; }
    html.sda .progress { animation: bar linear both; animation-timeline: scroll(root); }
  }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.9) translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].pre, .zoom-in.pre { opacity: 1; transform: none; }
  .sweep::after { transform: none; }
  .ticker-track { animation: none !important; }
  .step .line i, .ui-row .bar i { transform: none; }
  .spot::before { display: none; }
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Systems page (2026-10-07, first called Products): finished builds, shown on demo data */
.prod-index { margin-top: var(--gap-lg); }
.prod-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.prod-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.prod-card h3 { margin: 0; }
.prod-card p { margin: 0; color: var(--muted); }
.prod-soon { border-style: dashed; background: transparent; }
.prod-clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md, 20px); margin-top: var(--gap-lg); }
.prod-clips.four { grid-template-columns: repeat(2, 1fr); }  /* a tour plus three clips: two by two */
.prod-clip { margin: 0; }
.prod-clip video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.prod-clip figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.prod-detail { margin-top: var(--gap-lg); }
.prod-list { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
@media (max-width: 860px) { .prod-clips { grid-template-columns: 1fr; } }

/* System pages: problem, timeline, ROI calculator, what changes (2026-10-07) */
.sys-probs, .sys-chgs { margin-top: var(--gap-lg); }
.sys-prob h3 { margin: 6px 0 6px; }
.sys-prob p, .sys-chg p { margin: 0; color: var(--muted); }
.sys-num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.sys-sub { margin: calc(var(--gap-lg) * 1.4) 0 var(--gap-md, 18px); }
.sys-tl { display: grid; gap: 18px; }
.tl-row { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; background: var(--surface); }
.tl-head { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 14px; }
.tl-k { font-weight: 700; color: var(--fg); }
.tl-k-new { color: var(--accent); }
.tl-span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tl-span i { display: block; height: 10px; border-radius: 4px; }
.tl-long i { width: 100%; background: var(--fg); opacity: .55; }
.tl-short i { width: 16%; min-width: 46px; background: var(--accent); }
.tl-span span { white-space: nowrap; }
.tl-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.tl-steps li { display: flex; align-items: baseline; gap: 7px; font-size: 14px; }
.tl-steps li b { font-weight: 600; }
.tl-steps li em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.st-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; transform: translateY(-1px); }
.tl-today .st-dot { background: var(--fg); opacity: .55; }
.tl-after .st-dot { background: var(--accent); }
.roi { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: var(--gap-lg); margin-top: var(--gap-lg); align-items: start; }
.roi-inputs { display: grid; gap: 12px; color: var(--fg); }
.roi-f { display: grid; gap: 5px; font-size: 13.5px; }
.roi-in { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 9px; padding: 0 10px; background: var(--bg); }
.roi-in input { border: 0; background: transparent; font: inherit; font-size: 16px; padding: 9px 0; width: 100%; color: var(--fg); }
.roi-in input:focus { outline: none; }
.roi-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring, rgba(255,109,0,.2)); }
.roi-in i { font-style: normal; color: var(--muted); font-size: 13px; }
.roi-out { display: grid; gap: 14px; }
.roi-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.roi-t { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius-lg); border: 1px solid rgba(255,246,213,.22); }
.roi-n { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.roi-l { font-size: 13px; opacity: .8; }
.roi-chart { color: var(--fg); }
.roi-chart h3 { font-size: 15px; margin: 0 0 12px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; font-size: 13.5px; }
.bar-track { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bar { height: 22px; border-radius: 0 4px 4px 0; min-width: 3px; transition: width .35s ease; }
.bar.base { background: var(--fg); opacity: .6; }
.bar.hi { background: var(--accent); }
.bar-v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-row:hover .bar { filter: brightness(1.08); }
.inverse .fine { color: var(--muted); }
.sys-chg { display: flex; gap: 14px; align-items: flex-start; }
.sys-chg h3 { margin: 0 0 4px; }
.chg-mark { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; margin-top: 3px; background: var(--accent); opacity: .9; }
@media (max-width: 860px) {
  .roi { grid-template-columns: 1fr; }
  .roi-tiles { grid-template-columns: 1fr; }
  .tl-head { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
}
