/* NJS Studio, Night Studio direction (Mary, palette A). Studio only: no CV stylesheet is touched.
   Type: Geist for display and interface, Geist Mono for every number (Smith, 2026-11-03). */

:root {
  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --surface-2: #F0F2EC;
  --ink: #121416;
  --ink-2: #4A4F55;
  --ink-3: #6A6F75;
  --line: #E2E5DE;
  --line-hi: #A9AEA6;
  --signal: #C6F432;
  --on-signal: #121416;
  --signal-ink: #4D6B00;
  --iris: #5B3FD6;
  --rose: #C2284A;
  --grid: rgba(18, 20, 22, .045);

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --t-instant: 120ms;
  --t-quick: 220ms;
  --t-move: 420ms;
  --t-roll: 600ms;
  --t-scene: 900ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);
  --ease-roll: cubic-bezier(.2, .9, .25, 1.05);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --gutter: 24px;
  --bar-h: 0px;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-instant: .01ms; --t-quick: .01ms; --t-move: .01ms; --t-roll: .01ms; --t-scene: .01ms; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h); overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--iris); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--iris); outline-offset: 2px; border-radius: 6px; }
.btn-lime:focus-visible, [aria-pressed="true"]:focus-visible, [aria-checked="true"]:focus-visible { outline: 3px solid var(--iris); box-shadow: 0 0 0 2px var(--ink); }

.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--signal); color: var(--on-signal); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow, .kick {
  font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-hi);
  background: var(--surface); color: var(--ink); font: 600 16px/1.1 var(--sans); text-decoration: none;
  transition: background var(--t-instant), border-color var(--t-instant), transform var(--t-quick) var(--ease-out), opacity var(--t-instant);
}
.btn:hover { border-color: var(--ink-3); }
.btn-lime { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn-lime:hover { background: #d3fa55; border-color: #d3fa55; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; }
.tlink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 5px; font-weight: 500; }
.tlink:hover { text-decoration-color: var(--signal); }

/* Header */
.top { position: sticky; top: 0; z-index: 40; height: 72px; background: rgba(246, 247, 244, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--t-quick); }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo i { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; color: var(--signal); place-items: center; }
.logo i svg { width: 22px; }
.logo b { display: block; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.logo small { display: block; font-size: 12px; color: var(--ink-3); }
.clock { font: 500 13px/1 var(--mono); color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; min-width: 22ch; }
.clock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.top nav .btn { min-height: 44px; padding: 10px 16px; font-size: 15px; }
@media (max-width: 1100px) { .clock { display: none; } }
@media (max-width: 859px) { .top .mn-list { display: none; } .top { height: 60px; } }

/* Hero */
.hero { position: relative; padding: 72px 0 56px; overflow: clip; overflow-clip-margin: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 40%, transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 22px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .w { display: inline-block; transform: translateY(110%); transition: transform 640ms cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 28ms + 300ms); }
.hero h1 .ln-b { color: var(--signal-ink); }
.hero.go h1 .w, .hero.final h1 .w { transform: none; }
.hero.final h1 .w { transition: none; }
.lede { font-size: 19px; max-width: 34em; color: var(--ink-2); }
.lede b { color: var(--ink); font-weight: 500; }
.biz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 26px; }
.chip {
  position: relative; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-hi);
  background: transparent; color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background var(--t-quick), border-color var(--t-quick), color var(--t-quick);
}
.chip::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 300ms ease-out; }
.biz-chips.invite .chip::after { transform: scaleX(1); }
.biz-chips.invite.done .chip::after { transform: scaleX(0); }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-checked="true"] { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.proof { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.proof > div { background: var(--bg); padding: 22px 24px; }
.proof b { display: block; font: 500 32px/1 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.proof span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.proof small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12px; font-family: var(--mono); }

/* Live Blueprint stage */
.stage { position: relative; aspect-ratio: 4 / 3.5; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; z-index: -1; }
.scan { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--signal); box-shadow: 0 0 18px 2px rgba(198, 244, 50, .55); opacity: 0; z-index: 5; pointer-events: none; }
.stage.run .scan { animation: scan 700ms var(--ease-io) forwards; }
@keyframes scan { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.stage-k { position: absolute; left: 20px; top: 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.stage-k b { color: var(--signal-ink); font-weight: 500; }

.bp-browser { position: absolute; left: 6%; top: 10%; width: 68%; aspect-ratio: 16 / 11; border-radius: 12px; border: 1px solid var(--line-hi); background: var(--bg); overflow: hidden; }
.bp-bar { height: 9%; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.bp-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-hi); }
.bp-url { margin-left: 8px; font: 500 10px/1 var(--mono); color: var(--ink-3); }
.bp-body { position: absolute; left: 0; right: 0; top: 9%; bottom: 0; }
.bp-wire { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.bp-wire rect, .bp-wire circle { fill: none; stroke: var(--line-hi); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.stage.run .bp-wire rect, .stage.run .bp-wire circle { animation: draw 500ms var(--ease-out) forwards; animation-delay: calc(200ms + var(--i) * 60ms); }
.stage.final .bp-wire rect, .stage.final .bp-wire circle { stroke-dashoffset: 0; }
.stage.filled .bp-wire { opacity: 0; transition: opacity 500ms 300ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.bp-site {
  --bp-bg: #0E0B14; --bp-ink: #F3EFF8; --bp-acc: #FF8A4C; --bp-r: 6px; --bp-w: 700; --bp-sub: rgba(243, 239, 248, .14);
  position: absolute; inset: 0; background: var(--bp-bg); color: var(--bp-ink);
  clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease-out), background var(--t-move);
}
.stage.filled .bp-site { clip-path: inset(0 0 0 0); }
.stage.final .bp-site { transition: none; }
.bp-site > * { position: absolute; }
.bp-nav { left: 4%; right: 4%; top: 3%; height: 10%; display: flex; align-items: center; gap: 4%; font-size: clamp(7px, .75vw, 10px); }
.bp-nav b { font-weight: var(--bp-w); font-size: 1.3em; margin-right: auto; letter-spacing: -.02em; }
.bp-nav span { opacity: .7; }
.bp-hero { left: 4%; top: 18%; width: 56%; height: 36%; display: flex; flex-direction: column; justify-content: center; gap: 10%; }
.bp-hero h4 { color: inherit; font-weight: var(--bp-w); font-size: clamp(13px, 1.7vw, 24px); line-height: 1; letter-spacing: -.03em; }
.bp-cta { align-self: flex-start; padding: .55em .9em; border-radius: var(--bp-r); background: var(--bp-acc); color: #0E0B14; font-size: clamp(8px, .8vw, 11px); font-weight: 600; }
.bp-img { right: 4%; top: 18%; width: 32%; height: 36%; border-radius: var(--bp-r); background: linear-gradient(135deg, var(--bp-acc), transparent 120%); opacity: .9; }
.bp-tiles { left: 4%; right: 4%; top: 60%; height: 15%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
.bp-tiles div { border-radius: var(--bp-r); background: var(--bp-sub); display: flex; align-items: flex-end; padding: 6%; font-size: clamp(7px, .7vw, 10px); font-weight: 600; }
.bp-map { left: 4%; top: 80%; width: 44%; height: 15%; border-radius: var(--bp-r); background: repeating-linear-gradient(45deg, var(--bp-sub) 0 6px, transparent 6px 12px); overflow: hidden; }
.bp-map .pin { position: absolute; left: 46%; top: 20%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) translateY(-30px); background: var(--bp-acc); opacity: 0; transition: transform 420ms var(--ease-snap) 500ms, opacity 200ms 500ms; }
.stage.filled .bp-map .pin { transform: rotate(-45deg); opacity: 1; }
.bp-foot { right: 4%; top: 80%; width: 44%; height: 15%; border-radius: var(--bp-r); border: 1px solid var(--bp-sub); }

.bp-phone { position: absolute; right: 6%; top: 20%; width: 18%; aspect-ratio: 9 / 18; border-radius: 16px; border: 1px solid var(--line-hi); background: var(--bg); overflow: hidden; }
.bp-phone .bp-site > * { position: absolute; }
.bp-p-head { left: 10%; right: 10%; top: 12%; font-weight: var(--bp-w); font-size: clamp(9px, .9vw, 13px); line-height: 1.05; letter-spacing: -.02em; }
.bp-p-slot { left: 10%; right: 10%; top: 44%; height: 14%; border-radius: var(--bp-r); background: var(--bp-sub); }
.bp-p-slot + .bp-p-slot { top: 61%; }
.bp-p-cta { left: 10%; right: 10%; bottom: 8%; padding: 8% 0; text-align: center; border-radius: var(--bp-r); background: var(--bp-acc); color: #0E0B14; font-size: clamp(7px, .7vw, 10px); font-weight: 600; }

.bp-chips { position: absolute; left: 6%; right: 6%; top: 67%; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px; z-index: 3; }
.bp-chips li { flex: none; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-hi); color: var(--ink); font-size: 12px; font-weight: 500; opacity: 0; transform: scale(.92); transition: opacity var(--t-quick), transform var(--t-quick) var(--ease-snap); transition-delay: calc(var(--i) * 80ms + 200ms); }
.bp-chips li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 7px; vertical-align: 1px; }
.stage.filled .bp-chips li { opacity: 1; transform: none; }
.stage.final .bp-chips li { transition: none; }
.bp-total { position: absolute; left: 6%; right: 6%; bottom: 5%; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; z-index: 3; }
.bp-total .bp-tier { font: 600 22px/1 var(--sans); color: var(--ink); letter-spacing: -.02em; min-width: 6ch; }
.bp-meter { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.bp-meter i { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); transition: transform var(--t-roll) var(--ease-roll); }
.bp-say { grid-column: 1 / -1; color: var(--ink-2); font-size: 14px; min-height: 2.9em; }
.bp-say b { color: var(--iris); font: 500 11px/1 var(--mono); letter-spacing: .1em; margin-right: 8px; }
.bp-cap { position: absolute; right: 20px; top: 16px; font: 500 11px/1 var(--mono); color: var(--ink-3); }

/* bp style variations (style picker restyles the preview) */
.stage[data-style="editorial"] .bp-site { --bp-bg: #F4EFE7; --bp-ink: #1D1A17; --bp-sub: rgba(29, 26, 23, .09); --bp-w: 500; --bp-r: 0px; }
.stage[data-style="calm"] .bp-site { --bp-bg: #F6F8FA; --bp-ink: #2B3A4A; --bp-sub: rgba(43, 58, 74, .09); --bp-w: 600; --bp-r: 8px; }
.stage[data-style="playful"] .bp-site { --bp-bg: #FFF4FB; --bp-ink: #3A1D6E; --bp-sub: rgba(122, 60, 255, .12); --bp-w: 700; --bp-r: 18px; }

@media (max-width: 1023px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .stage { order: 2; margin-bottom: 26px; }
  .hero-copy > .ctas { order: 3; }
  .proof { grid-template-columns: 1fr; margin-top: 40px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 46px; }
  .lede { font-size: 17px; }
  .stage { aspect-ratio: 4 / 4.6; }
  .bp-browser { width: 72%; top: 11%; }
  .bp-phone { top: 18%; width: 22%; }
  .bp-chips { top: 58%; }
  .bp-chips li:nth-child(n+3) { display: none; }
  .bp-say { font-size: 13px; min-height: 4.2em; }
}

/* Sections */
section { position: relative; }
.sec { padding: 96px 0; }
.sec-h { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.sec-h h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; letter-spacing: -.04em; margin-top: 12px; }
.sec-h p { max-width: 34em; }
.sec-h .fine { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .sec { padding: 64px 0; } .sec-h { grid-template-columns: 1fr; gap: 14px; } }

/* Configurator layout */
.cfg { padding-top: 80px; border-top: 1px solid var(--line); }
.cfg-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.steps { position: relative; padding-left: 28px; }
.rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--signal); transform-origin: top; transform: scaleY(0); transition: transform var(--t-move) var(--ease-out); border-radius: 2px; }
.step { padding: 0 0 56px; }
.step-h { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.step-n { color: var(--ink-3); transition: color var(--t-quick); }
.step.has .step-n { color: var(--signal-ink); }
.step-h .aside { margin-left: auto; text-transform: none; letter-spacing: 0; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 6px; }
.help { color: var(--ink-3); font-size: 15px; margin-bottom: 20px; }
.note-line { min-height: 1.5em; margin-top: 12px; font-size: 14px; color: var(--iris); }
.note-line.rose { color: var(--rose); }

/* Business row in configurator */
.seg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dental-note { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.dental-note[hidden] { display: none; }

/* Tabs */
.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab { min-height: 52px; background: none; border: 0; color: var(--ink-2); font: 600 18px/1 var(--sans); letter-spacing: -.01em; padding: 0 4px; transition: color var(--t-quick); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:hover { color: var(--ink); }
.tab-line { position: absolute; bottom: -1px; left: 0; width: calc(100% / 3); height: 2px; background: var(--signal); transform: translateX(calc(var(--x, 0) * 100%)); transition: transform var(--t-move) var(--ease-io); }
.panels { display: grid; margin-top: 18px; }
.panel { grid-area: 1 / 1; visibility: hidden; padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.panel.on { visibility: visible; }
.panel .for { color: var(--ink); font-weight: 500; }
.panel .when { display: block; margin: 6px 0 12px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--signal-ink); text-transform: uppercase; }
.panel ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.panel li { position: relative; padding-left: 18px; }
.panel li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--line-hi); }
.panel li.sub { padding-left: 0; color: var(--ink-3); }
.panel li.sub::before { display: none; }
.panel .btn { min-height: 44px; font-size: 15px; }

/* Feature and add-on cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-hi); transition: border-color var(--t-quick), background var(--t-quick); }
.card.on { border-color: var(--signal); background: var(--surface-2); }
.card.wide { grid-column: 1 / -1; }
.card-hit { display: grid; grid-template-columns: 40px minmax(0, 1fr) 72px; gap: 4px 14px; align-items: start; text-align: left; width: 100%; padding: 16px 16px 14px; background: none; border: 0; border-radius: var(--r-md); color: inherit; flex: 1; }
.card-hit .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); grid-row: span 3; }
.card.on .card-hit .ic { background: var(--bg); color: var(--signal-ink); }
.card-hit .ic svg { width: 22px; height: 22px; }
.card-hit b { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; grid-column: 2; }
.card-hit .d { grid-column: 2 / 4; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.card-hit .tagl { grid-column: 2 / 4; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.state { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-hi); font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.state svg { width: 12px; height: 12px; }
.state svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 180ms var(--ease-out); }
.card.on .state { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.card.on .state svg path { stroke-dashoffset: 0; }
.card .proofl { display: block; margin: -4px 16px 14px 70px; font-size: 13px; color: var(--iris); text-decoration: none; }
.card .proofl:hover { text-decoration: underline; }
.card .sugg { position: absolute; right: 16px; bottom: 14px; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.card .rose { color: var(--rose); font-size: 13px; margin: -4px 16px 14px 70px; }
.card .fit-line { margin: -2px 16px 10px 70px; color: var(--ink); font-weight: 500; font-size: 15px; }
.card .fit-foot { margin: 0 16px 14px 70px; color: var(--ink-3); font-size: 12px; }
.fit-steps { display: flex; align-items: center; gap: 12px; margin: 0 16px 14px 70px; flex-wrap: wrap; }
.fit-steps[hidden] { display: none; }
.fit-steps span.lbl { font-size: 14px; color: var(--ink-2); }
.rounds { display: flex; gap: 6px; margin: 0 16px 12px 70px; flex-wrap: wrap; list-style: none; padding: 0; }
.rounds li { font: 500 11px/1 var(--mono); color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; }
.rounds b { color: #F5BE4F; font-weight: 500; margin-right: 4px; }
@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card-hit { grid-template-columns: 40px minmax(0, 1fr) 72px; }
}

/* Slider */
.slider-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.slider-top .val { font: 500 28px/1 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.slider-top .val small { font: 400 15px/1 var(--sans); color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.band-badge { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-hi); font: 500 13px/1 var(--mono); color: var(--signal-ink); white-space: nowrap; }
.range { position: relative; height: 44px; }
.range input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--signal) var(--fill, 0%), var(--surface-2) var(--fill, 0%)); }
.range input::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-2); }
.range input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--signal); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 4px solid var(--signal); box-shadow: 0 0 0 6px rgba(198, 244, 50, .12); transition: transform var(--t-instant); }
.range input:active::-webkit-slider-thumb { transform: scale(1.12); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--signal); }
.ticks { position: relative; height: 20px; margin-top: 2px; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }
.band-line { margin-top: 12px; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
.side-note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* Style picker */
.styles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.style-opt { display: flex; flex-direction: column; gap: 10px; text-align: left; padding: 12px; min-height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-hi); background: var(--surface); color: var(--ink); transition: border-color var(--t-quick), background var(--t-quick); }
.style-opt[aria-pressed="true"] { border-color: var(--signal); background: var(--surface-2); }
.style-opt .sw { display: flex; height: 34px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.style-opt .sw i { flex: 1; }
.style-opt .sw.none { border-style: dashed; align-items: center; justify-content: center; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.style-opt b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.style-opt span { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 1100px) { .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-hi); background: var(--surface); color: var(--ink); font: 500 20px/1 var(--mono); display: grid; place-items: center; }
.stepper button[aria-disabled="true"] { opacity: .35; cursor: default; }
.stepper input { width: 3.2ch; height: 44px; border: 0; background: none; text-align: center; font: 500 22px/1 var(--mono); color: var(--ink); -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .v-in { display: inline-block; transition: transform var(--t-quick) var(--ease-out); }

/* Care */
.care-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.upd { display: flex; align-items: center; gap: 14px; }
.upd .lbl { font-size: 15px; color: var(--ink); }
.bill { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-hi); }
.bill button { min-width: 96px; min-height: 40px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: background var(--t-quick) var(--ease-snap), color var(--t-quick); }
.bill button[aria-checked="true"] { background: var(--signal); color: var(--on-signal); }
.bill-note { flex-basis: 100%; min-height: 1.4em; font-size: 14px; color: var(--ink-3); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plan { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line-hi); background: var(--surface); color: var(--ink-2); transition: border-color var(--t-quick), background var(--t-quick); }
.plan[aria-checked="true"] { border-color: var(--signal); background: var(--surface-2); }
.plan .pl-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan b { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-hi); flex: none; transition: border var(--t-quick); }
.plan[aria-checked="true"] .radio { border: 6px solid var(--signal); }
.plan .fits { font: 500 11px/1.3 var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.plan .upn { font: 500 14px/1 var(--mono); color: var(--signal-ink); }
.plan > span { display: block; }
.plan .pl-h { display: flex; }
.plan .priced-only { display: none; }
body[data-prices="range"] .plan .priced-only { display: block; }
.plan .pline { font-size: 14px; color: var(--ink); line-height: 1.4; }
.plan .ul { margin: 4px 0 0; display: grid; gap: 6px; font-size: 13px; line-height: 1.4; }
.plan .li { display: block; padding-left: 14px; position: relative; }
.plan .li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-hi); }
.care-fine { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }
.care-fine b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }

