/* =====================================================================
   Ordo v2 - site styles
   Style: "Terracotta meets human science" (Refero 7e70596d).
   Cream paper canvas, oatmeal bands, charcoal ink, burnt terracotta accent.
   Serif display (Baskervville 400, real italics), light sans
   body (DM Sans 300/600), Fragment Mono for small technical labels.
   Pills for actions and fields, 12px cards, 6px accordion rows,
   24px raised panels (pricing + footer only).
   Motion: transform/opacity/clip-path/filter, IntersectionObserver + rAF,
   every loop pausable, prefers-reduced-motion honored.
   ===================================================================== */
:root {
  /* palette (roles from the style) */
  --accent: #b05a36;        /* terracotta: italics, actions, fine icons */
  --accent-d: #964a2b;
  --accent-text: #9a4b2b;   /* same hue, darker: small terracotta text on oatmeal stays above 4.5:1 */
  --accent-soft: rgba(176,90,54,.12);
  --accent-ring: rgba(176,90,54,.35);
  --canvas: #fef9ef;        /* cream paper, the page */
  --oat: #f5eee1;           /* oatmeal: cards, bands, accordion */
  --stone: #ddd6ca;         /* media backing */
  --rule: #d1c9bf;          /* warm hairline */
  --edge: #737373;          /* field outline */
  --muted: #515151;         /* graphite secondary text */
  --ink: #2a2b2f;           /* charcoal */
  --field: #ffffff;
  --on-dark: #fef9ef;
  --on-dark-muted: rgba(254,249,239,.74);

  /* legacy names used by inline styles in older markup */
  --teal: var(--accent); --violet: var(--accent); --blue: var(--ink);
  --paper: var(--canvas); --mist: var(--oat); --peach: var(--oat); --mint: var(--oat); --lav: var(--oat);
  --fog: var(--muted); --hair: var(--rule); --on-ink-muted: var(--on-dark-muted);

  --serif: "Baskervville", "Financier Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "FT Base", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-pill: 9999px; --r-card: 12px; --r-row: 6px; --r-panel: 24px; --r-sq: 4px;
  --shadow-raised: 12px 32px 80px 0 rgba(42,43,47,.1);
  --shadow-light: 0 2px 12px 0 rgba(0,0,0,.1);
  --max: 1376px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
b, strong { font-weight: 600; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--canvas); }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .result-hero :focus-visible { outline-color: rgba(254,249,239,.7); }
html { scrollbar-color: var(--rule) var(--canvas); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--canvas); color: var(--ink); padding: 8px 12px; z-index: 999; border-radius: var(--r-pill); }
.skip:focus { left: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 6.6vw, 96px); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.display { font-size: clamp(42px, 5.1vw, 76px); line-height: 1.02; margin: 0; }
.h1 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.04; margin: 0; }
.h2 { font-size: clamp(33px, 4vw, 56px); line-height: 1.08; margin: 0; }
.h3 { font-size: clamp(23px, 2.2vw, 31px); line-height: 1.16; margin: 0; }
.em, .h1 em, .h2 em, .h3 em, .display em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; margin: 0; font-weight: 300; }
.muted { color: var(--muted); }
.mono, .tech { font-family: var(--mono); font-size: 11px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.small { font-size: 14px; line-height: 1.5; }
.center { text-align: center; }
/* the old eyebrow class is kept for markup compatibility but no longer used above headings */
.eyebrow { display: none; }

/* ---------- Buttons (pills) ---------- */
.btn {
  --bg: var(--accent); --fg: var(--canvas); --bd: var(--accent);
  --bgh: var(--ink); --fgh: var(--canvas); --bdh: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 12px 25px; border: 1px solid var(--bd); border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.5;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--bgh); color: var(--fgh); border-color: var(--bdh); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn:focus-visible { background: var(--bgh); color: var(--fgh); border-color: var(--bdh); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-teal, .btn-violet, .btn-blue, .btn-primary { /* all primary actions are terracotta in v2 */ }
.btn-outline, .btn-secondary { --bg: var(--canvas); --fg: var(--accent); --bd: var(--accent); }
.btn-white, .btn-light { --bg: var(--canvas); --fg: var(--accent); --bd: var(--canvas); --bgh: var(--accent); --fgh: var(--canvas); --bdh: var(--accent); box-shadow: var(--shadow-light); }
.btn-outline-light, .btn-ghost-light { --bg: transparent; --fg: var(--canvas); --bd: rgba(254,249,239,.7); --bgh: var(--canvas); --fgh: var(--accent); --bdh: var(--canvas); }
.btn-lg { height: 54px; padding: 14px 28px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-busy .arr { animation: busy .9s var(--ease-io) infinite; }
.link-ghost {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px;
  color: var(--accent); text-decoration: none; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 85% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-ghost:hover, .link-ghost:focus-visible { background-size: 100% 1px; }
.link-ghost.light { color: var(--canvas); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- Announcement strip ---------- */
.announce { position: relative; z-index: 51; height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: var(--accent); color: var(--canvas); font-size: 14px; text-align: center; }
.announce a { font-weight: 600; }
@media (max-width: 600px) { .announce { font-size: 12.5px; height: auto; min-height: 40px; padding: 8px 16px; } }

/* ---------- Nav (frosted bar, wider than content) ---------- */
.nav { position: fixed; left: 0; right: 0; top: 12px; z-index: 50; padding: 0 clamp(12px, 4.4vw, 64px); pointer-events: none; transition: top .35s var(--ease), transform .35s var(--ease); }
.has-announce .nav { top: 52px; }
.has-announce .nav.nav--scrolled, .nav.nav--scrolled { top: 10px; }
.nav.nav--hidden { transform: translateY(-120%); }
.nav-inner {
  pointer-events: auto; max-width: 1312px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 24px; border-radius: 12px; color: var(--canvas);
  background: rgba(20,18,16,.18); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(254,249,239,.12);
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.nav.nav--light .nav-inner, .nav.nav--solid .nav-inner { background: rgba(254,249,239,.86); color: var(--ink); border-color: rgba(209,201,191,.9); }
.nav.nav--scrolled .nav-inner { box-shadow: 0 8px 30px rgba(42,43,47,.08); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: 23px; letter-spacing: .01em; line-height: 1; }
.logo svg { width: 26px; height: 26px; }
.logo em { font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; text-decoration: none; font-size: 15px; padding: 10px 14px; border-radius: var(--r-pill); transition: background-color .2s; }
.nav-links a:not(.btn):hover { background: rgba(127,110,90,.12); }
.nav .btn { height: 44px; padding: 8px 20px; font-size: 15px; }
.nav:not(.nav--light):not(.nav--solid) .nav-cta { --bg: var(--canvas); --fg: var(--accent); --bd: var(--canvas); --bgh: var(--accent); --fgh: var(--canvas); --bdh: var(--accent); }
@media (max-width: 900px) { .nav-links .hide-m { display: none; } .nav-inner { padding-left: 16px; } }

/* =====================================================================
   HERO: full-bleed motion stage
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background: #221f1d; min-height: clamp(700px, 100svh, 940px);
  display: flex; flex-direction: column;
  /* top pad = nav offset (12px) + nav height + 44px breathing room; bottom pad is never smaller */
  --hero-pad-t: calc(var(--nav-h) + 56px);
  --hero-pad-b: max(var(--hero-pad-t), 112px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media .bg {
  position: absolute; inset: -6%;
  background:
    radial-gradient(60% 70% at 74% 34%, rgba(214,140,98,.42), rgba(176,90,54,.12) 45%, rgba(34,31,29,0) 75%),
    radial-gradient(40% 50% at 92% 8%, rgba(254,226,190,.22), rgba(254,226,190,0) 70%),
    linear-gradient(160deg, #3b3430 0%, #2a2b2f 55%, #1d1b1a 100%);
}
.hero-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(254,226,190,.16), rgba(254,226,190,0) 70%); }
.hero.has-pointer .hero-light { opacity: 1; }
.hero-grain { position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-fade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(29,27,26,.78) 0%, rgba(29,27,26,.35) 42%, rgba(29,27,26,0) 62%),
              linear-gradient(0deg, rgba(29,27,26,.72) 0%, rgba(29,27,26,0) 42%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
/* ambient layer only: dimmed, softened and desaturated so the scene and headline stay the star */
.hero.has-video .hero-video { opacity: .5; filter: blur(1.5px) saturate(.85) brightness(.85); }
.hero.has-video .hero-media .bg { opacity: .55; }
/* video scrim: darker on the left (headline, buttons) and along the bottom (stats) */
.hero.has-video .hero-fade {
  background: linear-gradient(90deg, rgba(22,20,19,.9) 0%, rgba(22,20,19,.72) 38%, rgba(22,20,19,.38) 70%, rgba(22,20,19,.3) 100%),
              linear-gradient(0deg, rgba(22,20,19,.8) 0%, rgba(22,20,19,0) 40%),
              linear-gradient(180deg, rgba(22,20,19,.55) 0%, rgba(22,20,19,0) 22%);
}

/* Two columns. Left: copy, vertically centered between equal-ish paddings.
   Right: the animated stage stacked directly on top of the stats, both centered
   on the same axis so they always move together. */
.hero-inner { position: relative; flex: 1 0 auto; width: 100%; padding-top: var(--hero-pad-t); padding-bottom: var(--hero-pad-b);
  display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); align-items: stretch; column-gap: clamp(40px, 5vw, 96px); }
.hero-copy { max-width: 600px; align-self: center; position: relative; z-index: 2; }
.hero-right { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 28px; min-height: 0; }
.hero-stage.scene-wrap { position: relative; inset: auto; flex: 1 1 0; width: 100%; min-height: 380px; container-type: size; }
.hero .display { color: var(--on-dark); }
.hero .display em { color: #f0c3a4; }
.hero .lead { margin-top: 20px; color: var(--on-dark-muted); max-width: 46ch; }
.hero .lead strong { color: var(--on-dark); }
.path-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.path-pills .btn { height: 50px; }
.path-label { display: block; margin: 36px 0 12px; color: var(--on-dark-muted); }
.path-label + .path-pills { margin-top: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 14px; color: var(--on-dark-muted); }
.hero-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: #f0c3a4; flex: none; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); gap: 0; }
.hero-proof > div { padding: 0 24px; border-left: 1px solid rgba(254,249,239,.22); }
.hero-proof > div:first-child { border-left: 0; padding-left: 0; }
.hero-proof b { display: block; font-size: 24px; line-height: 1.25; font-weight: 600; }
.hero-proof > div > span { font-size: 14px; color: var(--on-dark-muted); }
.has-announce .hero { min-height: clamp(700px, calc(100svh - 40px), 900px); }

/* stage control: chapter + pause (bottom right) */
.hero-ctrl { position: absolute; right: clamp(16px, 4.4vw, 64px); bottom: 24px; display: flex; align-items: center; gap: 14px; color: var(--on-dark-muted); z-index: 3; }
.hero-chapters { display: flex; align-items: center; gap: 10px; }
.hero-chapters .label { min-width: 13ch; text-align: right; }
.seg { display: flex; gap: 4px; }
.seg i { position: relative; width: 28px; height: 2px; background: rgba(254,249,239,.24); overflow: hidden; border-radius: 2px; }
.seg i::after { content: ""; position: absolute; inset: 0; background: var(--canvas); transform: scaleX(0); transform-origin: 0 50%; }
.seg i.done::after { transform: none; }
.seg i.on::after { animation: segfill var(--dur, 6s) linear forwards; }
.hero.is-paused .seg i.on::after { animation-play-state: paused; }
.hero.is-static .seg { display: none; }
.pause-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--canvas);
  border: 1px solid rgba(254,249,239,.35); background: rgba(254,249,239,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .2s, transform .2s var(--ease); }
.pause-btn:hover { background: rgba(254,249,239,.2); }
.pause-btn:active { transform: scale(.94); }
.pause-btn svg { width: 14px; height: 14px; }
.pause-btn .i-play { display: none; }
.hero.is-paused .pause-btn .i-play, .hero.is-static .pause-btn .i-play { display: block; }
.hero.is-paused .pause-btn .i-pause, .hero.is-static .pause-btn .i-pause { display: none; }

/* ---- programmatic scene ---- */
.scene-wrap { position: absolute; inset: 0; transition: opacity .6s; }
/* rings centered on the stage; masked out toward the copy column so they never cross text */
.loops { position: absolute; left: 50%; top: 50%; width: max(150cqw, 150cqh); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 42%); mask-image: linear-gradient(90deg, transparent 18%, #000 42%); }
.loops svg { width: 100%; height: 100%; overflow: visible; }
.loops .l1 { transform-origin: 50% 50%; transform-box: view-box; animation: spin 70s linear infinite; }
.loops .l2 { transform-origin: 50% 50%; transform-box: view-box; animation: spin 95s linear infinite reverse; }
.hero.is-paused .loops *, .hero.is-static .loops * { animation-play-state: paused; }
.scene-frame {
  position: absolute; left: 50%; bottom: 0;
  width: min(100cqw, 111cqh, 600px); aspect-ratio: 10 / 9; transform: translateX(-50%);
  container-type: inline-size;
}
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.scene.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.anim .scene.is-active * { animation-duration: var(--sd, 6.5s); animation-fill-mode: both; animation-timing-function: var(--ease); }
.hero.is-paused .scene, .hero.is-paused .scene * { animation-play-state: paused !important; }

/* scene 1: answering */
.q-card { position: absolute; left: 6%; right: 6%; top: 6%; padding: 5.4cqw 5.4cqw 4.6cqw; background: var(--canvas); color: var(--ink); border-radius: 2cqw; box-shadow: 0 3cqw 9cqw rgba(0,0,0,.35); }
.qc-bar { height: .55cqw; background: var(--oat); border-radius: 1cqw; overflow: hidden; margin-bottom: 3.6cqw; }
.qc-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--to, .3)); }
.qc-meta { font-family: var(--mono); font-size: 1.9cqw; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qc-title { font-family: var(--serif); font-weight: 300; font-size: 4.5cqw; line-height: 1.12; margin: 2cqw 0 3.4cqw; }
.qc-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; font-size: 2.6cqw; padding: 2.1cqw 2.8cqw; margin-top: 1.5cqw; background: var(--field); border: 1px solid var(--rule); border-radius: 1.2cqw; }
.qc-opt .tick { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; border: 1px solid var(--rule); flex: none; display: grid; place-items: center; }
.qc-opt .tick svg { width: 60%; height: 60%; color: var(--canvas); opacity: 0; }
.qc-opt.is-pick { border-color: var(--accent); background: #fbf1e8; }
.qc-opt.is-pick .tick { background: var(--accent); border-color: var(--accent); }
.qc-opt.is-pick .tick svg { opacity: 1; }
.qc-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.qc-words span { position: relative; text-align: center; font-family: var(--serif); font-size: 3.6cqw; padding: 2.2cqw 1cqw; border: 1px solid var(--rule); border-radius: 1.2cqw; background: var(--field); }
.qc-words span.is-pick { background: var(--accent); border-color: var(--accent); color: var(--canvas); font-style: italic; }
.tap { position: absolute; right: 9cqw; top: 50%; width: 5cqw; height: 5cqw; margin-top: -2.5cqw; border-radius: 50%; background: rgba(176,90,54,.28); border: 1px solid rgba(176,90,54,.7); opacity: 0; pointer-events: none; }
.qc-words .tap { right: auto; left: 50%; margin-left: -2.5cqw; }
.qc2 { top: 10%; }
/* default (static) state shows the answered second card */
.s-ask .qc1 { opacity: 0; }
.anim .s-ask.is-active .qc1 { animation-name: qc1; }
.anim .s-ask.is-active .qc1 .qc-opt.is-pick { animation-name: pick1; }
.anim .s-ask.is-active .qc1 .qc-opt.is-pick .tick { animation-name: tick1; }
.anim .s-ask.is-active .qc1 .tap { animation-name: tap1; }
.anim .s-ask.is-active .qc1 .qc-bar i { animation-name: bar1; }
.anim .s-ask.is-active .qc2 { animation-name: qc2; }
.anim .s-ask.is-active .qc2 .is-pick { animation-name: pick2; }
.anim .s-ask.is-active .qc2 .tap { animation-name: tap2; }
.anim .s-ask.is-active .qc2 .qc-bar i { animation-name: bar2; }
@keyframes qc1 { 0% { opacity: 0; transform: translateX(10%) } 8%, 46% { opacity: 1; transform: none } 56%, 100% { opacity: 0; transform: translateX(-16%) scale(.94) } }
@keyframes pick1 { 0%, 21% { border-color: var(--rule); background: var(--field) } 24%, 100% { border-color: var(--accent); background: #fbf1e8 } }
@keyframes tick1 { 0%, 21% { background: transparent; border-color: var(--rule); transform: scale(.6) } 25% { transform: scale(1.15) } 28%, 100% { background: var(--accent); border-color: var(--accent); transform: none } }
@keyframes tap1 { 0%, 16% { opacity: 0; transform: scale(1.8) } 20% { opacity: 1; transform: scale(1) } 23% { transform: scale(.8) } 32%, 100% { opacity: 0; transform: scale(2.4) } }
@keyframes bar1 { 0%, 22% { transform: scaleX(.18) } 32%, 100% { transform: scaleX(.24) } }
@keyframes qc2 { 0%, 50% { opacity: 0; transform: translateX(16%) } 60%, 94% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateY(-4%) } }
@keyframes pick2 { 0%, 76% { background: var(--field); border-color: var(--rule); color: var(--ink) } 79%, 100% { background: var(--accent); border-color: var(--accent); color: var(--canvas) } }
@keyframes tap2 { 0%, 71% { opacity: 0; transform: scale(1.8) } 75% { opacity: 1; transform: scale(1) } 78% { transform: scale(.8) } 86%, 100% { opacity: 0; transform: scale(2.4) } }
@keyframes bar2 { 0%, 77% { transform: scaleX(.53) } 86%, 100% { transform: scaleX(.59) } }

/* scene 2: the document assembling */
.dp { position: absolute; left: 50%; top: 4%; width: 58%; aspect-ratio: 8.5 / 11; margin-left: -29%; background: var(--canvas); border-radius: .8cqw; box-shadow: 0 3cqw 9cqw rgba(0,0,0,.38); color: var(--ink); }
.dp-b2 { background: #efe6d6; transform: translate(9%, 2%) rotate(7deg); }
.dp-b1 { background: #f7f0e3; transform: translate(4.5%, 1%) rotate(3.5deg); }
.dp-front { padding: 6cqw 5.2cqw; overflow: hidden; }
.dp-kick { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 1.35cqw; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dp-title { font-family: var(--serif); font-weight: 300; font-size: 4.3cqw; line-height: 1.08; margin: 2.4cqw 0 0; }
.dp-title em { color: var(--accent); }
.dp-rule { height: 1px; background: var(--ink); margin: 2.4cqw 0 2.2cqw; transform-origin: 0 50%; }
.dp-lines i { display: block; height: .8cqw; border-radius: 1cqw; background: var(--stone); margin-bottom: 1.3cqw; width: calc(var(--w, 1) * 100%); transform-origin: 0 50%; }
.dp-center { margin: 2.6cqw 0; padding: 2.4cqw 2.6cqw; background: var(--ink); color: var(--canvas); border-radius: .6cqw; }
.dp-center small { display: block; font-family: var(--mono); font-size: 1.2cqw; letter-spacing: .14em; opacity: .7; }
.dp-center b { display: block; font-family: var(--serif); font-weight: 400; font-size: 4cqw; letter-spacing: .14em; margin-top: .6cqw; }
.dp-row { display: grid; grid-template-columns: 30% 1fr; gap: 1.6cqw; align-items: center; padding: 1.3cqw 0; border-top: 1px solid var(--rule); font-size: 1.6cqw; font-weight: 600; }
.dp-row i { height: .7cqw; border-radius: 1cqw; background: var(--stone); width: var(--w, 90%); transform-origin: 0 50%; }
.dp-badge { position: absolute; right: 2%; bottom: 10%; padding: 1.8cqw 2.4cqw; border-radius: 1.4cqw; background: rgba(254,249,239,.12); border: 1px solid rgba(254,249,239,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--canvas); font-size: 2.1cqw; line-height: 1.3; }
.dp-badge b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.8cqw; font-style: italic; }
.dp-badge.left { right: auto; left: 0; bottom: auto; top: 22%; }
/* PDF cues: these are loose printed sheets, never a bound book */
.pdf-tag { position: absolute; top: 2.2cqw; right: 2.2cqw; font-family: var(--mono); font-size: 1.15cqw; letter-spacing: .12em; line-height: 1; padding: .7cqw 1cqw; border-radius: .5cqw; background: var(--accent); color: var(--canvas); }
.dp-front .dp-kick { padding-right: 6cqw; }
.dp-badge .pdf-line { display: inline-flex; align-items: center; gap: .9cqw; }
.dp-badge .pdf-line svg { width: 2.4cqw; height: 2.4cqw; flex: none; }
.onepage .pdf-tag { top: -1.3cqw; right: 3cqw; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.25); }
.anim .s-write.is-active .dp-b2 { animation-name: fan2; }
.anim .s-write.is-active .dp-b1 { animation-name: fan1; }
.anim .s-write.is-active .dp-front { animation-name: pageIn; }
.anim .s-write.is-active .dp-title { animation-name: wipe; }
.anim .s-write.is-active .dp-rule { animation-name: rule; }
.anim .s-write.is-active .dp-lines i { animation-name: line; }
.anim .s-write.is-active .dp-lines i:nth-child(2) { animation-name: line2; }
.anim .s-write.is-active .dp-lines i:nth-child(3) { animation-name: line3; }
.anim .s-write.is-active .dp-lines i:nth-child(4) { animation-name: line4; }
.anim .s-write.is-active .dp-center { animation-name: stamp; }
.anim .s-write.is-active .dp-center b { animation-name: track; }
.anim .s-write.is-active .dp-row { animation-name: row; }
.anim .s-write.is-active .dp-row:nth-of-type(2) { animation-name: row2; }
.anim .s-write.is-active .dp-row:nth-of-type(3) { animation-name: row3; }
.anim .s-write.is-active .dp-badge { animation-name: badge; }
.anim .s-write.is-active .dp-badge.left { animation-name: badge2; }
@keyframes pageIn { 0% { opacity: 0; transform: translateY(8%) scale(.96) } 12%, 100% { opacity: 1; transform: none } }
@keyframes fan2 { 0%, 6% { opacity: 0; transform: none } 22%, 100% { opacity: 1; transform: translate(9%, 2%) rotate(7deg) } }
@keyframes fan1 { 0%, 6% { opacity: 0; transform: none } 20%, 100% { opacity: 1; transform: translate(4.5%, 1%) rotate(3.5deg) } }
@keyframes wipe { 0%, 10% { clip-path: inset(0 100% 0 0) } 30%, 100% { clip-path: inset(0 0 0 0) } }
@keyframes rule { 0%, 26% { transform: scaleX(0) } 36%, 100% { transform: none } }
@keyframes line { 0%, 34% { transform: scaleX(0) } 42%, 100% { transform: none } }
@keyframes line2 { 0%, 38% { transform: scaleX(0) } 46%, 100% { transform: none } }
@keyframes line3 { 0%, 42% { transform: scaleX(0) } 50%, 100% { transform: none } }
@keyframes line4 { 0%, 46% { transform: scaleX(0) } 54%, 100% { transform: none } }
@keyframes stamp { 0%, 54% { opacity: 0; transform: scale(1.08) } 60%, 100% { opacity: 1; transform: none } }
@keyframes track { 0%, 56% { letter-spacing: .6em; opacity: 0 } 68%, 100% { letter-spacing: .14em; opacity: 1 } }
@keyframes row { 0%, 64% { opacity: 0; transform: translateY(40%) } 70%, 100% { opacity: 1; transform: none } }
@keyframes row2 { 0%, 68% { opacity: 0; transform: translateY(40%) } 74%, 100% { opacity: 1; transform: none } }
@keyframes row3 { 0%, 72% { opacity: 0; transform: translateY(40%) } 78%, 100% { opacity: 1; transform: none } }
@keyframes badge { 0%, 78% { opacity: 0; transform: translateY(14%) } 86%, 100% { opacity: 1; transform: none } }
@keyframes badge2 { 0%, 60% { opacity: 0; transform: translateX(-10%) } 68%, 100% { opacity: 1; transform: none } }

/* scene 3: one-pager + phone + 30 days */
.onepage { position: absolute; left: 4%; top: 6%; width: 58%; aspect-ratio: 11 / 8.5; background: var(--canvas); color: var(--ink); border-radius: .9cqw; padding: 3.6cqw; box-shadow: 0 3cqw 9cqw rgba(0,0,0,.38); transform: rotate(-4deg); }
.onepage .op-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 1.4cqw; }
.onepage .op-h b { font-family: var(--serif); font-weight: 300; font-size: 3.8cqw; }
.onepage .op-h b em { color: var(--accent); }
.onepage .op-h span { font-family: var(--mono); font-size: 1.2cqw; letter-spacing: .1em; color: var(--muted); }
.op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw 2.4cqw; margin-top: 2cqw; }
.op-grid div { border-top: 1px solid var(--rule); padding-top: 1.2cqw; }
.op-grid small { display: block; font-family: var(--mono); font-size: 1.2cqw; letter-spacing: .1em; color: var(--accent); margin-bottom: 1cqw; }
.op-grid i { display: block; height: .6cqw; border-radius: 1cqw; background: var(--stone); margin-bottom: .9cqw; width: var(--w, 100%); }
.phone { position: absolute; right: 8%; top: 14%; width: 25%; aspect-ratio: 9 / 19.5; border-radius: 4cqw; padding: 1cqw; background: #141312; box-shadow: 0 3cqw 9cqw rgba(0,0,0,.45); transform: rotate(6deg); }
.ph-screen { height: 100%; border-radius: 3.2cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw; text-align: center; color: var(--canvas);
  background: radial-gradient(90% 60% at 50% 30%, rgba(214,140,98,.55), rgba(176,90,54,0) 70%), linear-gradient(180deg, #3b3430, #221f1d); }
.ph-screen small { font-family: var(--mono); font-size: 1.15cqw; letter-spacing: .14em; opacity: .75; }
.ph-screen b { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 5.6cqw; line-height: 1; }
.ph-time { font-family: var(--sans); font-weight: 300; font-size: 4.4cqw; opacity: .9; margin-bottom: 2cqw; }
.days { position: absolute; left: 8%; right: 38%; bottom: 6%; padding: 2.4cqw 2.8cqw; border-radius: 1.6cqw; background: rgba(254,249,239,.1); border: 1px solid rgba(254,249,239,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--canvas); }
.days .dl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 1.4cqw; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.6cqw; opacity: .85; }
.dots { display: grid; grid-template-columns: repeat(15, 1fr); gap: .9cqw; }
.dots i { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(254,249,239,.45); background: transparent; }
.dots i.f { background: #e2a27d; border-color: #e2a27d; }
.anim .s-live.is-active .onepage { animation-name: opIn; }
.anim .s-live.is-active .phone { animation-name: phIn; }
.anim .s-live.is-active .ph-screen b { animation-name: wipe; }
.anim .s-live.is-active .days { animation-name: daysIn; }
.anim .s-live.is-active .dots i { animation-name: dotFill; animation-delay: calc(var(--i) * 70ms); animation-duration: 4.4s; }
@keyframes opIn { 0% { opacity: 0; transform: translateY(10%) rotate(-9deg) } 16%, 100% { opacity: 1; transform: rotate(-4deg) } }
@keyframes phIn { 0%, 10% { opacity: 0; transform: translateY(24%) rotate(14deg) } 30%, 100% { opacity: 1; transform: rotate(6deg) } }
@keyframes daysIn { 0%, 24% { opacity: 0; transform: translateY(20%) } 34%, 100% { opacity: 1; transform: none } }
@keyframes dotFill { 0%, 40% { background: transparent; border-color: rgba(254,249,239,.45); transform: scale(.7) } 48%, 100% { background: #e2a27d; border-color: #e2a27d; transform: none } }

/* =====================================================================
   Marquee (capability field) with pause
   ===================================================================== */
.ticker { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--rule); background: var(--canvas); }
.ticker-track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker.is-paused .marquee { animation-play-state: paused; }
.marquee ul { display: flex; gap: 48px; list-style: none; margin: 0; padding: 20px 24px; }
.marquee li { white-space: nowrap; font-family: var(--serif); font-size: 20px; font-weight: 300; display: inline-flex; align-items: center; gap: 48px; }
.marquee li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.marquee li:nth-child(even) { font-style: italic; color: var(--accent); }
.ticker-btn { flex: none; margin: 0 clamp(12px, 3vw, 40px) 0 8px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--rule); background: var(--canvas); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ticker-btn:hover { border-color: var(--ink); color: var(--ink); }

/* =====================================================================
   Sections
   ===================================================================== */
.section { padding: clamp(72px, 7vw, 100px) 0; position: relative; }
.section--oat, .section--mist { background: var(--oat); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 860px; margin: 0 0 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .section-head { margin-bottom: 40px; } }

/* ---- Sticky story: what you get ---- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.story-visual { position: sticky; top: 112px; height: min(560px, calc(100vh - 150px)); border-radius: var(--r-card); background: var(--oat); overflow: hidden; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; border-top: 1px solid var(--rule); opacity: .38; transition: opacity .5s var(--ease); }
.story-step:first-child { border-top: 0; }
.story-step.is-current { opacity: 1; }
.story-step .num { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); }
.story-step h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.08; margin: 12px 0 12px; }
.story-step p { margin: 0; max-width: 44ch; font-size: 18px; color: var(--muted); }
.sv-layer { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(28px) scale(.98); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); }
.story-visual[data-active="0"] .sv-layer[data-i="0"], .story-visual[data-active="1"] .sv-layer[data-i="1"],
.story-visual[data-active="2"] .sv-layer[data-i="2"], .story-visual[data-active="3"] .sv-layer[data-i="3"] { opacity: 1; transform: none; filter: none; }
.sv-tabs { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 6px; z-index: 2; }
.sv-tabs i { width: 22px; height: 2px; border-radius: 2px; background: var(--rule); transition: background-color .3s, width .4s var(--ease); }
.sv-tabs i.on { background: var(--accent); width: 40px; }
.story-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual { top: 84px; height: 320px; z-index: 2; box-shadow: 0 14px 24px -18px rgba(42,43,47,.3); }
  .sv-doc { width: min(200px, 54%); }
  .sv-doc .doc-p, .sv-doc .doc-table, .sv-doc .doc-chip-row { display: none; }
  .sv-phone { width: 128px; border-radius: 24px; }
  .sv-phone .scr { border-radius: 19px; }
  .sv-phone b { font-size: 28px; }
  .sv-one .grid div { font-size: 9px; }
  .sv-cal { padding: 16px; }
  .story-step { min-height: 58vh; justify-content: flex-start; padding-top: 48px; }
  .story-step p { font-size: 17px; }
}

/* doc mock (shared by story, bundle teaser, result teaser) */
.doc-page { position: relative; background: var(--canvas); color: var(--ink); border: 1px solid var(--rule); border-radius: 6px; padding: 9% 9% 7%; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(42,43,47,.35); }
.doc-kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.doc-title { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.02; margin: 10px 0 6px; }
.doc-title em { color: var(--accent); }
.doc-rule { height: 1px; background: var(--ink); margin: 10px 0 12px; }
.doc-p { font-size: 11px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }
.doc-center { margin: 12px 0; padding: 12px; background: var(--ink); color: var(--canvas); border-radius: 4px; }
.doc-center small { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.doc-center strong { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: .12em; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.doc-table td { border-top: 1px solid var(--rule); padding: 5px 4px 5px 0; vertical-align: top; }
.doc-table td:first-child { width: 32%; font-weight: 600; }
.doc-chip-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.doc-chip { font-family: var(--mono); font-size: 8px; padding: 3px 7px; border: 1px solid var(--rule); border-radius: var(--r-pill); letter-spacing: .1em; text-transform: uppercase; }
.sv-doc { width: min(300px, 62%); aspect-ratio: 8.5/11; }
.sv-doc .doc-page { position: absolute; inset: 0; }
.sv-doc .back { transform: translate(14px, -12px) rotate(4deg); background: #f2e9da; }
.sv-one { width: min(420px, 82%); aspect-ratio: 11/8.5; transform: rotate(-2deg); }
.sv-one .doc-page { height: 100%; padding: 6%; }
.sv-one .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 10px; }
.sv-one .grid div { border-top: 1px solid var(--rule); padding-top: 6px; font-size: 10px; color: var(--muted); }
.sv-one .grid b { display: block; font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: .1em; color: var(--accent); }
.sv-phone { width: 168px; aspect-ratio: 9/19.5; border-radius: 30px; padding: 7px; background: #141312; box-shadow: 0 30px 60px -20px rgba(42,43,47,.5); }
.sv-phone .scr { height: 100%; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--canvas); text-align: center;
  background: radial-gradient(90% 60% at 50% 30%, rgba(214,140,98,.55), rgba(176,90,54,0) 70%), linear-gradient(180deg, #3b3430, #221f1d); }
.sv-phone .t { font-size: 30px; font-weight: 300; margin-bottom: 18px; }
.sv-phone small { font-family: var(--mono); font-size: 8px; letter-spacing: .14em; opacity: .75; }
.sv-phone b { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 36px; line-height: 1; }
.sv-cal { width: min(380px, 84%); background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 22px; }
.sv-cal .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sv-cal .head b { font-family: var(--serif); font-weight: 300; font-size: 28px; }
.sv-cal .grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.sv-cal .grid i { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--rule); transition: background-color .4s, border-color .4s, transform .4s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.story-visual[data-active="3"] .sv-cal .grid i.f { background: var(--accent); border-color: var(--accent); }
.sv-cal .legend { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---- Ruled matrix (pains, framework) ---- */
.matrix { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--rule); }
.matrix > * { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--rule); }
.matrix > :nth-child(even) { padding-left: 40px; border-left: 1px solid var(--rule); }
.matrix .count { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); }
.matrix h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.1; margin: 10px 0 10px; }
.matrix p { margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .matrix { grid-template-columns: 1fr; } .matrix > *, .matrix > :nth-child(even) { padding: 28px 0; border-left: 0; } }
.framework { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fw { position: relative; padding: 32px 28px 40px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--rule); transition: background-color .35s var(--ease); overflow: hidden; }
.fw:first-child { border-left: 0; }
.fw .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); }
.fw h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(31px, 2.9vw, 41px); line-height: 1.08; margin: 0; transition: transform .45s var(--ease); }
.fw p { margin: auto 0 0; font-size: 15px; color: var(--muted); }
.fw::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.fw:hover { background: var(--oat); }
.fw:hover::after { transform: none; }
.fw:hover h3 { transform: translateX(6px); }
.fw:hover h3 { font-style: italic; color: var(--accent); }
@media (max-width: 900px) { .framework { grid-template-columns: repeat(2, minmax(0,1fr)); } .fw:nth-child(3) { border-left: 0; } .fw:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .framework { grid-template-columns: 1fr; } .fw { border-left: 0; min-height: 0; border-top: 1px solid var(--rule); } .fw:first-child { border-top: 0; } }

/* ---- Stacked chapter sheets: how it works ---- */
.sheets { position: relative; }
.sheet { position: sticky; top: calc(96px + var(--k, 0) * 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  min-height: 440px; padding: 56px clamp(24px, 4vw, 64px); margin-bottom: 40px; background: var(--canvas); border-top: 1px solid var(--rule); border-radius: 40px 40px 0 0; box-shadow: 0 -18px 40px -30px rgba(42,43,47,.25); }
.sheet:nth-child(2) { background: #fbf5ea; }
.sheet:nth-child(3) { background: var(--canvas); margin-bottom: 0; }
.sheet .step-n { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.sheet h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(33px, 3.8vw, 54px); line-height: 1.06; margin: 10px 0 14px; }
.sheet p { margin: 0; color: var(--muted); font-size: 18px; max-width: 42ch; }
.diagram { background: var(--oat); border-radius: var(--r-card); padding: 28px; display: grid; place-items: center; min-height: 280px; }
.diagram svg { width: 100%; max-width: 360px; height: auto; overflow: visible; }
.dg-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.diagram.is-in .dg-draw { stroke-dashoffset: 0; }
.dg-pop { opacity: 0; transform: translateY(8px); transform-box: fill-box; transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.3s + var(--i, 0) * 90ms); }
.diagram.is-in .dg-pop { opacity: 1; transform: none; }
.dg-dot { fill: transparent; stroke: var(--rule); transition: fill .3s, stroke .3s; transition-delay: calc(.4s + var(--i, 0) * 45ms); }
.diagram.is-in .dg-dot.f { fill: var(--accent); stroke: var(--accent); }
@media (max-width: 860px) { .sheet { position: relative; top: auto; grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 40px 20px; border-radius: 28px 28px 0 0; margin-bottom: 0; } }

/* ---- Proof: outlined stat cards ---- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 56px; }
.stat { position: relative; padding: 24px 24px 32px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--canvas); display: grid; gap: 14px; overflow: hidden; }
.stat .lbl { font-size: 14px; color: var(--muted); }
.stat .lbl b { color: var(--ink); }
.stat .num { font-family: var(--sans); font-weight: 300; font-size: clamp(48px, 5vw, 64px); line-height: 1; letter-spacing: -2px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .42em; letter-spacing: 0; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; border-bottom: 1px solid var(--rule); }
.bars i { flex: 1; background: var(--accent); opacity: calc(.18 + var(--i) * .1); transform-origin: 50% 100%; transform: scaleY(var(--h)); border-radius: 2px 2px 0 0; height: 100%; }
.js .stat:not(.is-in) .bars i { transform: scaleY(0); }
.stat .bars i { transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---- Reviews: customer film cards ---- */
.ph-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; background: #fff3c4; color: #5c4600; border: 1px dashed #b48a00; border-radius: var(--r-pill); }
.hide-ph .ph-badge { display: none; }
.vrail { display: grid; grid-auto-flow: column; grid-auto-columns: 288px; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.vcard { scroll-snap-align: start; position: relative; aspect-ratio: 288 / 512; background: var(--stone); color: var(--canvas); overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: left; display: block; width: 100%; border-radius: var(--r-card); }
.vcard .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.vcard:hover .poster, .vcard:focus-visible .poster { transform: scale(1.05); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
.vcard .veil { position: absolute; inset: auto 0 0 0; padding: 20px; z-index: 1; }
.vcard .veil b { display: block; font-size: 16px; font-weight: 600; }
.vcard .veil span { font-size: 14px; color: var(--on-dark-muted); }
.vcard .veil q { display: block; font-size: 16px; line-height: 1.2; margin-top: 8px; quotes: "\201C" "\201D"; }
.vcard .play { position: absolute; left: 50%; top: 44%; width: 80px; height: 80px; margin: -40px 0 0 -40px; display: grid; place-items: center; z-index: 1; border-radius: 50%; color: var(--canvas);
  background: linear-gradient(202deg, rgba(254,249,239,0) 52%, rgba(254,249,239,.4) 136%); -webkit-backdrop-filter: blur(25.6px); backdrop-filter: blur(25.6px); box-shadow: 0 0 32px rgba(0,0,0,.15); border: 1px solid rgba(254,249,239,.3);
  transition: transform .5s var(--ease); }
.vcard .play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard:hover .play { transform: scale(1.08); }
.vcard .ph-badge { position: absolute; right: 12px; top: 12px; z-index: 1; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border: 1px solid var(--rule); background: var(--canvas); border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.rail-ctrl button:hover { border-color: var(--ink); }
.rail-ctrl button:active { transform: scale(.94); }
.rail-ctrl svg { width: 16px; height: 16px; }
.treviews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 32px; }
.treview { padding: 28px; background: var(--oat); border-radius: var(--r-card); display: flex; flex-direction: column; gap: 14px; margin: 0; }
.treview .stars { color: var(--accent); letter-spacing: 2px; display: flex; gap: 2px; }
.treview .stars svg { width: 15px; height: 15px; }
.treview p { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.35; }
.treview footer { margin-top: auto; font-size: 14px; color: var(--muted); }
.treview footer b { color: var(--ink); }
@media (max-width: 900px) { .treviews { grid-template-columns: 1fr; } .vrail { grid-auto-columns: 240px; gap: 16px; } }

/* cursor-follow label over film cards */
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; padding: 8px 14px; border-radius: var(--r-pill); background: var(--canvas); color: var(--accent); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-light); opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.6); transition: opacity .2s, scale .25s var(--ease); will-change: transform; }
.cursor-tag.on { opacity: 1; }

/* ---- Video modal / general modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(29,27,26,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .25s var(--ease); }
.modal-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--canvas); color: var(--ink); padding: 48px 40px 36px; border-radius: var(--r-panel); box-shadow: var(--shadow-raised); animation: rise .45s var(--ease); }
.modal-box .h2 { font-size: clamp(32px, 4vw, 44px); }
.modal-box.video { padding: 0; background: #000; width: min(420px, 100%); border-radius: var(--r-card); overflow: hidden; }
.modal-box video { width: 100%; max-height: 80vh; background: #000; }
.modal-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; font-size: 26px; z-index: 2; color: inherit; border-radius: 50%; transition: background-color .2s; }
.modal-close:hover { background: rgba(127,110,90,.14); }
.modal-box.video .modal-close { color: #fff; }
.video-missing { padding: 64px 28px; color: #fff; text-align: center; }

/* ---- Feature split: bundle teaser ---- */
.media-card { position: relative; border-radius: var(--r-card); background: var(--oat); min-height: 460px; display: grid; place-items: center; overflow: hidden; padding: 32px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 460px; }
.trio .doc-page { aspect-ratio: 8.5/11; padding: 12% 10%; }
.trio .doc-title { font-size: 17px; }
.trio .doc-center { padding: 6px; }
.trio .doc-center strong { font-size: 13px; }

/* ---- Guarantee ---- */
.guarantee { display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: center; padding: 48px; background: var(--oat); border-radius: var(--r-card); }
.seal { width: 140px; height: 140px; }
.seal .rot { animation: spin 40s linear infinite; transform-origin: 70px 70px; transform-box: view-box; }
@media (max-width: 640px) { .guarantee { grid-template-columns: 1fr; padding: 32px 22px; gap: 20px; } .seal { width: 104px; height: 104px; } }

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: 12px; max-width: 864px; margin: 0 auto; }
.faq details { background: var(--oat); border: 1px solid var(--rule); border-radius: var(--r-row); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 24px; min-height: 62px; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; position: relative; background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-sq); color: var(--accent); transition: background-color .2s, transform .35s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq summary:hover .pm { border-color: var(--accent); }
.faq details[open] summary .pm { background: var(--accent); color: var(--canvas); border-color: var(--accent); }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq .ans { padding: 0 64px 22px 24px; color: var(--muted); }
.faq details[open] .ans { animation: ansIn .45s var(--ease); }
.faq .ans p { margin: 0 0 10px; }
.faq .ans a { color: var(--accent); }

/* ---- Closing editorial band + inset footer (one oatmeal backing) ---- */
.closing { background: var(--oat); text-align: center; padding: 120px 0 96px; }
.closing .h2 { max-width: 19ch; margin: 0 auto; }
.closing .lead { margin-top: 16px; color: var(--muted); }
.closing .btn-row { justify-content: center; margin-top: 56px; }
.footer { background: var(--oat); padding: 0 0 40px; font-size: 15px; }
.footer-card { background: var(--canvas); border-radius: var(--r-panel); box-shadow: var(--shadow-raised); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer h4 { font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer .brand-line { margin: 14px 0 32px; color: var(--muted); max-width: 34ch; }
.footer .invite { font-family: var(--serif); font-weight: 300; font-size: clamp(1.625rem, 1.5rem + .25vw, 1.875rem); line-height: 1.1; margin: 0 0 18px; }
.footer .invite em { color: var(--accent); }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 8px 0; font-size: 13px; color: var(--muted); }
.footer-top-pad { padding-top: 0; }
.pill-form { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-form .input { flex: 1 1 220px; height: 48px; min-height: 48px; border-radius: var(--r-pill); padding: 0 20px; }
@media (max-width: 860px) { .footer-card { grid-template-columns: 1fr; padding: 32px 22px; gap: 40px; border-radius: 20px; } .footer-cols { grid-template-columns: 1fr 1fr; } }
.page-pad-top { padding-top: 32px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; padding: 8px 8px 8px 18px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); background: rgba(254,249,239,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--rule); border-radius: 18px; display: none; gap: 10px; align-items: center; transform: translateY(140%); transition: transform .45s var(--ease); box-shadow: 0 10px 30px rgba(42,43,47,.12); }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; height: 48px; }
.sticky-cta .p { font-size: 12px; line-height: 1.25; color: var(--muted); }
.sticky-cta .p b { color: var(--ink); font-size: 15px; display: block; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: -2px; }
.input, .textarea, select.input {
  width: 100%; min-height: 52px; padding: 12px 20px; font: inherit; font-size: 16px; font-weight: 300; color: var(--ink);
  background: var(--field); border: 1px solid var(--edge); border-radius: var(--r-pill); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; border-radius: 18px; padding: 14px 20px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a2b2f' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.input::placeholder, .textarea::placeholder { color: #7d756b; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input[aria-invalid="true"] { border-color: #a3271c; }
.input:disabled { background: var(--oat); color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-msg { font-size: 14px; min-height: 20px; margin-top: 6px; }
.form-msg.err { color: #a3271c; } .form-msg.ok { color: var(--accent); }
.form-msg:not(:empty) { animation: rise .35s var(--ease); }
.shake { animation: shake .4s var(--ease-io); }

/* =====================================================================
   FLOW (questionnaire)
   ===================================================================== */
.flow-body { background: var(--canvas); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.flow-top { position: sticky; top: 0; z-index: 20; background: rgba(254,249,239,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.flow-top .bar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-top .logo { color: var(--ink); font-size: 24px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--rule); background: var(--canvas); border-radius: 50%; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:hover svg { transform: translateX(-2px); }
.icon-btn svg { transition: transform .25s var(--ease); }
.icon-btn:active { transform: scale(.94); }
.icon-btn[hidden] { display: none; }
.flow-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.flow-path-pill { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r-pill); color: var(--accent); border: 1px solid var(--accent); background: transparent !important; }
.flow-path-pill:empty { display: none; }
.progress { height: 3px; background: var(--oat); position: relative; overflow: hidden; }
.progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s var(--ease); }
.progress i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, rgba(254,249,239,0), rgba(254,249,239,.7)); animation: sheen 2.2s linear infinite; }
.step-dots { display: flex; gap: 4px; justify-content: center; padding: 10px 16px 0; }
.flow-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: clamp(32px, 7vh, 72px) 16px 120px; }
.stage { width: min(720px, 100%); position: relative; }
.screen { animation: screenIn .55s var(--ease) both; }
.screen.out { animation: screenOut .2s var(--ease-io) both; }
.screen.back-in { animation: screenBackIn .55s var(--ease) both; }
.screen .q-title, .screen .q-section, .screen .q-sub { animation: lineIn .6s var(--ease) both; }
.screen .q-section { animation-delay: .02s; } .screen .q-title { animation-delay: .06s; } .screen .q-sub { animation-delay: .12s; }
.screen .opts > *, .screen .chips > * { animation: optIn .5s var(--ease) both; animation-delay: calc(.14s + var(--i, 0) * 40ms); }
.q-section { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.q-section .of { color: var(--muted); }
.q-count, .q-count span { display: inline-block; font: inherit; }
.q-count span { animation: countUp .45s var(--ease) both; }
.q-title { font-family: var(--serif); font-weight: 300; font-size: clamp(29px, 4.2vw, 46px); line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.q-title:focus { outline: none; }
.q-title em { color: var(--accent); }
.q-sub { color: var(--muted); margin: 0 0 24px; font-size: 18px; }
.opts { display: grid; gap: 12px; margin-top: 28px; }
.opts.grid2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.opts.grid4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 560px) { .opts.grid2 { grid-template-columns: 1fr; } .opts.grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; overflow: hidden;
  min-height: 62px; padding: 14px 56px 14px 18px; background: var(--field); border: 1px solid var(--rule); border-radius: 14px;
  cursor: pointer; font-size: 16px; line-height: 1.35; font-weight: 300; transition: border-color .2s, background-color .2s, transform .3s var(--ease), color .2s, box-shadow .3s;
}
.opt::before { content: ""; position: absolute; inset: 0; background: var(--accent-soft); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); z-index: 0; }
.opt > * { position: relative; z-index: 1; }
.opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(42,43,47,.35); }
.opt:active { transform: scale(.985); }
.opt .key { flex: none; width: 28px; height: 28px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; border: 1px solid var(--rule); border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.opt .lbl b { display: block; font-weight: 600; }
.opt .lbl small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.opt .tick { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .35s var(--ease); }
.opt .tick svg { width: 12px; height: 12px; color: var(--canvas); stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease) .05s; }
.opt[aria-checked="true"], .opt[aria-pressed="true"] { border-color: var(--accent); }
.opt[aria-checked="true"]::before, .opt[aria-pressed="true"]::before { transform: none; }
.opt[aria-checked="true"] .tick, .opt[aria-pressed="true"] .tick { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.opt[aria-checked="true"] .tick svg, .opt[aria-pressed="true"] .tick svg { stroke-dashoffset: 0; }
.opt[aria-checked="true"] .key, .opt[aria-pressed="true"] .key { background: var(--accent); border-color: var(--accent); color: var(--canvas); }
.opt.pop { animation: pop .4s var(--ease); }
.opt.word { justify-content: center; text-align: center; padding: 14px 10px; font-family: var(--serif); font-size: 21px; font-weight: 300; min-height: 76px; }
.opt.word .tick, .opt.word .key { display: none; }
.opt.word::before { background: var(--accent); }
.opt.word[aria-checked="true"] { color: var(--canvas); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { position: relative; min-height: 46px; padding: 10px 18px; border: 1px solid var(--rule); background: var(--field); border-radius: var(--r-pill); cursor: pointer; font-size: 15px; font-weight: 300; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background-color .25s, color .2s, transform .25s var(--ease), opacity .2s; }
.chip:hover { border-color: var(--accent); }
.chip:active { transform: scale(.96); }
.chip::before { content: ""; width: 0; height: 14px; overflow: hidden; transition: width .3s var(--ease); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fef9ef' stroke-width='2.2'/%3E%3C/svg%3E"); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--canvas); border-color: var(--accent); font-weight: 600; }
.chip[aria-pressed="true"]::before { width: 14px; }
.chip.pop { animation: pop .35s var(--ease); }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.counter-hint { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 21px; }
.counter-hint .pips { display: inline-flex; gap: 4px; margin-right: 10px; vertical-align: middle; }
.counter-hint .pips i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--accent); transition: background-color .25s, transform .3s var(--ease); }
.counter-hint .pips i.f { background: var(--accent); transform: scale(1.1); }
.q-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.kbd-hint { font-size: 13px; color: var(--muted); }
.kbd-hint kbd { font-family: var(--mono); font-size: 11px; border: 1px solid var(--rule); padding: 2px 7px; border-radius: var(--r-sq); background: var(--field); }
@media (hover: none) { .kbd-hint { display: none; } .opt .key { display: none; } }

/* slider */
.slider-wrap { margin-top: 32px; background: var(--oat); border-radius: var(--r-card); padding: 32px 28px 24px; }
.slider-val { font-family: var(--sans); font-weight: 300; font-size: 72px; line-height: 1; letter-spacing: -2px; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink); }
.slider-val [data-out] { display: inline-block; transition: transform .2s var(--ease); }
.slider-val.bump [data-out] { transform: translateY(-3px) scale(1.04); }
.slider-val small { font-size: 22px; color: var(--muted); letter-spacing: 0; }
.slider-word { text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); min-height: 33px; margin: 10px 0 18px; transition: opacity .25s; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--fill, 50%), var(--rule) var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 3px; background: var(--rule); }
input[type=range]::-moz-range-progress { height: 3px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13.5px; background: var(--canvas); border: 1px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px var(--accent-soft); transition: transform .2s var(--ease), box-shadow .2s; }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 9px var(--accent-soft); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; background: var(--canvas); border: 1px solid var(--accent); border-radius: 50%; }
.slider-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* insight card */
.insight { background: var(--ink); color: var(--canvas); padding: 44px 40px 40px; position: relative; overflow: hidden; border-radius: var(--r-panel); }
.insight .q-title { color: var(--canvas); }
.insight .q-title em { color: #f0c3a4; }
.insight p { color: var(--on-dark-muted); margin: 0 0 28px; font-size: 18px; max-width: 46ch; }
.insight .loopart { position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; opacity: .8; pointer-events: none; }
.insight .loopart g { transform-origin: 50% 50%; transform-box: view-box; animation: spin 40s linear infinite; }
.insight-steps { display: flex; gap: 6px; margin-bottom: 22px; max-width: 220px; }
.insight-steps i { height: 2px; flex: 1; background: rgba(254,249,239,.2); border-radius: 2px; position: relative; overflow: hidden; }
.insight-steps i.on::after { content: ""; position: absolute; inset: 0; background: #f0c3a4; animation: segfill .8s var(--ease) both; transform-origin: 0 50%; }
.insight .q-section { color: #f0c3a4; }

/* building screen (step checklist, honest progress) */
.analyze { text-align: center; padding-top: 3vh; }
.ring { width: 168px; height: 168px; margin: 0 auto 28px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 35px; font-weight: 300; }
.ring .pct small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 28px auto 0; max-width: 420px; text-align: left; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: center; color: var(--muted); transition: color .3s, transform .4s var(--ease), opacity .4s; opacity: .55; }
.checklist li .ck { width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background-color .3s, border-color .3s; }
.checklist li .ck svg { width: 12px; opacity: 0; color: var(--canvas); transition: opacity .3s; }
.checklist li.active { opacity: 1; color: var(--ink); transform: translateX(4px); }
.checklist li.done { color: var(--ink); opacity: 1; }
.checklist li.done .ck { background: var(--accent); border-color: var(--accent); }
.checklist li.done .ck svg { opacity: 1; }
.checklist li.active .ck { border-color: var(--accent); animation: pulseRing 1.1s var(--ease-io) infinite; }

.save-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); transition: opacity .4s; }
.save-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.save-note.flash i { animation: pulseDot .8s var(--ease); }

/* =====================================================================
   RESULT / OFFER
   ===================================================================== */
.result-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); padding: 150px 0 88px;
  background: radial-gradient(60% 80% at 80% 30%, rgba(214,140,98,.34), rgba(176,90,54,0) 70%), linear-gradient(160deg, #3b3430 0%, #2a2b2f 60%, #1d1b1a 100%); }
.result-hero .loops { right: -20%; width: min(90vw, 1000px); opacity: .7; }
.result-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .result-grid { grid-template-columns: 1fr; gap: 40px; } .result-hero { padding: 120px 0 56px; } }
.result-hero .h1 em { color: #f0c3a4; }
.result-hero .lead { color: var(--on-dark-muted); }
.result-tag { display: inline-flex; align-items: center; gap: 8px; color: #f0c3a4; margin-bottom: 18px; }
.result-tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulseDot 2s var(--ease-io) 3; }
.score { display: flex; align-items: center; gap: 18px; margin: 28px 0; }
.score-dial { width: 92px; height: 92px; position: relative; flex: none; }
.score-dial svg { transform: rotate(-90deg); }
.score-dial b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--sans); font-weight: 300; font-size: 28px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.score .t { font-family: var(--serif); font-size: 26px; font-weight: 300; line-height: 1.1; }
.teaser { position: relative; }
.teaser .doc-page { min-height: 480px; border-radius: 8px; }
.blurred { filter: blur(5px); user-select: none; pointer-events: none; transition: filter 1.2s var(--ease); }
.lock-veil { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; padding: 28px; background: linear-gradient(to bottom, rgba(254,249,239,0), var(--canvas) 46%); text-align: center; color: var(--ink); }
.lock-veil svg { width: 22px; height: 22px; color: var(--accent); }
.lock-veil b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.profile-card { padding: 28px; min-height: 170px; background: var(--oat); border-radius: var(--r-card); display: flex; flex-direction: column; gap: 10px; }
.profile-card small { font-size: 14px; font-weight: 600; color: var(--muted); }
.profile-card strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.08; }
.profile-card:first-child strong { font-style: italic; color: var(--accent); font-size: 44px; }
@media (max-width: 760px) { .profile-grid { grid-template-columns: 1fr; } }
.get-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.get-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.get-list .n { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); padding-top: 6px; }
.get-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.get-list p { margin: 0; color: var(--muted); font-size: 15px; }

