/* Aurifex Healthcare site, base layer. Adapted from the Ranvier site stylesheet (itself adapted from Truefill). Original header follows.
   Ranvier site. One stylesheet. Structure and motion engine adapted from the Truefill site (DND_Truefill/website/assets/css/app.css),
   the scroll-played drawing engine from the Aurifex site. Brand green #5BB8FF on near black #090C12. Responsive rules live at the end. */
:root {
  --bg: #090C12; --bg-2: #0C1018; --deep: #06080D; --panel: #10151F; --panel-2: #161D2A; --panel-3: #1C2636;
  --line: rgba(242, 245, 250, .09); --line-2: rgba(242, 245, 250, .16); --line-g: rgba(91, 184, 255, .28);
  --text: #F2F5FA; --text-2: #C8D1E0; --muted: #93A0B5; --faint: #8492A8;
  --g: #5BB8FF; --g-2: #48A4EE; --g-3: #2F7FCB; --g-4: #1B4F86; --g-wash: rgba(91, 184, 255, .1); --g-wash-2: rgba(91, 184, 255, .18);
  --amber: #F2B84B; --ok: #4FD6A0; --rose: #F27B72; --sky: #7CC7F2;
  --paper: #F2F5FA; --ink: #090C12; --ink-2: #333D4F;
  --head: "Saira", "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif; --body: "Inter", "Helvetica Neue", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r-el: 10px; --r-surface: 18px; --r-pill: 99px;
  --lift: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px rgba(0, 0, 0, .45);
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-pop: cubic-bezier(.34, 1.56, .64, 1); --e-soft: cubic-bezier(.4, 0, .2, 1);
  --t-draw: 900ms; --t-pop: 520ms;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: var(--r-el); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 80; background: var(--g); color: var(--ink); padding: 10px 14px; border-radius: var(--r-el); }
.hp { position: absolute; left: -9999px; }

/* ---------- type ---------- */
.display { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(40px, 5.4vw, 72px); }
.display span { color: var(--g); }
.h-sec { font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(32px, 3.8vw, 52px); }
.h-feat { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; font-size: clamp(24px, 2.3vw, 31px); }
.h-card { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; font-size: 21px; margin: 6px 0 8px; }
.eyebrow { font: 600 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--g); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.eyebrow--sm { font-size: 11.5px; margin-bottom: 10px; }
.eyebrow .num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid var(--line-g); border-radius: 6px; font-size: 11.5px; }
.lede { font-size: 18.5px; color: var(--text-2); max-width: 62ch; line-height: 1.6; }
.micro { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.caveat { font-size: 13.5px; color: var(--muted); }
.link { color: var(--g); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.link:hover { text-decoration: underline; }
.link .ic { transition: transform .2s var(--ease-out); }
.link:hover .ic { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 15px var(--head); letter-spacing: .01em; background: var(--text); color: var(--ink); border: 0; border-radius: var(--r-pill); padding: 14px 24px; min-height: 48px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s var(--ease-out), box-shadow .2s; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: 14px; }
.btn--green { background: var(--g); color: var(--ink); box-shadow: 0 0 0 0 rgba(91, 184, 255, .4); }
.btn--green:hover { background: #8ACDFF; box-shadow: 0 8px 30px rgba(91, 184, 255, .25); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); }
.btn .arr { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--g); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 18, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); flex: none; }
.wordmark { display: block; width: auto; color: var(--g); }
.mark { display: block; flex: none; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 14px; font-size: 14.5px; }
.nav__links > a, .dd > summary { text-decoration: none; color: var(--text-2); padding: 8px 12px; border-radius: var(--r-pill); cursor: pointer; list-style: none; font-weight: 500; white-space: nowrap; }
.nav__links > a:hover, .dd > summary:hover, .nav__links > a[aria-current] { background: var(--panel-2); color: var(--text); }
.nav__links > a[aria-current] { box-shadow: inset 0 0 0 1px var(--line-g); }
.dd { position: relative; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
.dd__menu { position: absolute; top: 46px; left: 0; width: 360px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-surface); box-shadow: var(--lift); padding: 8px; display: grid; }
.dd:not([open]) .dd__menu { display: none; }
.dd__menu a { display: grid; grid-template-columns: 34px 1fr; gap: 1px 10px; padding: 10px; border-radius: var(--r-el); text-decoration: none; }
.dd__menu a:hover { background: var(--panel-2); }
.dd__menu i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--g-wash); color: var(--g); }
.dd__menu b { font-size: 14px; font-weight: 600; }
.dd__menu span { font-size: 12.5px; color: var(--muted); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav__mcta { display: none; }
.nav__toggle { display: none; font: 600 14px var(--body); background: none; color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 9px 16px; min-height: 42px; margin-left: auto; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; background: radial-gradient(900px 520px at 78% 18%, rgba(91, 184, 255, .13), transparent 62%), radial-gradient(600px 400px at 0% 100%, rgba(47, 127, 203, .1), transparent 60%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242, 245, 250, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; align-items: center; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--text-2); background: rgba(16, 21, 31, .8); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 14px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(91, 184, 255, .2); flex: none; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.hero__facts li { border-left: 2px solid var(--g-4); padding: 2px 0 2px 14px; }
.hero__facts b { display: block; font: 700 20px var(--head); letter-spacing: -0.01em; color: var(--text); }
.hero__facts span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; }
.hero__shot { margin: 0; }
.page-hero { padding: 72px 0 40px; position: relative; overflow: hidden; background: radial-gradient(800px 420px at 85% 0%, rgba(91, 184, 255, .12), transparent 60%); }
.page-hero .lede { margin-top: 18px; }
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.page-hero__in.has-facts { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); }
.page-facts { display: grid; gap: 10px; }
.page-facts li { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--g); border-radius: 0 var(--r-el) var(--r-el) 0; background: rgba(16, 21, 31, .7); }
.page-facts b { font: 700 24px var(--head); letter-spacing: -0.02em; color: var(--text); }
.page-facts span { font-size: 14px; color: var(--muted); }
.page-hero .display { font-size: clamp(36px, 4.6vw, 60px); }
.crumb { font: 500 12.5px var(--mono); color: var(--muted); margin-bottom: 16px; letter-spacing: .04em; }
.crumb a { color: var(--text-2); text-decoration: none; }

/* the axon under the hero: a signal leaping node to node */
.axon { position: relative; height: 92px; margin-top: 64px; }
.axon__cap { position: relative; text-align: center; font: 500 12.5px var(--mono); color: var(--muted); padding: 0 24px 28px; letter-spacing: .02em; }
.axon__line { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: linear-gradient(90deg, transparent, var(--g-4) 10%, var(--g-4) 90%, transparent); }
.axon__node { position: absolute; top: 37px; left: calc(7% + var(--i) * 14.3%); width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--g-3); }
.axon__node::before { content: ""; position: absolute; right: 100%; top: 2px; width: calc(14.3vw - 34px); max-width: 140px; height: 12px; border-radius: 6px; border: 1.5px solid var(--g-4); background: var(--panel); margin-right: 6px; }
.axon__node:first-of-type::before { display: none; }
.axon__spark { position: absolute; top: 40px; left: 7%; width: 14px; height: 14px; border-radius: 50%; background: var(--g); box-shadow: 0 0 22px 6px rgba(91, 184, 255, .55); opacity: 0; }
html.anim .axon.is-in .axon__spark { animation: leap 6.4s cubic-bezier(.5, 0, .3, 1) 600ms infinite; }
html.anim .axon.is-in .axon__node { animation: nodeLit 6.4s linear 600ms infinite; animation-delay: calc(600ms + var(--i) * 6.4s / 7.6); }
html.anim .axon.is-off * { animation-play-state: paused !important; }
@keyframes leap {
  0% { left: 7%; transform: translate(3px, 0); opacity: 0; } 4% { opacity: 1; }
  13% { left: 21.3%; transform: translate(3px, 0); } 26% { left: 35.6%; transform: translate(3px, 0); } 39% { left: 49.9%; transform: translate(3px, 0); }
  52% { left: 64.2%; transform: translate(3px, 0); } 65% { left: 78.5%; transform: translate(3px, 0); } 78% { left: 92.8%; transform: translate(3px, 0); opacity: 1; }
  86%, 100% { left: 92.8%; opacity: 0; }
}
@keyframes nodeLit { 0%, 100% { border-color: var(--g-3); box-shadow: none; } 3% { border-color: var(--g); box-shadow: 0 0 0 6px rgba(91, 184, 255, .18); } 12% { border-color: var(--g-3); box-shadow: none; } }

/* ---------- sections ---------- */
.sec { padding: 112px 0; position: relative; }
.sec--tight { padding: 72px 0; }
.sec--deep { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--light { background: var(--paper); color: var(--ink); }
.sec--light .eyebrow { color: var(--g-4); }
.sec--light .muted, .sec--light .caveat { color: #4A566B; }
.sec--light .link { color: var(--g-4); }
.sec__head { margin-bottom: 56px; display: grid; gap: 0; }
.sec__head .lede { margin-top: 20px; }
.sec__head.center { justify-items: center; }
.sec__head.center .lede { margin-left: auto; margin-right: auto; }

/* five differences */
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.five a { position: relative; display: grid; gap: 10px; align-content: start; height: 100%; padding: 22px 20px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); text-decoration: none; transition: border-color .25s, transform .25s var(--ease-out), background .25s; }
.five a:hover { border-color: var(--line-g); transform: translateY(-3px); background: var(--panel-2); }
.five .ic { color: var(--g); }
.five b { font: 600 18px var(--head); letter-spacing: -0.01em; }
.five span:not(.five__n) { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.five__n.static { position: static; display: block; color: var(--g); margin-bottom: 4px; }
.five__n { position: absolute; top: 18px; right: 18px; font: 500 12px var(--mono); color: var(--faint); }

/* feature rows */
.feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; margin-bottom: 96px; }
.feat--flip .feat__copy { order: 2; }
.feat__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; min-width: 0; }
.feat__copy > p { color: var(--text-2); font-size: 17px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 6px; align-items: start; color: var(--text-2); font-size: 15.5px; }
.ticks .ic { color: var(--g); margin-top: 4px; }
.sec--light .ticks li { color: var(--ink-2); }
.sec--light .ticks .ic { color: var(--g-4); }

