/* =========================================================
   Vibe Designer — card stack page
   Desktop ≥ 901px: full design (pinned card hero, effects)
   Mobile  ≤ 900px: simplified — one type scale, one spacing rhythm
   ========================================================= */

@font-face { font-family: 'Freight Big Pro'; src: url('../assets/fonts/FreightBigPro-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Freight Big Pro'; src: url('../assets/fonts/FreightBigPro-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../assets/fonts/DMSans-latin.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* colour */
  --ink: #1D1C1A;
  --ink-black: #000000;
  --paper: #EFEDE9;
  --cream: #F7F5F2;
  --stone: #D3CEC7;
  --sand: #E6E3DE;
  --white: #FFFFFF;
  --muted: #6B655F;
  --line: rgba(29, 28, 26, 0.12);
  --line-strong: rgba(29, 28, 26, 0.35);
  --hl: #C6FF3D;

  /* type families */
  --serif: 'Freight Big Pro', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* type scale — desktop */
  --t-small: 15px;
  --t-body: 18px;
  --t-lead: 19px;
  --t-h3: 30px;
  --t-h2: 64px;
  --t-xl: 96px;
  --t-statement: 58px;

  /* spacing — desktop */
  --gutter: 72px;
  --half: 60px;           /* every section boundary = 2 × --half */
  --sec-y: var(--half);
  --box-y: var(--half);
  --box-pad: 72px 64px;   /* inner padding of boxed sections */
  --head-gap: 16px;       /* tag → heading */
  --head-mb: 48px;        /* heading block → content */
  --stack: 20px;          /* paragraph rhythm inside text blocks */
  --radius-box: 44px;
  --radius-card: 28px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--ink-black); }
em { font-style: italic; }
p, li, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page { overflow-x: clip; }

/* ---------- shared atoms ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -0.015em; }
.h2--xl { font-size: var(--t-xl); line-height: 1; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-h3); line-height: 1.1; }
.p { margin: 0; font-size: var(--t-body); line-height: 1.6; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); font-weight: 600; line-height: 1.4; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tag--plain::before { display: none; }
.hl { color: inherit; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 55% / 100% 1.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }

.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--head-gap); margin-bottom: var(--head-mb); }
.sec-head--center { align-items: center; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 220px; height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); text-decoration: none; font-size: 16px; font-weight: 600; transition: background .3s; }
.btn:hover { background: var(--ink-black); color: var(--cream); }
.btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.btn:hover svg { transform: translateX(4px); }
.btn--block { width: 100%; }
.btn--hl { background: var(--hl); border-color: var(--hl); color: var(--ink); }
.btn--hl:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }

.card { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 14px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); pointer-events: none; }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) var(--gutter); }
.sec-box { padding-top: var(--box-y); padding-bottom: var(--box-y); }
.box { max-width: var(--wrap); margin: 0 auto; padding: var(--box-pad); border: 1px solid var(--line-strong); border-radius: var(--radius-box); }
.box--white { background: var(--white); }
.box--stone { background: var(--stone); }
.box--sand { background: var(--sand); }
.box--video { padding: 16px; background: var(--cream); }
.vid { width: 100%; aspect-ratio: 1600 / 746; object-fit: cover; border-radius: 30px; background: #E3E0DB; }

/* =========================================================
   HERO — DESKTOP
   ========================================================= */
.hero-m { display: none; }

.cd-track { position: relative; }
[data-pinned="true"] .cd-track { height: calc(100vh + 550px); } /* scroll distance the hero stays pinned while the cards fan out */
.cd-hero { position: relative; z-index: 2; height: 900px; overflow-x: clip; container-type: size; }
[data-pinned="true"] .cd-hero { position: sticky; top: 0; height: 100vh; min-height: 680px; }

.cd-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 8; padding: 22px 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; font-size: 15px; font-weight: 500; }
.cd-nav a { text-decoration: none; }
.cd-nav-links { display: flex; gap: 36px; justify-content: center; }
.cd-nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.logo { justify-self: start; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.cd-nav-btn { justify-self: end; display: flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: var(--cream) !important; font-size: 16px; font-weight: 600; transition: background .3s; }
.cd-nav-btn:hover { background: var(--ink-black); }

/* Title = 70% of hero width (60% on very wide screens); "Vibe Designer" is 4.63em wide.
   Same maths as fitTitle() in main.js, so the first paint is already right. */
.cd-hero { --title-size: calc(70cqw / 4.63); }
@media (min-width: 1600px) { .cd-hero { --title-size: calc(60cqw / 4.63); } }
.cd-canvas { --title-top: max(calc(156 * var(--u)), calc(363 * var(--u) - 0.86 * var(--title-size))); --u: min(calc(100cqw / 1512), calc(100cqh / 982)); position: absolute; left: 50%; top: 50%; width: calc(1512 * var(--u)); height: calc(982 * var(--u)); transform: translate(-50%, -50%); }
.cd-eyebrow { position: absolute; left: calc(756 * var(--u)); top: calc(124 * var(--u)); transform: translateX(-50%); white-space: nowrap; z-index: 5; margin: 0; font-size: 17px; font-weight: 500; letter-spacing: 0.02em; }
.cd-title { position: absolute; left: calc(756 * var(--u)); top: var(--title-top); transform: translateX(-50%); white-space: nowrap; z-index: 0; font-size: var(--title-size); margin: 0; font-family: var(--serif); font-weight: 400; line-height: 0.86; letter-spacing: -0.03em; }

.cd-cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; --ox: 0; --oy: -100; }
.cd-card { --p: 0; --x: calc(var(--x2) + (var(--x1) - var(--x2)) * var(--p)); --y: calc(var(--y2) + (var(--y1) - var(--y2)) * var(--p)); --r: calc(var(--r1) * var(--p) * 1deg); position: absolute; left: 0; top: 0; width: calc(431.88 * var(--u)); height: calc(652.156 * var(--u)); transform: translate(calc((var(--x) - var(--ox)) * var(--u) - 50%), calc((var(--y) - var(--oy)) * var(--u) - 50%)) rotate(var(--r)); will-change: transform; }
.cd-face { position: relative; overflow: hidden; width: 100%; height: 100%; border: 1px solid var(--line-strong); border-radius: calc(31 * var(--u)); box-shadow: 0 calc(40 * var(--u)) calc(120 * var(--u)) rgba(29,28,26,0.22); animation: cdIn 1.05s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d, 0s); }
.cd-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-c1 { --x1: 627.41; --y1: 574.09; --r1: -12.5; --x2: 587.94; --y2: 566; z-index: 1; --d: .3s; }
.cd-c2 { --x1: 779.53; --y1: 540.99; --r1: 18.08; --x2: 865.94; --y2: 563; z-index: 2; --d: .38s; }
.cd-c3 { --x1: 837.53; --y1: 609.65; --r1: 18.08; --x2: 670.94; --y2: 566; z-index: 3; --d: .46s; }
.cd-c4 { --x1: 727; --y1: 564.73; --r1: 0; --x2: 787; --y2: 564.5; z-index: 4; --d: .54s; width: calc(430 * var(--u)); height: calc(655 * var(--u)); }
.cd-c4 .cd-face { border-radius: calc(23 * var(--u)); }
.cd-cards .cd-c4 { pointer-events: auto; cursor: none; }