.timer-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); color: var(--canvas); font-size: 14px; text-align: center; }
.timer-bar .clock { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent); font-variant-numeric: tabular-nums; }
.timer-bar small { opacity: .7; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-panel); cursor: pointer; text-align: left; transition: border-color .25s, transform .4s var(--ease), box-shadow .4s var(--ease); width: 100%; color: var(--ink); font-weight: 300; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.plan:active { transform: translateY(-1px) scale(.995); }
.plan[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-raised); }
.plan[data-plan="bundle"] { background: linear-gradient(#b05a36, rgba(216,161,131,.96)); color: var(--canvas); border-color: transparent; box-shadow: 0 4px 30px rgba(0,0,0,.1); }
.plan[data-plan="bundle"][aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink), 0 20px 50px -10px rgba(176,90,54,.45); }
.plan .ribbon { position: absolute; top: 20px; right: 20px; background: var(--canvas); color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); }
.plan .radio { width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; opacity: .8; }
.plan[aria-checked="true"] .radio { opacity: 1; }
.plan[aria-checked="true"] .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; animation: pop .35s var(--ease); }
.plan:not([data-plan="bundle"])[aria-checked="true"] .radio { color: var(--accent); }
.plan h3 { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1; margin: 0; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-now { font-family: var(--serif); font-weight: 300; font-size: 66px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price-was { position: relative; font-family: var(--serif); font-style: italic; font-size: 24px; opacity: .8; }
.price-was::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--strike, 1)); transition: transform .6s var(--ease) .2s; }
.js .offer-grid:not(.revealed) .price-was::after { --strike: 0; }
.save-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
.plan[data-plan="bundle"] .save-tag { background: rgba(254,249,239,.2); color: var(--canvas); }
.plan ul { list-style: none; margin: 8px 0 0; padding: 18px 0 0; display: grid; gap: 10px; font-size: 15px; border-top: 1px solid currentColor; border-top-color: rgba(127,110,90,.25); }
.plan[data-plan="bundle"] ul { border-top-color: rgba(254,249,239,.35); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.plan[data-plan="bundle"] li svg { color: var(--canvas); }
.per { font-size: 15px; opacity: .85; }
.pay-icons { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 14px; }
.pay-icons span { border: 1px solid var(--rule); padding: 4px 10px; border-radius: var(--r-pill); }

/* Checkout */
.co-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; } .co-summary { order: -1; } }
.panel { background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 32px; }
.panel + .panel { margin-top: 16px; }
.panel.raised { border: 0; border-radius: var(--r-panel); box-shadow: var(--shadow-raised); }
.panel h2 { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.12; margin: 0 0 18px; }
.panel h2 em { color: var(--accent); }
.panel h2 .n { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--accent); margin-right: 10px; vertical-align: middle; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sum-row.total { border-bottom: 0; font-weight: 600; font-size: 18px; padding-top: 18px; }
.sum-row.total span:last-child { font-family: var(--serif); font-weight: 300; font-size: 38px; line-height: 1; }
.sum-row .was { color: var(--muted); text-decoration: line-through; margin-right: 8px; font-weight: 300; }
.pay-placeholder { border: 1px dashed #b48a00; background: #fffbea; padding: 18px 20px; color: #5c4600; font-size: 14px; border-radius: var(--r-card); margin-bottom: 16px; }
.pay-placeholder code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: var(--r-sq); }
.recipient { display: grid; grid-template-columns: 1fr 170px; gap: 10px; }
@media (max-width: 520px) { .recipient { grid-template-columns: 1fr; } }
.segctl { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--rule); border-radius: var(--r-pill); background: var(--oat); }
.segctl button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 20px; min-height: 44px; cursor: pointer; font-size: 15px; font-weight: 600; border-radius: var(--r-pill); transition: color .25s; }
.segctl button[aria-pressed="true"] { color: var(--canvas); }
.segctl .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: var(--r-pill); background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease); }