/* product shots */
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-surface); box-shadow: var(--lift); overflow: hidden; min-width: 0; }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.shot__bar i, .scene__bar i { flex: none; }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.shot__bar span { margin-left: 8px; font: 500 12px var(--mono); color: var(--muted); min-width: 0; }
.shot__body { padding: 22px; display: grid; gap: 16px; }
.shot__cap { font-size: 12.5px; color: var(--faint); padding: 10px 18px 14px; border-top: 1px solid var(--line); }
.why { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-size: 14px; color: var(--text-2); background: var(--g-wash); border: 1px solid var(--line-g); border-radius: var(--r-el); padding: 11px 13px; }
.why .ic { color: var(--g); margin-top: 3px; }

/* today */
.today { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px; }
.today__top { display: grid; gap: 14px; align-content: start; }
.today__score { font: 700 64px/1 var(--head); letter-spacing: -0.04em; color: var(--g); margin: 6px 0 6px; }
.rangebar__track { position: relative; height: 10px; border-radius: 6px; background: var(--panel-3); }
.rangebar__band { position: absolute; top: 0; bottom: 0; left: var(--l); right: var(--r); border-radius: 6px; background: var(--g-wash-2); border: 1px solid var(--line-g); }
.rangebar__pt { position: absolute; top: -3px; left: var(--x); width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(91, 184, 255, .2); }
.rangebar__tg { position: absolute; top: -6px; bottom: -6px; left: var(--x); width: 2px; background: var(--text-2); }
.rangebar__ticks { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--faint); margin-top: 6px; }
.today__secs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.today__secs li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 8px 10px; display: grid; }
.today__secs span { font-size: 11.5px; color: var(--muted); }
.today__secs b { font: 700 20px var(--head); }
.today__secs .is-low { border-color: rgba(242, 184, 75, .4); }
.today__secs .is-low b { color: var(--amber); }
.today__list { display: grid; gap: 10px; align-content: start; min-width: 0; }
.today__list ol { display: grid; gap: 7px; }
.today__list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 9px 12px; }
.today__list li div { display: grid; min-width: 0; }
.today__list b { font-size: 13.5px; font-weight: 600; }
.today__list span { font-size: 12px; color: var(--muted); }
.today__list em { font: 500 11.5px var(--mono); font-style: normal; color: var(--text-2); }
.today__list .is-exam { border-style: dashed; border-color: var(--line-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--a { background: var(--g); } .dot--s { background: var(--g-wash-2); border: 1.5px solid var(--g-3); } .dot--w { background: var(--amber); } .dot--sp { background: var(--sky); }

/* adaptive chart, signals */
.adapt { width: 100%; height: auto; display: block; }
.adapt__grid { stroke: var(--line); stroke-width: 1; fill: none; }
.adapt__line { fill: none; stroke: var(--g); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.adapt circle { fill: var(--g); }
.settled { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--g); }
.signals { width: 100%; border-collapse: collapse; font-size: 13px; }
.signals th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 4px; font-size: 12px; }
.signals thead th { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.signals tbody th { color: var(--text-2); white-space: nowrap; }
.signals td { padding: 6px 4px; width: 26%; }
.m { display: block; height: 8px; border-radius: 4px; background: var(--panel-3); position: relative; overflow: hidden; }
.m::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--g-3); border-radius: 4px; }
.m.is-low::after { background: var(--amber); }
.result { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 14px; }
.result b { color: var(--g); font-family: var(--head); font-size: 18px; }

/* fingerprint bars */
.fp { display: grid; gap: 12px; }
.fp li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.fp .bar { display: block; height: 12px; border-radius: 6px; background: var(--panel-3); position: relative; overflow: hidden; }
.fp .bar b { position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 2.4); max-width: 100%; background: var(--g-3); border-radius: 6px; transform-origin: left; }
.fp .is-top .bar b { background: var(--g); }
.fp .is-top span { color: var(--text); font-weight: 600; }
.fp em { font: 600 13px var(--mono); font-style: normal; text-align: right; color: var(--text); }

/* timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: var(--panel-3); }
.timeline li { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 6px 0; position: relative; font-size: 14px; color: var(--text-2); }
.timeline b { justify-self: center; display: grid; place-items: center; min-width: 48px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line-2); font: 600 12.5px var(--mono); color: var(--text); position: relative; z-index: 1; }
.timeline .is-leap { color: var(--muted); }
.timeline .is-leap span { text-decoration: line-through; text-decoration-color: var(--g-3); }
.timeline .is-leap b { color: var(--g); border-color: var(--line-g); background: var(--bg-2); }
.timeline .is-now b { background: var(--g); color: var(--ink); border-color: var(--g); }
.timeline .is-now span { color: var(--text); font-weight: 600; }
.timeline .is-goal b { border-color: var(--g); color: var(--g); }

/* week */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.week li { display: grid; gap: 4px; text-align: center; padding: 14px 4px; border-radius: var(--r-el); background: var(--bg-2); border: 1px solid var(--line); min-height: 96px; align-content: start; }
.week b { font: 600 13px var(--mono); }
.week span { font-size: 12.5px; color: var(--muted); }
.week em { display: block; font-style: normal; font-size: 11px; color: var(--g); margin-top: 4px; }
.week .is-miss { border-style: dashed; border-color: rgba(242, 123, 114, .5); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(242, 123, 114, .06) 6px 12px); }
.week .is-miss span { color: var(--rose); }
.week .is-up { border-color: var(--line-g); background: var(--g-wash); }
.week .is-exam { border-color: rgba(124, 199, 242, .45); }
.week .is-exam span { color: var(--sky); }
.week .is-off { opacity: .55; }

/* node passage + chat */
.passage__text { font-family: Georgia, "Times New Roman", serif; font-size: 15.5px; line-height: 1.7; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 14px 16px; }
.passage__text mark { background: var(--g-wash-2); color: var(--text); border-bottom: 2px solid var(--g); padding: 1px 0; border-radius: 2px; }
.passage__q { font-weight: 600; font-size: 15px; }
.chat { display: grid; gap: 10px; }
.chat p { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.chat__node i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 13px var(--head); font-style: normal; }
.chat__node span { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 9px 13px; color: var(--text); }
.chat__you { justify-content: flex-end; }
.chat__you span { background: var(--g-wash-2); border: 1px solid var(--line-g); border-radius: 14px 4px 14px 14px; padding: 9px 13px; }
.chat sup { font: 600 11px var(--mono); color: var(--g); margin-left: 3px; }
.modes { display: grid; gap: 10px; }
.modes li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modes b { font: 600 16px var(--head); color: var(--g); }
.modes span { color: var(--text-2); font-size: 15px; }

/* cards and grids */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; }
.card p { color: var(--text-2); }
.card .ic { color: var(--g); }
.sec--light .card { background: #fff; border-color: rgba(9, 12, 18, .1); }
.sec--light .card p { color: var(--ink-2); }

/* timing toggle */
.timing { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; width: max-content; max-width: 100%; }
.seg button { font: 500 13.5px var(--body); color: var(--text-2); background: none; border: 0; border-radius: var(--r-pill); padding: 8px 14px; min-height: 38px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--g); color: var(--ink); font-weight: 600; }
.timing__bar { display: flex; gap: 3px; height: 30px; }
.timing__bar i { display: grid; place-items: center; border-radius: 6px; background: var(--g-3); font: 600 11px var(--mono); font-style: normal; color: var(--ink); overflow: hidden; white-space: nowrap; transition: flex-grow .5s var(--ease-out); min-width: 4px; }
.timing__bar i.brk { background: var(--panel-3); }
.timing__out { font-size: 14px; color: var(--text-2); }

/* targets table */
.targets { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; margin-top: 64px; }
.targets__head { display: grid; gap: 14px; }
.targets__head p { color: var(--text-2); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--panel); }
.tablewrap--flat { border: 0; background: none; border-radius: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--text-2); }
.tbl td:first-child { color: var(--text); font-weight: 500; }
.tbl .tgt { font: 700 17px var(--head); color: var(--g); white-space: nowrap; }
.tbl--inc { margin-top: 0; }
.tag { display: inline-block; font: 600 11.5px var(--mono); padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.tag--g { border-color: var(--line-g); color: var(--g); background: var(--g-wash); }
.y { color: var(--g); font-weight: 600; }
.n { color: var(--faint); }

/* core grid */
.core { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
.core li { display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); }
.core .ic { color: var(--g); }
.core b { font: 600 16px var(--head); }
.core span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* who */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.who li { padding: 26px; border-radius: var(--r-surface); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg)); display: grid; gap: 10px; align-content: start; }
.who b { font: 600 19px var(--head); }
.who p { color: var(--text-2); font-size: 15px; }

/* pricing */
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card { background: #fff; border: 1px solid rgba(9, 12, 18, .12); border-radius: 22px; padding: 32px; display: grid; gap: 14px; align-content: start; box-shadow: 0 20px 50px rgba(9, 12, 18, .1); }
.price-card--main { background: var(--ink); color: var(--text); border-color: var(--ink); }
.price-card--main .muted { color: var(--muted); }
.price-card--main .ticks li { color: var(--text-2); }
.price-card--main .ticks .ic { color: var(--g); }
.price-card--main .eyebrow { color: var(--g); }
.price-card .btn { justify-self: start; margin-top: 8px; }
.price-card--main .btn { background: var(--g); color: var(--ink); }
.price { font: 700 46px/1.05 var(--head); letter-spacing: -0.03em; }
.price span { font-size: 22px; font-weight: 500; color: var(--muted); }
.price-compare { display: grid; gap: 0; align-content: start; border: 1px solid rgba(9, 12, 18, .12); border-radius: 22px; padding: 12px 28px 24px; background: #fff; }
.price-compare > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(9, 12, 18, .1); font-size: 15.5px; }
.price-compare > div span { color: var(--ink-2); }
.price-compare > div b { font-weight: 600; white-space: nowrap; }
.price-compare > div.is-us span, .price-compare > div.is-us b { color: var(--g-4); font-weight: 700; }
.price-compare .caveat { margin: 14px 0 12px; }

/* road */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.road li { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--panel); display: grid; gap: 8px; align-content: start; }
.road li:first-child { border-color: var(--line-g); background: linear-gradient(180deg, rgba(91, 184, 255, .08), var(--panel)); }
.road__when { font: 600 12px var(--mono); color: var(--g); letter-spacing: .06em; }
.road b { font: 600 18px var(--head); line-height: 1.25; }
.road p { font-size: 14.5px; color: var(--text-2); }