/* Summary */
/* The rail sits clear of the sticky header (72px) and, on pages that have one, the sub-menu (59px),
   with a gap above and below so every edge and corner of the card shows. It is sized to fit without
   its own scrollbar; overflow stays only as a safety net for short windows and the open form. */
.plan-wrap { --rail-top: 88px; position: sticky; top: var(--rail-top); }
body:has(.subnav) .plan-wrap { --rail-top: 147px; }
@media (min-width: 1024px) { .summary { max-height: calc(100vh - var(--rail-top) - 16px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent; } }
.summary { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-hi); padding: 26px; overflow: hidden; }
.summary::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--signal); transform-origin: left; transform: scaleX(var(--done, 0)); transition: transform var(--t-move) var(--ease-out); }
.sum-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sum-h h3 { font-size: 22px; letter-spacing: -.02em; }
.status { margin-left: auto; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .06em; border: 1px solid var(--line-hi); color: var(--ink-2); }
.status.sent { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.sum-for { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.sheet-close { display: none; }

.total { margin-top: 20px; padding: 18px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.total-k { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.total-main { position: relative; display: flex; align-items: flex-end; gap: 14px; margin-top: 12px; min-height: 48px; }
.tier-word { font: 600 40px/1 var(--sans); color: var(--ink); letter-spacing: -.035em; min-width: 5.2ch; }
.tier-word.empty { font-size: 18px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; line-height: 1.3; min-width: 0; }
.size { display: flex; flex-direction: column; gap: 4px; margin-left: auto; text-align: right; }
.size small { font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.size .od { font-size: 28px; color: var(--signal-ink); }
.delta { position: absolute; right: 0; top: -14px; font: 500 12px/1 var(--mono); color: var(--signal-ink); opacity: 0; pointer-events: none; }
.delta.go { animation: delta 900ms var(--ease-out); }
@keyframes delta { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.underline { height: 2px; margin-top: 10px; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.underline.go { animation: sweep 600ms var(--ease-out); }
@keyframes sweep { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.meter { margin-top: 14px; }
.m-bar { position: relative; height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.m-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--signal) 70%, #000), var(--signal)); transform-origin: left; transform: scaleX(0); transition: transform var(--t-roll) var(--ease-roll); border-radius: 10px; }
.m-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(33.5% - 1px), var(--bg) calc(33.5% - 1px) 33.5%, transparent 33.5% calc(66.5% - 1px), var(--bg) calc(66.5% - 1px) 66.5%, transparent 66.5%); }
.m-ticks { display: grid; grid-template-columns: 33.5% 33% 1fr auto; margin-top: 8px; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.m-ticks span.on { color: var(--signal-ink); }
.weeks-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 14px; }
.weeks-row .od { font-size: 18px; color: var(--ink); }
.est { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.priced-only { display: none; }
body[data-prices="range"] .priced-only { display: block; }
body[data-prices="range"] .meter-only { display: none; }

.ns-say { display: flex; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--r-md); border: 1px solid rgba(166, 139, 255, .35); background: rgba(166, 139, 255, .06); }
.ns-av { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--iris); color: var(--bg); font: 600 11px/1 var(--mono); }
.ns-say p { font-size: 14px; color: var(--ink); min-height: 4.3em; }
.ns-say small { display: block; margin-top: 4px; font: 500 10px/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

.rows { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.rows dt { color: var(--ink-3); }
.rows dd { margin: 0; color: var(--ink); text-align: right; }
.list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--ink); padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.list li.empty { background: none; padding: 0; color: var(--ink-3); }
.list li .plus { color: var(--signal-ink); margin-right: 6px; font-family: var(--mono); }
.list button { background: none; border: 0; color: var(--ink-3); font-size: 13px; text-decoration: underline; padding: 6px 2px; min-height: 32px; }
.list button:hover { color: var(--rose); }
.list-k { margin-top: 16px; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }

.ends { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ends .why { font-size: 13px; color: var(--ink-3); min-height: 1.3em; }
.ends .sub { font-size: 13px; color: var(--ink-3); margin-top: -2px; }
.dep { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-hi); }
.dep .btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.dep span { font-size: 13px; color: var(--ink-3); }
.terms-short { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.form { display: none; gap: 10px; margin-top: 6px; }
.form.open { display: grid; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.form input, .form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-hi); background: var(--bg); color: var(--ink); font-size: 16px; }
.form textarea { min-height: 72px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--iris); outline-offset: 1px; border-color: var(--iris); }
.form .hint { font-size: 12px; color: var(--ink-3); }
.form .check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-size: 13px; }
.form .check input { width: 20px; min-height: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--signal); }
.form .err { color: var(--rose); font-size: 13px; min-height: 1.3em; }
.form .err:empty { min-height: 0; }
.form [hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 14px; min-height: 1.4em; color: var(--ink); }
.msg.bad { color: var(--rose); }
.msg b { color: var(--signal-ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--bar-h)); z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); transition: opacity var(--t-quick), transform var(--t-move) var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 9px; border: 0; background: var(--bg); color: var(--signal-ink); font-weight: 600; }

/* Phone bar and sheet */
.pbar { display: none; }
.scrim { display: none; }
@media (max-width: 1023px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .steps { padding-left: 18px; }
  .plan-wrap { position: static; }
  .summary-host { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 88vh; overflow: auto; transform: translateY(105%); transition: transform var(--t-move) var(--ease-out); visibility: hidden; overscroll-behavior: contain; }
  .summary-host.open { transform: none; visibility: visible; }
  .summary-host .summary { border-radius: 22px 22px 0 0; border-bottom: 0; padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); }
  .summary-host .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line-hi); margin: 0 auto 14px; }
  .sheet-close { display: inline-flex; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-hi); background: none; color: var(--ink); font-size: 14px; align-items: center; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(5, 3, 8, .6); opacity: 0; pointer-events: none; transition: opacity var(--t-move); }
  .scrim.open { opacity: 1; pointer-events: auto; }
  .pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: calc(76px + env(safe-area-inset-bottom)); padding: 0 16px env(safe-area-inset-bottom); background: rgba(23, 18, 31, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 2px solid var(--signal); transform: translateY(110%); transition: transform var(--t-move) var(--ease-out); }
  .pbar.show { transform: none; }
  .pbar .pb-l { flex: 1; min-width: 0; }
  .pbar .pb-k { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); }
  .pbar .pb-t { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
  .pbar .pb-t b { font: 600 22px/1 var(--sans); color: var(--ink); letter-spacing: -.02em; min-width: 4.6ch; }
  .pbar .pb-m { flex: 1; max-width: 120px; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
  .pbar .pb-m i { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); transition: transform var(--t-roll) var(--ease-roll); }
  .pbar .pb-s { margin-top: 5px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pbar .btn { min-height: 44px; padding: 10px 18px; flex: none; }
}

/* Delivered tickets */
.delivered { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tk { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 26px 24px 22px; }
.tk::before { content: ''; position: absolute; left: 22px; right: 22px; top: 54px; border-top: 1px dashed var(--line); }
.tk::after { content: ''; position: absolute; left: -9px; right: -9px; top: 45px; height: 18px; background: radial-gradient(circle at 0 50%, var(--surface-2) 8px, transparent 9px) left / 50% 100% no-repeat, radial-gradient(circle at 100% 50%, var(--surface-2) 8px, transparent 9px) right / 50% 100% no-repeat; pointer-events: none; }
.tk-top { display: flex; align-items: center; gap: 10px; height: 20px; font: 500 12px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.tk-top .k { margin-left: auto; }
.stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--signal-ink); }
.stamp svg { width: 16px; height: 16px; }
.tk-who { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.mono { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--mono); }
img.mono.logo { display: block; object-fit: contain; background: none; }
.tk h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.tk .sub { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.tk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border-radius: 12px; overflow: hidden; }
.tk-stats div { background: var(--bg); padding: 12px; }
.tk-stats i { display: block; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); font-style: normal; }
.tk-stats b { display: block; margin-top: 8px; font: 500 22px/1 var(--mono); color: var(--ink); }
.tk-stats div:nth-child(2) b { color: var(--signal-ink); }
.tk-stats span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.tk-res { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.tk-res .live { font: 600 11px/1 var(--mono); letter-spacing: .1em; padding: 5px 8px; border-radius: 6px; background: rgba(198, 244, 50, .12); color: var(--signal-ink); }
.tk-res .concept { background: rgba(166, 139, 255, .14); color: var(--iris); }
.tk-legs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.tk-legs li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.tk-legs li.more { display: none; }
.tk.open .tk-legs li.more { display: grid; }
.tk-legs b { color: var(--ink); font-size: 14px; font-weight: 600; }
.tk-legs em { font-style: normal; color: var(--ink-3); font-size: 13px; margin-left: 6px; font-weight: 400; }
.tk-legs small { grid-column: 1; font-size: 12px; color: var(--ink-3); }
.tk-legs .done { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal-ink); }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.tk-foot button { background: none; border: 0; color: var(--ink-2); font-size: 14px; text-decoration: underline; padding: 8px 0; min-height: 44px; }
.tk-foot a { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--signal); padding: 8px 0; }
.wall-count { display: none; font: 500 12px/1 var(--mono); color: var(--ink-3); margin-bottom: 14px; }
@media (max-width: 860px) {
  .wall { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .wall::-webkit-scrollbar { display: none; }
  .tk { flex: 0 0 86%; scroll-snap-align: center; }
  .wall-count { display: block; }
}

/* How a project runs */
.runs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.run { padding: 24px 22px 0 0; position: relative; }
.run::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }
.run i { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); font-style: normal; }
.run h3 { font-size: 24px; margin: 10px 0 8px; }
.run p { font-size: 15px; }
.rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.rules span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--ink); font-size: 14px; }
@media (max-width: 860px) { .runs { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 480px) { .runs { grid-template-columns: 1fr; } }

/* Crew */
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mate { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.ava { flex: none; position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--mono); }
.ava::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); border: 2px solid var(--surface); animation: pulse 4s ease-in-out infinite; }
.mate b { color: var(--ink); font-size: 16px; }
.role { display: block; margin: 3px 0 6px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; color: var(--iris); }
.role.lead { color: var(--signal-ink); }
.mate p { font-size: 14px; }
.crew-fine { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) { .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .crew { grid-template-columns: 1fr; } }