/* Thank you / timeline */
.timeline { list-style: none; margin: 0 0 24px; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.timeline::after { content: ""; position: absolute; left: 5px; top: 8px; width: 1px; height: 0; background: var(--accent); transition: height 1.4s var(--ease) .3s; }
.timeline.is-in::after { height: 44%; }
.timeline li { position: relative; padding: 0 0 28px 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--edge); z-index: 1; transition: background-color .3s, border-color .3s; }
.timeline li.done::before { background: var(--accent); border-color: var(--accent); }
.timeline li.now::before { border-color: var(--accent); animation: pulseRing 1.6s var(--ease-io) infinite; }
.timeline b { display: block; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; }
.timeline li > span { color: var(--muted); }

/* Legal / prose page head */
.page-head { background: var(--canvas); color: var(--ink); padding: 156px 0 40px; border-bottom: 1px solid var(--rule); }
.page-head .lead { color: var(--muted); }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-weight: 300; font-size: 31px; line-height: 1.12; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose a { color: var(--accent); }
.notice { padding: 14px 18px; background: #fffbea; border: 1px dashed #b48a00; color: #5c4600; font-size: 14px; margin-bottom: 28px; border-radius: var(--r-card); }
.notice a { color: inherit; font-weight: 600; }

/* Sample page tabs */
.tabs { position: relative; display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; padding: 4px; border: 1px solid var(--rule); border-radius: var(--r-pill); background: var(--oat); }
.tab { position: relative; min-height: 44px; padding: 10px 22px; border: 0; background: transparent; border-radius: var(--r-pill); cursor: pointer; font-weight: 600; transition: background-color .25s, color .25s; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--canvas); }
.sample-doc { background: var(--canvas); border: 1px solid var(--rule); border-radius: var(--r-panel); box-shadow: var(--shadow-raised); padding: clamp(24px, 5vw, 64px); max-width: 900px; }
.sample-doc.swap { animation: docSwap .5s var(--ease); }
.sample-doc h2 { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1.12; margin: 44px 0 14px; }
.sample-doc h2 em { color: var(--accent); }
.sample-doc h2:first-of-type { margin-top: 18px; }
.sample-doc .kick { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sample-doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sample-doc td { border-top: 1px solid var(--rule); padding: 12px 8px 12px 0; vertical-align: top; }
.sample-doc td:first-child { font-weight: 600; width: 30%; }
.sample-doc .doc-center { padding: 24px; border-radius: var(--r-card); }

/* =====================================================================
   Motion primitives
   ===================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal="clip"] { opacity: 1; filter: none; transform: none; clip-path: inset(12% 0 12% 0 round 12px); transition: clip-path 1.1s var(--ease); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0 round 12px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.split-words .w > span { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
.split-words.in .w > span { transform: none; }
.split-words em { transition: color .8s var(--ease) .5s; }
.split-words:not(.in) em { color: inherit; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
[data-parallax] { will-change: transform; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes segfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.6); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(176,90,54,.45); } 100% { box-shadow: 0 0 0 9px rgba(176,90,54,0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes sheen { from { transform: translateX(-80px); } to { transform: translateX(900px); } }
@keyframes screenIn { from { opacity: 0; transform: translateX(32px); filter: blur(4px); } }
@keyframes screenBackIn { from { opacity: 0; transform: translateX(-32px); filter: blur(4px); } }
@keyframes screenOut { to { opacity: 0; transform: translateX(-24px); filter: blur(3px); } }
@keyframes lineIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes optIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes countUp { from { transform: translateY(100%); opacity: 0; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes busy { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes docSwap { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; transition-delay: 0s !important; }
  [data-reveal], .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .marquee { animation: none; }
  .ticker-track { overflow-x: auto; }
  .story-step { opacity: 1; }
  .sv-layer { transform: none !important; filter: none !important; }
  [data-parallax] { transform: none !important; }
}

@media (max-width: 520px) { .save-note { font-size: 0; gap: 0; } }
@media (max-width: 820px) { .plan[data-plan="bundle"] { order: -1; } }

/* ---------- Hero responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  .hero-proof > div { padding: 0 14px; }
  .hero-proof b { font-size: 19px; }
  .hero-proof > div > span { font-size: 13px; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; --hero-pad-t: 96px; --hero-pad-b: 96px; }
  .has-announce .hero { min-height: 0; }
  .hero-media { bottom: auto; height: 640px; }
  .hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(34,31,29,0), #221f1d); }
  .hero-fade { background: linear-gradient(0deg, rgba(29,27,26,.5), rgba(29,27,26,0) 50%); }
  .hero-inner { grid-template-columns: 1fr; row-gap: 28px; }
  .hero-right { display: contents; }
  .hero-stage.scene-wrap { order: -1; flex: none; min-height: 0; height: calc(min(92vw, 440px) * .9); margin-bottom: 36px; }
  .loops { width: 150vw; }
  .hero-proof { justify-self: stretch; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .hero-proof > div, .hero-proof > div:first-child { padding: 0 10px; border-left: 1px solid rgba(254,249,239,.22); }
  .hero-proof > div:first-child { border-left: 0; padding-left: 0; }
  .hero-proof b { font-size: 18px; }
  .hero-proof > div > span { font-size: 12.5px; display: block; line-height: 1.3; }
  .hero-ctrl { bottom: auto; top: calc(96px + min(92vw, 440px) * .9 + 10px); right: 16px; }
  .hero-chapters .label { min-width: 0; }
  .hero.has-video .hero-fade { background: linear-gradient(0deg, rgba(22,20,19,.85) 0%, rgba(22,20,19,.25) 60%, rgba(22,20,19,.45) 100%); }
}
@media (max-width: 420px) {
  .path-pills .btn { flex: 1 1 100%; }
}

/* small terracotta text (labels, links) uses the darker accent for AA contrast on oatmeal */
.matrix .count, .fw .k, .sheet .step-n, .story-step .num, .q-section, .get-list .n, .link-ghost:not(.light), .faq .ans a, .save-tag, .panel h2 .n, .prose a, .flow-path-pill, .form-msg.ok, .footer .invite em, .notice a { color: var(--accent-text); }
.flow-path-pill { border-color: var(--accent-text); }
.insight .q-section { color: #f0c3a4; }
