/* Holent · Clarity — visual study. Tokens from DESIGN.md V1 (dark theme). */
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/instrument-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --surface: #0B0D0C;
  --raised: #161A19;
  --raised-2: #1B201F;
  --line: #262B29;
  --line-strong: #646A67;
  --ink: #F1F2EE;
  --muted: #A3A8A5;
  --accent: #287A70;
  --accent-strong: #1E5C55;
  --on-accent: #FFFFFF;
  --warn-bg: #3A2C10;
  --warn-ink: #F2CF85;
  --focus: #287A70;
  --wire: #6FC2B6;
  --r-card: 14px;
  --r-frame: 22px;
  --shadow-float: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -18px rgba(0,0,0,.85);
  --pad: clamp(16px, 4.4vw, 72px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--surface); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 15px/1.5 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
time, .num { font-variant-numeric: tabular-nums; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* type */
.eyebrow { font-size: 12px; line-height: 1.33; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.display { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.title { font-size: clamp(32px, 3.4vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.subtitle { font-size: 22px; line-height: 1.2; font-weight: 500; letter-spacing: -.015em; }
.lede { font-size: 17px; line-height: 1.5; color: var(--muted); margin-top: 20px; max-width: 34ch; }
.meta { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 4px; }

/* buttons, badges, icons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 "Instrument Sans", sans-serif; text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.link { color: var(--ink); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.ico { display: inline-grid; place-items: center; flex: none; }
.ico svg { width: 24px; height: 24px; }
.ico-sm svg { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1; font-weight: 500; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.badge-wait { background: var(--warn-bg); color: var(--warn-ink); }
.badge-neutral { background: #222826; color: var(--ink); }
.badge-pos { background: var(--accent); color: var(--on-accent); }
.badge-urgent { background: var(--warn-bg); color: var(--warn-ink); }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 14px var(--pad); background: linear-gradient(var(--surface) 64%, rgba(11,13,12,0)); }
.brand { display: inline-flex; min-height: 44px; align-items: center; }
.brand img { width: 108px; height: auto; }
.study-tag { font-size: 13px; color: var(--muted); margin-right: auto; padding-left: 16px; border-left: 1px solid var(--line); }

/* chapter rail (decorative) */
.chapters { display: none; }

/* ---------- cards (shared) ---------- */
.card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 18px 18px; border-radius: var(--r-card); background: linear-gradient(180deg, rgba(30,36,34,.94), rgba(20,24,23,.94)); border: 1px solid #2C3330; box-shadow: var(--shadow-float); width: 290px; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: #232A28; color: var(--ink); border: 1px solid #313936; }
.card .ico svg { width: 22px; height: 22px; }
.card-title { font-weight: 500; font-size: 16px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.card-title time { font-size: 13px; color: var(--muted); font-weight: 400; }
.card-text { margin: 6px 0 12px; color: #D3D6D2; font-size: 14px; line-height: 1.45; }
.card.is-case { border-color: #3A4441; }
.card.is-case .ico { background: var(--warn-bg); color: var(--warn-ink); border-color: #4A3A18; }

/* ---------- chat (shared) ---------- */
.chat { width: min(400px, 100%); background: rgba(18,22,21,.92); border: 1px solid #2C3330; border-radius: var(--r-frame); padding: 18px; box-shadow: var(--shadow-float); }
.chat-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat-who { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink); font-weight: 500; }
.msgs { display: grid; gap: 10px; position: relative; }
.msg { max-width: 86%; font-size: 14px; line-height: 1.45; }
.msg p { padding: 10px 14px; border-radius: 16px; }
.msg time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.msg.out { justify-self: start; }
.msg.out p { background: #26302D; border-bottom-left-radius: 6px; }
.msg.in { justify-self: end; text-align: right; }
.msg.in p { background: #EDEFEA; color: #121514; border-bottom-right-radius: 6px; text-align: left; }
.msg.sys { justify-self: center; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.photo-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink); background: #222826; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; margin-top: 6px; }
.chat-foot { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- node ---------- */
.node { position: relative; width: 220px; aspect-ratio: 1; display: grid; place-items: center; }
.node-halo { position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(40,122,112,.55) 0%, rgba(40,122,112,.18) 34%, rgba(40,122,112,0) 66%); pointer-events: none; }
.node-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(111,194,182,.35); box-shadow: 0 0 0 1px rgba(111,194,182,.06), inset 0 0 40px rgba(40,122,112,.25); }
.node-symbol { position: relative; width: 62%; height: auto; }

/* ---------- static layout (no JS, no GSAP, reduced motion) ---------- */
.stage { position: relative; padding: 120px var(--pad) 72px; }
.stage-bg, .ghosts, .wires { display: none; }
.captions { display: grid; gap: 56px; max-width: 760px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 48px 0; }
.cards .card { width: auto; }
.node { margin: 24px auto 40px; }
.chat { margin: 0 auto; }

/* ---------- order section ---------- */
.order { position: relative; padding: 40px var(--pad) 96px; display: grid; justify-items: center; }
.order-wire { width: 10px; height: 120px; overflow: visible; }
.order-wire path { stroke: var(--wire); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.order-head { text-align: center; max-width: 640px; margin: 24px 0 40px; }
.order-head .lede { margin-inline: auto; }
.request, .decision { width: min(920px, 100%); background: linear-gradient(180deg, #171C1A, #131716); border: 1px solid #2C3330; border-radius: var(--r-frame); box-shadow: var(--shadow-float); }
.request { padding: 28px; }
.request-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ico-box { width: 52px; height: 52px; border-radius: 14px; background: #EDEFEA; color: #121514; }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; padding-top: 24px; }
.steps { display: grid; gap: 4px; position: relative; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 8px 0 14px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 15.5px; top: 42px; bottom: -4px; width: 1px; background: var(--line-strong); }
.tick { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.tick svg { width: 18px; height: 18px; }
.step-title { font-weight: 500; font-size: 16px; }
.step-text { color: var(--muted); font-size: 14px; margin-top: 2px; }
.fields { border-left: 1px solid var(--line); padding-left: 32px; display: grid; }
.field { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.field:last-child { border-bottom: 0; }
.field dt { color: var(--muted); }
.field dd { display: flex; gap: 8px; align-items: center; }
.decision { margin-top: 16px; padding: 24px 28px 22px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.choice { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; text-align: left; min-height: 76px; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid #2E3532; background: #1A1F1E; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--line-strong); }
.choice[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice .key { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #262D2B; font-size: 14px; font-weight: 600; }
.choice[aria-pressed="true"] .key { background: rgba(255,255,255,.18); }
.choice .ico { display: none; }
.choice-label { font-weight: 500; font-size: 15px; }
.choice-text { font-size: 13px; color: var(--muted); grid-column: 2; }
.choice[aria-pressed="true"] .choice-text { color: rgba(255,255,255,.86); }
.outcome { margin-top: 16px; font-size: 14px; color: var(--ink); min-height: 21px; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 92vh; display: grid; align-items: center; padding: 96px var(--pad); overflow: hidden; isolation: isolate; }
/* the scene keeps the photo's 3:2 ratio so the symbol always rests on the pool of light (≈50% / 62% of the plate) */
.closing-scene { position: absolute; z-index: -1; right: -14%; top: 50%; translate: 0 -50%; width: max(92%, 1100px); aspect-ratio: 3 / 2; overflow: hidden; }
.closing-photo { position: absolute; inset: 0; background: #0B0D0C url(assets/img/desk-close.webp) center / cover no-repeat; scale: 1.06; }
.closing-veil { position: absolute; inset: 0; background: linear-gradient(90deg, var(--surface) 0%, rgba(11,13,12,.75) 26%, rgba(11,13,12,0) 52%), linear-gradient(0deg, var(--surface) 0%, rgba(11,13,12,0) 26%), linear-gradient(180deg, var(--surface) 0%, rgba(11,13,12,0) 24%), linear-gradient(270deg, rgba(11,13,12,.8) 0%, rgba(11,13,12,0) 18%); }
.closing-mark { position: absolute; z-index: 1; left: 50%; top: 63%; width: 17%; translate: -50% -100%; }
.closing-lift { position: relative; }
.closing-glow { position: absolute; inset: -60% -70% -40%; background: radial-gradient(closest-side, rgba(40,122,112,.42), rgba(40,122,112,0)); }
.closing-copy { max-width: 520px; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 46ch; padding-top: 16px; border-top: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 28px; }

.foot { display: flex; gap: 20px; align-items: center; padding: 32px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot img { flex: none; }

/* ---------- motion layout: pinned stage driven by app.js ---------- */
.motion .stage { padding: 0; height: 100vh; height: 100lvh; } /* iOS: the stage fills the screen with the toolbar hidden; content is laid out in the small viewport */
.motion .stage-inner { position: relative; height: 100%; overflow: hidden; }
.motion .stage-bg { display: block; position: absolute; inset: 0; }
.motion .stage-photo { position: absolute; inset: -8%; background: #0B0D0C url(assets/img/bg-operations-night.webp) center / cover no-repeat; opacity: .55; will-change: transform; }
.motion .stage-veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 62% 46%, rgba(11,13,12,.15), rgba(11,13,12,.86) 72%), linear-gradient(180deg, rgba(11,13,12,.85), rgba(11,13,12,0) 26%, rgba(11,13,12,0) 74%, rgba(11,13,12,.95)); }
.motion .ghosts { display: block; position: absolute; inset: 0; }
.motion .ghost { position: absolute; width: 230px; height: 96px; border-radius: var(--r-card); background: rgba(26,31,30,.7); border: 1px solid rgba(60,70,66,.5); padding: 16px; filter: blur(3px); opacity: .45; will-change: transform; }
.motion .ghost i { display: block; width: 28px; height: 28px; border-radius: 8px; background: #2A3230; float: left; margin-right: 12px; }
.motion .ghost b { display: block; height: 8px; border-radius: 4px; background: #2C3532; margin: 4px 0 12px 40px; width: 55%; }
.motion .ghost b + b { width: 80%; }
.motion .wires { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.motion .wire-paths path { fill: none; stroke: url(#wire-fade); stroke-width: 1.2; stroke-linecap: round; }
.motion .wire-paths path.ambient { stroke: #4E9C91; stroke-width: .8; }
.motion .wire-sparks circle { fill: #BFF0E7; }
.motion .wire-chat, .motion .wire-down { fill: none; stroke: var(--wire); stroke-width: 1.2; stroke-opacity: .75; stroke-linecap: round; }
.motion .captions { position: absolute; left: var(--pad); top: 50%; translate: 0 -50%; width: min(520px, 38vw); z-index: 4; display: block; }
.motion .caption { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 100%; }
.motion .caption[data-cap="0"] .display { font-size: clamp(44px, 5vw, 72px); }
.motion .cards { position: absolute; inset: 0; margin: 0; display: block; z-index: 3; }
.motion .cards .card { position: absolute; left: 0; top: 0; width: 280px; will-change: transform, opacity; }
.motion .node { position: absolute; left: 0; top: 0; margin: 0; z-index: 4; width: 200px; will-change: transform; }
.motion .stage .chat { position: absolute; left: 0; top: 0; margin: 0; z-index: 5; width: 380px; will-change: transform, opacity; }
.motion .msgs-window { overflow: hidden; padding-top: 4px; }
.motion .msgs { will-change: transform; }
.motion .chapters { display: flex; position: fixed; left: var(--pad); bottom: 28px; z-index: 20; gap: 22px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.motion .chapters li { display: flex; align-items: center; gap: 8px; opacity: .5; transition: opacity .3s, color .3s; }
.motion .chapters li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--muted); transition: background-color .3s, border-color .3s; }
.motion .chapters li.on { opacity: 1; color: var(--ink); }
.motion .chapters li.on::before { background: var(--accent); border-color: var(--accent); }
.motion.past-stage .chapters { opacity: 0; pointer-events: none; }
.motion .order-wire path { stroke-dashoffset: 1; }

/* The motion layout is chosen before first paint (inline script in index.html) so the hero never jumps; the parts app.js
   positions stay hidden until its first render. Only containers fade: app.js writes opacity on .node, .chat and captions every frame. */
.motion .cards, .motion .ghosts, .motion .wires { transition: opacity .3s ease-out; }
.motion.motion-pending .cards, .motion.motion-pending .ghosts, .motion.motion-pending .wires, .motion.motion-pending .chapters { opacity: 0; }
.motion.motion-pending .node, .motion.motion-pending .stage .chat, .motion.motion-pending .caption:not([data-cap="0"]) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .motion .cards, .motion .ghosts, .motion .wires { transition: none; } }
/* Brand mark where the cards will land, only while app.js is still loading. No storage: a cached (repeat) visit is
   ready before the 400 ms delay, so only a slow first visit sees it. Small, non-blocking, never over the headline (LCP);
   fades in over 200 ms, one soft pulse, gone by 1.6 s even if the page is still loading. */
.motion .stage-inner::after { content: ""; position: absolute; z-index: 2; left: 66%; top: 50%; width: 118px; height: 37px; translate: -50% -50%; background: url(assets/svg/logo-white.svg) center / contain no-repeat; opacity: 0; pointer-events: none; }
.motion.motion-pending .stage-inner::after { animation: holent-wait 1.2s cubic-bezier(.4, 0, .2, 1) .4s both; }
@keyframes holent-wait { 0% { opacity: 0; } 17% { opacity: .5; } 50% { opacity: .25; } 83% { opacity: .5; } 100% { opacity: 0; } }
@media (max-width: 899px) { .motion .stage-inner::after { left: 50%; top: 78%; } }

@media (max-width: 1180px) {
  .motion .chapters { display: none; }
}
@media (max-width: 899px) {
  .study-tag { display: none; }
  .top { padding: 10px 16px; }
  .brand { margin-right: auto; }
  .lede { font-size: 16px; margin-top: 14px; }
  .motion .captions { left: 16px; right: 16px; width: auto; top: 76px; translate: none; }
  .motion .caption { top: 0; translate: none; }
  .motion .caption .display, .motion .caption[data-cap="0"] .display { font-size: clamp(32px, 9.4vw, 44px); }
  .motion .cards .card { width: 252px; padding: 14px 16px 14px 14px; gap: 12px; }
  .motion .card .ico { width: 34px; height: 34px; }
  .motion .card-title { font-size: 15px; }
  .motion .card-text { font-size: 13px; margin: 4px 0 10px; }
  .motion .card.c3, .motion .card.c7 { display: none; }
  .motion .ghost { width: 180px; height: 80px; }
  .motion .ghost.g7, .motion .ghost.g8, .motion .ghost.g9, .motion .ghost.g10 { display: none; }
  .motion .stage .chat { width: min(358px, calc(100vw - 32px)); padding: 14px; }
  .motion .stage .chat .msg { font-size: 13px; }
  .motion .stage .chat-foot { margin-top: 10px; }
  .motion .caption[data-cap="2"] .display { font-size: clamp(28px, 7.6vw, 34px); }
  .motion .caption[data-cap="2"] .lede { display: none; }
  .motion .node { width: 150px; }
  .request { padding: 20px; }
  .request-head { grid-template-columns: auto 1fr; }
  .request-head .badge { grid-column: 1 / -1; justify-self: start; white-space: normal; line-height: 1.3; }
  .request-grid { grid-template-columns: 1fr; }
  .fields { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .field { grid-template-columns: 96px 1fr; }
  .decision { padding: 20px; }
  .choices { grid-template-columns: 1fr; }
  .choice { min-height: 64px; }
  .closing { min-height: 0; align-items: end; padding-top: 330px; }
  .closing-scene { right: auto; left: 50%; top: 0; translate: -50% 0; width: 170vw; }
  .closing-mark { width: 20%; }
  .closing-veil { background: linear-gradient(0deg, var(--surface) 30%, rgba(11,13,12,0) 50%), linear-gradient(180deg, var(--surface) 0%, rgba(11,13,12,0) 20%); }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .motion .caption[data-cap="0"] .lede, .motion .caption[data-cap="1"] .lede { display: none; }
}
@media (max-width: 360px) {
  .motion .cards .card { width: 232px; }
  .btn-sm { padding: 0 14px; }
}

/* ---------- Clarity v2 · Copy v3 sections ---------- */
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--muted); text-decoration: none; border-radius: 999px; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.hero-actions { margin-top: 28px; }
.display-md { font-size: clamp(34px, 3.9vw, 56px); }
.motion .caption[data-cap="1"] .display { font-size: clamp(34px, 3.9vw, 56px); }
.section-head { text-align: center; max-width: 640px; margin: 24px auto 40px; }
section[id] { scroll-margin-top: 72px; }

/* conversation */
.talk { padding: 96px var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; }
.talk-chat { width: 100%; }
.talk-msgs { scroll-margin-bottom: 120px; }
.msg.typing p { color: var(--muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #34403C; background: #1A1F1E; color: var(--ink); font: 400 13px/1.3 "Instrument Sans", sans-serif; text-align: left; cursor: pointer; transition: border-color .15s; }
.chip:hover { border-color: var(--wire); }
.chip:disabled { opacity: .45; cursor: default; }
.follow { margin-top: 14px; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); font-size: 14px; }
.follow-row, .ask { display: flex; gap: 8px; margin-top: 12px; }
.follow-row input, .ask input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #2E3532; background: #101413; color: var(--ink); font: 400 14px "Instrument Sans", sans-serif; }
.ask { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
button:disabled.btn { opacity: .5; cursor: not-allowed; }

/* how it works */
.how { padding: 72px var(--pad) 96px; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; counter-reset: s; }
.how-step { position: relative; padding: 24px; border-radius: var(--r-frame); background: #131716; border: 1px solid #2C3330; }
.how-step .key { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
/* Four panels from the generated illustration sheet; the copy supplies their meaning. */
.how-art { display: block; width: 100%; max-width: 280px; aspect-ratio: 1.1; margin: 0 auto 24px; background-image: url(assets/how-it-works.webp); background-repeat: no-repeat; background-size: 400% auto; background-position-y: center; }
.how-art-need { background-position-x: 0%; }
.how-art-scope { background-position-x: 33.333333%; }
.how-art-build { background-position-x: 66.666667%; }
.how-art-care { background-position-x: 100%; }
.how-step h3 { font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--muted); }
.how-step:not(:last-child)::after { content: ""; position: absolute; top: 40px; left: calc(24px + 40px); right: -17px; height: 1px; background: linear-gradient(90deg, var(--line-strong), rgba(100,106,103,0)); }

/* ownership */
.own { padding: 72px var(--pad) 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; }
.own .lede { max-width: 46ch; }
.own-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.own-opt { padding: 22px; border-radius: var(--r-frame); background: linear-gradient(180deg, #171C1A, #131716); border: 1px solid #2C3330; }
.own-opt h3 { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.own-opt p { font-size: 14px; color: var(--muted); }
.own-foot { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--ink); padding: 12px; border: 1px dashed #34403C; border-radius: 999px; }

/* faq */
.faq { padding: 72px var(--pad) 96px; }
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding: 0 0 20px; max-width: 64ch; }

.foot { flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--ink); }
.foot-links a { text-decoration: none; }

@media (max-width: 1279px) { .study-tag { display: none; } }
@media (max-width: 1023px) {
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .how-step::after { display: none; }
  .talk, .own { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 899px) {
  .nav { display: none; }
  .hero-actions { margin-top: 18px; }
  .motion .caption[data-cap="1"] .display { font-size: clamp(28px, 7.8vw, 36px); }
  .motion .caption[data-cap="0"] .display { font-size: clamp(30px, 8.6vw, 40px); }
  .motion .caption[data-cap="0"] .lede { display: none; }
}
@media (max-width: 639px) {
  .sol-grid, .own-opts { grid-template-columns: 1fr; }
  .how-step { min-width: 0; padding: 14px; }
  .how-art { max-width: 132px; margin-bottom: 14px; }
  .how-step .key { width: 26px; height: 26px; font-size: 13px; margin-bottom: 12px; }
  .how-step h3 { font-size: 16px; }
  .how-step p { font-size: 13px; line-height: 1.5; }
  .talk, .how, .own, .faq { padding-block: 64px; }
  .faq summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sm-opts span { animation: none; } }

/* ---------- Clarity v4 ---------- */
.hero-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero-areas a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding: 6px 0 2px; }
.hero-areas a:hover { border-color: var(--ink); }
.groups { display: none; }
.motion .groups { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.motion .group { position: absolute; display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); will-change: transform, opacity; }
.group .g-n { font-size: 11px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.group .g-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong); transform-origin: 0 50%; transform: scaleX(var(--rule, 0)); }

/* solutions: three areas, each with its own example */
.solutions { position: relative; padding: 40px var(--pad) 96px; display: grid; justify-items: center; }
.section-head .lede { margin-inline: auto; max-width: 52ch; }
.areas { width: min(1120px, 100%); display: grid; gap: 20px; }
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.area:nth-child(2) .area-copy { order: 2; }
.a-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.a-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -.025em; }
.a-desc { font-size: 17px; color: var(--muted); margin-top: 12px; max-width: 42ch; }
.a-list { margin-top: 22px; border-top: 1px solid var(--line); }
.a-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.a-list b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.demo { padding: 22px; border-radius: var(--r-frame); background: linear-gradient(180deg, #171C1A, #131716); border: 1px solid #2C3330; box-shadow: var(--shadow-float); position: relative; }
.ex-tag { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.q-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.q-label { font-size: 13px; color: var(--muted); }
.q-opts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.q-opt { min-height: 40px; min-width: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #2E3532; background: #1A1F1E; color: var(--ink); font: 500 13px/1 "Instrument Sans", sans-serif; cursor: pointer; transition: background-color .15s, border-color .15s; }
.q-opt:hover { border-color: var(--line-strong); }
.q-opt[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sheet { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-card); background: #101413; border: 1px solid var(--line); font-size: 13.5px; }
.sheet .ln { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: opacity .3s; }
.sheet .ln b { color: var(--ink); font-weight: 500; }
.sheet .ln.off { display: none; }
.q-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-size: 13px; color: var(--muted); }
.q-total strong { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.q-rule { font-size: 12px; color: var(--muted); margin-top: 6px; }
.st-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.rail { position: relative; padding-left: 26px; }
.rail::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 1.5px; background: #34403C; }
.rail li { position: relative; padding: 9px 0; font-size: 14px; color: var(--muted); }
.rail li small { display: block; font-size: 12px; color: var(--muted); opacity: .8; }
.rail li::before { content: ""; position: absolute; left: -23px; top: 14px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.rail li.on { color: var(--ink); }
.rail li.on::before { background: var(--accent); border-color: var(--wire); }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; }
.st-reset { background: none; border: 0; padding: 0; font: 500 14px "Instrument Sans", sans-serif; color: var(--muted); cursor: pointer; text-decoration: underline; }
.inbox { min-height: 190px; padding: 12px; border-radius: var(--r-card); background: #101413; border: 1px solid var(--line); display: grid; align-content: start; gap: 8px; }
.inbox .ih { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.msg-u { font-size: 13px; padding: 9px 11px; border-radius: 12px 12px 12px 4px; background: #26302D; animation: land .5s cubic-bezier(.2,.7,.2,1) both; }
.msg-u small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
@keyframes land { from { opacity: 0; translate: -14px 6px; } }
.sys { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; }
.pane { min-height: 132px; padding: 10px; border-radius: 12px; background: #101413; border: 1px solid var(--line); font-size: 12.5px; }
.pane .ph { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pane .p-sub { font-size: 12.5px; margin-bottom: 6px; }
.tok { display: inline-flex; font-size: 12px; padding: 4px 8px; border-radius: 7px; background: #1F2524; border: 1px solid #34403C; margin: 3px 3px 0 0; }
.prow { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); color: var(--muted); }
.prow:first-of-type { border-top: 0; }
.prow.new { color: var(--ink); animation: land .5s both; }
.flyer { position: absolute; z-index: 3; margin: 0; pointer-events: none; }
.ask-k { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-card); border: 1px solid var(--line); font-size: 14px; }
.ak-q { color: var(--muted); }
.ak-a:not(:empty) { margin: 8px 0 4px; color: var(--ink); }
.ak-a small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.sol-more { margin-top: 40px; display: grid; justify-items: center; gap: 18px; text-align: center; color: var(--muted); max-width: 56ch; }
.ask input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #2E3532; background: #101413; color: var(--ink); font: 400 15px "Instrument Sans", sans-serif; }
.ask input:focus { border-color: var(--wire); outline: none; }
.how-note { max-width: 1120px; margin: 20px auto 0; font-size: 14px; color: var(--muted); }
@media (max-width: 899px) {
  .hero-areas { margin-top: 14px; font-size: 14px; }
  .area { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .area:nth-child(2) .area-copy { order: 0; }
  .demo { padding: 16px; }
  .st-wrap { grid-template-columns: 1fr; }
  .sys { grid-template-columns: 1fr 1fr; }
  .sys .pane[data-src] { grid-column: 1 / -1; min-height: 0; }
  .motion .group { font-size: 14px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .motion .caption[data-cap="0"] .hero-areas { display: none; }
}

[hidden] { display: none !important; }

.static .node { display: none; }
html { overflow-x: clip; }

/* ---------- Clarity v4.1: fixed connectors, symbol, closing, chat entry ---------- */
.motion .wire-paths path.conn { stroke: var(--wire); stroke-width: 1; stroke-opacity: .7; stroke-linecap: round; stroke-linejoin: round; }
.motion .node { z-index: 6; }
.closing-symbol { width: 100%; height: auto; position: relative; overflow: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.talk-entry { width: 100%; }
.te-box { display: flex; align-items: flex-end; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 22px; background: #101413; border: 1px solid #2E3532; transition: border-color .15s; }
.te-box:focus-within { border-color: var(--wire); }
.te-box textarea { flex: 1; min-width: 0; min-height: 48px; resize: none; border: 0; background: none; color: var(--ink); font: 400 16px/1.45 "Instrument Sans", sans-serif; padding: 12px 0; outline: none; }
.te-box textarea::placeholder { color: var(--muted); }
.talk-entry .suggest { margin-top: 14px; }
.talk-entry .chip { display: inline-flex; align-items: center; text-decoration: none; }
.talk-entry .note { margin-top: 16px; }

/* touch targets ≥ 44 px */
.hero-areas a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.q-opt { min-height: 44px; }
.st-reset { min-height: 44px; min-width: 44px; padding: 0 6px; }
.foot-links a, .foot-links span { display: inline-flex; align-items: center; min-height: 44px; }
.talk-entry .chip { min-height: 44px; }

.foot-links a { min-width: 44px; justify-content: center; }

@media (max-width: 899px) { .motion .caption[data-cap="1"] .eyebrow, .motion .caption[data-cap="2"] .eyebrow { padding-right: 60px; } }

@media (min-width: 560px) and (max-width: 899px) { .closing { padding-top: 500px; } }

.svh-probe { position: fixed; left: 0; top: 0; width: 0; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
.motion .wires { inset: 0 auto auto 0; }

.motion .msgs, .motion .stage .msg { will-change: auto; }

@media (max-width: 899px) { .solutions { padding-top: 0; } .solutions .order-wire { height: 56px; } } /* the line from the answer runs straight into the section */

@media (max-width: 899px) { .solutions .order-wire { margin-top: -3px; } }

/* ---------- closing: a single conversation entry ---------- */
.bridge { position: relative; margin-top: 28px; }
.br-card { width: 100%; }
.closing .actions { margin-top: 18px; justify-content: center; }
.closing-copy { max-width: 560px; }
@media (max-width: 899px) {
  .closing { padding-bottom: 48px; }
}
@media (max-width: 400px) {
  .te-box { flex-direction: column; align-items: stretch; padding: 8px 8px 8px 14px; }
  .te-box textarea { min-height: 52px; padding: 10px 0 4px; }
  .te-box .btn { width: 100%; }
}

/* while the conversation is open full screen: the page underneath neither scrolls nor paints */
html.chat-open, html.chat-open body { overflow: hidden; overscroll-behavior: none; }
html.chat-covered body > main, html.chat-covered body > .top, html.chat-covered body > .chapters, html.chat-covered body > .foot { visibility: hidden; }

html { scrollbar-gutter: stable; }

/* mobile: one continuous line from the answer, with a scroll-linked symbol */
.sol-link { display: none; }
@media (max-width: 899px) {
  .solutions .order-wire { display: none; }
  .motion .wire-down { display: none; }
  .sol-link { display: grid; place-items: center; position: relative; width: 100%; height: 104px; }
  .sol-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.2px; translate: -50% 0; background: var(--wire); opacity: .75; }
  .sol-mark { position: absolute; top: 0; transform: translateY(48px); z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #16201e 0%, var(--surface) 70%); border: 1px solid rgba(111,194,182,.35); }
  .sol-mark svg { width: 58%; height: auto; overflow: visible; }
}

/* the stage's photo layer (snapped to whole pixels) bleeds one row of itself past the end of the pin, a faint line along the
   stage's bottom edge: the first rows of the next section, in the page colour, cover it; the lines pass over the cover */
.motion .solutions::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--surface); }
.motion .solutions .order-wire { position: relative; }
.motion .solutions .order-wire path { stroke-width: 1.2; stroke-opacity: .75; stroke-dashoffset: 0; }
@media (min-width: 900px) {
  /* Bridge the section's top padding so the line meets the stage without a gap. */
  .motion .solutions .order-wire { height: 160px; margin-top: -40px; }
}

/* mobile menu: the main links stay reachable below 900px */
.menu { display: none; }
@media (max-width: 899px) {
  .top { gap: 8px; }
  .menu { display: block; position: relative; }
  .menu summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--raised-2); }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: flex; flex-direction: column; min-width: 200px; padding: 6px; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
  .menu nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink); text-decoration: none; border-radius: 10px; font-size: 15px; }
  .menu nav a:hover, .menu nav a:focus-visible { background: var(--raised-2); }
}

/* the header button returns once the hero's button is gone (cta-wait starts in the home's markup and app.js keeps it
   current; the rules need .js, so without JS it always shows) */
.top > .btn { transition: opacity .2s, visibility .2s; }
.js .top.cta-wait > .btn { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .top > .btn { transition: none; } }

/* Collapse the mobile action's space together with its fade, carrying the menu along. */
@media (max-width: 899px) {
  .top { --header-gap: 8px; gap: var(--header-gap); }
  .top > .btn-sm {
    flex: 0 0 auto;
    width: 112px;
    padding-inline: 10px;
    white-space: nowrap;
    overflow: hidden;
    transition: width .2s, padding .2s, margin .2s, border-width .2s, opacity .2s;
  }
  .js .top.cta-wait > .btn-sm {
    width: 0;
    padding-inline: 0;
    border-inline-width: 0;
    margin-left: calc(-1 * var(--header-gap));
  }
}
@media (max-width: 360px) {
  .top { --header-gap: 6px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .top > .btn-sm { transition: none; }
}

/* the client's inbox explains itself before the first update */
.inbox-empty { margin: auto 0; padding: 12px 4px; font-size: 13px; color: var(--muted); text-align: center; }
.inbox:has(.msg-u) .inbox-empty { display: none; }

/* legibility: nothing below 12px, supporting notes at 13px */
.group .g-n, .ex-tag, .msg-u small, .pane .ph { font-size: 12px; }
.rail li small, .q-rule, .msg time, .chat-foot, .ak-a small, .inbox .ih { font-size: 13px; }

@media (max-width: 899px) {
  /* phones: a solid header, so the page doesn't show through it while scrolling */
  .top {
    /* Sticky follows iOS toolbar changes in the document's scroll container.
       Reserve a stable row and cancel its flow space to preserve the hero layout. */
    position: sticky;
    top: 0;
    height: calc(64px + env(safe-area-inset-top, 0px));
    margin-bottom: calc(-64px - env(safe-area-inset-top, 0px));
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
    background: var(--surface);
    box-shadow: 0 1px 0 var(--line);
  }
}
/* less dead space between the last area and the conversation section, which has its own top padding */
.solutions { padding-bottom: 32px; }

/* Audit: keep the compact header action on one line, including with a reserved scrollbar. */
@media (max-width: 360px) {
  .top { gap: 6px; }
  .top > .btn-sm { flex-shrink: 0; padding-inline: 10px; white-space: nowrap; }
}
.skip { min-height: 44px; }

/* Updates in the local examples respect the same motion preference as the story. */
@media (prefers-reduced-motion: reduce) {
  .msg-u, .prow.new { animation: none; }
  .faq summary::after { transition: none; }
}

/* Swipeable process below desktop; card transforms belong to the carousel only. */
.how-controls { display: none; }
@media (max-width: 899px) {
  .how-steps { position: relative; display: flex; gap: 16px; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain; padding-block: 8px; padding-right: calc(100% - 80vw); scrollbar-width: thin; }
  .how-step { flex: 0 0 80vw; min-width: 0; padding: 24px; scroll-snap-align: start; opacity: .62; transform: scale(.96); transform-origin: center; transition: opacity .2s, transform .2s; }
  .how-step.is-active { opacity: 1; transform: scale(1); }
  .how-art { max-width: 200px; margin-bottom: 20px; }
  .how-step h3 { font-size: 18px; }
  .how-step p { font-size: 14px; }
  .how-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 18px; }
  .how-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--raised); color: var(--ink); font: 24px/1 system-ui, sans-serif; cursor: pointer; }
  .how-controls button:disabled { opacity: .35; cursor: default; }
  .how-position { min-width: 42px; text-align: center; color: var(--muted); }
  .motion .solutions { margin-top: calc(-1 * var(--stage-tail, 0px)); background: var(--surface); }
  .static .stage { padding-bottom: 12px; }
}
/* The copy rests over the bottom fade, below the complete symbol (which ends at 63%). */
@media (max-width: 1099px) {
  .faq { padding-bottom: 24px; }
  .closing { min-height: 0; padding: 0 var(--pad) 64px; gap: 0; }
  .closing-scene { position: relative; z-index: 0; inset: auto; translate: none; width: 100%; max-width: 800px; aspect-ratio: 3 / 2; margin-inline: auto; }
  .closing-mark { width: 20%; }
  /* 37% of the 3:2 scene remains below the mark; reserve 24px before the copy. */
  .closing-copy { position: relative; z-index: 2; width: 100%; margin: max(calc(-1 * min((100vw - 2 * var(--pad)) * .19, 152px)), calc(24px - min(100vw - 2 * var(--pad), 800px) * .2466667)) auto 0; }
  .closing-veil { background: linear-gradient(0deg, var(--surface) 12%, rgba(11,13,12,.95) 27%, transparent 43%), linear-gradient(180deg, var(--surface), transparent 24%); }
}
@media (prefers-reduced-motion: reduce) {
  .how-step { transition: none; }
}

/* CRO v1 */
.email-preference { margin-top: 14px; color: var(--muted); font-size: 14px; }
.email-preference a { color: var(--wire); }
.founder-strip { display: flex; align-items: center; gap: 20px; width: min(1120px, calc(100% - 2 * var(--pad))); margin: 0 auto 72px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--raised); }
.founder-avatar { display: grid; flex: 0 0 56px; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: var(--wire); color: var(--surface); font-weight: 600; }
.founder-strip p { margin: 0; }.founder-strip p + p { margin-top: 4px; color: var(--muted); }.founder-strip .link { margin-left: auto; white-space: nowrap; }
@media (max-width: 600px) { .founder-strip { align-items: flex-start; flex-wrap: wrap; margin-bottom: 48px; }.founder-strip .link { width: 100%; margin-left: 76px; } }

/* Conversation closes the four-step row; below 900px it is the fifth carousel card. */
.how-art-chat { background: none; height: auto; }
.how-invite { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.how-invite .how-art { margin-bottom: 0; }
.how-step:nth-child(4)::after { display: none; }
@media (min-width: 900px) {
  .how-invite { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 32px; }
  .how-invite .how-art { width: 160px; margin: -12px 0; flex: none; }
  .how-invite-copy { flex: 1; }
  .how-invite .btn { flex: none; }
}
/* the header carries the three area pages; on medium screens the in-page links give way to them */
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) { .nav a[href="#how"], .nav a[href="#faq"] { display: none; } }
/* the three areas: short cards that lead to each area's page */
.areas-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area-card { position: relative; display: flex; align-items: stretch; cursor: pointer; padding: 28px 26px 26px; border: 1px solid #2C3330; border-radius: var(--r-frame); background: linear-gradient(180deg, #171C1A, #131716); transition: border-color .2s, transform .2s; }
.area-card:hover, .area-card:focus-within { border-color: var(--wire); transform: translateY(-2px); }
.area-card .area-copy { display: flex; flex-direction: column; width: 100%; }
.area-card .a-title { font-size: clamp(22px, 1.9vw, 27px); }
.area-card .a-desc { font-size: 15px; margin-top: 10px; }
.a-tags { display: grid; gap: 8px; margin: 22px 0 26px; }
.a-tags li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink); }
.a-tags li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--wire); translate: 0 -1px; }
.area-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; color: var(--wire); text-decoration: none; }
.area-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card:hover .area-go { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .areas-cards { grid-template-columns: 1fr; } .area-card { padding: 22px 20px; } .a-tags { margin: 16px 0 18px; } }
@media (prefers-reduced-motion: reduce) { .area-card { transition: none; } .area-card:hover { transform: none; } }
/* closing photo below 1100px: it is narrower than the screen, so its sides fade into the page instead of ending in a hard edge */
@media (max-width: 1099px) {
  .closing-scene { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 74%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 74%, transparent 100%); }
}

/* CRO v2 */
.trust-line { display:flex; flex-wrap:wrap; gap:0 .45em; margin:16px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.expect-section { width:min(1120px,calc(100% - 2 * var(--pad))); margin:0 auto 24px; }.expect-section .own-copy { margin-bottom:20px; }.expect-section .expect-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }.expect-section .expect-grid > div { padding:20px; border:1px solid var(--line); border-radius:var(--r-frame); background:var(--raised); }.expect-section .expect-grid h3 { margin:0 0 8px; font-size:18px; }.expect-section .expect-grid p,.expect-note { margin:0; color:var(--muted); font-size:15px; line-height:1.5; }.expect-note { margin-top:16px; }@media(max-width:700px){.expect-section .expect-grid{grid-template-columns:1fr}}
/* CRO v1/v2: o H1 novo é mais longo que o original; reduz o tamanho para caber na intro sem cobrir o eyebrow */
@media (min-width: 900px) { .motion .caption[data-cap="0"] .display { font-size: clamp(40px, 3.6vw, 54px); } }
@media (max-width: 899px) { .motion .caption[data-cap="0"] .display { font-size: clamp(28px, 7.8vw, 36px); } }
/* CRO v2 · faixa do fundador com foto, e-mail direto e formulário mailto */
.founder-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 360px); align-items: center; gap: 24px 28px; padding: 28px; }
.founder-strip .founder-photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.founder-strip .eyebrow { margin: 0 0 6px; }
.founder-strip .founder-name { margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-weight: 500; }
.founder-strip .founder-copy p { color: var(--muted); }
.founder-strip .founder-mail { margin-top: 10px; }
.founder-strip .founder-mail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.founder-form { display: grid; gap: 8px; }
.founder-form label { font-size: 14px; color: var(--muted); }
.founder-form textarea { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #0b0d0c); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; box-sizing: border-box; }
.founder-form .btn { justify-self: start; }
.founder-form .founder-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .founder-strip { grid-template-columns: auto minmax(0, 1fr); } .founder-form { grid-column: 1 / -1; } }
@media (max-width: 600px) { .founder-strip { grid-template-columns: 1fr; padding: 20px; } .founder-strip .founder-photo { width: 88px; height: 88px; } }
/* V3 · formulário do fundador (nome, e-mail, empresa, mensagem, consentimento) */
.founder-form .ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.founder-form .ff-field { display: grid; gap: 4px; }
.founder-form .ff-field span { color: var(--muted); font-weight: 400; }
.founder-form input:not([type=checkbox]) { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #0b0d0c); color: var(--ink); font: inherit; font-size: 15px; box-sizing: border-box; }
.founder-form textarea { min-height: 72px; }
.founder-form .ff-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.founder-form .ff-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.founder-form .ff-consent a { color: var(--ink); text-decoration: underline; }
.founder-form .founder-note:empty { display: none; }
@media (max-width: 600px) { .founder-form .ff-row { grid-template-columns: 1fr; } }
@media (pointer: coarse) { .founder-form .ff-consent { min-height: 44px; } .founder-form .ff-consent input { width: 22px; height: 22px; } }

/* founder form honeypot */
.ff-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* the report link under "The problem": below the cards on phones, so the top of the section breathes */
.stage-more { margin-top: 24px; }
.stage-more .link { font-style: italic; font-size: 15px; color: var(--muted); text-decoration: none; }
.stage-more .link:hover, .stage-more .link:focus-visible { color: var(--ink); text-decoration: underline; }
@media (max-width: 899px) {
  .motion .caption[data-cap="1"] .stage-more { position: absolute; left: 0; right: 0; top: calc(100svh - 76px - 12px); translate: 0 -100%; margin: 0; }
}