/* white "ghost" title that shows through the cards */
.cd-ghostwrap { position: absolute; left: -1px; top: -1px; width: 0; height: 0; z-index: 3; pointer-events: none; }
.cd-ghost { position: absolute; left: calc(756 * var(--u)); top: var(--title-top); transform: translateX(-50%); white-space: nowrap; font-size: var(--title-size); margin: 0; font-family: var(--serif); font-weight: 400; line-height: 0.86; letter-spacing: -0.03em; color: rgba(255,255,255,0.78); }

.cd-cta { position: absolute; z-index: 6; left: calc(68 * var(--u)); top: calc(560 * var(--u)); width: calc(232 * var(--u)); min-width: 204px; height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 26px; border-radius: 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); text-decoration: none; font-size: 16px; font-weight: 600; transition: background .4s; }
.cd-cta:hover { background: var(--ink-black); color: var(--cream); }
.cd-cta svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.cd-cta:hover svg { transform: translateX(4px); }
.cd-cta-r { top: calc(560 * var(--u) + 70px); }
.cd-side { position: absolute; z-index: 6; left: calc(1172 * var(--u)); top: calc(540 * var(--u)); width: calc(300 * var(--u)); min-width: 240px; margin: 0; font-size: 18px; line-height: 1.55; }

.cd-cursor { position: absolute; left: 0; top: 0; width: 128px; height: 128px; margin: -64px 0 0 -64px; pointer-events: none; z-index: 50; }
.cd-cursor-in { width: 100%; height: 100%; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; position: relative; opacity: 0; transform: scale(.3); transition: opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.cd-cursor[data-on="true"] .cd-cursor-in { opacity: 1; transform: scale(1); }
.cd-ring { position: absolute; inset: 0; animation: cdSpin 9s linear infinite; }
.cd-ring text { fill: var(--cream); font: 600 12.5px var(--sans); letter-spacing: 1px; }
.cd-cursor-arrow { fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cd-trail { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 60; }
@media (hover: none) { .cd-cursor, .cd-trail { display: none; } }

.cd-up { animation: cdUp .8s cubic-bezier(.22,1,.36,1) both; animation-delay: var(--d, 0s); }
@keyframes cdIn { from { opacity: 0; transform: translateY(calc(90 * var(--u))) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes cdUp { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes cdSpin { to { transform: rotate(360deg); } }

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

/* scroll-revealed statements */
.sec-statement { display: flex; justify-content: center; }
.sec-statement:first-child { padding-top: calc(var(--half) * 2); }
.statement { margin: 0; max-width: 1240px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: var(--t-statement); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.w { transition: opacity .3s ease-out; }
.w.hl { padding: 0; background-position: 0 86%; background-size: calc(var(--h, 1) * 100%) 0.42em; transition: opacity .3s ease-out, background-size .45s cubic-bezier(.22,1,.36,1); }

/* three tilted cards */
/* the tilted cards overhang their box (rotation + the middle card's 48px drop), so pad to keep the visual gap even */
.sec-trio { padding-top: calc(var(--half) + 16px); padding-bottom: calc(var(--half) + 64px); }
.trio { display: flex; justify-content: center; align-items: flex-start; }
.tcard { position: relative; z-index: var(--z); width: 380px; min-height: 440px; margin: 0 -14px; padding: 34px 34px 40px; border-radius: 28px; border: 1px solid var(--line-strong); background: var(--stone); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 80px rgba(29,28,26,0.2); transform: rotate(var(--rot)) translateY(var(--ty, 0px)); transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s; }
.tcard:hover { transform: rotate(0deg) translateY(-10px); z-index: 5; box-shadow: 0 40px 90px rgba(29,28,26,0.28); }
.tcard-num { font-family: var(--serif); font-size: 80px; line-height: 0.9; }
.tcard-h { margin: 24px 0 0; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.05; }
.tcard p { margin: 0; font-size: 16px; line-height: 1.55; }

/* tools marquee */
.logos { padding: var(--half) 0; overflow: hidden; }
.logos-lb { margin: 0 0 26px; text-align: center; font-size: var(--t-small); font-weight: 600; }
.marq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marq 68s linear infinite; } /* 3 sets of 5 tools per loop, ~51px/s */
.marq:hover .marq-track { animation-play-state: paused; }
.tool { display: flex; align-items: center; gap: 12px; padding: 0 36px; color: #111; font-weight: 600; font-size: 24px; letter-spacing: -0.01em; white-space: nowrap; }
.logo-ic { width: 30px; height: 30px; fill: #111; flex: none; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* image + text splits */
.split { display: grid; gap: 88px; align-items: center; }
.split--why { grid-template-columns: 5fr 6fr; }
.split--about { grid-template-columns: 6fr 5fr; }
.split--about .split-img { order: 2; }
.split--about .split-tx { justify-self: end; }
.split-img { width: 100%; object-fit: cover; border-radius: var(--radius-box); }
.split--why .split-img { aspect-ratio: 765 / 1024; }
.split--about .split-img { aspect-ratio: 896 / 1200; }
.split-tx { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); max-width: 580px; }
.split-tx .h2 { margin-bottom: 4px; }
.split-tx .btn { margin-top: 8px; }

/* PageSpeed gauges */
.psi { display: flex; flex-direction: column; align-items: center; text-align: center; }
.psi .tag { max-width: 560px; }
.psi-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 900px; align-items: start; }
.psi-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.psi-g { position: relative; width: 88px; height: 88px; border-radius: 50%; background: #F2F0ED; }
.psi-g svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.psi-tr { fill: none; stroke: rgba(120,111,102,0.16); stroke-width: 7; }
.psi-ar { fill: none; stroke: #81786F; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 276.46; stroke-dashoffset: 0; }
.psi-v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 27px; color: #4F4842; font-variant-numeric: tabular-nums; }
.psi-pill { margin: 18px 0; display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: #F2F0ED; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 21px; color: #4F4842; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.psi-dot { width: 14px; height: 14px; border-radius: 50%; background: #81786F; }
.psi-l { font-size: 16px; font-weight: 500; }
.psi-wait .psi-pill { opacity: 0; transform: scale(.85); }

/* curriculum — sticky stacking cards */
.ch-stack { display: flex; flex-direction: column; gap: 16px; }
.ch { position: sticky; top: calc(96px + var(--i) * 28px); display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding: 44px 56px; border: 1px solid var(--line-strong); border-radius: var(--radius-box); background: var(--white); transform-origin: 50% 0; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.ch--2 { background: var(--stone); }
.ch--3 { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ch-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ch-num { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: var(--hl); color: var(--ink); font-size: var(--t-small); font-weight: 600; }
.ch-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.015em; }
.ch-list { list-style: none; margin: 0; padding: 0; }
.ch-list li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(29,28,26,0.22); font-size: var(--t-lead); line-height: 1.45; }
.ch-list li:last-child { border-bottom: 1px solid rgba(29,28,26,0.22); }
.ch--3 .ch-list li { border-color: rgba(247,245,242,0.22); }
.ch-n { flex: none; width: 28px; font-size: 14px; font-weight: 600; opacity: .55; padding-top: 3px; }
.ch-desc { margin: 6px 0 0; max-width: 400px; font-size: var(--t-body); line-height: 1.6; opacity: .85; }
.ch-body { display: flex; flex-direction: column; gap: 32px; }
.ch-learn { display: flex; flex-direction: column; gap: 14px; }
.ch-learn .tag { margin: 0; }
.ch-learn-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ch-learn-list li { position: relative; padding-left: 28px; font-size: var(--t-body); line-height: 1.5; }
.ch-learn-list li::before { content: "→"; position: absolute; left: 0; top: 0; opacity: .6; }
.anim-ch .ch:not(.is-in) { opacity: 0; transform: translateY(60px); }

/* bonuses */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.box--stone .card { background: #E7E3DD; border-color: var(--line-strong); }
.bonus-top { display: flex; align-items: center; gap: 12px; }
.bonus-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; flex: none; }
.bonus-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* testimonials */
.tgrid { display: flex; flex-direction: column; gap: 14px; }
.trow { display: grid; grid-template-columns: var(--cols); gap: 14px; }
.pill { margin: 0; background: var(--white); border-radius: 72px; padding: 30px 48px; display: flex; align-items: center; font-size: var(--t-lead); line-height: 1.7; transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.pill p { margin: 0; }
.pill .hl { transition: background-size .8s cubic-bezier(.65,0,.35,1) .35s; }
.anim-pills .pill:not(.is-in) { opacity: 0; transform: translateY(28px); }
.anim-pills .pill:not(.is-in) .hl { background-size: 0% 1.05em; }

/* pricing */
.enm { margin: 0 calc(var(--gutter) * -1 - 200px); overflow: hidden; pointer-events: none; user-select: none; }
.enm-track { display: flex; align-items: center; width: max-content; font-family: var(--serif); font-weight: 400; font-size: 200px; line-height: 1; letter-spacing: -0.035em; color: #D6D2CC; white-space: nowrap; animation: marq 38s linear infinite; }
.enm-track > span { padding-right: 0.12em; }
.enm-dot { font-size: 0.4em; }
.prices { position: relative; z-index: 1; margin-top: -70px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.price-card { background: var(--white); box-shadow: 0 30px 80px rgba(29,28,26,0.12); gap: 18px; flex: 0 1 500px; padding: 36px 100px 36px 36px; margin-right: -64px; z-index: 1; }
.price-card--all { flex: 1 1 420px; max-width: 520px; padding: 40px; gap: 24px; margin-right: 0; z-index: 2; background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 0 30px 80px rgba(29,28,26,0.18); }
.price-card--all del { color: #9C968F; }
.price-card--all .list li { border-color: rgba(247,245,242,0.16); }
.price-card--all .list li::before { border-color: var(--hl); }
.price-card .btn { margin-top: auto; }
.price-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.price-sub { margin-top: -8px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 16px; font-family: var(--serif); line-height: 1; }
.price del { font-size: 36px; color: #8A857F; text-decoration-thickness: 2px; }
.price-now { font-size: 60px; }
.price-card--all .price-now { font-size: 72px; }
.close-note { margin: -6px 0 0; text-align: center; font-size: var(--t-small); font-weight: 500; }

.tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 4px; }
.tip-b { width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; font: 600 12px/1 var(--sans); cursor: help; opacity: .8; }
.tip-b:hover, .tip-b:focus-visible { opacity: 1; outline: none; background: var(--hl); border-color: var(--hl); color: var(--ink); }
.tip-t { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); width: max-content; max-width: 300px; padding: 12px 14px; border-radius: 14px; background: var(--cream); color: var(--ink); font-size: 14px; line-height: 1.45; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,0.25); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 5; pointer-events: none; text-align: left; }
.tip-t::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--cream); }
.tip:hover .tip-t, .tip-b:focus + .tip-t { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* FAQ */
.faq .wrap, .faq { max-width: 1200px; }
.faq-list { max-width: 980px; }
.faq details { background: var(--white); border-radius: 32px; padding: 0 30px; margin-bottom: 12px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > div { padding: 0 0 24px; }
.plus { flex: none; position: relative; width: 40px; height: 40px; border: 1px solid rgba(29,28,26,0.25); border-radius: 50%; transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--cream); }

/* final CTA + footer */
.sec-dark { background: var(--ink); color: var(--cream); text-align: center; margin-top: var(--half); padding-top: calc(var(--half) * 2); padding-bottom: calc(var(--half) * 2); }
.sec-dark .p { color: #D9D5CF; max-width: 620px; }
.final { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final .h2 { max-width: 1000px; }
.foot { background: var(--ink); color: #A9A49D; padding: 40px var(--gutter) 48px; border-top: 1px solid rgba(247,245,242,0.12); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; line-height: 1.55; }
.foot p { margin: 0; }
.foot-d { max-width: 860px; text-wrap: balance; }

/* in-between widths */
@media (max-width: 1180px) {
  .trow { grid-template-columns: 1fr; }
  .pill { padding: 26px 40px; }
  .price-card { margin-right: 0; padding: 32px; }
  .prices { gap: 24px; }
}

/* =========================================================
   MOBILE — simplified
   One type scale, one spacing rhythm, static hero.
   ========================================================= */
@media (max-width: 900px) {
  :root {
    /* type scale — 5 steps only */
    --t-small: 14px;      /* tags, labels, captions */
    --t-body: 16px;       /* body, buttons, list items, FAQ questions */
    --t-lead: 16px;
    --t-h3: 26px;         /* card titles, statements, gauges */
    --t-h2: 38px;         /* section headings */
    --t-xl: 56px;         /* display: hero title, numbers, prices, final CTA */
    --t-statement: 26px;

    /* spacing — every section boundary is 2 × --half = 64px */
    --half: 32px;
    --gutter: 20px;
    --box-pad: 40px 20px;
    --head-gap: 12px;
    --head-mb: 32px;
    --stack: 16px;
    --radius-box: 28px;
    --radius-card: 22px;
  }

  /* swap heroes */
  .hero-d, .cd-trail { display: none; }
  .hero-m { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 88px var(--gutter) var(--half); text-align: center; }

  .m-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 8; padding: 14px 16px 14px var(--gutter); display: flex; justify-content: space-between; align-items: center; }
  .m-nav .logo { font-size: var(--t-h3); }
  .m-menu-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(29,28,26,0.25); background: transparent; color: var(--ink); font: 600 var(--t-body) var(--sans); cursor: pointer; }
  .m-menu-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .m-menu { position: absolute; top: 68px; left: 12px; right: 12px; z-index: 9; display: flex; flex-direction: column; padding: 8px 20px 20px; background: var(--cream); border: 1px solid var(--line-strong); border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(29,28,26,0.18); text-align: left; }
  .m-menu[hidden] { display: none; }
  .m-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-body); font-weight: 600; text-decoration: none; }
  .m-menu .btn { margin-top: 16px; }

  .m-eyebrow { margin: 0; max-width: 320px; text-wrap: balance; font-size: var(--t-small); font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; }
  .m-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--t-xl); line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap; }
  .m-lead { margin: 0; max-width: 360px; font-size: var(--t-body); line-height: 1.6; }
  .m-ctas { width: 100%; max-width: 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  /* one button style everywhere on mobile */
  .btn { min-width: 0; height: 48px; padding: 0 16px; gap: 8px; border-radius: 12px; font-size: var(--t-body); white-space: nowrap; }
  .m-ctas .btn { padding: 0 14px; }

  /* static fanned card stack */
  .m-cards { position: relative; width: min(358px, 100%); height: 300px; flex: none; container-type: size; pointer-events: none; --ox: 735; --oy: 575; }
  .m-cards .cd-card { --u: min(calc(100cqw / 840), calc(100cqh / 820)); --p: 1; left: 50%; top: 50%; }

  /* every section: same vertical rhythm */
  .sec-statement:first-child { padding-top: var(--half); }
  .statement { line-height: 1.2; letter-spacing: -0.01em; }

  .sec-trio { padding-top: calc(var(--half) + 12px); padding-bottom: calc(var(--half) + 6px); }
  .trio { flex-direction: column; align-items: center; }
  .tcard { width: min(340px, 100%); min-height: 0; margin: 0; padding: 24px; gap: 12px; border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(29,28,26,0.2); transform: rotate(calc(var(--rot) * 0.6)); }
  .tcard + .tcard { margin-top: -12px; }
  .tcard:hover { transform: rotate(calc(var(--rot) * 0.6)); box-shadow: 0 24px 60px rgba(29,28,26,0.2); }
  .tcard-num { font-size: var(--t-xl); }
  .tcard-h { margin-top: 12px; font-size: var(--t-h3); }
  .tcard p { font-size: var(--t-body); }

  .box--video { padding: 8px; }
  .vid { border-radius: 20px; }

  .logos-lb { margin-bottom: 16px; }
  .tool { padding: 0 20px; font-size: var(--t-body); gap: 8px; }
  .logo-ic { width: 20px; height: 20px; }

  .split, .split--why, .split--about { grid-template-columns: 1fr; gap: 32px; }
  .split--about .split-img { order: 0; }
  .split--about .split-tx { justify-self: start; }
  .split-tx .h2 { margin-bottom: 0; }
  .split-tx .btn { margin-top: 0; min-width: 200px; }

  .psi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .psi-item:last-child { grid-column: 1 / -1; }
  .psi .tag { text-align: center; }
  .psi-v { font-size: var(--t-h3); }
  .psi-pill { font-size: var(--t-body); padding: 10px 18px; }
  .psi-l { font-size: var(--t-small); }

  .ch { position: relative; top: auto; grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .ch-head { gap: 12px; }
  .ch-list li { padding: 14px 0; gap: 16px; font-size: var(--t-body); }
  .ch-body { gap: 24px; }
  .ch-learn { gap: 12px; }
  .ch-learn-list li { padding-left: 24px; }
  .ch-n { font-size: var(--t-small); }

  .grid3 { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 24px; gap: 12px; }

  .tgrid, .trow { gap: 12px; }
  .pill { border-radius: var(--radius-card); padding: 20px 24px; line-height: 1.6; font-size: var(--t-body); }

  .enm-track { font-size: 96px; }
  .prices { margin-top: -34px; flex-direction: column; align-items: stretch; gap: 16px; }
  .price-card, .price-card--all { flex: none; max-width: none; margin: 0; padding: 28px 24px; gap: 16px; }
  .price del { font-size: var(--t-h3); }
  .price-now, .price-card--all .price-now { font-size: var(--t-xl); }
  .list li { font-size: var(--t-body); padding: 12px 0 12px 28px; }
  .list li::before { top: 19px; }
  .close-note { font-size: var(--t-small); }
  .tip-t { left: auto; right: -8px; transform: translate(0, 4px); white-space: normal; width: 220px; font-size: var(--t-small); }
  .tip-t::after { left: auto; right: 12px; margin-left: 0; }
  .tip:hover .tip-t, .tip-b:focus + .tip-t { transform: translate(0, 0); }

  .faq details { border-radius: var(--radius-card); padding: 0 20px; margin-bottom: 10px; }
  .faq summary { font-size: var(--t-body); font-weight: 600; padding: 18px 0; gap: 16px; }
  .plus { width: 32px; height: 32px; }

  .final { gap: 24px; }
  .foot { padding: 32px var(--gutter) 40px; font-size: var(--t-small); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .cd-face, .cd-up { animation: none !important; }
  .cd-ring, .marq-track, .enm-track { animation: none; }
  .tcard, .pill, .hl { transition: none; }
  .ch { position: relative; top: auto; }
}