/* faq */
.faq { display: grid; gap: 10px; margin-bottom: 32px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-g); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font: 600 17px var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--g), var(--g)) center / 14px 2px no-repeat, linear-gradient(var(--g), var(--g)) center / 2px 14px no-repeat; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 22px; max-width: 70ch; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 24px; margin-bottom: 16px; letter-spacing: -0.01em; }

/* join */
.join { overflow: hidden; background: radial-gradient(700px 400px at 90% 100%, rgba(91, 184, 255, .14), transparent 60%), var(--deep); border-top: 1px solid var(--line); }
.join__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.join__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.join__form { min-width: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px; box-shadow: var(--lift); }
.join__axon { position: absolute; left: 0; right: 0; bottom: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--g-4), transparent); display: flex; justify-content: space-around; }
.join__axon span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--g-4); background: var(--deep); margin-top: -5px; }

/* waitlist */
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.waitlist__row { display: flex; gap: 8px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 6px; }
.waitlist__row:focus-within { border-color: var(--g); }
.waitlist input[type=email] { flex: 1; min-width: 0; font: 400 16px var(--body); color: var(--text); background: transparent; border: 0; padding: 10px 14px; outline: none; }
.waitlist input::placeholder { color: var(--faint); }
.waitlist__more { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.waitlist select { font: 400 15px var(--body); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-el); padding: 10px 12px; min-height: 44px; width: 100%; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.waitlist__msg { font-size: 14px; min-height: 0; }
.waitlist__msg:empty { display: none; }
.waitlist__msg.is-bad { color: var(--rose); } .waitlist__msg.is-warn { color: var(--amber); } .waitlist__msg.is-ok { color: var(--g); }
.waitlist__msg a { color: var(--g); }
.waitlist__note { font-size: 13px; color: var(--muted); }
.waitlist__note a { color: var(--text-2); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__brand { display: grid; gap: 14px; align-content: start; max-width: 36ch; }
.foot__brand p { color: var(--muted); font-size: 14.5px; }
.foot__badge { display: inline-flex !important; align-items: center; gap: 8px; font: 500 12px var(--mono) !important; color: var(--text-2) !important; }
.foot__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--g); }
.foot__col { display: grid; gap: 4px; align-content: start; font-size: 14.5px; }
.foot__col b { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.foot__col a { color: var(--text-2); text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.foot__col a:hover { color: var(--g); }
.foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12.5px; color: var(--faint); }

/* sticky phone button */
.mcta-bar { display: none; }

/* ---------- demo card ---------- */
.demo-card { margin-top: 72px; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: start; padding: 40px; border-radius: 26px; background: linear-gradient(160deg, rgba(91, 184, 255, .08), transparent 50%), var(--panel); border: 1px solid var(--line-g); }
.demo-card__head { display: grid; gap: 14px; }
.demo-card__head p { color: var(--text-2); }
.diag, .builder { min-width: 0; }

/* ---------- scroll-played drawings (engine from the Aurifex site) ---------- */
.scene { margin: 0 0 72px; }
.scene__frame { background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: var(--lift); }
.scene__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.scene__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--panel-3); }
.scene__bar span { margin-left: 8px; font: 500 12px var(--mono); color: var(--muted); min-width: 0; }
.scene__stage { padding: 18px 12px 8px; background-image: radial-gradient(rgba(242, 245, 250, .05) 1px, transparent 1px); background-size: 22px 22px; }
.tl-scene { --t: 1; display: block; width: 100%; height: auto; overflow: visible; font-family: var(--body); }
.tl-scene :is(rect, circle, path) { stroke: var(--text-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-scene .f-n { fill: none; }
.tl-scene .f-p { fill: #121b18; }
.tl-scene .f-a { fill: var(--g); }
.tl-scene .f-s { fill: rgba(91, 184, 255, .38); }
.tl-scene .f-w { fill: #D6ECFF; }
.tl-scene .f-sp { fill: rgba(91, 184, 255, .16); }
.tl-scene .f-k { fill: none; stroke: var(--ink) !important; }
.tl-scene .f-glow { fill: rgba(91, 184, 255, .14); stroke: var(--g); }
.tl-scene .dash { stroke-dasharray: 6 7; }
.tl-scene .stroke-hi { stroke: var(--g) !important; }
.tl-scene .arc-a { stroke: var(--g); } .tl-scene .arc-s { stroke: rgba(91, 184, 255, .55); } .tl-scene .arc-w { stroke: #D6ECFF; } .tl-scene .arc-sp { stroke: var(--g-4); }
.tl-scene text { fill: var(--text); stroke: none; }
.tl-scene .d-tag { font: 600 14px var(--mono); letter-spacing: 1.6px; text-transform: uppercase; fill: var(--g); }
.tl-scene .d-s { font-size: 17px; font-weight: 500; fill: var(--text-2); }
.tl-scene .d-m { font-size: 18px; font-weight: 600; }
.tl-scene .d-h { font: 700 28px var(--head); }
.tl-scene .d-xs { font-size: 15px; font-weight: 500; fill: var(--text-2); }
.tl-scene .d-dk { fill: var(--ink) !important; font-weight: 600; }
.tl-scene .d-mute { fill: var(--muted); }
.tl-scene .d-hi { fill: var(--g); font-weight: 600; }
.tl-scene .d-chip { font-size: 16px; font-weight: 600; fill: var(--text); }
.tl-scene .d-chip-dk { font-size: 16px; font-weight: 700; fill: var(--ink); }
.tl-scene :is(.k-in, .k-pop, .k-grow-x, .k-grow-y, .k-move, .k-win) { transform-box: fill-box; }
.tl-scene .k-in { --v: clamp(0, calc((var(--t) - var(--a)) * 14), 1); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 10px)); }
.tl-scene .k-pop { --v: clamp(0, calc((var(--t) - var(--a)) * 16), 1); opacity: var(--v); transform: scale(calc(.5 + .5 * var(--v))); transform-origin: center; }
.tl-scene .k-draw { stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, calc((var(--t) - var(--a)) / var(--len, .12)), 1)); }
.tl-scene .k-draw.dash { stroke-dasharray: 1; }
.tl-scene .k-grow-x { transform: scaleX(clamp(0, calc((var(--t) - var(--a)) / var(--len, .1)), 1)); transform-origin: left center; }
.tl-scene .k-grow-y { transform: scaleY(clamp(0, calc((var(--t) - var(--a)) / var(--len, .1)), 1)); transform-origin: center bottom; }
.tl-scene .k-win { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 14), 1) * clamp(0, calc((var(--b) - var(--t)) * 14), 1)); }
.tl-scene .k-move { --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), 1); transform: translate(calc(var(--x0) + (var(--x1) - var(--x0)) * var(--m)), calc(var(--y0) + (var(--y1) - var(--y0)) * var(--m))); opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 30), 1) * clamp(0, calc((1 - var(--m)) * 6), 1)); transform-box: view-box; }
.tl-scene .k-move.k-keep { opacity: clamp(0, calc((var(--t) - var(--a)) * 20), 1); }
.tl-scene .k-out { opacity: clamp(0, calc((var(--a) - var(--t)) * 30), 1); }
.tl-scene .leap-fade { opacity: calc(1 - .75 * clamp(0, calc((var(--t) - var(--a)) * 10), 1)); }

/* ---------- Truefill motion classes for product shots (played once in view) ---------- */
html.anim [data-anim] .a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.anim [data-anim].is-in .a-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease-out) var(--d, 0ms); }
html.anim [data-anim] .a-pop { opacity: 0; transform: scale(.55); transform-box: fill-box; transform-origin: center; }
html.anim [data-anim].is-in .a-pop { opacity: 1; transform: none; transition: opacity 260ms ease var(--d, 0ms), transform var(--t-pop) var(--ease-pop) var(--d, 0ms); }
html.anim [data-anim] .a-rise { opacity: 0; transform: translateY(12px); }
html.anim [data-anim].is-in .a-rise { opacity: 1; transform: none; transition: opacity 420ms ease var(--d, 0ms), transform 620ms var(--ease-out) var(--d, 0ms); }
html.anim [data-anim] .a-fade { opacity: 0; }
html.anim [data-anim].is-in .a-fade { opacity: 1; transition: opacity 600ms ease var(--d, 0ms); }
html.anim [data-anim] .a-slide-l { opacity: 0; transform: translateX(-14px); }
html.anim [data-anim].is-in .a-slide-l { opacity: 1; transform: none; transition: opacity 360ms ease var(--d, 0ms), transform 620ms var(--ease-out) var(--d, 0ms); }
html.anim [data-anim] .fp .bar b, html.anim [data-anim] .m::after { transform: scaleX(0); transform-origin: left; }
html.anim [data-anim].is-in .fp .bar b, html.anim [data-anim].is-in .m::after { transform: none; transition: transform 1000ms var(--ease-out) 200ms; }
html.anim [data-anim] mark.a-fade { opacity: 1; background-size: 0 100%; }
html.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s var(--ease-out); }
html.anim .reveal.is-in { opacity: 1; transform: none; }