/* Final endings */
section.final { text-align: center; padding: 110px 0; border-top: 1px solid var(--line); overflow: hidden; }
section.final::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); pointer-events: none; }
.final h2 { position: relative; font-size: clamp(40px, 6vw, 84px); letter-spacing: -.045em; line-height: 1; margin: 14px 0 18px; }
.final p { position: relative; max-width: 36em; margin: 0 auto 30px; }
.final .pair { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.final .pair .btn { min-width: 240px; }
.final .dep-note { position: relative; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 600px) { .final .pair { grid-template-columns: 1fr; width: 100%; } .final .pair .btn { min-width: 0; } }

footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
footer a { display: block; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
footer a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Odometer */
.od { display: inline-flex; font-family: var(--mono); font-variant-numeric: tabular-nums; line-height: 1.1; height: 1.1em; overflow: hidden; vertical-align: bottom; }
.od .d { display: inline-block; width: 1ch; height: 1.1em; overflow: hidden; }
.od .d > span { display: flex; flex-direction: column; transform: translateY(calc(var(--v, 0) * -1.1em)); transition: transform var(--t-roll) var(--ease-roll); transition-delay: var(--dl, 0ms); }
.od .d > span > span { height: 1.1em; }
.od .c { display: inline-block; white-space: pre; }
.stage.swap .bp-site, .stage.swap .bp-chips li, .stage.swap .bp-map .pin { transition: none !important; }
@media (max-width: 480px) { .m-ticks { font-size: 10px; } .top nav .btn { padding: 10px 12px; font-size: 14px; } }


/* ===== Design pass c-v3: light studio, built from the productized studio study (Mary A.1 to A.6) ===== */
/* Hero headline: ink type with a lime marker stroke (Designjoy-style highlighter on paper). */
.hero h1 .ln-b { color: var(--ink); }
.hero h1 .ln-b .w { background: linear-gradient(transparent 58%, var(--signal) 58%, var(--signal) 92%, transparent 92%); padding: 0 .04em; }
.hero h1 { font-weight: 650; }
.chip.ghost { border-style: dashed; color: var(--ink-2); }

/* Marquee band (Dennis Snellenberg's reversing name marquee). */
.marq { background: var(--ink); color: #F3F1EA; overflow: hidden; border-block: 1px solid var(--ink); margin-top: 72px; }
.marq-t { display: flex; width: max-content; animation: marq 600s linear infinite; }
.marq-t.rev { animation-direction: reverse; }
.marq:hover .marq-t { animation-play-state: paused; }
.marq-t > div { display: flex; align-items: center; padding: 20px 0; white-space: nowrap; }
.mq { --ic-bg: var(--ink); display: inline-flex; align-items: center; gap: 14px; padding: 0 30px; border-right: 1px solid #2A2E33; }
.mq .mq-ic { flex: none; width: 40px; height: 40px; color: #F3F1EA; }
.mq-t { display: grid; gap: 7px; }
.mq-t b { font: 600 clamp(19px, 2vw, 26px)/1 var(--sans); letter-spacing: -.02em; color: #F3F1EA; }
.mq-t em { font: 400 12px/1.2 var(--mono); font-style: normal; letter-spacing: .02em; color: #A9AEA6; }
@media (max-width: 699px) { .mq { gap: 10px; padding: 0 20px; } .mq .mq-ic { width: 32px; height: 32px; } .mq-t em { font-size: 11px; } }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq-t { animation: none; } }

/* Step 1: search, industries, kinds. */
.biz-search { position: relative; margin: 6px 0 18px; }
.biz-search input { width: 100%; min-height: 54px; padding: 14px 18px 14px 46px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23121416' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px 50%; font-size: 17px; color: var(--ink); }
.biz-search input:focus { outline: 3px solid var(--signal); outline-offset: 2px; }
.biz-search input::placeholder { color: var(--ink-3); }
.biz-sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--ink); border-radius: 18px; padding: 6px; box-shadow: 0 18px 40px -18px rgba(18,20,22,.35); }
.biz-sugg[hidden] { display: none; }
.biz-sugg button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: none; border-radius: 12px; text-align: left; }
.biz-sugg button:hover, .biz-sugg button:focus-visible { background: var(--signal); outline: none; }
.biz-sugg b { color: var(--ink); font-weight: 600; }
.biz-sugg span { color: var(--ink-3); font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.biz-sugg .own { border-top: 1px dashed var(--line-hi); border-radius: 0 0 12px 12px; }
.biz-k { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 10px; }
.biz-k[hidden], .sec-chips[hidden] { display: none; }
.sec-chips .chip { min-height: 40px; padding: 8px 14px; font-size: 14px; background: var(--surface); }
.sec-chips .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sec-chips .chip[aria-pressed="true"]::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }
.biz-own { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--signal); color: var(--on-signal); font-size: 15px; }
.biz-own[hidden] { display: none; }
.biz-own b { font-weight: 650; }

/* Feature cards: picked = the black card, like Designjoy's plan card. */
.card { border-color: var(--line); box-shadow: 0 1px 0 rgba(18,20,22,.04); }
.card:hover { border-color: var(--ink-3); }
.card.on { background: var(--ink); border-color: var(--ink); }
.card.on .card-hit b { color: #fff; }
.card.on .card-hit .d { color: #C9CCC4; }
.card.on .card-hit .tagl { color: #8E938A; }
.card.on .card-hit .ic { background: #23262A; border-color: #2E3236; color: var(--signal); }
.card.on .proofl { color: var(--signal); }
.card.on .fit-line { color: #fff; }
.card.on .fit-foot, .card.on .rounds { color: #A9AEA6; }

/* The plan: a black card with lime numbers (Designjoy plan card), reassurance beside the price. */
.summary {
  --surface: #17191C; --surface-2: #1F2226; --bg: #121416; --ink: #F3F1EA; --ink-2: #C9CCC4; --ink-3: #8E938A;
  --line: #2A2E33; --line-hi: #3A3F45; --signal-ink: var(--signal); --iris: #A68BFF;
  background: var(--bg); color: var(--ink-2); border-color: #121416; box-shadow: 0 30px 60px -30px rgba(18,20,22,.5);
}
.summary .btn:not(.btn-lime) { background: transparent; color: var(--ink); border-color: var(--line-hi); }
.summary .form input, .summary .form textarea { background: #0B0C0E; }
/* Compact rail: everything in one view. Features and extras are chips, the two actions sit side by side. */
.summary { border-color: var(--line-hi); padding: 20px 22px; }
.summary .total { margin-top: 14px; padding: 14px 16px; }
.summary .total-main { margin-top: 8px; min-height: 44px; }
.summary .tier-word { font-size: 34px; }
.summary .tier-word.empty { font-size: 16px; }
.summary .meter { margin-top: 10px; }
.summary .weeks-row { margin-top: 10px; }
.summary .ns-say { margin-top: 12px; padding: 10px 12px; gap: 10px; }
.summary .ns-say p { font-size: 13px; line-height: 1.4; min-height: 2.8em; }
.summary .rows { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 13px; }
.summary .rows dd { text-align: left; margin-right: 12px; }
.summary #ext-k:has(+ #sum-extras > li.empty), .summary #sum-extras:has(> li.empty),
.summary #feat-k:has(+ #sum-features > li.empty), .summary #sum-features:has(> li.empty) { display: none; }
.summary .ends .msg:empty { display: none; }
.summary .list-k { margin-top: 12px; }
.summary .list { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.summary .list li { padding: 0 4px 0 10px; min-height: 30px; border-radius: 999px; gap: 2px; }
.summary .list li.empty { padding: 0; min-height: 0; }
.summary .list button { min-width: 26px; min-height: 30px; padding: 0; font-size: 16px; line-height: 1; text-decoration: none; }
.summary .ends { margin-top: 14px; padding-top: 12px; gap: 8px; }
.ends-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.ends-cta .btn { min-height: 46px; padding-left: 10px; padding-right: 10px; font-size: 15px; }
.ends-cta #call-btn { grid-column: 1; grid-row: 1; } .ends-cta #send-btn { grid-column: 2; grid-row: 1; }
.ends-cta #call-sub { grid-column: 1; grid-row: 2; } .ends-cta #send-sub { grid-column: 2; grid-row: 2; }
.ends-cta .sub { margin: 0; font-size: 12px; text-align: center; }
.summary .terms-short { font-size: 11.5px; line-height: 1.45; }
@media (min-width: 1024px) { .ends-cta { row-gap: 0; } .ends-cta .sub { display: none; } }
@media (min-width: 1024px) and (max-height: 860px) { .summary .ns-say { display: none; } }
@media (min-width: 1024px) and (max-height: 740px) { .summary .terms-short, .summary .sum-for { display: none; } .summary .total { padding: 12px 14px; } }
@media (max-width: 1023px) { .summary .list li { min-height: 36px; } .summary .list button { min-width: 34px; min-height: 36px; } }
.summary .status:not(.sent) { display: none; }
@media (min-width: 1024px) { .summary { overflow-y: auto; } }
/* Send my plan opens here, so the plan card keeps its size and nothing scrolls inside it. */
.lead-dlg {
  --surface: #17191C; --surface-2: #1F2226; --bg: #121416; --ink: #F3F1EA; --ink-2: #C9CCC4; --ink-3: #8E938A; --line: #2A2E33; --line-hi: #3A3F45; --iris: #A68BFF;
  width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 760px); margin: auto; padding: 0; border: 1px solid var(--line-hi); border-radius: 22px;
  background: var(--bg); color: var(--ink-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); overflow: hidden;
}
.lead-dlg[open] { display: flex; animation: dlg-in 260ms var(--ease-out); }
.lead-dlg::backdrop { background: rgba(18, 20, 22, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: dlg-fade 260ms ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes dlg-fade { from { opacity: 0; } to { opacity: 1; } }
.lead-dlg-in { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 24px; }
.lead-dlg-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.lead-dlg-h h3 { color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.lead-dlg-h p { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.lead-dlg-x { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-hi); background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.lead-dlg-x:hover { background: var(--surface-2); }
.lead-dlg .form { display: grid; margin-top: 0; }
.lead-dlg .form input, .lead-dlg .form textarea { background: #0B0C0E; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) {
  .lead-dlg { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .lead-dlg-in { padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); }
  .form-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lead-dlg[open], .lead-dlg::backdrop { animation: none; } }
@media (max-width: 420px) { .ends-cta { grid-template-columns: 1fr; } .ends-cta > * { grid-column: 1 !important; grid-row: auto !important; } }

/* Included with every build (ManyPixels strip). */
.incl { padding: 72px 0 24px; }
.incl h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; margin-bottom: 26px; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.incl li { display: flex; gap: 16px; align-items: baseline; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line-hi); color: var(--ink); font-size: 18px; font-weight: 500; }
.incl li b { font: 500 13px/1 var(--mono); color: var(--ink-3); }
@media (max-width: 860px) { .incl ul { grid-template-columns: 1fr; } }

/* Buttons: pill, ink outline, the lime fill only for the one main action. */
.btn { border-radius: 999px; }
.btn:not(.btn-lime) { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn:not(.btn-lime):hover { background: var(--ink); color: #fff; }

/* Proof strip: bigger numerals, less box. */
.proof { background: transparent; border: 0; border-top: 1.5px solid var(--ink); border-radius: 0; gap: 0; }
.proof > div { background: transparent; padding: 22px 24px 8px 0; }
.proof b { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.04em; }

.undecided { margin-top: 22px; color: var(--ink-2); font-size: 15px; }
.undecided b { color: var(--ink); }
@media (max-width: 640px) {
  #cfg-ind, #hero-biz { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scroll-snap-type: x proximity; }
  #cfg-ind::-webkit-scrollbar, #hero-biz::-webkit-scrollbar { display: none; }
  #cfg-ind .chip, #hero-biz .chip { flex: none; scroll-snap-align: start; }
  .biz-search input { font-size: 16px; }
}
.steps, .step, .hero-copy, .cfg-grid > * { min-width: 0; }

/* Plans: Basic, Premium, Partner (Linear and Vercel tier cards; Partner is the black card). */
.tiers-sec { padding: 96px 0 40px; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; align-items: stretch; margin-top: 36px; }
.pl { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform var(--t-quick) var(--ease-out), box-shadow var(--t-quick); }
.pl:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(18,20,22,.35); }
.pl.cur { outline: 2px solid var(--signal); outline-offset: 3px; }
.pl-kick { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--signal-ink); }
.pl h3 { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -.045em; line-height: 1; }
.pl-for { color: var(--ink-2); font-size: 16px; min-height: 3em; }
.pl-price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; color: var(--ink); }
.pl-price b { font: 600 40px/1 var(--mono); letter-spacing: -.04em; }
.pl-price.hid b { font: 600 20px/1.2 var(--sans); letter-spacing: -.01em; }
.pl-from, .pl-unit { font-size: 14px; color: var(--ink-3); }
.pl-mo { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.pl-mo b { font-family: var(--mono); color: var(--ink); }
.pl-go { align-self: stretch; justify-content: center; margin: 4px 0 6px; }
.pl-inc { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--line-hi); display: grid; gap: 9px; font-size: 15px; color: var(--ink); }
.pl-inc li { position: relative; padding-left: 24px; }
.pl-inc li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--signal-ink); border-bottom: 2px solid var(--signal-ink); transform: rotate(-45deg); }
.pl-inc li.sub { padding-left: 0; color: var(--ink-3); font-size: 13px; }
.pl-inc li.sub::before { display: none; }
.pl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); }
.pl-ex-l { font-size: 14px; color: var(--iris); text-decoration: none; border-top: 1px solid var(--line); padding-top: 12px; }
.pl-ex-l:hover { text-decoration: underline; }
.pl-run {
  --surface: #121416; --surface-2: #1F2226; --ink: #F3F1EA; --ink-2: #C9CCC4; --ink-3: #8E938A; --line: #2A2E33; --line-hi: #3A3F45; --signal-ink: var(--signal); --iris: #F3F1EA;
  background: var(--surface); border-color: #121416; color: var(--ink-2);
}
.pl-run .btn:not(.btn-lime) { color: var(--ink); border-color: var(--ink); }
.pl-dash { border-radius: 16px; background: #1A1D21; border: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; }
.pl-dh { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.pl-ex { padding: 3px 6px; border: 1px solid var(--line-hi); border-radius: 5px; }
.pl-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-kpis div { background: #121416; border-radius: 10px; padding: 10px; }
.pl-kpis b { display: block; font: 600 24px/1 var(--mono); color: var(--signal); }
.pl-kpis span { font-size: 12px; color: var(--ink-3); }
.pl-row { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: #121416; }
.pl-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,255,255,.06); animation: plpulse 2.4s ease-in-out infinite; }
.pl-row:nth-child(4) i { animation-delay: .8s; } .pl-row:nth-child(5) i { animation-delay: 1.6s; }
.pl-row b { color: var(--ink); font-weight: 500; }
.pl-row span { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.pl-row em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--signal); }
@keyframes plpulse { 50% { opacity: .35; } }
@media (max-width: 1100px) { .plans-grid { grid-template-columns: 1fr 1fr; } .pl-run { grid-column: 1 / -1; } }
@media (max-width: 720px) { .plans-grid { grid-template-columns: 1fr; } .tiers-sec { padding-top: 64px; } .pl-for { min-height: 0; } .pl-row { grid-template-columns: 10px 1fr auto; } .pl-row span { display: none; } }

/* ===== Wave 1 (c-v6): sentence picker, Goldsmith icons, no pills, no highlighter ===== */
.hero h1 .ln-b, .hero h1 .ln-b .w { background: none; color: var(--ink-3); padding: 0; }
.hero h1 { font-size: clamp(42px, 5vw, 72px); }

/* The sentence picker (Mad Libs form). Blanks are type, not buttons in boxes. */
.madlib { position: relative; margin: 26px 0 22px; }
.ml-line { font: 500 clamp(22px, 2.3vw, 32px)/1.55 var(--sans); letter-spacing: -.02em; color: var(--ink-2); max-width: 22em; }
.slot { display: inline-flex; align-items: center; gap: .32em; padding: 0 .06em; margin: 0 .04em; background: none; border: 0; border-bottom: 3px solid var(--signal); border-radius: 0; color: var(--ink); font: inherit; font-weight: 650; line-height: 1.25; cursor: pointer; transition: border-color var(--t-quick), color var(--t-quick); }
.slot:hover { color: var(--signal-ink); }
.slot:focus-visible { outline: 3px solid var(--iris); outline-offset: 4px; }
.slot-ic { display: inline-grid; width: 1.15em; height: 1.15em; color: var(--ink); }
.slot-ic .gi { width: 100%; height: 100%; }
.slot-c { width: .42em; height: .42em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-.12em) rotate(45deg); margin-left: .12em; opacity: .55; transition: transform var(--t-quick); }
.slot[aria-expanded="true"] .slot-c { transform: translateY(.08em) rotate(225deg); }
.slot.bump .slot-ic { animation: slotbump 520ms var(--ease-snap); }
@keyframes slotbump { 0% { transform: scale(.6) rotate(-12deg); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }

.ml-pop { position: absolute; z-index: 40; left: 0; top: calc(100% + 6px); width: min(640px, calc(100vw - 32px)); background: var(--surface); border: 1.5px solid var(--ink); border-radius: 22px; padding: 16px; box-shadow: 0 30px 60px -30px rgba(18,20,22,.45); opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: top left; transition: opacity 180ms, transform 220ms var(--ease-out); }
.ml-pop.on { opacity: 1; transform: none; }
.ml-pop[hidden] { display: none; }
.ml-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ml-tile, .ind-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 84px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1.5px solid transparent; color: var(--ink); font-size: 13.5px; font-weight: 550; line-height: 1.2; text-align: left; transition: background var(--t-quick), border-color var(--t-quick), transform var(--t-quick) var(--ease-out); }
.ml-tile:hover, .ind-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.ml-tile[aria-pressed="true"], .ind-tile[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); --ic-bg: var(--ink); }
.ml-tile.ghost, .ind-tile.ghost { background: transparent; border: 1.5px dashed var(--line-hi); }
.gic { display: inline-grid; place-items: center; }
.ml-tile .gic, .ind-tile .gic { width: 34px; height: 34px; }
.ml-tile .gi, .ind-tile .gi { width: 34px; height: 34px; }
.ml-kinds { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-hi); }
.ml-k { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.ml-kinds ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.ml-kinds button, .kind { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: 15px; text-align: left; break-inside: avoid; }
.ml-kinds button::before, .kind::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-hi); transition: background var(--t-quick), border-color var(--t-quick), box-shadow var(--t-quick); }
.ml-kinds button:hover::before, .kind:hover::before { border-color: var(--ink); }
.ml-kinds button[aria-pressed="true"], .kind[aria-pressed="true"] { font-weight: 650; }
.ml-kinds button[aria-pressed="true"]::before, .kind[aria-pressed="true"]::before { background: var(--signal); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--surface); }
.ml-own { display: flex; gap: 8px; margin-top: 12px; }
.ml-own input { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-hi); background: var(--bg); color: var(--ink); font-size: 16px; }
.ml-own input:focus { outline: 2px solid var(--signal); border-color: var(--ink); }
.ml-own button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-weight: 600; }
.ml-pop-plan { width: min(520px, calc(100vw - 32px)); left: var(--x, 0); padding: 8px; }
.ml-plan { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 14px; border: 0; border-radius: 14px; background: none; text-align: left; color: var(--ink); }
.ml-plan:hover { background: var(--surface-2); }
.ml-goal-k { margin: 6px 14px 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.ml-goal { padding: 10px 14px; align-items: center; }
.ml-goal .gic, .ml-goal .gi { width: 32px; height: 32px; }
.ml-goal b { font-size: 16px; }
.ml-plan[aria-pressed="true"] { background: var(--ink); color: #fff; --ic-bg: var(--ink); }
.ml-plan .gic, .ml-plan .gi { width: 40px; height: 40px; flex: none; }
.ml-plan b { display: block; font-size: 17px; font-weight: 650; }
.ml-plan small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.ml-plan[aria-pressed="true"] small { color: #C9CCC4; }
@media (max-width: 640px) {
  .ml-line { font-size: 22px; }
  .ml-pop { position: fixed; left: 12px !important; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 78vh; overflow-y: auto; transform-origin: bottom center; }
  .ml-tiles { grid-template-columns: repeat(3, 1fr); }
  .ml-kinds ul { columns: 1; }
}

/* Step 1 industry tiles and kinds list (no pills). */
#cfg-ind { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; flex-wrap: initial; overflow: visible; margin-right: 0; padding-right: 0; }
.ind-tile { position: relative; min-height: 96px; background: var(--surface); border-color: var(--line); }
.ind-tile::after { display: none; }
.sec-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 18px; }
.kind.ghost { color: var(--ink-3); border-bottom-style: dashed; }
.kind.ghost::before { border-style: dashed; }
@media (max-width: 640px) { #cfg-ind { grid-template-columns: repeat(2, 1fr); } .sec-chips { grid-template-columns: 1fr; } }

/* Preview build log replaces the pill row. */
.bp-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; flex-wrap: initial; }
.bp-chips li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; border-radius: 0; background: none; border-bottom: 1px dashed var(--line); font-size: 12.5px; min-width: 0; }
.bp-chips li::before { display: none; }
.bp-chips li .gic, .bp-chips li .gi { width: 18px; height: 18px; flex: none; }
.bp-chips li b { font-weight: 550; overflow: hidden; text-overflow: ellipsis; }
.bp-chips li em { margin-left: auto; font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--signal-ink); white-space: nowrap; }
.bp-chips li.more b { color: var(--ink-3); font-weight: 500; }
@media (max-width: 640px) { .bp-chips { grid-template-columns: 1fr; } .bp-chips li:nth-child(n+3) { display: none; } }

/* Plans and cards pick up the icons. */
.pl-top { display: flex; align-items: center; gap: 12px; }
.pl-ic, .pl-ic .gi { width: 44px; height: 44px; }
.pl-run { --ic-bg: #121416; }
.card-hit .ic.gic { width: 44px; height: 44px; }
.card-hit .ic .gi { width: 28px; height: 28px; }
.card.on { --ic-bg: #23262A; }

/* ===== Icon motion (Goldsmith). Each icon has one moving part; hover or pick plays it. ===== */
.gi .a { fill: var(--signal); }
.gi .ak { stroke: var(--signal); }
.gi .m, .gi .e, .gi .p1, .gi .p2, .gi .p3, .gi .s, .gi .f, .gi .t1, .gi .t2, .gi .t3, .gi .sh { transform-box: fill-box; transform-origin: center; }
.gi .d { stroke-dasharray: 1; stroke-dashoffset: 0; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi, .slot.bump .gi, :is(.ml-tile[aria-pressed="true"], .ind-tile[aria-checked="true"]) .gi { --go: running; }
.gi * { animation-play-state: var(--go, paused); }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag):not(:hover, .gi-on) .gi * { animation: none; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="fitness"] .m { animation: lift 900ms var(--ease-io) infinite; }
@keyframes lift { 0%, 100% { transform: none; } 45% { transform: translateY(-3px) rotate(-6deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="health"] .m { animation: twinkle 900ms ease-in-out infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="health"] .s { animation: twinkle 900ms 300ms ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.5) rotate(45deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="food"] .m { animation: bob 700ms ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: none; } 50% { transform: translateY(-2.5px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="retail"] .m { transform-origin: 50% 0; animation: swing 900ms var(--ease-io) infinite; }
@keyframes swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(8deg); } 70% { transform: rotate(-6deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="home"] .m { animation: smoke 1200ms ease-out infinite; }
@keyframes smoke { 0% { transform: translate(0, 2px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(2px, -3px); opacity: 0; } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="pro"] .m { animation: lid 800ms var(--ease-io) infinite; }
@keyframes lid { 0%, 100% { transform: none; } 50% { transform: translateY(-2px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="education"] .m { transform-origin: 50% 0; animation: swing 1000ms var(--ease-io) infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="events"] .m { animation: tilt 900ms var(--ease-io) infinite; }
@keyframes tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg) scale(1.04); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="tech"] .m { animation: launch 900ms var(--ease-io) infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="tech"] .f { transform-origin: 50% 0; animation: flame 220ms ease-in-out infinite alternate; }
@keyframes launch { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes flame { from { transform: scaleY(.7); } to { transform: scaleY(1.25); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="community"] .m { animation: beat 900ms ease-in-out infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="senior"] .m { transform-origin: 50% 100%; animation: gi-flame 1100ms ease-in-out infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="senior"] .s { animation: twinkle 1400ms ease-in-out infinite; }
@keyframes gi-flame { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.08, 1.16) rotate(-4deg); } 65% { transform: scale(.95, 1.06) rotate(4deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.98); } 45% { transform: scale(1.08); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="other"] .m { animation: spin 2400ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="plan_launch"] .m { animation: click 900ms var(--ease-io) infinite; }
@keyframes click { 0%, 100% { transform: none; } 40% { transform: translate(-3px, -2px); } 55% { transform: translate(-3px, -2px) scale(.85); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="plan_grow"] .m { animation: slide 1000ms var(--ease-io) infinite; }
@keyframes slide { 0%, 100% { transform: none; } 50% { transform: translate(2px, 2px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi .d { animation: draw 900ms var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi :is(.b1, .b2, .b3) { transform-origin: 50% 100%; animation: grow 900ms var(--ease-out) both; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi .b2 { animation-delay: 90ms; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi .b3 { animation-delay: 180ms; }
@keyframes grow { from { transform: scaleY(.25); } to { transform: none; } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="search"] .m { animation: sweep 1100ms var(--ease-io) infinite; }
@keyframes sweep { 0%, 100% { transform: none; } 33% { transform: translate(-2px, -1px); } 66% { transform: translate(2px, -2px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="card"] .m { animation: swipe 900ms var(--ease-io) infinite; }
@keyframes swipe { 0%, 100% { transform: none; } 50% { transform: translateX(3px) rotate(-4deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="user"] .m { animation: nod 900ms var(--ease-io) infinite; }
@keyframes nod { 0%, 100% { transform: none; } 50% { transform: translateY(-1.5px) rotate(-8deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="msg"] :is(.t1, .t2, .t3) { animation: type 900ms ease-in-out infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="msg"] .t2 { animation-delay: 150ms; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="msg"] .t3 { animation-delay: 300ms; }
@keyframes type { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-2.5px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="star"] .m { animation: spinin 900ms var(--ease-snap) both; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="star"] .s { animation: twinkle 900ms ease-in-out infinite; }
@keyframes spinin { from { transform: rotate(-72deg) scale(.8); } to { transform: none; } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="bot"] .e { animation: blink 1600ms ease-in-out infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="bot"] .m { animation: twinkle 800ms ease-in-out infinite; }
@keyframes blink { 0%, 40%, 50%, 100% { transform: none; } 45% { transform: scaleY(.1); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="pages"] .p1 { transform-origin: 0 100%; animation: fan1 900ms var(--ease-out) both; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="pages"] .p3 { animation: fan3 900ms var(--ease-out) both; }
@keyframes fan1 { to { transform: rotate(-8deg) translateX(-1px); } }
@keyframes fan3 { to { transform: translate(2px, -1px) rotate(6deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="loop"] .m { animation: spin 1600ms linear infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="pin"] .m { animation: drop 900ms var(--ease-io) infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="pin"] .sh { animation: shadow 900ms var(--ease-io) infinite; }
@keyframes drop { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes shadow { 0%, 100% { transform: none; } 50% { transform: scaleX(.6); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="team"] .m { animation: lid 900ms var(--ease-io) infinite; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="mark"] .m { animation: spinin 900ms var(--ease-snap) both; }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="bolt"] .m { animation: flash 500ms steps(2, jump-none) infinite; }
@keyframes flash { 0% { opacity: 1; } 50% { opacity: .35; } 100% { opacity: 1; } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="fist"] .m { animation: jab 700ms var(--ease-io) infinite; }
@keyframes jab { 0%, 100% { transform: none; } 35% { transform: translateX(3.5px) rotate(4deg); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="crm"] .m { animation: gi-stage 1500ms var(--ease-io) infinite; }
@keyframes gi-stage { 0%, 12% { transform: translateX(-9px); } 38%, 62% { transform: none; } 88%, 100% { transform: translateX(9px); } }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi[data-i="tag"] .m { transform-origin: 22% 22%; animation: gi-tag 1300ms var(--ease-io) infinite; }
@keyframes gi-tag { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-11deg); } 65% { transform: rotate(7deg); } }
/* Finish: the accent shape is a soft three-stop gradient instead of a flat fill, and it glows while its icon
   plays. Icons also play once as they scroll into view (main.js adds .gi-on), so touch screens see the motion. */
.gi .a { fill: url(#gi-g) var(--signal); transition: filter 420ms var(--ease-out); }
.gi .g1 { stop-color: color-mix(in srgb, var(--signal) 58%, #fff); } .gi .g2 { stop-color: var(--signal); } .gi .g3 { stop-color: color-mix(in srgb, var(--signal) 76%, #4A1238); }
:is(.ml-tile, .ind-tile, .card, .pl, .ml-plan, .slot, .ag, .mn-link, .mn-plan):is(:hover, .gi-on) .gi .a { filter: drop-shadow(0 0 2.4px color-mix(in srgb, var(--signal) 62%, transparent)); }
@media (prefers-reduced-motion: reduce) { .gi .a { transition: none; } }
@media (prefers-reduced-motion: reduce) { .gi * { animation: none !important; } .slot.bump .slot-ic { animation: none; } }
.ml-tile { --ic-bg: var(--surface-2); } .ind-tile, .pl { --ic-bg: var(--surface); } .card-hit .ic { --ic-bg: var(--surface-2); }
.ml-tile[aria-pressed="true"], .ind-tile[aria-checked="true"], .card.on .card-hit .ic { --ic-bg: #23262A; }
.ind-tile[aria-checked="true"] { --ic-bg: var(--ink); }
/* c-v6 fixes: the hero must not clip the picker; blanks wrap like words. */
.hero { overflow: visible; }
.hero::before, .hero::after { pointer-events: none; }
.slot { display: inline; padding: 0; border: 0; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.slot-ic { display: inline-block; vertical-align: -.16em; margin-right: .22em; }
.slot-c { display: inline-block; vertical-align: .12em; }
.ml-tiles { grid-template-columns: repeat(3, 1fr); }
.ml-tile { flex-direction: row; align-items: center; min-height: 54px; padding: 8px 12px; gap: 10px; }
.ml-tile .gic, .ml-tile .gi { width: 28px; height: 28px; flex: none; }
.ml-kinds ul { columns: 3; }
.ml-kinds button { font-size: 14px; padding: 7px 2px; }
@media (max-width: 640px) { .ml-tiles { grid-template-columns: 1fr 1fr; } .ml-kinds ul { columns: 1; } }
/* Logo mark (Goldsmith). The header link plays the build when hovered anywhere on it. */
.logo-m { display: inline-grid; width: 40px; height: 40px; flex: none; }
.logo-m svg { width: 40px; height: 40px; overflow: visible; }
.logo:hover .logo-m { --hov: 1; }

/* ===== Palette: pink (c-v6, Jay approved 2026-11-03). Overrides the tokens above. ===== */
/* c-v6 pink, no highlighter: hot pink on pink-tinted paper, black cards with pink numbers. Prices hidden. */
:root { --bg:#FBF5F6; --surface:#FFFFFF; --surface-2:#F7ECEF; --line:#EEDDE2; --line-hi:#D6B9C2; --ink-2:#4E474B; --ink-3:#7A6F75;
  --signal:#FF4F9A; --on-signal:#121416; --signal-ink:#C2185B; --iris:#7A3CF0; --mark:#FFB8D6; --grid:rgba(194,24,91,.05); }
.btn-lime:hover { background:#FF6EAD; border-color:#FF6EAD; }
.scan { box-shadow: 0 0 18px 2px rgba(255,79,154,.5); }
.marq-t i { color: var(--signal); }
.chip[aria-checked="true"] { color:#121416; }
.summary, .pl-run { --signal-ink: var(--signal); }

/* ===== Pages (2026-11-03): each tab is its own page, built from the same partials. ===== */
.sec-h h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -.04em; margin-top: 12px; }
.top .mn-top[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--signal); }
body:not([data-page="home"]) main > section:first-child { border-top: 0; }
[data-page="crew"] #crew { padding-top: 96px !important; }
@media (max-width: 720px) { [data-page="crew"] #crew { padding-top: 56px !important; } }
.care-solo .step-n { display: none; }
.care-solo .step { border-left: 0; padding-left: 0; }
.faq { border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq details[open] { border-color: var(--ink-3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font: 600 18px/1.3 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 26px/1 var(--mono); color: var(--signal-ink); transition: transform var(--t-quick); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; border-radius: 8px; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 68ch; }

/* ===== Crew portraits (Goldsmith) and "Your agents" ===== */
.mate { transition: border-color var(--t-quick), transform var(--t-quick) var(--ease-out), box-shadow var(--t-quick); outline: none; }
.mate:hover, .mate:focus-visible { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(18,20,22,.45); }
.mate:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; }
.ava.has-art { width: 60px; height: 60px; padding: 0; border-radius: 17px; flex: none; }
.ava.has-art::after { display: none; }
.ca { width: 60px; height: 60px; overflow: visible; display: block; }
.ca * { transform-box: fill-box; transform-origin: center; }
.ca .ca-d { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ca .ca-k { opacity: 0; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca .ca-d { animation: ca-draw 1.1s var(--ease-out) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-hop { transform-origin: 50% 100%; animation: ca-hop 1.2s cubic-bezier(.45,0,.4,1) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-swing { transform-box: view-box; transform-origin: 32px 14px; animation: ca-swing 1.4s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-b1 { animation: ca-b1 1.4s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-b2 { animation: ca-b2 1.4s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-b3 { animation: ca-b3 1.4s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-cur { animation: ca-cur 1.4s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-lens { animation: ca-lens 1.3s var(--ease-io) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-drop { transform-origin: 50% 100%; animation: ca-drop 1.2s cubic-bezier(.45,0,.4,1) both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-k { animation: ca-k 1.2s ease-out both; }
:is(.mate:hover, .mate:focus-visible, .mn-who:hover) .ca-nib { transform-box: view-box; animation: ca-nib 1.1s var(--ease-out) both; }
@keyframes ca-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ca-hop { 0% { transform: none; } 12% { transform: scale(1.35, .65); } 35% { transform: translateY(-9px) scale(.8, 1.25); } 58% { transform: scale(1.5, .55); } 72% { transform: translateY(-3px) scale(.92, 1.08); } 86% { transform: scale(1.12, .9); } 100% { transform: none; } }
@keyframes ca-swing { 0% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 65% { transform: rotate(14deg); } 100% { transform: rotate(0); } }
@keyframes ca-b1 { 0%, 100% { transform: none; } 35%, 70% { transform: translateX(18px) scale(.94); } }
@keyframes ca-b2 { 0%, 100% { transform: none; } 35%, 70% { transform: translateX(-18px) translateY(10px); } }
@keyframes ca-b3 { 0%, 100% { transform: none; } 35%, 70% { transform: translateX(-18px) translateY(-10px); } }
@keyframes ca-cur { 0%, 100% { transform: none; } 25% { transform: translate(-18px, -12px); } 35% { transform: translate(-18px, -12px) scale(.85); } 70% { transform: translate(-4px, -4px); } }
@keyframes ca-lens { 0% { transform: none; } 25% { transform: translate(-14px, -18px); } 50% { transform: translate(-6px, -12px); } 75% { transform: translate(-14px, -6px); } 100% { transform: none; } }
@keyframes ca-drop { 0% { transform: none; } 30% { transform: translateY(-12px) scale(.94, 1.08); } 55% { transform: translateY(1px) scale(1.18, .78); } 70% { transform: scale(.96, 1.05); } 100% { transform: none; } }
@keyframes ca-k { 0%, 50% { opacity: 0; } 60% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ca-nib { from { transform: translate(-36px, 24px) rotate(-30deg); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ca * { animation: none !important; } }

.agents { padding-top: 24px; }
.agents-box { border-radius: 28px; background: #121416; color: #C9CCC4; padding: clamp(24px, 4vw, 48px);
  --surface: #17191C; --surface-2: #1F2226; --ink: #F3F1EA; --ink-2: #C9CCC4; --ink-3: #8E938A; --line: #2A2E33; --line-hi: #3A3F45; --signal-ink: var(--signal); --ic-bg: #1F2226; }
.agents-box .sec-h h2 { color: #F3F1EA; font-size: clamp(30px, 3.9vw, 54px); } .agents-box .sec-h p { color: #C9CCC4; }
.agents-box .kick { color: var(--signal); }
.agents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 28px; }
.ag { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 18px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); font: inherit; text-decoration: none; transition: border-color var(--t-quick), transform var(--t-quick) var(--ease-out), background var(--t-quick); }
.ag:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.ag:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.ag.on { border-color: var(--signal); background: #22181D; }
.ag-top { display: flex; justify-content: space-between; align-items: center; }
.ag .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); }
.ag .ic .gi { width: 28px; height: 28px; }
.ag b { font-size: 17px; font-weight: 650; color: #F3F1EA; }
.ag-do { font-size: 14px; line-height: 1.45; color: #C9CCC4; }
.ag-ex { font: 500 11.5px/1.4 var(--mono); color: #8E938A; margin-top: auto; padding-top: 6px; }
.ag-st { font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-hi); color: #F3F1EA; }
.ag.on .ag-st { background: var(--signal); border-color: var(--signal); color: #121416; }
.ag-own { border-style: dashed; }
.ag:hover .gi, .ag.on .gi { --go: running; }
.agents-cta { display: grid; justify-items: start; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-hi); }
.agents-cta #agents-line { color: #F3F1EA; font-size: 17px; font-weight: 500; }
.agents-cta .pair { display: flex; flex-wrap: wrap; gap: 10px; }
.agents-cta .btn:not(.btn-lime) { color: #F3F1EA; border-color: #F3F1EA; }
.agents-cta .btn:not(.btn-lime):hover { background: #F3F1EA; color: #121416; }
.agents-cta .dep-note { font-size: 13px; color: #8E938A; }

/* Phone menu (the tab links hide under 860px). */
.menu-btn { display: none; }
.top .m-menu[hidden] { display: none; }
@media (max-width: 859px) {
  .menu-btn { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: 8px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--surface); cursor: pointer; }
  .menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t-quick); }
  .menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
  .top .m-menu { position: fixed; z-index: 45; top: 60px; left: 0; right: 0; display: grid; gap: 0; padding: 8px 16px 24px; max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(18,20,22,.35); }
  .top .m-menu > a:not(.btn) { display: flex; align-items: center; min-height: 52px; padding: 0 8px; font: 600 22px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .top .m-menu a[aria-current="page"] { color: var(--signal-ink); }
  .top .m-menu > .btn { margin-top: 16px; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .top .logo b, .top .logo small { white-space: nowrap; }
  .top .logo small { display: none; }
  .top nav { gap: 8px; }
  .top nav .btn { min-height: 40px; padding: 8px 12px; font-size: 13.5px; white-space: nowrap; }
  .menu-btn { width: 40px; height: 40px; margin-left: 0; }
  .top .logo { gap: 8px; }
  .top .logo-m, .top .logo-m svg { width: 34px; height: 34px; }
  .top .logo b { font-size: 16px; }
  .top .clock { display: none; }
}
@media (max-width: 369px) { .top .logo span:not(.logo-m) { display: none; } }

/* Home: the ribbon opens the page, then a sticky sub-menu for the sections below. */
[data-page="home"] main > .marq:first-child { margin-top: 0; border-top: 0; }
[data-page="home"] .hero { padding-top: 40px; }
[data-page="home"] .hero-grid { align-items: start; }
.subnav { position: sticky; top: 72px; z-index: 39; background: rgba(250, 245, 246, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav.stuck { box-shadow: 0 10px 24px -18px rgba(18, 20, 22, .35); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; color: var(--ink-2); font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background var(--t-quick), color var(--t-quick), border-color var(--t-quick); }
.subnav a:hover { color: var(--ink); border-color: var(--line-hi); }
.subnav a[aria-current] { background: var(--ink); color: #fff; }
.subnav a:last-child { margin-left: auto; color: var(--signal-ink); font-weight: 600; }
.subnav a:last-child[aria-current] { background: var(--signal); color: var(--on-signal, #121416); }
.subnav a:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
html:has(#subnav) { scroll-padding-top: 140px; }
body[data-mode="fitness"] .subnav { background: rgba(250, 246, 242, .92); }
@media (max-width: 859px) {
  .subnav { top: 60px; }
  .subnav a { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .subnav a:last-child { margin-left: 0; }
  html:has(#subnav) { scroll-padding-top: 122px; }
  [data-page="home"] .hero { padding-top: 28px; }
}
/* The last slot and its period stay together; the slot leaves room for the period. */
.ml-end { white-space: nowrap; }
.ml-end .slot { display: inline-flex; align-items: flex-end; white-space: normal; max-width: calc(100% - .45em); text-align: left; vertical-align: bottom; }
.ml-end .slot-ic { flex: none; align-self: flex-start; margin-top: .14em; }
.ml-end .slot-t { min-width: 0; text-wrap: balance; }
@media (max-width: 600px) {
  .ml-line { font-size: min(22px, 5vw); }
  .ml-end .slot-t { white-space: nowrap; }
}
.ml-end .slot-c { flex: none; margin-bottom: .42em; margin-left: 0; }

/* Care plans: short cards in a 2 by 2 grid, details in one comparison table (same rows per plan). */
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan { gap: 10px; padding: 18px 18px 20px; }
.plan .fits { font-size: 11px; }
.plan .upn { display: flex; align-items: center; gap: 10px; font: inherit; color: var(--ink); }
.plan .upn-n { font: 600 34px/1 var(--mono); letter-spacing: -.04em; color: var(--signal-ink); }
.plan .upn-t { font: 500 11px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.plan .pline { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan .ul { display: none; }
.cmp { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.cmp summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cmp summary::-webkit-details-marker { display: none; }
.cmp summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--t-quick); }
.cmp[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.cmp-scroll { overflow-x: auto; padding: 0 6px 10px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.cmp th, .cmp td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: center; }
.cmp thead th { border-top: 0; font-size: 13px; font-weight: 650; color: var(--ink); }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.cmp td.num { font: 600 15px/1 var(--mono); color: var(--ink); }
.cmp td.y { color: var(--signal-ink); }
.cmp td.y svg { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.cmp td.n { color: var(--line-hi); }
.cmp .cur { background: color-mix(in srgb, var(--signal) 9%, transparent); }
.cmp thead .cur { color: var(--signal-ink); }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } .plan .upn-n { font-size: 28px; } }

/* ===== Draft card v2 (2026-11-03): flow layout, live widgets on the phone, feature tabs. ===== */
.stage { aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.bp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage .stage-k, .stage .bp-cap { position: static; }
.bp-cap { font: 500 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .04em; }
.bp-screens { position: relative; aspect-ratio: 16 / 10.4; }
.bp-screens .bp-browser { left: 0; top: 6%; width: 64%; }
.bp-screens .bp-phone { top: 0; right: 0; bottom: 0; width: auto; height: 100%; aspect-ratio: 9 / 15.4; border-radius: 22px; border: 1px solid var(--line-hi); background: #fff; container-type: inline-size; box-shadow: 0 24px 50px -30px rgba(18,20,22,.45); z-index: 2; }
.bp-screens .bp-phone::before { content: ''; position: absolute; z-index: 3; top: 3.2cqw; left: 50%; width: 26cqw; height: 5cqw; border-radius: 9cqw; background: #121416; transform: translateX(-50%); }
.bp-phone .bp-wg { position: absolute; inset: 0; }
.bp-phone .bp-wg > .wg { position: absolute; inset: 0; }

/* Widget base: everything sized from the phone's own width so it reads at any screen size. */
.wg { --a: var(--bp-acc, #FF4F9A); display: flex; flex-direction: column; gap: 3.6cqw; padding: 13cqw 7cqw 7cqw; font: 500 5.4cqw/1.3 var(--sans); color: #121416; background: #fff; text-align: left; }
.wg-h { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; font-weight: 700; font-size: 7cqw; letter-spacing: -.02em; line-height: 1.1; }
.wg-sub { color: #5B6068; font-size: 5cqw; }
.wg-note { color: #7A7F87; font-size: 4.4cqw; line-height: 1.35; margin-top: auto; }
.wg button { font: inherit; color: inherit; cursor: pointer; }
.wg-btn { margin-top: auto; min-height: 13cqw; border-radius: 99cqw; border: 0; background: #121416; color: #fff !important; font-weight: 650 !important; font-size: 5.2cqw !important; transition: transform 160ms var(--ease-out), opacity 160ms; }
.wg-btn:hover { transform: translateY(-1px); }
.wg-btn:active { transform: scale(.97); }
.wg-btn.ghost { background: transparent; color: #121416 !important; border: 1px solid #C9CCC4; }
.wg-btn:disabled { opacity: .45; cursor: default; }
.wg-pair { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5cqw; }
.wg-pair .wg-btn { margin-top: 0; }
.wg-rows { display: grid; gap: 1.6cqw; }
.wg-rows p { display: flex; justify-content: space-between; gap: 2cqw; padding: 2.6cqw 0; border-bottom: 1px solid #EEF0F2; font-size: 4.8cqw; }
.wg-rows span { color: #6B7078; } .wg-rows b { font-weight: 650; }
.wg-card { padding: 4cqw; border-radius: 4cqw; background: #F5F6F8; display: grid; gap: 1.6cqw; }
.wg-card small { color: #6B7078; font-size: 4.4cqw; } .wg-card b { font-size: 6cqw; letter-spacing: -.01em; }
.wg-bar { display: block; height: 2.4cqw; border-radius: 9cqw; background: #E3E5E8; overflow: hidden; }
.wg-bar i { display: block; height: 100%; background: var(--a); border-radius: inherit; transition: width 500ms var(--ease-out); }
.wg-sheet { position: absolute; left: 4cqw; right: 4cqw; bottom: 4cqw; padding: 5cqw; border-radius: 5cqw; background: #121416; color: #fff; display: grid; gap: 1cqw; transform: translateY(120%); transition: transform 380ms var(--ease-out); }
.wg-sheet b { font-size: 7cqw; } .wg-sheet b::before { content: '✓ '; color: var(--a); }
.wg-sheet small { color: #A9AEA6; font-size: 4.4cqw; }
.wg.done .wg-sheet { transform: none; }
.wg-toast { position: absolute; left: 7cqw; right: 7cqw; bottom: 24cqw; padding: 3cqw 4cqw; border-radius: 3cqw; background: #121416; color: #fff; font-size: 4.6cqw; opacity: 0; transform: translateY(8px); transition: opacity 240ms, transform 240ms; }
.wg.done .wg-toast { opacity: 1; transform: none; }
.wg-pipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.wg-pipe p { display: grid; gap: 1cqw; padding: 3cqw 2cqw; border-radius: 3.4cqw; background: #F5F6F8; text-align: center; }
.wg-pipe span { color: #6B7078; font-size: 4cqw; } .wg-pipe b { font-size: 8cqw; letter-spacing: -.02em; }
.wg-pipe p:last-child { background: color-mix(in srgb, var(--a) 22%, #fff); }
.wg-url { align-self: flex-start; padding: 1.4cqw 3cqw; border-radius: 99cqw; background: #F0F1F3; color: #5B6068; font: 500 4.2cqw/1.2 var(--mono); }
.wg-crm { gap: 2.6cqw; } .wg-crm .wg-rows p { padding: 1.6cqw 0; } .wg-crm .wg-pipe b { font-size: 7cqw; }
.wg-offer { background: color-mix(in srgb, var(--a) 18%, #fff); border: 1px dashed color-mix(in srgb, var(--a) 70%, #121416); }
.wg-lto.done .wg-btn { background: var(--a); color: #121416 !important; }
.wg-out { display: none; font-weight: 600; font-size: 5cqw; }
.wg.good [data-out="good"], .wg.bad [data-out="bad"], .wg.ok [data-out="ok"], .wg.no [data-out="no"] { display: block; animation: wg-in 300ms var(--ease-out); }
@keyframes wg-in { from { opacity: 0; transform: translateY(6px); } }

/* Search: your business climbs to the top of the local results. */
.wg-search { display: flex; align-items: center; gap: 2.4cqw; padding: 3cqw 4cqw; border-radius: 99cqw; border: 1px solid #DADDE1; font-size: 4.8cqw; color: #3B4048; }
.wg-search i { width: 3.6cqw; height: 3.6cqw; border: 1.5px solid #6B7078; border-radius: 50%; flex: none; }
.wg-pack { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2cqw; }
.wg-pack li { display: grid; gap: .6cqw; padding: 3cqw; border-radius: 3cqw; background: #F5F6F8; transition: transform 700ms var(--ease-out), background 300ms; }
.wg-pack li b { font-size: 5cqw; } .wg-pack li small { font-size: 4.2cqw; color: #6B7078; }
.wg-pack li.me { background: #121416; color: #fff; } .wg-pack li.me small { color: var(--a); }
.wg-site.live .wg-pack li[data-r="1"], .wg-site.live .wg-pack li[data-r="2"] { animation: wg-down 900ms 500ms var(--ease-out) forwards; }
.wg-site.live .wg-pack li.me { animation: wg-up 900ms 500ms var(--ease-out) forwards; }
@keyframes wg-down { to { transform: translateY(calc(100% + 2cqw)); } }
@keyframes wg-up { to { transform: translateY(calc(-200% - 4cqw)); } }

/* Booking */
.wg-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6cqw; }
.wg-days span { display: grid; justify-items: center; gap: .6cqw; padding: 2cqw 0; border-radius: 3cqw; font-size: 3.8cqw; color: #6B7078; }
.wg-days b { font-size: 5.4cqw; color: #121416; }
.wg-days .on { background: #121416; color: #C9CCC4; } .wg-days .on b { color: #fff; }
.wg-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.wg-slots button { min-height: 11cqw; border-radius: 3cqw; border: 1px solid #DADDE1; background: #fff; font-size: 4.6cqw !important; font-weight: 600 !important; transition: background 160ms, border-color 160ms; }
.wg-slots button:hover { border-color: #121416; }
.wg-slots button.on { background: var(--a); border-color: var(--a); color: #121416; }
.wg-book.live .wg-slots button { animation: wg-in 300ms var(--ease-out) both; }
.wg-book.live .wg-slots button:nth-child(2) { animation-delay: 60ms; } .wg-book.live .wg-slots button:nth-child(3) { animation-delay: 120ms; } .wg-book.live .wg-slots button:nth-child(n+4) { animation-delay: 180ms; }

/* Deposit */
.wg-pay span { display: inline-block; }
.wg.paying .wg-pay span { animation: wg-pulse 900ms ease-in-out infinite; }
@keyframes wg-pulse { 50% { opacity: .35; } }

/* Dashboard */
.wg-chip { min-height: 8cqw; padding: 0 3cqw; border-radius: 99cqw; border: 1px solid #DADDE1; background: #fff; font-size: 4cqw !important; font-weight: 600 !important; }
.wg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.wg-kpis p { padding: 3cqw; border-radius: 3cqw; background: #F5F6F8; display: grid; gap: .6cqw; }
.wg-kpis b { font: 600 8cqw/1 var(--mono); letter-spacing: -.04em; } .wg-kpis small { font-size: 3.8cqw; color: #6B7078; }
.wg-chart { flex: 1; min-height: 24cqw; max-height: 52cqw; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2cqw; align-items: end; }
.wg-chart i { display: block; height: var(--h); border-radius: 1.6cqw 1.6cqw 0 0; background: #121416; transform-origin: bottom; }
.wg-chart i:nth-child(6) { background: var(--a); }
.wg-dash.live .wg-chart i { animation: wg-grow 700ms calc(var(--i) * 60ms) var(--ease-out) both; }
.wg-dash.alt .wg-chart i { height: calc(var(--h) * .78); transition: height 400ms var(--ease-out); }
@keyframes wg-grow { from { transform: scaleY(0); } }
.wg-axis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2cqw; text-align: center; font: 500 3.6cqw/1 var(--mono); color: #7A7F87; }

/* Follow-up chat */
.wg-chat { display: grid; gap: 2.4cqw; }
.wg-chat p { max-width: 84%; padding: 3cqw 3.8cqw; border-radius: 4.5cqw; font-size: 4.6cqw; line-height: 1.3; }
.wg-chat .them { background: #F0F1F3; border-bottom-left-radius: 1.4cqw; }
.wg-chat .you { justify-self: end; background: var(--a); color: #121416; border-bottom-right-radius: 1.4cqw; }
.wg-follow.live .wg-chat p { animation: wg-in 360ms calc(var(--i) * 700ms + 200ms) var(--ease-out) both; }

/* Reviews */
.wg-stars { display: flex; gap: 1.6cqw; }
.wg-stars button { flex: 1; aspect-ratio: 1; border: 0; border-radius: 3cqw; background: #F0F1F3; color: #C9CCC4 !important; font-size: 8cqw !important; line-height: 1; transition: background 160ms, color 160ms, transform 160ms; }
.wg-stars button:hover { transform: translateY(-2px); }
.wg-stars button.on { background: #121416; color: var(--a) !important; }

/* Agent log */
.wg-sw { width: 12cqw; height: 7cqw; border-radius: 9cqw; border: 0; background: #C9CCC4; position: relative; flex: none; transition: background 200ms; }
.wg-sw i { position: absolute; top: 1cqw; left: 1cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: #fff; transition: transform 200ms var(--ease-out); }
.wg-sw.on { background: var(--a); } .wg-sw.on i { transform: translateX(5cqw); }
.wg-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 2cqw; }
.wg-log li { display: grid; grid-template-columns: 10cqw 1fr; gap: 2cqw; padding: 2.6cqw 3cqw; border-radius: 3cqw; background: #F5F6F8; font-size: 4.4cqw; transition: opacity 200ms; }
.wg-log time { font: 500 3.8cqw/1.4 var(--mono); color: #7A7F87; }
.wg-agent.live .wg-log li { animation: wg-in 300ms calc(var(--i) * 450ms + 150ms) var(--ease-out) both; }
.wg-agent.off .wg-log li { opacity: .35; }

/* Pages */
.wg-urls { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6cqw; }
.wg-urls li { padding: 2.4cqw 3cqw; border-radius: 2.6cqw; background: #F5F6F8; font: 500 4cqw/1.2 var(--mono); color: #3B4048; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-pages.live .wg-urls li { animation: wg-in 300ms calc(var(--i) * 200ms) var(--ease-out) both; }
.wg-urls li.new { animation: wg-in 300ms var(--ease-out); background: #121416; color: #fff; }
.wg-count { font-family: var(--mono); }

/* Review loop */
.wg-grade { display: flex; align-items: center; gap: 3cqw; }
.wg-grade b { display: grid; place-items: center; width: 15cqw; height: 15cqw; border-radius: 4cqw; background: #121416; color: var(--a); font: 700 7cqw/1 var(--sans); flex: none; }
.wg-grade small { font-size: 4.2cqw; color: #6B7078; }
@media (prefers-reduced-motion: reduce) { .wg, .wg * { animation: none !important; transition: none !important; } }

/* Feature tabs under the screens. */
.bp-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -2px; padding: 2px; }
.bp-tabs::-webkit-scrollbar { display: none; }
.bp-tabs [role="tab"] { position: relative; flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 12px 0 9px; border-radius: 999px; border: 1px solid var(--line-hi); background: var(--surface); color: var(--ink-2); font: 500 13px/1 var(--sans); cursor: pointer; overflow: hidden; transition: background var(--t-quick), color var(--t-quick), border-color var(--t-quick); }
.bp-tabs [role="tab"] .gic, .bp-tabs [role="tab"] .gi { width: 18px; height: 18px; }
.bp-tabs [role="tab"]:hover { border-color: var(--ink); color: var(--ink); }
.bp-tabs [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bp-tabs [role="tab"][aria-selected="true"] .gi { color: #fff; --go: running; }
.bp-tabs [role="tab"]:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.bp-tabs.auto [role="tab"][aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--signal); transform-origin: left; animation: tabfill 4200ms linear both; }
@keyframes tabfill { from { transform: scaleX(0); } }
.bp-detail { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.bp-detail div { display: grid; gap: 3px; min-width: 0; }
.bp-detail b { font-size: 15px; color: var(--ink); }
.bp-detail span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.bp-detail .bp-use { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--signal); color: var(--on-signal, #121416); font: 600 13.5px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.bp-detail .bp-use:hover { filter: brightness(1.05); }
.bp-detail .bp-own { flex: none; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); white-space: nowrap; }
.stage .bp-total { position: static; }
.stage .bp-say { min-height: 0; }
@media (max-width: 600px) {
  .stage { aspect-ratio: auto; padding: 14px 12px 14px; }
  .bp-screens { aspect-ratio: 1 / .92; }
  .bp-screens .bp-browser { width: 62%; top: 8%; }
  .bp-cap { display: none; }
  .bp-detail { flex-direction: column; align-items: stretch; }
  .bp-detail .bp-use { width: 100%; }
}

/* ===== Draft card v3: feature slider (Mary's rule: a click never moves the layout). ===== */
.stage, .stage p { text-align: left; }
.stage p, .wg p { max-width: none; margin: 0; }
.bp-wg { overflow: hidden; touch-action: pan-y; }
.wg-track { position: absolute; inset: 0; display: flex; transform: translateX(calc(var(--at, 0) * -100%)); transition: transform 780ms cubic-bezier(.77, 0, .18, 1); will-change: transform; }
.wg-slide { position: relative; flex: 0 0 100%; height: 100%; transition: transform 780ms cubic-bezier(.77, 0, .18, 1), opacity 560ms ease, filter 560ms ease; }
.wg-slide > .wg { position: absolute; inset: 0; }
.wg-slide:not(.on) { opacity: 0; filter: blur(4px); transform: scale(.8) rotate(4deg); }
.wg-slide.before:not(.on) { transform: scale(.8) rotate(-4deg); }
.wg-slide.on { transition-delay: 60ms; }
/* The phone glass catches a light sweep as each slide lands. */
.bp-screens .bp-phone::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); }
.stage:has(.wg-slide.on .wg.live) .bp-phone::after { animation: glass 900ms 120ms ease-out; }
@keyframes glass { to { transform: translateX(120%); } }

/* Tabs: the progress line runs under the active tab while the slider auto-plays. */
.bp-tabs { scroll-behavior: smooth; }
.bp-tabs.auto [role="tab"][aria-selected="true"]::after { content: none; }
.bp-tick { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.bp-tabs.tick [role="tab"][aria-selected="true"] .bp-tick { animation: tabfill 4200ms linear both; }
.bp-tabs [role="tab"] { transition: background 260ms var(--ease-out), color 260ms, border-color 260ms, box-shadow 260ms; }
.bp-tabs [role="tab"][aria-selected="true"] { box-shadow: 0 8px 18px -10px rgba(18,20,22,.6); }

/* Detail strip: one fixed size for every feature; the words crossfade, nothing shifts. */
.bp-detail { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; height: 92px; min-height: 0; padding: 12px 16px; overflow: hidden; }
.bp-d-t { display: grid; gap: 4px; min-width: 0; }
.bp-d-t b { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-d-t span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-d-n { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.bp-d-act { display: flex; justify-content: flex-end; min-width: 168px; }
.bp-detail.swap .bp-d-t { animation: dswap 420ms var(--ease-out); }
.bp-detail.swap .bp-d-n { animation: dswap 420ms 60ms var(--ease-out) both; }
@keyframes dswap { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } }

/* Tap ripple from the touch point. */
.bp-tabs [role="tab"], .wg button, .bp-use { position: relative; overflow: hidden; isolation: isolate; }
.rip::after { content: ''; position: absolute; z-index: -1; left: var(--rx, 50%); top: var(--ry, 50%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: currentColor; opacity: .28; pointer-events: none; animation: rip 620ms ease-out forwards; }
.bp-tabs [role="tab"][aria-selected="true"].rip::after, .wg-btn.rip::after, .bp-use.rip::after { background: #fff; }
@keyframes rip { to { transform: scale(26); opacity: 0; } }
.wg button:active, .bp-tabs [role="tab"]:active { transform: scale(.96); }
.wg-sw.rip::after { content: none; }

@media (max-width: 600px) {
  .bp-detail { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; height: 132px; }
  .bp-d-n { grid-column: 2; grid-row: 1; align-self: start; }
  .bp-d-act { grid-column: 1 / -1; min-width: 0; }
  .bp-d-act .bp-use { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wg-track, .wg-slide { transition: none; }
  .wg-slide:not(.on) { filter: none; transform: none; }
  .bp-screens .bp-phone::after { display: none; }
}
.bp-phone .bp-wg { background: #fff; color: #121416; }
/* ===== Delivered: build tickets (parlay-slip style). Legs carry their plan level. ===== */
.delivered { background: var(--bg); }
.wall-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin: 6px 0 22px; }
.wall-filter { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.wall-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-weight: 550; font-size: 14px; }
.wall-filter button .num { font: 600 11px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink-3); }
.wall-filter button[aria-selected="true"] { background: var(--ink); color: #fff; }
.wall-filter button[aria-selected="true"] .num { background: var(--signal); color: var(--on-signal); }
.wall-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--ink-3); }
.wall-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wall-legend i, .bt-mix i { font: 700 10px/1 var(--mono); font-style: normal; padding: 4px 6px; border-radius: 6px; }
.lv-launch { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.lv-grow { background: var(--signal); color: var(--on-signal); }
.lv-run { background: var(--ink); color: var(--signal); }
.wall { align-items: start; }
.bt[hidden] { display: none; }
.bt { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--ink); overflow: hidden; box-shadow: 0 24px 50px -36px rgba(18,20,22,.45); transition: transform var(--t-quick) var(--ease-out), box-shadow var(--t-quick); }
.bt:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(18,20,22,.5); }
.bt-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--ink); color: #F3F1EA; font: 600 11px/1 var(--mono); letter-spacing: .12em; }
.bt-stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); }
.bt-stamp svg { width: 14px; height: 14px; }
.bt-who { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 20px 0; }
.bt-who .mono { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #fff; font: 600 14px/1 var(--mono); object-fit: cover; }
.bt-who h3 { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.bt-url { font: 500 12px/1.4 var(--mono); color: var(--ink-3); text-decoration: none; }
.bt-url:hover { color: var(--signal-ink); text-decoration: underline; }
.bt-tier { text-align: right; }
.bt-tier small { display: block; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bt-tier b { display: inline-block; margin-top: 6px; font: 700 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; }
.bt-launch .bt-tier b { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.bt-grow .bt-tier b { background: var(--signal); color: var(--on-signal); }
.bt-run .bt-tier b { background: var(--ink); color: var(--signal); }
.bt-job { margin: 14px 20px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.bt-job b { color: var(--ink); }
.bt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 16px 20px 0; background: var(--line); border-radius: 12px; overflow: hidden; }
.bt-stats div { background: var(--bg); padding: 12px; }
.bt-stats i { display: block; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--ink-3); font-style: normal; }
.bt-stats b { display: block; margin-top: 8px; font: 600 22px/1 var(--mono); color: var(--ink); letter-spacing: -.02em; }
.bt-stats span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.bt-legs-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 18px 20px 8px; font: 600 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bt-mix { display: inline-flex; gap: 6px; }
.bt-mix i { text-transform: none; letter-spacing: 0; font-weight: 600; }
.bt-legs { list-style: none; margin: 0 20px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lg { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.lg.more { display: none; }
.bt.open .lg.more { display: grid; }
.lg-lv { display: grid; place-items: center; width: 30px; height: 26px; border-radius: 7px; font: 700 10px/1 var(--mono); }
.lg.lv-launch .lg-lv { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: transparent; }
.lg.lv-grow .lg-lv { background: var(--signal); color: var(--on-signal); }
.lg.lv-run .lg-lv { background: var(--ink); color: var(--signal); }
.lg.lv-launch, .lg.lv-grow, .lg.lv-run { background: none; box-shadow: none; color: inherit; }
.lg-b b { font-size: 15px; color: var(--ink); font-weight: 650; margin-right: 6px; }
.lg-b em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.lg-b small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.lg-hit { display: inline-flex; align-items: center; gap: 4px; font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal-ink); }
.lg-hit svg { width: 12px; height: 12px; }
.lg-hit svg path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.bt:hover .lg-hit svg path { animation: draw 500ms var(--ease-out) both; animation-delay: calc(var(--j) * 60ms); }
.bt-more { margin: 10px 20px 0; align-self: flex-start; border: 0; background: none; padding: 6px 0; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bt-tear { position: relative; margin: 18px 0 0; height: 18px; }
.bt-tear::before { content: ''; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 2px dashed var(--line-hi); }
.bt-tear::after { content: ''; position: absolute; inset: 0 -11px; background: radial-gradient(circle at 0 50%, var(--bg) 9px, transparent 10px) left / 50% 100% no-repeat, radial-gradient(circle at 100% 50%, var(--bg) 9px, transparent 10px) right / 50% 100% no-repeat; }
.bt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 20px 20px; }
.bt-pay small { display: block; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bt-pay b { display: block; margin-top: 6px; font-size: 15px; color: var(--ink); }
.bt-pay span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.bt-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bt-cta .btn { min-height: 44px; font-size: 14.5px; }
@media (max-width: 860px) {
  .wall { scroll-padding-inline: var(--gutter); }
  .wall-filter { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .wall-filter button { flex: none; padding: 0 11px; }
  .wall-legend { font-size: 12px; }
  .bt { flex: 0 0 min(88vw, 460px); scroll-snap-align: start; }
  .bt-who { grid-template-columns: auto 1fr; } .bt-tier { grid-column: 1 / -1; text-align: left; display: flex; gap: 10px; align-items: center; } .bt-tier b { margin: 0; }
}

/* Build tickets v2: compact by default with tabs; expand shows the whole ticket stacked. */
.wall-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wall-view { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.wall-view button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-weight: 550; font-size: 14px; }
.wall-view button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bt-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; margin: 16px 20px 0; }
.bt-sum-k { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bt-sum .bt-mix { grid-column: 1 / -1; flex-wrap: wrap; }
.bt-strip { display: flex; gap: 4px; height: 12px; }
.bt-strip i { flex: 1; border-radius: 3px; transform-origin: left; }
.bt-strip i.lv-launch { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.bt:hover .bt-strip i { animation: strip 420ms var(--ease-out) both; animation-delay: calc(var(--j) * 50ms); }
@keyframes strip { from { transform: scaleX(.2); opacity: .3; } to { transform: none; opacity: 1; } }
.bt-tabs { display: flex; gap: 2px; margin: 16px 20px 0; border-bottom: 1px solid var(--line); }
.bt-tabs button { position: relative; padding: 10px 12px; border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--ink-3); }
.bt-tabs button[aria-selected="true"] { color: var(--ink); }
.bt-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--signal); }
.bt-tabs button:focus-visible { outline: 2px solid var(--iris); outline-offset: -2px; border-radius: 8px; }
.bt-panel { margin: 0 20px; }
.bt-panel[hidden] { display: none; }
.bt-panel .bt-legs { margin: 0; border-top: 0; }
.bt-panel .bt-stats { margin: 14px 0 0; }
.bt-ver { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.bt-ver svg { width: 16px; height: 16px; color: var(--signal-ink); flex: none; }
.bt-panel .bt-job { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.bt-job-sub { margin-top: 8px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); }
.bt-exp { display: inline-flex; align-items: center; gap: 8px; margin: 12px 20px 0; align-self: flex-start; border: 0; background: none; padding: 6px 0; font-weight: 600; font-size: 14px; color: var(--ink); }
.bt-exp i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--t-quick); }
.bt.open .bt-exp i { transform: rotate(225deg) translateY(-2px); }
/* Expanded: every leg, and all three sections stacked under their own labels. */
.bt.open .lg.more { display: grid; }
.bt.open .bt-tabs { display: none; }
.bt.open .bt-panel[hidden] { display: block; }
.bt.open .bt-panel { padding-top: 14px; }
.bt.open .bt-panel::before { display: block; margin-bottom: 4px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.bt.open .bt-panel[id$="-p-legs"]::before { content: 'Deliverables'; }
.bt.open .bt-panel[id$="-p-proof"]::before { content: 'Results'; }
.bt.open .bt-panel[id$="-p-job"]::before { content: 'Brief'; }
.bt-tear { margin-top: 14px; }
.bt-pay b { font-size: 14.5px; }
@media (max-width: 860px) { .wall-tools { width: 100%; flex-wrap: nowrap; } .wall-filter { flex: 1; min-width: 0; } .wall-view button { padding: 0 10px; } .bt-strip { height: 10px; } }

/* Case files: editorial header, live dot, quieter shipped mark. */
.bt-head { padding: 13px 20px; letter-spacing: .08em; text-transform: uppercase; }
.bt-no { display: inline-flex; align-items: baseline; gap: 6px; }
.bt-no b { font-weight: 700; color: #F3F1EA; }
.bt-no span { color: #8E938A; font-weight: 500; }
.bt-stamp { color: #F3F1EA; font-weight: 600; }
.bt-stamp svg { display: none; }
.bt-live { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 60%, transparent); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .bt-live { animation: none; } }
.bt-done { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--signal); color: #121416; }
.bt-stamp .bt-done svg { display: block; width: 10px; height: 10px; stroke-width: 3; }
.bt-tag { display: inline-block; margin-left: 10px; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.bt-next { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); }
.bt-next i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: live 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .bt-next i { animation: none; } }
.lg-hit { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lg-hit svg { color: var(--signal-ink); }
.bt-tier small, .bt-pay small { letter-spacing: .14em; }

/* MegaNav 2 (2026-11-03). Top links work without JS; carets open full-width panels under the bar. */
.top nav.mn { gap: 14px; }
.mn-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mn-item { display: flex; align-items: center; }
.top .mn-top { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 2px 0 10px; font-size: 15px; color: var(--ink-2); border-radius: 8px; }
.top .mn-top:hover, .mn-item.open .mn-top { color: var(--ink); }
.mn-caret { display: inline-grid; place-items: center; width: 24px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer; }
.mn-caret svg { width: 12px; height: 12px; transition: transform var(--t-quick) var(--ease-out); }
.mn-caret:hover, .mn-item.open .mn-caret { color: var(--ink); background: var(--surface-2); }
.mn-item.open .mn-caret svg { transform: rotate(180deg); }
.mn-caret:focus-visible, .top .mn-top:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; }
.mn-new { font: 600 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); position: relative; padding-left: 9px; }
.mn-new::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #FF4F9A; animation: mn-ping 2.4s ease-out infinite; }
.mn-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--signal); font: 600 11px/18px var(--mono); text-align: center; }
.mn-badge[hidden] { display: none; }
@keyframes mn-ping { 0% { box-shadow: 0 0 0 0 rgba(255,79,154,.55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(255,79,154,0); } }
@media (max-width: 1180px) { .top .clock { display: none; } }

.mn-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 41; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(18,20,22,.4); animation: mn-drop var(--t-quick) var(--ease-out); }
.mn-panel[hidden] { display: none; }
.mn-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
@keyframes mn-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mn-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding: 26px 0 30px; }
.mn-in-studio { grid-template-columns: 1fr 1fr 300px; }
.mn-hd { margin: 0 0 14px; font: 600 11.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.mn-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.mn-p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mn-kick { margin: 0 0 12px; font: 600 11.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mn-arr { width: 14px; height: 14px; flex: none; transition: transform var(--t-quick) var(--ease-out); }
a:hover > .mn-arr, button:hover .mn-arr { transform: translateX(3px); }
.mn-feat { border-radius: var(--r-lg); background: var(--surface-2); padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.mn-feat .mn-go { margin-top: auto; width: 100%; justify-content: center; }
.top .mn-sub { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mn-feat-dark { background: #121416; color: #C9CCC4; }
.mn-feat-dark .mn-kick { color: var(--signal); }
.top .mn-feat-dark .mn-sub { color: #F3F1EA; }

/* Agents bento: six agents and the open slot. */
.mn-ags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mn-ag { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 148px; padding: 14px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; text-decoration: none; transition: border-color var(--t-quick), transform var(--t-quick) var(--ease-out), box-shadow var(--t-quick); }
.mn-ag:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 24px -18px rgba(18,20,22,.5); }
.mn-ag:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.mn-face { width: 52px; height: 52px; flex: none; }
.mn-face svg, .ag-face svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mn-ag-t { display: grid; gap: 4px; }
.mn-ag-t strong { font-size: 15px; letter-spacing: -.01em; }
.mn-ag-t small { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.mn-add { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-hi); display: grid; place-items: center; transition: background var(--t-quick), border-color var(--t-quick); }
.mn-add i { position: relative; width: 10px; height: 10px; }
.mn-add i::before, .mn-add i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; border-radius: 1px; background: var(--ink); transition: transform var(--t-quick) var(--ease-snap), width var(--t-quick); }
.mn-add i::after { transform: rotate(90deg); }
.mn-ag.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mn-ag.on .mn-add { background: var(--signal); border-color: var(--ink); }
.mn-ag.on .mn-add i::before { width: 5px; transform: translate(-1.6px, 2px) rotate(45deg); }
.mn-ag.on .mn-add i::after { width: 9px; transform: translate(1.8px, .2px) rotate(-50deg); }
.mn-yours { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; border-style: dashed; border-color: var(--line-hi); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(18,20,22,.025) 10px 20px); }
.mn-yours .mn-ag-t { flex: 1; }
.mn-yours .mn-face { width: 64px; height: 64px; }
.mn-ship, .mn-pay { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.mn-ship li, .mn-pay li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; font-size: 13.5px; line-height: 1.4; }
.mn-ship li::before, .mn-pay li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 600 12px/1.6 var(--mono); color: var(--signal-ink); }
.mn-feat-dark .mn-ship li::before { color: var(--signal); }
.mn-ship b { color: #F3F1EA; } .mn-ship span { color: #9EA39A; }
.mn-pay b { color: var(--ink); } .mn-pay span { color: var(--ink-2); }
.mn-count { margin: 0 0 12px; font-size: 13.5px; color: #F3F1EA; }
.mn-soon { font-style: normal; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C2284A; margin-left: 4px; }

/* Plans */
.mn-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mn-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; min-height: 196px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-quick), transform var(--t-quick) var(--ease-out); }
.mn-plan:hover { border-color: var(--ink); transform: translateY(-2px); }
.mn-plan.cur { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mn-plan-run { background: #121416; color: #F3F1EA; border-color: #121416; }
.mn-plan-run small, .mn-plan-run .mn-plan-k { color: #C9CCC4; }
.mn-plan-ic { width: 40px; height: 40px; margin-bottom: 6px; }
.mn-plan-ic .gi { width: 40px; height: 40px; }
.mn-plan-k { font: 600 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mn-plan strong { font-size: 22px; letter-spacing: -.02em; }
.mn-plan small { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.mn-plan-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.mn-plan-run .mn-plan-go { color: var(--signal); }

/* Build steps and the live plan card */
.mn-hd-2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.mn-tpl { margin: 0 0 6px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
@media (max-width: 640px) { .mn-tpl { grid-template-columns: 1fr; } }
.mn-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.top .mn-steps a { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 10px; border-radius: var(--r-sm); font-size: 15.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.top .mn-steps a:hover { background: var(--surface-2); }
.mn-n { font: 600 12px/1 var(--mono); color: var(--ink-3); }
.top .mn-steps a:hover .mn-n { color: var(--signal-ink); }
.mn-so { width: 100%; margin-bottom: 14px; }
.mn-so-t { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
.mn-so-t .gic, .mn-so-t .gi { width: 32px; height: 32px; }
.mn-so ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mn-so li { display: grid; padding: 10px; border-radius: var(--r-sm); background: var(--surface); font-size: 12px; color: var(--ink-3); }
.mn-so li b { font: 600 18px/1.2 var(--sans); color: var(--ink); }

/* Delivered rows and studio links */
.mn-cases, .mn-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.mn-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.top .mn-case, .top .mn-link { display: flex; align-items: flex-start; gap: 14px; padding: 10px; border-radius: var(--r-md); color: var(--ink); transition: background var(--t-quick); }
.top .mn-case:hover, .top .mn-link:hover { background: var(--surface-2); }
.mn-logo { width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: hidden; display: grid; place-items: center; }
.mn-logo img { width: 100%; height: 100%; display: block; }
.mn-logo b { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--sans); }
.mn-txt { display: grid; gap: 3px; min-width: 0; }
.mn-txt strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.mn-txt small { font-size: 13px; line-height: 1.4; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mn-tier { font: 600 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mn-tier-run { color: var(--iris); } .mn-tier-grow { color: var(--signal-ink); }
.mn-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--surface-2); }
.mn-ico .gi { width: 22px; height: 22px; }
.mn-port { width: 64px; height: 64px; margin-bottom: 14px; }
.mn-port svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* MegaNav 3 (2026-11-16, Jay: "too much empty space", modelled on PM Countdown's panels):
   the side column is a stack (feature card, then small cards) that ends where the content ends, and the
   main column carries richer cards. Nothing stretches to fill height. */
.mn-in-studio { grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; }
.mn-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-self: start; }
.mn-side .mn-feat .mn-go { margin-top: 4px; }
.mn-side .mn-feat .mn-p { margin-bottom: 12px; }
.top .mn-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: border-color var(--t-quick), transform var(--t-quick), box-shadow var(--t-quick); }
.top .mn-mini:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 22px -18px rgba(18,20,22,.45); }
.mn-mini-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mn-mini-t em { font: 600 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); }
.mn-mini-t strong { font-size: 14.5px; letter-spacing: -.01em; }
.mn-mini-t small { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
:is(.mn-mini, .mn-tcard):is(:hover, :focus-visible) .gi { --go: running; }
.mn-mini:hover .gi :is(.m, .p1, .p3, .e) { animation-play-state: running; }
/* Build: step tiles with a moving icon and one line each */
.mn-steps { gap: 2px 18px; }
.top .mn-steps .mn-step { align-items: center; padding: 8px 10px; border-bottom: 0; min-height: 0; font-size: inherit; }
.mn-step .mn-txt strong { font-size: 15px; gap: 10px; }
.mn-step .mn-n { font: 600 11.5px/1 var(--mono); color: var(--ink-3); }
.top .mn-step:hover .mn-n { color: var(--signal-ink); }
.mn-step .mn-txt small { -webkit-line-clamp: 1; }
.top .mn-step-call { border: 1.5px dashed var(--line-hi); }
.top .mn-step-call:hover { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 6%, var(--surface)); }
.mn-hd-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
/* Build: funnel template cards with live thumbnails */
.mn-tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.top .mn-tcard { display: grid; gap: 4px; padding: 8px 8px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color var(--t-quick), transform var(--t-quick), box-shadow var(--t-quick); }
.top .mn-tcard:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 28px -20px rgba(18,20,22,.5); }
.mn-thumb { display: block; margin-bottom: 8px; border-radius: 10px; overflow: hidden; }
.mn-thumb svg { display: block; width: 100%; height: auto; }
.mn-tcard strong { padding: 0 6px; font-size: 15px; letter-spacing: -.01em; }
.mn-tcard small { padding: 0 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.mn-thumb * { transform-box: fill-box; transform-origin: center; }
.mn-panel:not([hidden]) .tm-lit, .mn-tcard:hover .tm-lit { animation: tm-lit 2.4s ease-in-out infinite; }
.mn-panel:not([hidden]) .tm-flow, .mn-tcard:hover .tm-flow { animation: tm-flow 1s linear infinite; }
.mn-panel:not([hidden]) .tm-card, .mn-tcard:hover .tm-card { animation: tm-card 2.4s ease-in-out infinite; }
.mn-panel:not([hidden]) :is(.tm-b1, .tm-b2, .tm-b3, .tm-b4), .mn-tcard:hover :is(.tm-b1, .tm-b2, .tm-b3, .tm-b4) { animation: tm-in .6s var(--ease-out) both; }
.mn-panel:not([hidden]) .tm-b2 { animation-delay: .12s; } .mn-panel:not([hidden]) .tm-b3 { animation-delay: .24s; } .mn-panel:not([hidden]) .tm-b4 { animation-delay: .36s; }
.mn-tcard:hover .tm-b2 { animation-delay: .12s; } .mn-tcard:hover .tm-b3 { animation-delay: .24s; } .mn-tcard:hover .tm-b4 { animation-delay: .36s; }
.mn-panel:not([hidden]) .tm-cur, .mn-tcard:hover .tm-cur { animation: tm-cur 2.6s var(--ease-io) infinite; }
.mn-panel:not([hidden]) .tm-tick, .mn-tcard:hover .tm-tick { animation: tm-tick 1s steps(2) infinite; }
@keyframes tm-lit { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes tm-flow { to { stroke-dashoffset: -14; } }
@keyframes tm-card { 0%, 30% { transform: translateY(0); } 55%, 100% { transform: translateY(11px); } }
@keyframes tm-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes tm-cur { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-60px, 26px); } 70% { transform: translate(-20px, 34px); } }
@keyframes tm-tick { 50% { opacity: .35; } }
/* Plans: add-ons strip */
.mn-adds { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
@media (prefers-reduced-motion: reduce) { .mn-thumb * { animation: none !important; } }
@media (max-width: 1180px) { .mn-in-studio { grid-template-columns: 1fr 1fr 1fr; } .mn-in-studio .mn-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; } }
/* phones: the accordion */
.mm-body .mn-side { gap: 8px; }
.mm-body .mn-tcards, .mm-body .mn-adds { grid-template-columns: 1fr; }
.mm-body .mn-tcard { grid-template-columns: 112px 1fr; column-gap: 12px; align-items: center; padding: 8px; }
.mm-body .mn-thumb { grid-row: span 2; margin: 0; }
.mm-body .mn-tcard strong, .mm-body .mn-tcard small { padding: 0; }
.mm-body .mn-in-studio .mn-side { display: flex; }

/* Agent faces: everyone blinks now and then; one motion each on hover or when picked. */
.af * { transform-box: fill-box; transform-origin: center; }
.af .af-e { animation: af-blink 5.2s infinite; }
.mn-ag:nth-child(2) .af-e, .ag:nth-child(2) .af-e { animation-delay: -1.3s; }
.mn-ag:nth-child(3) .af-e, .ag:nth-child(3) .af-e { animation-delay: -2.6s; }
.mn-ag:nth-child(4) .af-e, .ag:nth-child(4) .af-e { animation-delay: -3.4s; }
.mn-ag:nth-child(5) .af-e, .ag:nth-child(5) .af-e { animation-delay: -.6s; }
.mn-ag:nth-child(6) .af-e, .ag:nth-child(6) .af-e { animation-delay: -4.2s; }
@keyframes af-blink { 0%, 93%, 100% { transform: none; } 95.5% { transform: scaleY(.12); } }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-frontdesk .af-mo { animation: af-talk .5s ease-in-out infinite; }
.af .af-followup-m, .af-followup .af-m { transform-box: view-box; transform-origin: 32px 10px; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-followup .af-m { animation: af-tick 1.4s steps(8) infinite; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-reviews .af-m { animation: af-spin 1.6s var(--ease-io) infinite; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-numbers .af-bars rect { transform-origin: bottom; animation: af-bar .9s ease-in-out infinite alternate; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-numbers .b2 { animation-delay: .15s; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-numbers .b3 { animation-delay: .3s; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-backoffice .af-m { animation: af-spin 2.4s linear infinite; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-watchdog .ear-l { transform-origin: bottom right; animation: af-ear .8s var(--ease-snap) infinite alternate; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-watchdog .ear-r { transform-origin: bottom left; animation: af-ear-r .8s var(--ease-snap) infinite alternate; }
:is(.mn-ag, .ag):is(:hover, .on, :focus-visible) .af-watchdog .af-scan { animation: af-scan 1.6s ease-in-out infinite; }
.af-yours .af-dash > * { animation: af-march 1.6s linear infinite; }
.af-yours .af-plus { animation: af-pulse 2s ease-in-out infinite; }
:is(.mn-ag, .ag):hover .af-yours .af-plus { animation: af-pop .6s var(--ease-snap) infinite alternate; }
@keyframes af-talk { 50% { transform: scaleY(1.9) translateY(.6px); } }
@keyframes af-tick { to { transform: rotate(360deg); } }
@keyframes af-spin { to { transform: rotate(360deg); } }
@keyframes af-bar { from { transform: scaleY(.45); } to { transform: scaleY(1.25); } }
@keyframes af-ear { to { transform: rotate(-14deg) translateY(-1.5px); } }
@keyframes af-ear-r { to { transform: rotate(14deg) translateY(-1.5px); } }
@keyframes af-scan { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-3px); } 70% { transform: translateX(3px); } }
@keyframes af-march { to { stroke-dashoffset: -14.4; } }
@keyframes af-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes af-pop { to { transform: scale(1.2) rotate(90deg); } }
.ag-face { width: 48px; height: 48px; flex: none; }
@media (prefers-reduced-motion: reduce) { .af *, .mn-new::before, .mn-panel { animation: none !important; } }

/* Mid widths: tighter panels. */
@media (max-width: 1100px) {
  .mn-in { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
  .mn-in-studio { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mn-in-studio .mn-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .mn-in-studio .mn-who { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; } .mn-in-studio .mn-who .mn-port { width: 48px; height: 48px; margin: 0; } .mn-in-studio .mn-who .mn-kick { margin: 0; }
  .mn-tcards { gap: 8px; } .mn-tcard small { -webkit-line-clamp: 2; }
  .mn-ags { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mn-yours { grid-column: span 3; }
  .top .mn-top { padding-left: 6px; font-size: 14.5px; }
}

/* Phones: the Menu drawer holds the same panels as an accordion. */
.mm-g { border-bottom: 1px solid var(--line); }
.mm-g summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 8px; font: 600 22px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); cursor: pointer; }
.mm-g summary::-webkit-details-marker { display: none; }
.mm-g summary svg { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); transition: transform var(--t-quick); }
.mm-g[open] summary svg { transform: rotate(180deg); }
.mm-body { padding: 0 0 18px; }
.mm-body .mn-in, .mm-body .mn-in-studio { grid-template-columns: 1fr; gap: 14px; padding: 4px 0 0; }
.mm-body .mn-ags { grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-body .mn-yours { grid-column: span 2; }
.mm-body .mn-ag { min-height: 0; padding: 12px; }
.mm-body .mn-face { width: 44px; height: 44px; }
.mm-body .mn-yours .mn-face { width: 52px; height: 52px; }
.mm-body .mn-ag-t small { font-size: 12.5px; }
.mm-body .mn-plans { grid-template-columns: 1fr; gap: 8px; }
.mm-body .mn-plan { min-height: 0; padding: 14px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; }
.mm-body .mn-plan-ic { grid-row: span 4; margin: 0; }
.mm-body .mn-plan-go { margin-top: 6px; }
.mm-body .mn-steps, .mm-body .mn-cases { grid-template-columns: 1fr; }
.mm-body .mn-feat { padding: 16px; }
.mm-body .mn-in-work .mn-feat, .mm-body .mn-in-studio .mn-who { display: none; }
.top .mm-all { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0 8px; font-size: 15px; font-weight: 600; color: var(--ink); }


/* ===== Plan cards v2 (2026-11-03): compact face, drawer inside the card, glow. ===== */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.pl { overflow: hidden; padding: 0; gap: 0; isolation: isolate; transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out); }
.pl::before { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 58%, var(--signal) 72%, #FFD1E6 79%, var(--signal) 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 400ms; animation: plspin 4.5s linear infinite; }
.pl:hover::before, .pl:focus-within::before, .pl.cur::before, .pl-run::before { opacity: 1; }
@keyframes plspin { to { --ang: 360deg; } }
.pl-spot { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 300ms;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 79, 154, .16), transparent 70%); }
.pl:hover .pl-spot { opacity: 1; }
.pl-run { box-shadow: 0 30px 80px -34px rgba(255, 79, 154, .55); animation: plbreathe 3.6s ease-in-out infinite; }
.pl-run:hover { animation: none; box-shadow: 0 34px 90px -30px rgba(255, 79, 154, .75); }
@keyframes plbreathe { 50% { box-shadow: 0 30px 90px -26px rgba(255, 79, 154, .8); } }

.pl-face { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; transition: transform 520ms var(--ease-out), opacity 420ms, filter 420ms; }
.pl.open .pl-face { transform: scale(.94); opacity: .25; filter: blur(3px); }
.pl-face .pl-for { min-height: 0; }
.pl-eta { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.pl-eta b { color: var(--ink); font-weight: 650; }
.pl-eta i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none; }
.pl-eta i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; animation: plping 1.8s ease-out infinite; }
@keyframes plping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.pl-run .pl-eta { background: rgba(255, 255, 255, .05); border-color: #2A2E33; }
.pl-price.hid { font: 500 13px/1.4 var(--sans); color: var(--ink-3); margin: 0; }
.pl-acts { display: grid; gap: 10px; margin-top: auto; }
.pl-face .pl-go { margin: 0; position: relative; overflow: hidden; }
.pl-run .pl-face .pl-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); animation: plsheen 3.2s 1s ease-in-out infinite; }
@keyframes plsheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.pl-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 0; background: none; color: var(--ink-2); font: 600 14px/1 var(--sans); cursor: pointer; border-radius: 999px; transition: color 200ms, background 200ms; }
.pl-more:hover { color: var(--ink); background: var(--surface-2); }
.pl-more::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(-45deg) translateY(2px); transition: transform 300ms; }
.pl-more:hover::after { transform: rotate(-45deg) translate(2px, 0); }
.pl-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--signal); color: #121416; font: 600 12px/1 var(--mono); }
.pl-more:focus-visible, .pl-x:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.pl-face .pl-ex-l { margin-top: 2px; }

.pl-drawer { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 28px; overflow-y: auto; overscroll-behavior: contain;
  background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: inherit; transform: translateY(104%); transition: transform 560ms cubic-bezier(.2, .9, .2, 1.04); }
.pl.open .pl-drawer { transform: none; }
.pl-dhd { display: flex; justify-content: space-between; align-items: center; }
.pl-dhd b { font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.pl-x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-hi); background: transparent; color: var(--ink); font: 400 22px/1 var(--sans); cursor: pointer; transition: transform 300ms, background 200ms; }
.pl-x:hover { transform: rotate(90deg); background: var(--surface-2); }
.pl-drawer .pl-inc { border-top: 0; padding-top: 0; }
.pl.open .pl-inc li { animation: plin 420ms calc(var(--i) * 55ms + 160ms) var(--ease-out) both; }
@keyframes plin { from { opacity: 0; transform: translateY(10px); } }
.pl.open .pl-inc li:not(.sub)::before { animation: plcheck 380ms calc(var(--i) * 55ms + 300ms) var(--ease-out) both; }
@keyframes plcheck { from { transform: rotate(-45deg) scale(0); } }
.pl-drawer .pl-meta { margin-top: auto; }
.pl-drawer .pl-go { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .pl::before, .pl-run, .pl-eta i::after, .pl-run .pl-face .pl-go::after { animation: none; }
  .pl-drawer, .pl-face { transition: none; }
}

/* ===== Business | Fitness switch (2026-11-03) ===== */
.mode { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; flex: none; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); isolation: isolate; }
.mode::before { content: ''; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink); transition: transform 420ms cubic-bezier(.7, 0, .2, 1), background 420ms; }
[data-mode="fitness"] .mode::before { transform: translateX(100%); background: var(--signal); }
.mode a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--sans); color: var(--ink-3); text-decoration: none; transition: color 300ms; }
.mode a:hover { color: var(--ink); }
.mode a[aria-current] { color: #fff; }
[data-mode="fitness"] .mode a[aria-current] { color: var(--on-signal); }
.mode a:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.top .mode { margin-left: 4px; }
.top .m-menu .mode-m { justify-self: start; margin: 4px 0 10px; }
.top .m-menu .mode-m a { min-height: 40px; padding: 0 18px; font-size: 15px; border: 0; }
@media (max-width: 1180px) { .top .clock { display: none; } }
@media (max-width: 859px) { .top .wrap > .mode { display: none; } }

/* ===== Fitness theme (2026-11-09, v3): warm paper, ink, soft coral as a fill only.
   Coral #FF8A6B on paper is 2.15:1, so it never carries text; text accents use #A63A1E (6.02:1).
   Page layouts for the fitness side live in assets/studio/fitness.css (nf- classes). ===== */
body[data-mode="fitness"] { --bg: #FAF6F2; --surface: #FFFFFF; --surface-2: #F4EEE8; --line: #EAE2DA; --line-hi: #BDB3AA; --ink: #121416; --ink-2: #4A4F55; --ink-3: #6A6F75;
  --signal: #FF8A6B; --on-signal: #121416; --signal-ink: #A63A1E; --grid: rgba(18, 20, 22, .04); background: var(--bg); color: var(--ink-2); color-scheme: light; }
body[data-mode="fitness"] .kick { color: var(--signal-ink); }
body[data-mode="fitness"] .btn-lime { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
body[data-mode="fitness"] .btn-lime:hover { background: #FF9A7E; border-color: #FF9A7E; }
body[data-mode="fitness"] .top { background: rgba(250, 246, 242, .88); }
@media (prefers-reduced-motion: reduce) { .mode::before { transition: none; } }

/* Header with the mega menu and the Business | Fitness switch: one line at every width. */
.top .logo b, .top .logo small, .top .mn-top, .top .mn-cta, .top .clock, .mode a { white-space: nowrap; }
@media (max-width: 1599px) { .top .clock { display: none; } }
@media (max-width: 1399px) { .top .logo small { display: none; } .mode a { padding: 0 11px; font-size: 12.5px; } }
/* Fitness tabs are a plain nav: hide them on phones like the business tabs. */
@media (max-width: 859px) { .top nav:not(.mn):not(.m-menu) a:not(.btn) { display: none; } }
@media (min-width: 860px) and (max-width: 1099px) {
  .top .wrap { gap: 14px; }
  .top .logo span:not(.logo-m) { display: none; }
  .mode a { padding: 0 9px; font-size: 12px; min-height: 30px; }
  .top nav:not(.mn):not(.m-menu) { gap: 14px; }
  .top nav:not(.mn):not(.m-menu) a:not(.btn) { font-size: 14px; }
}
@media (min-width: 860px) and (max-width: 959px) { .top .mn-new { display: none; } }

/* Mary's headline rule (2026-11-09): headlines break between phrases, never inside one, and never
   leave one word alone. tools/build-pages.mjs wraps each phrase in .ph; balance evens the lines. */
h1, h2, h3 { text-wrap: balance; }
.ph { display: inline-block; text-wrap: pretty; }
@media (max-width: 360px) { .sec-h h1, .sec-h h2 { font-size: 28px; } }
.mn-side .mn-pay { margin-bottom: 4px; }
/* Partner card is ink: its line and kicker must stay light (the plain .mn-plan rules come later and win otherwise) */
.mn-plan.mn-plan-run small, .mn-plan.mn-plan-run .mn-plan-k { color: #C9CCC4; }
.mn-plan.mn-plan-run strong { color: #F3F1EA; }
.mn-side .mn-feat .mn-sub { margin-top: 8px; }