/* ---------- interactive demos ---------- */
.dq { display: grid; gap: 16px; }
.dq__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.dq__meta { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .04em; }
.dq__sec { font: 600 12px var(--mono); color: var(--g); letter-spacing: .06em; text-transform: uppercase; }
.dq__progress { display: flex; gap: 5px; }
.dq__progress i { width: 26px; height: 6px; border-radius: 3px; background: var(--panel-3); }
.dq__progress i.is-done { background: var(--g-3); }
.dq__progress i.is-now { background: var(--g); }
.dq__lvl { display: inline-flex; align-items: center; gap: 6px; font: 500 12px var(--mono); color: var(--text-2); }
.dq__lvl b { display: inline-flex; gap: 2px; }
.dq__lvl b i { width: 5px; height: 12px; border-radius: 2px; background: var(--panel-3); }
.dq__lvl b i.on { background: var(--g); }
.dq__passage { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.7; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 14px 16px; }
.dq__stem { font-size: 17px; font-weight: 600; line-height: 1.5; }
.dq__stem strong { color: var(--amber); }
.dq__opts { display: grid; gap: 8px; }
.dq__opt { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; text-align: left; font: 400 15.5px var(--body); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-el); padding: 11px 14px; min-height: 52px; cursor: pointer; transition: border-color .15s, background .15s; }
.dq__opt:hover { border-color: var(--line-g); }
.dq__opt b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--panel-3); font: 600 13px var(--mono); }
.dq__opt[aria-pressed="true"] { border-color: var(--g); background: var(--g-wash); }
.dq__opt[aria-pressed="true"] b { background: var(--g); color: var(--ink); }
.dq__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.dq__note { font-size: 13px; color: var(--muted); }
.dr { display: grid; gap: 20px; }
.dr__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dr__sum div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 12px 14px; }
.dr__sum b { display: block; font: 700 26px var(--head); color: var(--g); }
.dr__sum span { font-size: 13px; color: var(--muted); }
.dr__fp li { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 30px; }
.dr__fp .bar b { width: var(--w); transition: width .9s var(--ease-out); }
.dr__fp em { font-size: 14px; }
.dr__fix { font-size: 15px; }
.dr__review { display: grid; gap: 8px; }
.dr__review details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 0 14px; }
.dr__review summary { cursor: pointer; padding: 12px 0; font-size: 14.5px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dr__review summary .tag { font-size: 10.5px; }
.dr__review p { font-size: 14.5px; color: var(--text-2); padding: 0 0 14px; }
.dr__review .tag--miss { color: var(--amber); border-color: rgba(242, 184, 75, .4); }
.dr__review .tag--ok { color: var(--g); border-color: var(--line-g); }

.bld { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.bld__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); padding: 24px; }
.bld__in .fld--hours { grid-column: span 2; }
.bld__in .bld__tog { display: grid; gap: 4px; }
.fld { display: grid; gap: 8px; }
.fld > label, .fld > .fld__l { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.fld output { font: 600 14px var(--mono); color: var(--g); }
.fld input[type=range] { width: 100%; accent-color: var(--g); min-height: 36px; margin: 0; }
.hours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.hours label { display: grid; gap: 4px; text-align: center; font: 500 12px var(--mono); color: var(--muted); }
.hours input { width: 100%; font: 600 15px var(--mono); text-align: center; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 2px; min-height: 42px; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--text-2); cursor: pointer; min-height: 40px; }
.tog input { appearance: none; -webkit-appearance: none; width: 54px; height: 32px; border-radius: 16px; background: var(--panel-3); position: relative; cursor: pointer; flex: none; transition: background .2s; margin: 0; }
.tog input::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform .2s var(--ease-out); }
.tog input:checked { background: var(--g); }
.tog input:checked::after { transform: translateX(22px); background: var(--ink); }
.bld__out { display: grid; gap: 16px; min-width: 0; }
.bld__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bld__stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-el); padding: 12px; }
.bld__stats b { display: block; font: 700 22px var(--head); color: var(--g); }
.bld__stats span { font-size: 12.5px; color: var(--muted); }
.bweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bday { display: grid; gap: 5px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-el); padding: 8px 6px 10px; min-height: 220px; min-width: 0; }
.bday__h { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.bday__h b { font: 600 13px var(--mono); }
.bday__h span { font-size: 11px; color: var(--muted); }
.bday button.miss { font: 500 11px var(--body); color: var(--text-2); background: none; border: 1px dashed var(--line-2); border-radius: 6px; padding: 6px 4px; cursor: pointer; margin-top: 4px; min-height: 36px; }
.bday button.miss:hover { border-color: var(--rose); color: var(--rose); }
.bday.is-missed { border-style: dashed; border-color: rgba(242, 123, 114, .5); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(242, 123, 114, .05) 6px 12px); }
.bday.is-missed button.miss { border-color: var(--rose); color: var(--rose); }
.btask { display: grid; gap: 1px; border-radius: 7px; padding: 6px 7px; font-size: 11.5px; line-height: 1.3; background: var(--bg-2); border-left: 3px solid var(--g-3); min-width: 0; overflow-wrap: anywhere; }
.btask b { font-weight: 600; font-size: 11.5px; }
.btask span { color: var(--muted); font-size: 11px; font-family: var(--mono); }
.btask.t-cars { border-left-color: var(--amber); } .btask.t-card { border-left-color: var(--g-wash-2); } .btask.t-node { border-left-color: var(--g); } .btask.t-exam { border-left-color: var(--sky); background: rgba(124, 199, 242, .08); } .btask.t-stam { border-left-color: #D6ECFF; } .btask.t-leap { border-left-color: var(--g); background: var(--g-wash); }
.btask.is-moved { box-shadow: inset 0 0 0 1px var(--line-g); animation: moved 1.2s ease; }
@keyframes moved { 0% { background: var(--g-wash-2); } 100% { background: var(--bg-2); } }
.bld__why { min-height: 48px; }

/* node demo */
.nd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.nd__passage p { margin-bottom: 0; }
.nd__passage [data-line] { transition: background .25s, box-shadow .25s; border-radius: 3px; }
.nd__passage [data-line].is-lit { background: var(--g-wash-2); box-shadow: 0 2px 0 var(--g); color: var(--text); }
.nd__right { display: grid; gap: 14px; min-width: 0; }
.nd__chat { display: grid; gap: 10px; min-height: 280px; align-content: start; }
.nd__chat .chat__node span button { font: 600 11.5px var(--mono); color: var(--g); background: var(--g-wash); border: 1px solid var(--line-g); border-radius: 6px; padding: 2px 8px; margin-left: 6px; cursor: pointer; vertical-align: 1px; min-height: 28px; }
.nd__chat p { animation: chatIn .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 280ms); }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* page parts */
.steps { display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--g-wash); border: 1px solid var(--line-g); color: var(--g); font: 600 16px var(--mono); }
.steps b { display: block; font: 600 21px var(--head); margin-bottom: 6px; }
.steps p { color: var(--text-2); max-width: 72ch; }
.steps .when { display: inline-block; font: 500 11.5px var(--mono); color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font: 600 13px var(--head); color: var(--text); background: var(--bg-2); }
.compare thead th:nth-child(2) { color: var(--g); }
.compare tbody th { font-weight: 500; color: var(--text); width: 26%; }
.compare td { color: var(--text-2); }
.compare td:nth-child(2) { background: rgba(91, 184, 255, .05); color: var(--text); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.table-hint { display: none; }
@media (max-width: 860px) { .table-hint { display: block; } }
.callout { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; border-radius: var(--r-surface); background: var(--g-wash); border: 1px solid var(--line-g); }
.callout .ic { color: var(--g); }
.callout p { color: var(--text-2); }
.callout b { color: var(--text); }
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--text-2); font-size: 16.5px; }
.prose h2 { color: var(--text); font-size: 26px; margin-top: 24px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.err { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err .display { font-size: clamp(60px, 10vw, 120px); color: var(--g); }


/* drawings under 900px: readable size in a sideways scroller that pans as the drawing plays */
.scene__hint { display: none; }
@media (max-width: 899px) {
  .scene__stage { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .scene__stage .tl-scene { width: 900px; max-width: none; }
  .scene__hint { display: block; font: 500 11.5px var(--mono); color: var(--faint); padding: 8px 16px 12px; border-top: 1px solid var(--line); }
}


/* pricing plans */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; padding: 28px 24px; background: #fff; border: 1px solid rgba(9, 12, 18, .12); border-radius: 22px; box-shadow: 0 16px 40px rgba(9, 12, 18, .07); }
.plan .ticks li { color: var(--ink-2); font-size: 14.5px; }
.plan .btn { justify-self: start; margin-top: auto; }
.plan .price span { font-size: 18px; }
.plan--main { background: var(--ink); color: var(--text); border-color: var(--ink); box-shadow: 0 24px 60px rgba(9, 12, 18, .28); }
.plan--main .ticks li { color: var(--text-2); } .plan--main .ticks .ic, .plan--main .eyebrow { color: var(--g); } .plan--main .muted { color: var(--muted); }
.plan--main .btn { background: var(--g); color: var(--ink); }
.plan__tag { position: absolute; top: -13px; left: 24px; font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--g); color: var(--ink); padding: 5px 10px; border-radius: var(--r-pill); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid rgba(9, 12, 18, .25); }
.btn--line:hover { background: rgba(9, 12, 18, .06); }
.fap { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; max-width: 860px; margin: 28px auto 14px; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid rgba(27, 79, 134, .35); }
.fap .ic { color: var(--g-4); margin-top: 2px; } .fap p { color: var(--ink-2); } .fap b { color: var(--ink); }
.runs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.runs li { display: grid; gap: 6px; align-content: start; padding: 22px 18px; border-radius: var(--r-surface); border: 1px solid var(--line); background: var(--panel); }
.runs b { font: 700 30px var(--head); letter-spacing: -0.02em; }
.runs span { font-size: 14px; color: var(--muted); }
.runs .is-us { border-color: var(--g); background: linear-gradient(180deg, rgba(91, 184, 255, .1), var(--panel)); }
.runs .is-us b { color: var(--g); }

.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; }
.billing { display: grid; justify-items: center; gap: 10px; margin-bottom: 36px; text-align: center; }
.billing__note { font-size: 14.5px; color: #4A566B; }
.seg--light { background: #fff; border-color: rgba(9, 12, 18, .14); }
.seg--light button { color: var(--ink-2); }
.seg--light button[aria-pressed="true"] { background: var(--ink); color: var(--text); }
[data-show="once"] { display: none; }
.is-once [data-show="month"] { display: none; }
.is-once [data-show="once"] { display: revert; }
.plan .price span { font-size: 17px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .runs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .plans--3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
@media (max-width: 680px) { .plans, .runs { grid-template-columns: minmax(0, 1fr); } .plan--main { order: -1; } .seg--light { width: auto; display: inline-flex; } }


.grid2--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat__note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--g-4); padding-left: 14px; }


/* =================================================================== DESIGN SYSTEM V2 (docs/redesign/PLAN.md): Truefill's drawing language on Ranvier's dark */
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.98; font-size: clamp(38px, 5vw, 68px); }
.h-sec { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; font-size: clamp(30px, 4vw, 54px); }
.h-feat { font-weight: 700; letter-spacing: 0; line-height: 1.06; font-size: clamp(26px, 2.7vw, 38px); }
.h-card { font-weight: 700; font-size: 21px; }
.statement h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; line-height: .98; font-size: clamp(42px, 7vw, 104px); }
.eyebrow { font: 700 13.5px var(--head); letter-spacing: .1em; }
.kicker { font: 700 14px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--g); }
.btn { font: 600 15px var(--head); letter-spacing: .05em; text-transform: uppercase; }
.btn--lg { padding: 17px 30px; font-size: 16.5px; min-height: 56px; }
.btn--quiet { background: transparent; color: var(--text); border: 1.5px solid var(--line-2); }
.btn--quiet:hover { background: var(--panel-2); border-color: var(--text-2); }
.price, .runs b, .dr__sum b, .bld__stats b, .page-facts b, .hero__facts b, .tbl .tgt, .today__score { font-family: var(--head); }
.nav__links > a, .dd > summary { font-weight: 500; }
.faq summary, .steps b, .five b, .core b, .who b, .road b { letter-spacing: 0; }

/* hero: copy stacked and centred over one wide drawing, as on Truefill */
.hero--stack { overflow: visible; padding: 34px 0 0; background: radial-gradient(1100px 520px at 50% 0%, rgba(91, 184, 255, .1), transparent 62%); }
.hero--stack::before { display: none; }
.hero--stack .hero__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 6px; max-width: 1340px; }
.hero--stack .hold.is-pinned > .hold-pin { align-content: start; padding-top: calc(var(--navh, 68px) + 3svh); }
.hero--stack .hold { margin-top: -74px; }
.hero--stack .hold:not(.is-pinned) { margin-top: 0; }
.hero--stack .hero__copy { justify-items: center; gap: 12px; max-width: 980px; }
.hero--stack .lede { font-size: clamp(16.5px, 1.35vw, 19.5px); max-width: 720px; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.hero__micro { font: 500 13.5px var(--body); color: var(--muted); }
.hero-fig { width: 100%; margin: 0; }
.hero--stack .hero__in > .hold, .hero--stack .hero__in > .hero-fig { width: 100%; justify-self: stretch; text-align: left; }
.hero-cap { text-align: center; font-size: 13px; color: var(--faint); padding: 0 0 26px; }
.scene--open .scene__stage { padding: 0; background: none; }

/* hero scene: light ink at 2.5, solid fills, hand notes in the display face */
.hero-scene :is(rect, circle, path) { stroke: none; }
.hero-scene .s { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hero-scene .s.p { fill: var(--panel); }
.hero-scene .s.a { fill: var(--g); }
.hero-scene .s.panel { fill: #0D121B; }
.hero-scene .s.dash { stroke-dasharray: 5 8; }
.hero-scene .lane { fill: none; stroke: var(--g-4); stroke-width: 2.2; stroke-dasharray: 3 9; stroke-linecap: round; }
.hero-scene .rule { fill: none; stroke: var(--g-4); stroke-width: 2; stroke-linecap: round; }
.hero-scene .leap { fill: none; stroke: var(--g); stroke-width: 3; stroke-linecap: round; }
.hero-scene .x { fill: none; stroke: var(--amber); stroke-width: 3.2; stroke-linecap: round; }
.hero-scene .v { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene text { stroke: none; }
.hero-scene .lbl { font: 600 16px var(--body); fill: var(--text); }
.hero-scene .cap { font: 700 13px var(--head); letter-spacing: .12em; text-transform: uppercase; fill: var(--g); }
.hero-scene .big { font: 800 40px var(--head); text-transform: uppercase; fill: var(--g); letter-spacing: -.01em; }
.hero-scene .sub { font: 500 15px var(--body); fill: var(--text-2); }
.hero-scene .you { font: 700 25px var(--head); fill: var(--text); }
.hero-scene .ph { font: 700 20px var(--head); letter-spacing: .04em; text-transform: uppercase; fill: var(--text); }
.hero-scene .pm { font: 600 13px var(--mono); fill: var(--muted); }
.hero-scene .pm.hi { fill: var(--g); font-size: 14.5px; }
.hero-scene .psub { font: 500 14px var(--body); fill: var(--muted); }
.hero-scene .row { font: 500 16px var(--body); fill: var(--text-2); }
.hero-scene .row.hot { font-weight: 700; fill: var(--text); }
.hero-scene .track { fill: #1C2636; }
.hero-scene .bar { fill: var(--g-3); }
.hero-scene .bar.hot { fill: var(--g); }
.hero-scene .bar.warn { fill: var(--amber); }
.hero-scene .item { fill: #121925; stroke: rgba(242, 245, 250, .14); stroke-width: 1.4; }
.hero-scene .sq.a { fill: var(--g); } .hero-scene .sq.w { fill: var(--sky); }
.hero-scene .it { font: 600 17px var(--body); fill: var(--text); }
.hero-scene .im { font: 500 13px var(--mono); fill: var(--muted); }
/* a stroke that has not started drawing shows nothing, not a dot */
.hero-scene .k-draw { opacity: clamp(0, calc((var(--t) - var(--a)) * 200), 1); }
/* tiles ride their lane with the scroll */
.tl-scene .k-ride { --m: clamp(0, calc((var(--t) - var(--a)) / (var(--b) - var(--a))), 1); offset-rotate: 0deg; offset-distance: calc(var(--m) * var(--end, 100%)); }
.tl-scene .k-ride.miss { opacity: calc(clamp(0, calc((var(--t) - var(--a)) * 30), 1) * clamp(0, calc((1 - var(--m)) * 7), 1)); }
.tl-scene .k-ride.know { opacity: clamp(0, calc((var(--t) - var(--a)) * 30), 1); }


/* race scene: traditional prep against Ranvier, both tracks are time */
.race-scene .blk { fill: #0F141D; stroke: rgba(242, 245, 250, .22); stroke-width: 1.6; }
.race-scene .fill.dull { fill: #566072; }
.race-scene .fill.waste { fill: var(--amber); }
.race-scene .fill.good { fill: var(--g); }
.race-scene .v.dim { stroke: #3A2A06; stroke-width: 3; }
.race-scene .ph { font-size: 24px; }
.race-scene .ph.grn { fill: var(--g); }
.race-scene .psub { font-size: 15.5px; fill: var(--text-2); }
.race-scene .row { font-size: 17px; }
.race-scene .row.amb { fill: var(--amber); font-weight: 600; }
.race-scene .back { fill: rgba(91, 184, 255, .12); stroke: var(--g); stroke-width: 2.4; stroke-dasharray: 7 7; }
.race-scene .grnline { stroke: var(--g); }
.race-scene .you { font-size: 22px; }
.race-fig .hero-cap { max-width: 860px; margin: 0 auto; padding-bottom: 0; }


/* =================================================================== PRODUCT CHAPTERS (redesign phase 2b): large bright screens with numbered callouts */
.chapter .sec__head { margin-bottom: 40px; }
.feat--big { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 56px; margin-bottom: 72px; }
.feat--big.feat--flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.feat--big.feat--flip .feat__copy { order: 2; }
.chapter .feat--big:last-child { margin-bottom: 0; }
.shotwrap { min-width: 0; display: grid; gap: 14px; }
.shot--xl { background: #0D121B; border: 1.5px solid rgba(242, 245, 250, .28); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(91, 184, 255, .05); }
.shot--xl .shot__body { padding: 26px; gap: 18px; font-size: 15.5px; }
.shot--xl .shot__bar span { font-size: 13px; color: var(--text-2); }
.shot--xl .micro { font-size: 12.5px; }
.shot--xl .signals { font-size: 15px; } .shot--xl .signals thead th { font-size: 12px; } .shot--xl .m { height: 11px; border-radius: 6px; }
.shot--xl .fp li { font-size: 16px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 52px; } .shot--xl .fp .bar { height: 14px; border-radius: 7px; } .shot--xl .fp em { font-size: 15px; }
.shot--xl .timeline li { font-size: 16px; padding: 7px 0; } .shot--xl .timeline b { font-size: 13.5px; height: 30px; }
.shot--xl .week li { min-height: 112px; padding: 16px 4px; } .shot--xl .week b { font-size: 14.5px; } .shot--xl .week span { font-size: 14px; }
.shot--xl .why { font-size: 15px; }
.callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: c; }
.callouts li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.callouts b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 12.5px var(--head); }
/* gap map */
.gmap { display: grid; gap: 12px; }
.gmap > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.gmap b { font: 600 14.5px var(--body); color: var(--text-2); }
.gmap span { display: flex; flex-wrap: wrap; gap: 6px; }
.gc { display: inline-grid; place-items: center; min-width: 42px; height: 34px; padding: 0 9px; border-radius: 9px; font: 600 12.5px var(--mono); font-style: normal; }
.gc--s { background: rgba(91, 184, 255, .14); color: var(--g); border: 1px solid rgba(91, 184, 255, .3); }
.gc--b { background: #1C2636; color: var(--text-2); border: 1px solid rgba(242, 245, 250, .16); }
.gc--g { background: var(--amber); color: #2A1C02; border: 1px solid var(--amber); }
.gkey { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--muted); }
.gkey .gc { min-width: 18px; width: 18px; height: 18px; padding: 0; margin-right: -10px; border-radius: 5px; }
.gtop { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.gtop li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15.5px; }
.gtop b { font: 700 13px var(--mono); color: #2A1C02; background: var(--amber); border-radius: 8px; padding: 5px 0; text-align: center; }
.gtop em { font: 600 12px var(--mono); font-style: normal; color: var(--g); }
/* tailored lesson */
.lesson { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.lesson__toc { display: grid; gap: 8px; align-content: start; }
.lesson__toc li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: #111723; font-size: 15px; }
.lesson__toc li em { grid-column: 2; font: 500 12px var(--mono); font-style: normal; color: var(--muted); }
.lesson__toc li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-3); font: 700 12px var(--head); font-style: normal; }
.lesson__toc .is-skip { opacity: .55; } .lesson__toc .is-skip span { text-decoration: line-through; text-decoration-color: var(--g-3); } .lesson__toc .is-skip .ic { color: var(--g); }
.lesson__toc .is-on { border-color: var(--g); background: rgba(91, 184, 255, .08); } .lesson__toc .is-on i { background: var(--g); color: var(--ink); } .lesson__toc .is-on em { color: var(--amber); }
.lesson__body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.lesson__idea { font-size: 15.5px; line-height: 1.55; color: var(--text-2); } .lesson__idea b { color: var(--text); }
.mm { width: 100%; height: auto; background: #111723; border: 1px solid var(--line); border-radius: 12px; }
.mm path { fill: none; stroke-linecap: round; } .mm__ax { stroke: rgba(242, 245, 250, .35); stroke-width: 1.5; } .mm__a { stroke: var(--text-2); stroke-width: 2.4; } .mm__b { stroke: var(--g); stroke-width: 2.8; }
.mm text { font: 500 11.5px var(--body); fill: var(--muted); }
.lesson__q { font: 600 14px var(--body); color: var(--g); }
/* miss queue */
.mq { display: grid; gap: 8px; }
.mq li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px 86px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #111723; }
.mq li div { display: grid; min-width: 0; } .mq b { font-size: 15.5px; font-weight: 600; } .mq div span { font-size: 12.5px; color: var(--muted); }
.mq em { font-style: normal; } .mq__n { font: 600 12.5px var(--mono); color: var(--amber); white-space: nowrap; } .mq__when { font: 500 12.5px var(--mono); color: var(--text-2); text-align: right; }
.mq__dots { display: flex; gap: 5px; } .mq__dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--g-3); } .mq__dots i.on { background: var(--g); border-color: var(--g); }
.mq .is-done { opacity: .6; } .mq .is-done .mq__n { color: var(--g); }
/* exam calendar */
.calhead, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calhead span { font: 600 12px var(--mono); color: var(--muted); text-align: center; }
.cc { display: grid; place-items: center; height: 46px; border-radius: 10px; background: #111723; border: 1px solid var(--line); font: 600 12.5px var(--mono); font-style: normal; color: var(--text-2); }
.cc.off { opacity: .4; } .cc.busy { background: repeating-linear-gradient(135deg, #111723 0 6px, rgba(242, 123, 114, .12) 6px 12px); border-color: rgba(242, 123, 114, .45); color: var(--rose); }
.cc.fl { border: 1.5px dashed var(--sky); color: var(--sky); } .cc.fl.done { border-style: solid; background: rgba(124, 199, 242, .1); color: var(--text); } .cc.fl.now { background: var(--g); border-color: var(--g); color: var(--ink); }
.examline { display: flex; align-items: center; gap: 10px; font: 700 20px var(--head); }
.examline i { flex: 1; height: 2px; background: var(--g-3); } .examline i.to { background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 12px); }
.examline .hi { color: var(--g); } .examline .tg { font: 600 13px var(--mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 12px; }


/* test day mode: laid out like the real exam (blue title bar with timer, tool bar, passage left, question right,
   navigation bottom right). Ranvier's own wording; not an AAMC product. */
.tday { background: #8E959C; color: #111; border-color: rgba(242, 245, 250, .5); font-family: Verdana, Geneva, Tahoma, sans-serif; }
.tday__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #2D69AE; color: #fff; padding: 12px 18px; font-size: 14px; }
.tday__clock { white-space: nowrap; }
.tday__tools { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding: 8px 18px; background: #4D8FDB; color: #fff; border-top: 2px solid #fff; }
.tday__tools b { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 400; }
.tday__tools .sw { width: 16px; height: 16px; background: #FFF34D; border: 1px solid #fff; display: inline-block; }
.tday__tools b.is-flag { margin-left: auto; font-weight: 700; background: #FFF34D; color: #111; padding: 3px 10px; border-radius: 3px; }
.tday__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 10px 0; min-height: 300px; }
.tday__passage, .tday__q { background: #fff; padding: 18px 20px; font-size: 14.5px; line-height: 1.55; display: grid; gap: 12px; align-content: start; }
.tday mark { background: linear-gradient(#FFF34D, #FFF34D) 0 0 / 100% 100% no-repeat; color: inherit; }
.tday__q ol { display: grid; gap: 14px; margin-top: 4px; }
.tday__q li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 4px 6px; }
.tday__q li i { width: 13px; height: 13px; margin-top: 4px; border-radius: 50%; border: 1.5px solid #333; display: block; }
.tday__q li.is-pick i { background: radial-gradient(#111 45%, #fff 50%); }
.tday__strike { text-decoration: line-through; color: #777; }
.tday__nav { display: flex; justify-content: flex-end; gap: 0; background: #2D69AE; margin-top: 10px; }
.tday__nav b { font-size: 14px; font-weight: 400; color: #fff; padding: 11px 20px; border-left: 1px solid rgba(255, 255, 255, .6); text-decoration: underline; text-underline-offset: 3px; }
.tday .shot__cap { background: #0D121B; color: var(--faint); border-top: 0; font-family: var(--body); }
html.anim .hold.is-pinned [data-anim] .tday__strike, html.anim [data-anim]:not(.is-in) .tday__strike { text-decoration-color: transparent; }
html.anim .hold.is-pinned [data-anim] .tday__strike { opacity: 1 !important; text-decoration-color: color-mix(in srgb, #555 calc(clamp(0, calc((var(--q) - var(--o, 0)) * 7), 1) * 100%), transparent); color: color-mix(in srgb, #777 calc(clamp(0, calc((var(--q) - var(--o, 0)) * 7), 1) * 100%), #111); }
html.anim .hold.is-pinned [data-anim] li.is-pick.a-fade { opacity: 1 !important; }
html.anim .hold.is-pinned [data-anim] li.is-pick.a-fade i { background: radial-gradient(color-mix(in srgb, #111 calc(clamp(0, calc((var(--q) - var(--o, 0)) * 7), 1) * 100%), #fff) 45%, #fff 50%); }
/* Node session: steps, a marked up passage, and a question you answer by reasoning */
.nsess__rail { display: flex; flex-wrap: wrap; gap: 8px; }
.nsess__rail li { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--muted); padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 99px; }
.nsess__rail i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-3); font: 700 12px var(--head); font-style: normal; color: var(--text); }
.nsess__rail .is-done { color: var(--text-2); } .nsess__rail .is-done i { background: var(--g-4); }
.nsess__rail .is-on { color: var(--ink); background: var(--g); border-color: var(--g); } .nsess__rail .is-on i { background: var(--ink); color: var(--g); }
.nsess__work { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.nsess__passage { font-family: Georgia, "Times New Roman", serif; font-size: 16.5px; line-height: 1.75; color: var(--text-2); background: #111723; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.nsess__passage mark { background: linear-gradient(rgba(91, 184, 255, .22), rgba(91, 184, 255, .22)) 0 0 / 100% 100% no-repeat; color: var(--text); border-bottom: 2px solid var(--g); }
.nsess__passage mark.m2 { background-image: linear-gradient(rgba(242, 184, 75, .2), rgba(242, 184, 75, .2)); border-bottom-color: var(--amber); }
.nsess__passage sup { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 11px var(--head); margin-left: 3px; vertical-align: 6px; }
.nsess__notes { display: grid; gap: 10px; align-content: start; }
.nsess__notes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); }
.nsess__notes b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 12px var(--head); }
.nsess__notes em { font-style: normal; font-weight: 700; color: var(--text); }
.nsess__ask { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.nsess__ask p { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 600; }
.nsess__ask p i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 14px var(--head); font-style: normal; }
.nsess__ask div { display: flex; flex-wrap: wrap; gap: 8px; }
.nsess__ask div b { font: 500 14px var(--body); padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line-2); color: var(--text-2); }
.nsess__ask div b.is-pick { border-color: var(--g); color: var(--text); background: rgba(91, 184, 255, .12); }


/* compare: the old model against Ranvier */
.vs { display: grid; gap: 10px; }
.vs__head, .vs__row { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.vs__head b { font: 700 14px var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 0 20px 6px; }
.vs__head .old { color: var(--muted); } .vs__head .new { color: var(--g); }
.vs__row > span { font: 700 17px var(--head); align-self: center; }
.vs__row p { padding: 18px 20px; border-radius: 14px; font-size: 16px; line-height: 1.5; }
.vs__row .old { background: #0F141D; border: 1px solid var(--line); color: var(--muted); }
.vs__row .new { background: rgba(91, 184, 255, .08); border: 1.5px solid rgba(91, 184, 255, .45); color: var(--text); }
.compare.prices tbody th { width: 22%; }
.compare.prices .is-us th, .compare.prices .is-us td { background: rgba(91, 184, 255, .08); color: var(--text); }
.compare.prices .is-us th { color: var(--g); }
.compare.prices td:nth-child(2) { background: none; color: var(--text-2); }
.compare.prices td:last-child { font: 700 17px var(--head); color: var(--text); white-space: nowrap; }
.compare.prices .is-us td:last-child b { color: var(--g); font-size: 20px; }
.dated { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.dated > div { padding: 28px; border-radius: var(--r-surface); display: grid; gap: 12px; align-content: start; }
.dated .old { background: #0F141D; border: 1px solid var(--line); }
.dated .new { background: rgba(91, 184, 255, .08); border: 1.5px solid rgba(91, 184, 255, .45); }
.dated h3 { font: 700 15px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.dated .old h3 { color: var(--muted); } .dated .new h3 { color: var(--g); }
.dated li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 16px; padding: 7px 0; }
.dated .old li { color: var(--muted); } .dated .old .ic { color: var(--faint); } .dated .new .ic { color: var(--g); }


/* =================================================================== PHASE 4: every page in the new system */
/* drawings: no fake window, heavier light ink, display face for labels (the Truefill drawing language) */
.scene:not(.scene--open) .scene__frame { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.scene:not(.scene--open) .scene__bar { display: none; }
.scene:not(.scene--open) .scene__stage { background: none; padding: 0; }
.tl-scene:not(.hero-scene) :is(rect, circle, path) { stroke: var(--text); stroke-width: 2.4; }
.tl-scene:not(.hero-scene) .f-p { fill: #0D121B; }
.tl-scene:not(.hero-scene) .d-tag { font: 700 15px var(--head); letter-spacing: 1.6px; }
.tl-scene:not(.hero-scene) .d-h { font: 800 30px var(--head); text-transform: uppercase; }
.tl-scene:not(.hero-scene) .d-m { font: 700 19px var(--head); }
.tl-scene:not(.hero-scene) .d-chip, .tl-scene:not(.hero-scene) .d-chip-dk { font: 700 16px var(--head); letter-spacing: .02em; }
.tl-scene:not(.hero-scene) .d-s { fill: var(--text); }
.hold.is-pinned .scene:not(.scene--open) .scene__frame { transform: none; }
/* pricing and the old light band go dark */
.sec--light { background: var(--deep); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--light .eyebrow, .sec--light .link { color: var(--g); }
.sec--light .muted, .sec--light .caveat, .billing__note { color: var(--muted); }
.sec--light .ticks li { color: var(--text-2); } .sec--light .ticks .ic { color: var(--g); }
.plan, .price-card, .price-compare, .fap, .sec--light .card { background: var(--panel); border-color: var(--line-2); box-shadow: none; color: var(--text); }
.plan .ticks li, .fap p, .price-compare > div span, .sec--light .card p { color: var(--text-2); }
.fap b { color: var(--text); } .fap .ic { color: var(--g); } .fap { border-color: var(--line-g); }
.plan--main, .price-card--main { background: linear-gradient(180deg, rgba(91, 184, 255, .14), rgba(91, 184, 255, .04)); border: 1.5px solid var(--g); box-shadow: 0 24px 70px rgba(91, 184, 255, .12); }
.plan--main .muted, .price-card--main .muted { color: var(--text-2); }
.btn--line { color: var(--text); border-color: var(--line-2); } .btn--line:hover { background: var(--panel-2); }
.seg--light { background: var(--bg-2); border-color: var(--line-2); } .seg--light button { color: var(--text-2); }
.seg--light button[aria-pressed="true"] { background: var(--g); color: var(--ink); }
.price-compare > div { border-color: var(--line); }
.price-compare > div.is-us span, .price-compare > div.is-us b { color: var(--g); }
.price { font-weight: 800; }
/* inner page heads: louder, like the home hero */
.page-hero .display { font-size: clamp(34px, 4.6vw, 62px); }
.page-facts b { font: 800 26px var(--head); }
.steps li::before { font: 700 17px var(--head); }
.steps b { font: 700 22px var(--head); }


/* climb scene: one mountain, the usual zigzag and your direct route */
.climb-scene .mtn { fill: #0E1714; }
.climb-scene .snow { fill: rgba(91, 184, 255, .22); stroke-width: 2; }
.climb-scene .zig { opacity: .7; fill: none; stroke: #5F6E68; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.climb-scene .route { fill: none; stroke: var(--g); stroke-width: 4.5; stroke-linecap: round; }
.climb-scene .thin { stroke-width: 1.8; stroke: var(--muted); }
.climb-scene .stop { font: 700 20px var(--head); fill: var(--text); paint-order: stroke; stroke: #090C12; stroke-width: 5px; }
.climb-scene .psub { font: 700 17px var(--head); fill: var(--muted); }
.climb-scene .pm { paint-order: stroke; stroke: #090C12; stroke-width: 4px; }

/* =================================================================== APPLE STYLE MOTION (motion.js; spec from the Aurifex site) */
/* held scenes: the block holds on screen while the scroll plays it, driven by --p from 0 to 1 */
.hold { --p: 1; position: relative; }
.hold.is-pinned { --q: clamp(0, calc((var(--p) - .04) / .7), 1); height: calc(100svh + var(--pin, 80) * 1svh); }
.hold.is-pinned > .hold-pin { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; grid-template-columns: minmax(0, 1fr); padding-top: var(--navh, 68px); box-sizing: border-box; }
.hold-in { min-width: 0; width: 100%; transform-origin: 50% 50%; }
/* the home hero's hold is 420 svh of travel (motion.js PACE.hero); before the engine wraps it the page holds the same room, so nothing below it shifts */
.hero--first .hold.hold:not(.is-pinned):not(.fit-done) { min-height: 520svh; }
html.anim .hero--first > .hero__in > .hero-fig.hero-fig { margin-bottom: 420svh; }
/* a scene taller than the window at 80% scale is held at full size and moves up through the window as the reader scrolls (motion.js: pan) */
.hold.is-pan { height: calc(100svh + var(--pin, 80) * 1svh + var(--over, 0px)); }
/* the zoom of a mockup's camera, animated with it, so its numbered tags and notes keep one size on screen (see Mock.css in tools/v2/mocks.py) */
@property --cz { syntax: '<number>'; inherits: true; initial-value: 1; }
.hold.is-pan > .hold-pin { align-content: start; }
.hero .hold.is-pinned.is-pan > .hold-pin { align-content: start; padding-top: var(--navo, 68px); } /* a panned hero: from the top, under the nav only (afx.css centres the hero stack and pads it for the chapter bar) */
.hold.is-pan .hold-in { transform: translate3d(0, calc(var(--py, 0) * -1px), 0) scale(var(--ks, 1)); transform-origin: 50% 0; will-change: transform; }
.hold.is-pinned .feat, .hold.is-pinned .scene { margin-top: 0; margin-bottom: 0; }
.hold + .hold, .hold + .demo-card { margin-top: 24px; }
.hold:not(.is-pinned) .feat { margin-bottom: 96px; }
/* the feature copy arrives line by line, the product screen comes forward */
.hold.is-pinned .feat__copy > * { --v: clamp(.12, calc((var(--p) * 1.8 - var(--n, 0) * .16) * 6), 1); opacity: var(--v); transform: translate3d(0, calc((1 - var(--v)) * 18px), 0); }
.hold.is-pinned .feat > .shot { transform: scale(calc(.92 + .08 * min(1, var(--p) / .4))); transform-origin: 50% 50%; }
.hold.is-pinned .scene__frame { transform: scale(calc(.94 + .06 * min(1, var(--p) / .3))); transform-origin: 50% 50%; }
/* every part of a product screen is played by the scroll in its own order (--o, set from its delay) */
html.anim .hold.is-pinned [data-anim] :is(.a-rise, .a-fade, .a-slide-l, .a-pop) { --v: clamp(0, calc((var(--q) - var(--o, 0)) * 7), 1); opacity: var(--v); transition: none; }
html.anim .hold.is-pinned [data-anim] .a-rise { transform: translate3d(0, calc((1 - var(--v)) * 14px), 0); }
html.anim .hold.is-pinned [data-anim] .a-slide-l { transform: translate3d(calc((1 - var(--v)) * -18px), 0, 0); }
html.anim .hold.is-pinned [data-anim] .a-pop { transform: scale(calc(.5 + .5 * var(--v))); }
html.anim .hold.is-pinned [data-anim] .a-draw { stroke-dashoffset: calc(1 - clamp(0, calc((var(--q) - var(--o, 0)) / .55), 1)); transition: none; }
html.anim .hold.is-pinned [data-anim] .fp .bar b { transform: scaleX(clamp(0, calc((var(--q) - .08 - var(--n, 0) * .07) * 3.2), 1)); transition: none; }
html.anim .hold.is-pinned [data-anim] .fp li { opacity: clamp(.25, calc((var(--q) - var(--n, 0) * .07) * 5), 1); }
html.anim .hold.is-pinned [data-anim] .signals tbody tr .m::after { transform: scaleX(clamp(0, calc((var(--q) - .25 - var(--n, 0) * .08) * 3), 1)); transition: none; }
html.anim .hold.is-pinned [data-anim] mark { background-size: calc(clamp(0, calc((var(--q) - var(--o, 0)) * 5), 1) * 100%) 100%; }
.passage__text mark { background: linear-gradient(var(--g-wash-2), var(--g-wash-2)) 0 0 / 100% 100% no-repeat; }
/* the week mock: Tuesday is missed, then its work lands on Thursday */
html.anim .hold.is-pinned [data-anim] .week .is-miss { opacity: clamp(.35, calc((var(--q) - .15) * 5), 1); }
html.anim .hold.is-pinned [data-anim] .week .is-up { background: color-mix(in srgb, var(--g) calc(clamp(0, calc((var(--q) - .45) * 4), 1) * 10%), var(--bg-2)); border-color: color-mix(in srgb, var(--g) calc(clamp(0, calc((var(--q) - .45) * 4), 1) * 45%), var(--line)); }
html.anim .hold.is-pinned [data-anim] .week .is-up em { display: block; opacity: clamp(0, calc((var(--q) - .5) * 6), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--q) - .5) * 6), 1)) * -8px), 0); }

/* statement screens: one big line, word by word */
.statement { padding: 72px 0; text-align: center; }
.statement h2 { font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-size: clamp(44px, 7.4vw, 108px); }
.statement h2 span { color: var(--g); }
.statement p { margin-top: 26px; font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); }
.hold.is-pinned .statement { padding: 0; }
.hold.is-pinned .statement .stw { display: inline-block; opacity: clamp(.12, calc((var(--p) * 1.55 - var(--k, 0) * .8) * 6), 1); transform: translate3d(0, calc((1 - clamp(0, calc((var(--p) * 1.55 - var(--k, 0) * .8) * 6), 1)) * .35em), 0); }
.hold.is-pinned .statement p { opacity: clamp(0, calc((var(--p) - .62) * 5), 1); }
.hold.is-pinned .statement .wrap { transform: scale(calc(1 - .06 * clamp(0, calc((var(--p) - .85) * 6.6), 1))); }

/* the chapter bar: a slim local nav that appears after the hero */
.chapters { position: fixed; left: 0; right: 0; top: 68px; z-index: 39; height: 46px; background: rgba(6, 8, 13, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); transform: translateY(-110%); opacity: 0; transition: transform .35s var(--ease-out), opacity .25s ease; pointer-events: none; }
.chapters.is-on { transform: none; opacity: 1; pointer-events: auto; }
.chapters__in { display: flex; align-items: center; gap: 4px; height: 100%; overflow-x: auto; scrollbar-width: none; }
.chapters__in::-webkit-scrollbar { display: none; }
.chapters__name { font: 600 14px var(--head); margin-right: auto; white-space: nowrap; padding-right: 12px; }
.chapters a { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13.5px; color: var(--text-2); text-decoration: none; padding: 6px 11px; border-radius: var(--r-pill); min-height: 34px; }
.chapters a span { font: 500 11px var(--mono); color: var(--faint); }
.chapters a:hover { color: var(--text); background: var(--panel-2); }
.chapters a[aria-current] { color: var(--ink); background: var(--g); }
.chapters a[aria-current] span { color: var(--ink); }
.chapters a.chapters__cta { margin-left: 8px; background: var(--text); color: var(--ink); font-weight: 600; }
.chapters__fill { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--g); transform-origin: left; transform: scaleX(0); }
.pg-home .hold.is-pinned > .hold-pin { padding-top: calc(var(--navh, 114px)); }

/* scroll text: section headings rise word by word, ledes ink in, eyebrows type on */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.sda .sx-h .sxw { display: inline-block; animation: stRise linear both; animation-timeline: view(); animation-range: cover calc(2% + var(--k, 0) * 8%) cover calc(14% + var(--k, 0) * 8%); }
    html.sda .sx-p { animation: stInk linear both; animation-timeline: view(); animation-range: cover 4% cover 22%; }
    html.sda .sx-k { animation: stType linear both; animation-timeline: view(); animation-range: cover 1% cover 11%; }
  }
}
@keyframes stRise { from { opacity: 0; transform: translate3d(0, .55em, 0); } to { opacity: 1; transform: none; } }
@keyframes stInk { from { opacity: .15; } to { opacity: 1; } }
@keyframes stType { from { clip-path: inset(0 100% 0 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }

/* row arrivals: grids arrive row by row, left to right */
html.anim .rv { opacity: 0; transform: translate3d(0, 26px, 0); }
html.anim .rv.rv-in { opacity: 1; transform: none; transition: opacity .6s ease calc(var(--i, 0) * 85ms), transform .7s var(--ease-out) calc(var(--i, 0) * 85ms); }

/* a soft glow follows the pointer across cards */
@media (hover: hover) and (pointer: fine) {
  :is(.five a, .core li, .who li, .card, .road li, .runs li, .steps li, .page-facts li) { position: relative; isolation: isolate; }
  :is(.five a, .core li, .who li, .card, .road li, .runs li, .steps li, .page-facts li)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 184, 255, .11), transparent 70%); }
  :is(.five a, .core li, .who li, .card, .road li, .runs li, .steps li, .page-facts li):hover::after { opacity: 1; }
}

/* the hero signal field and its pause button */
.hero canvas.field { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.hero .hero__in, .hero .axon, .hero .axon__cap { position: relative; z-index: 1; }
.motion-toggle { position: absolute; right: 20px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); color: var(--text-2); background: rgba(9, 12, 18, .7); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 12px; min-height: 36px; cursor: pointer; }
.motion-toggle:hover { color: var(--text); border-color: var(--line-g); }
.motion-toggle i { width: 10px; height: 10px; display: inline-block; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hero.is-paused .motion-toggle i { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.hero.is-paused .axon * { animation-play-state: paused !important; }
html:not(.anim) .motion-toggle { display: none; }

/* =================================================================== responsive (last layer) */
@media (max-width: 1180px) {
  .nav__links { margin-left: 4px; font-size: 14px; }
  .nav__links > a, .dd > summary { padding: 8px 9px; }
  .core { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 20px 22px; background: var(--bg); border-bottom: 1px solid var(--line-2); box-shadow: 0 30px 50px rgba(0, 0, 0, .5); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open .nav__links { display: flex; }
  .nav__links > a, .dd > summary { padding: 13px 12px; font-size: 16px; border-radius: var(--r-el); }
  .dd__menu { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; }
  .nav__mcta { display: inline-flex; margin-top: 10px; background: var(--g) !important; color: var(--ink) !important; }
  .five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__shot { max-width: 720px; }
  .feat, .feat--flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feat--flip .feat__copy { order: 0; }
  .targets { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .demo-card { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bld__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nd { grid-template-columns: minmax(0, 1fr); }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__in.has-facts { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .sec { padding: 80px 0; }
  .who, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .price-row { grid-template-columns: minmax(0, 1fr); }
  .join__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .today { grid-template-columns: minmax(0, 1fr); }
  .today__secs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 40px; }
  .display { font-size: clamp(36px, 10vw, 48px); }
  .lede { font-size: 17px; }
  .hero__facts { grid-template-columns: 1fr; gap: 10px; }
  .page-facts { grid-template-columns: minmax(0, 1fr); }
  .five { grid-template-columns: 1fr; }
  .core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who, .grid3, .road { grid-template-columns: minmax(0, 1fr); }
  .feat { margin-bottom: 64px; }
  .shot__body { padding: 16px; }
  .today__secs { grid-template-columns: 1fr 1fr; }
  .today__score { font-size: 52px; }
  .week { gap: 4px; }
  .week li { padding: 10px 2px; min-height: 84px; }
  .week span { font-size: 11px; }
  .fp li { grid-template-columns: minmax(0, 1fr) 64px 36px; gap: 8px; font-size: 13.5px; }
  .dr__fp li { grid-template-columns: minmax(0, 1fr) 64px 28px; }
  .steps p { max-width: none; }
  .signals { font-size: 12px; }
  .modes li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .adv th, .adv td { padding: 9px 6px; font-size: 12.5px; }
  .waitlist__row { flex-direction: column; border-radius: var(--r-surface); }
  .waitlist__row .btn { width: 100%; }
  .waitlist__more { grid-template-columns: 1fr; gap: 6px; }
  .demo-card { padding: 22px 16px; margin-top: 48px; border-radius: 20px; }
  .dr__sum { grid-template-columns: 1fr 1fr 1fr; }
  .dr__sum b { font-size: 22px; }
  .bld__stats { grid-template-columns: 1fr 1fr; }
  .bld__in { grid-template-columns: minmax(0, 1fr); }
  .bld__in .fld--hours { grid-column: auto; }
  .bweek { grid-template-columns: 1fr; }
  .bday { min-height: 0; grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .bday__h { grid-row: span 9; border-bottom: 0; border-right: 1px solid var(--line); padding: 0 6px 0 0; align-self: stretch; justify-content: flex-start; }
  .bday button.miss { grid-column: 1; }
  .steps li { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .tbl th, .tbl td { padding: 12px 12px; font-size: 13.5px; }
  .price { font-size: 38px; }
  .price-compare { padding: 8px 20px 20px; }
  .price-compare > div { flex-direction: column; gap: 2px; }
  .join__form { padding: 20px 16px; }
  .scene { margin-bottom: 48px; }
  .scene__stage { padding: 10px 4px 4px; }
  .mcta-bar { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; transform: translateY(140%); transition: transform .35s var(--ease-out); }
  .mcta-bar.is-on { transform: none; }
  .mcta-bar .btn { width: 100%; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
  .callout { grid-template-columns: 1fr; }
  .axon { margin-top: 40px; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .core { grid-template-columns: 1fr; }
  .dr__sum { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) { .chapters { top: 68px; } .chapters__name { display: none; } }
@media (max-width: 680px) {
  .hero--stack { padding-top: 22px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; min-width: 0; padding-left: 18px; padding-right: 18px; }   /* the stack fills the column and never hangs out of it (320 to 680 px) */
  .statement { padding: 56px 0; }
  .chapters { height: 44px; }
  .chapters a { font-size: 13px; padding: 6px 9px; }
  .motion-toggle { right: 14px; bottom: 12px; }
}

@media (max-width: 1080px) { .feat--big, .feat--big.feat--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; } .feat--big.feat--flip .feat__copy { order: 0; } }
@media (max-width: 860px) { .vs__head { display: none; } .vs__row { grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 14px; } .vs__row > span { align-self: start; } .dated { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) {
  .tday__body, .nsess__work { grid-template-columns: minmax(0, 1fr); }
  .tday__top { font-size: 12px; padding: 9px 12px; } .tday__tools { padding: 8px 12px; gap: 6px 14px; } .tday__tools b { font-size: 12px; }
  .shot--xl .shot__body { padding: 16px; font-size: 14.5px; }
  .callouts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gmap > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .gc { min-width: 38px; height: 32px; padding: 0 7px; }
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .mq li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; } .mq__dots { grid-column: 1; } .mq__when { grid-column: 2; grid-row: 2; }
  .cc { height: 40px; font-size: 11px; }
  .shot--xl .fp li { grid-template-columns: minmax(0, 1fr) 64px 40px; font-size: 14px; }
  .shot--xl .week li { min-height: 88px; padding: 10px 2px; } .shot--xl .week span { font-size: 11.5px; }
  .examline { font-size: 16px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tl-scene { --t: 1 !important; }
  .hold.is-pinned, .hold.is-pan { height: auto !important; }
  .hold.is-pinned > .hold-pin { position: static !important; height: auto !important; padding-top: 0 !important; }
  .hold.is-pan .hold-in { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .chapters { display: none; }
}

/* node page extras */
.ndopts { display: grid; gap: 6px; }
.ndopts li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text-2); padding: 8px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.ndopts b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--panel-3); font: 600 12px var(--mono); color: var(--text); flex: none; }
.ndopts .is-ans { border-color: var(--line-g); color: var(--text); }
.ndopts .is-ans b { background: var(--g); color: var(--ink); }
.nd__right .seg { width: auto; }
.nd .chat p span { max-width: 100%; }
@media (max-width: 680px) { .seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); width: 100%; border-radius: 16px; } .seg button { border-radius: 12px; padding: 8px 8px; } }
.tag--warn { color: var(--amber); border-color: rgba(242, 184, 75, .45); background: rgba(242, 184, 75, .08); }
.adv { font-size: 13.5px; }
.adv th, .adv td { padding: 10px 10px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.faq-nav a { font-size: 14px; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--text-2); min-height: 40px; display: inline-flex; align-items: center; }
.faq-nav a:hover { border-color: var(--g); color: var(--text); }
