/* Research by Srivathsa: site styles
   Layout concept: one idea per screen. Left-weighted text on warm paper,
   big display type, generous air, one confident accent (Peacock).
   Single light theme by brand choice. Mobile first; desktop at 900px. */

/* ---------- self-hosted fonts (WOFF2 subsets from Google Fonts, SIL OFL) ----------
   The rupee sign is served from the small latin-ext files; Devanagari files load only for Hindi text. */
/* Bricolage Grotesque 500 700 latin-ext */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/bricolage-grotesque-500-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Bricolage Grotesque 500 700 latin */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/bricolage-grotesque-500-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mukta 400 devanagari */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-400-devanagari.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
/* Mukta 400 latin-ext */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Mukta 400 latin */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mukta-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mukta 500 devanagari */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mukta-500-devanagari.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
/* Mukta 500 latin-ext */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mukta-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Mukta 500 latin */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mukta-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mukta 600 devanagari */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-600-devanagari.woff2) format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A; }
/* Mukta 600 latin-ext */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Mukta 600 latin */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mukta-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;

  /* ---- colour ---- */
  --paper: #FAF7F2;          /* page */
  --paper-hi: #FFFDF9;       /* raised surfaces: forms, panels */
  --ink: #17171C;            /* text, 17:1 on paper */
  --ink-2: #55534D;          /* muted text, 7:1 on paper */
  --line: #E3DED4;           /* hairlines, input borders on tint */
  --line-strong: #B9B3A7;    /* input borders */
  --accent: #0B7564;         /* Peacock. 5.7:1 with white */
  --accent-ink: #FFFFFF;
  --accent-deep: color-mix(in oklab, var(--accent) 80%, black);
  --tint: color-mix(in oklab, var(--accent) 9%, var(--paper));     /* soft card tint */
  --tint-2: color-mix(in oklab, var(--accent) 18%, var(--paper));
  --night: #14161F;          /* footer */
  --night-2: #1E2130;
  --night-ink: #E9E6DF;
  --night-ink-2: #A9A69E;
  --error: #B42318;
  /* illustration set (decorative only, never for text) */
  --marigold: #F2B33D;
  --coral: #EE7D5B;
  --leaf: #5DAE7B;
  --sky: #9CC0F2;

  /* ---- type ---- */
  --display: "Bricolage Grotesque", "Mukta", system-ui, sans-serif;
  --body: "Mukta", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --step--1: 0.875rem;                                   /* 14 captions */
  --step-0: 1.125rem;                                    /* 18 body (minimum on mobile) */
  --step-1: 1.3125rem;                                   /* 21 lede */
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);         /* 24–32 card titles */
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);        /* 32–52 section titles */
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);        /* 44–88 page heroes */
  --step-5: clamp(3rem, 1rem + 8vw, 8rem);               /* 48–128 statement */

  /* ---- space: 8px rhythm ---- */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1240px;
  --section: clamp(64px, 6vw + 40px, 128px);
  --nav-h: 68px;

  /* ---- shape ---- */
  --r-pill: 999px;
  --r-card: 20px;
  --r-field: 12px;
  --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(23,23,28,.06), 0 1px 4px rgba(23,23,28,.08);
  --shadow-2: 0 10px 30px -12px rgba(23,23,28,.25);

  /* ---- motion ---- */
  --speed: 1;                                /* 0.6 quick, 1 normal, 1.6 slow */
  --ease-out: cubic-bezier(.22,.9,.3,1);
  --ease-soft: cubic-bezier(.45,0,.2,1);
  --t-fast: calc(180ms * var(--speed));
  --t-med: calc(350ms * var(--speed));
  --t-reveal: calc(800ms * var(--speed));

  interpolate-size: allow-keywords;          /* smooth <details> where supported */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  text-wrap: balance; margin: 0;
}
h3 { letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--tint-2); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }
.stack { display: grid; gap: var(--s3); align-content: start; }
.stack-lg { display: grid; gap: var(--s5); align-content: start; }
.muted { color: var(--ink-2); }
.small { font-size: 1rem; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 38ch; }
.h-sec { font-size: var(--step-3); max-width: 20ch; }
.h-card { font-size: var(--step-2); line-height: 1.15; }
.sec-head { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.sec-head.split { gap: var(--s3); }
@media (min-width: 900px) {
  .sec-head.split { grid-template-columns: 1fr 1fr; align-items: end; }
}

/* placeholder marker: anything the client still has to supply */
.ph {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  border: 1.5px dashed color-mix(in oklab, var(--ink) 40%, transparent); border-radius: 6px;
  padding: 0 6px; color: var(--ink-2); font-size: .92em; line-height: 1.5;
  background: color-mix(in oklab, var(--marigold) 16%, transparent);
}
.ph::before {
  content: "TBC"; font: 700 .62rem/1 var(--body); letter-spacing: .08em;
  background: var(--ink); color: var(--paper); padding: 3px 4px; border-radius: 3px;
}
.ph.block { display: flex; padding: 10px 12px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast), color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn.ghost:hover { --b-bg: var(--ink); --b-fg: var(--paper); }
.btn.light { --b-bg: var(--paper); --b-fg: var(--ink); --b-bd: var(--paper); }
.btn.lg { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }
.btn.block { width: 100%; }
.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: var(--s2); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { flex: none; }
.brand-word { font-family: var(--display); font-size: 1.15rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.brand-word small { display: block; font-family: var(--body); font-size: .78rem; font-weight: 500; color: var(--ink-2); letter-spacing: .02em; }
.links { display: none; gap: 2px; margin-left: auto; }
.links a { text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-size: 1rem; font-weight: 500; transition: background-color var(--t-fast); }
.links a:hover { background: var(--tint); }
.links a[aria-current="page"] { background: var(--tint); color: var(--accent-deep); }
.nav .btn { margin-left: auto; }
.menu-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
/* seven links + socials + button need room: the full nav appears at 1100px */
@media (min-width: 1100px) {
  .links { display: flex; }
  .nav .btn { margin-left: 8px; }
  .menu-btn { display: none; }
}
@media (max-width: 400px) { .brand-word small { display: none; } .nav .btn { padding-inline: 16px; } }

.sheet {
  position: fixed; inset: 0; z-index: 40; background: var(--paper); overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
  display: flex; flex-direction: column; gap: var(--s4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.sheet.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; min-height: 58px; }
.sheet nav { display: grid; }
.sheet nav a { font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -0.03em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet nav a[aria-current="page"] { color: var(--accent); }
.sheet .disc { font-size: .95rem; color: var(--ink-2); margin-top: auto; }
body.locked { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.band-tint { background: var(--tint); }
.band-white { background: var(--paper-hi); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- hero (home: calm editorial) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > .wrap { display: grid; gap: var(--s6); padding-block: var(--s7); }
.hero h1 { font-size: var(--step-4); line-height: .98; letter-spacing: -0.04em; max-width: 13ch; }
.hero .copy { display: grid; gap: var(--s4); align-content: start; }
.mark { position: relative; color: var(--accent); white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: .24em; overflow: visible; }
.mark path { fill: none; stroke: var(--marigold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 600; }
.play .mark path { animation: draw calc(1.1s * var(--speed)) var(--ease-out) both; animation-delay: calc(650ms * var(--speed)); }
@keyframes draw { from { stroke-dashoffset: 600; } }
@media (min-width: 900px) {
  .hero > .wrap { grid-template-columns: 1.55fr 1fr; align-items: end; padding-block: var(--s8) var(--s7); }
}

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero > .wrap { display: grid; gap: var(--s4); padding-block: var(--s7) var(--s6); }
.page-hero h1 { font-size: var(--step-4); line-height: .98; letter-spacing: -0.04em; max-width: 15ch; }
@media (min-width: 900px) { .page-hero > .wrap { padding-block: var(--s8) var(--s7); } }

/* line-by-line headline reveal (on load) */
.reveal-lines .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.reveal-lines .ln > span { display: inline-block; }
.play .reveal-lines .ln > span { animation: lineUp var(--t-reveal) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms * var(--speed) + 60ms); }
.play .rise { animation: rise var(--t-reveal) var(--ease-out) both; animation-delay: calc(var(--d, 4) * 110ms * var(--speed) + 60ms); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ambient background: transforms only, no filters, cheap on low-end phones */
.ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.b1 { width: 70vmax; height: 70vmax; right: -30vmax; top: -32vmax; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 22%, transparent), transparent); animation: drift1 calc(26s * var(--speed)) var(--ease-soft) infinite alternate; }
.b2 { width: 55vmax; height: 55vmax; left: -25vmax; bottom: -32vmax; background: radial-gradient(closest-side, color-mix(in oklab, var(--marigold) 30%, transparent), transparent); animation: drift2 calc(32s * var(--speed)) var(--ease-soft) infinite alternate; }
.b3 { width: 40vmax; height: 40vmax; left: 38%; top: 30%; background: radial-gradient(closest-side, color-mix(in oklab, var(--coral) 14%, transparent), transparent); animation: drift3 calc(38s * var(--speed)) var(--ease-soft) infinite alternate; }
@keyframes drift1 { to { transform: translate(-8vmax, 6vmax) scale(1.08); } }
@keyframes drift2 { to { transform: translate(10vmax, -5vmax) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-6vmax, -8vmax) scale(.9); } }

/* ---------- scroll reveal ----------
   Content is visible without JS. site.js adds .pre only to elements below the fold,
   then removes it as they enter the viewport. */
[data-reveal] { transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: calc(var(--rd, 0) * 90ms * var(--speed)); }
[data-reveal].pre { opacity: 0; transform: translateY(28px); }

/* ---------- next-class card ---------- */
.class-card {
  background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s4); display: grid; gap: var(--s2); box-shadow: var(--shadow-1); max-width: 440px; width: 100%;
}
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 1rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 500; min-width: 0; }
.price { font-family: var(--display); font-weight: 600; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-weight: 400; font-size: 1rem; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.price.xl { font-size: clamp(4rem, 3rem + 5vw, 7rem); }

/* ---------- trust line ---------- */
.trustline { border-block: 1px solid var(--line); }
.trustline .wrap { padding-block: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-items: center; justify-content: space-between; }
.trustline p { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; font-size: var(--step-2); line-height: 1.2; max-width: 32ch; }
.ticks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: 1rem; }
.ticks li { display: inline-flex; gap: 8px; align-items: center; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }

/* ---------- cards ---------- */
.grid-3 { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--tint); border-radius: var(--r-card); padding: var(--s4);
  display: grid; gap: var(--s2); align-content: start; min-width: 0;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.card[data-tilt]:hover { --ty: -4px; box-shadow: var(--shadow-2); }
.card.tilting { transition-duration: 80ms, var(--t-med); }
.card .art { height: 140px; display: grid; place-items: start; margin-bottom: var(--s1); }
.card .art svg { height: 140px; width: auto; max-width: 100%; overflow: visible; }
.card p { color: var(--ink-2); }
.card.white { background: var(--paper-hi); border: 1px solid var(--line); }

/* ---------- how it works (sticky) ---------- */
.how { display: grid; gap: var(--s5); }
.how-visual { display: none; }
.how-steps { display: grid; gap: var(--s4); counter-reset: step; }
.how-step { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-card); background: var(--paper-hi); border: 1px solid var(--line); }
.how-step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.1rem var(--display); background: var(--tint-2); color: var(--accent-deep);
  transition: background-color var(--t-med), color var(--t-med);
}
.how-step .mini { height: 120px; }
.how-step .mini svg { height: 100%; width: auto; }
@media (min-width: 900px) {
  .how { grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
  .how-visual {
    display: grid; position: sticky; top: calc(var(--nav-h) + 48px);
    aspect-ratio: 1; max-height: 70vh; border-radius: 28px; background: var(--tint);
    place-items: center; overflow: hidden;
  }
  .how-visual > figure { grid-area: 1 / 1; width: 72%; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
  .how-visual > figure svg { width: 100%; height: auto; display: block; }
  .how[data-active="1"] .how-visual > [data-step="1"],
  .how[data-active="2"] .how-visual > [data-step="2"],
  .how[data-active="3"] .how-visual > [data-step="3"] { opacity: 1; transform: none; }
  .how-steps { gap: 0; }
  .how-step { min-height: 72vh; align-content: center; background: none; border: 0; padding: 0 0 0 var(--s4); border-left: 2px solid var(--line); border-radius: 0; transition: border-color var(--t-med); }
  .how-step .mini { display: none; }
  .how-step > *:not(.num) { opacity: .35; transition: opacity var(--t-med); }
  .how-step.active { border-left-color: var(--accent); }
  .how-step.active > * { opacity: 1; }
  .how-step.active .num { background: var(--accent); color: var(--accent-ink); }
}
.how-step h3 { font-size: var(--step-2); }
.how-step p { color: var(--ink-2); max-width: 42ch; }

/* ---------- statement ---------- */
.statement { padding-block: var(--section); }
.statement p.big { font-family: var(--display); font-weight: 600; font-size: var(--step-5); line-height: .95; letter-spacing: -0.045em; max-width: 14ch; text-wrap: balance; }
.statement p.big span { color: var(--accent); }

/* ---------- split layouts ---------- */
.split { display: grid; gap: var(--s5); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
  .split.r { grid-template-columns: 1.1fr .9fr; }
  .split.center { align-items: center; }
}
.art-panel { background: var(--tint); border-radius: 28px; padding: var(--s4); display: grid; place-items: center; }
.art-panel svg { width: 100%; max-width: 440px; height: auto; display: block; overflow: visible; }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s3); }
.form-card { background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); box-shadow: var(--shadow-1); }
@media (min-width: 900px) { .form-card { padding: var(--s5); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.field .hint { font-size: .95rem; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-field);
  border: 1.5px solid var(--line-strong); background: var(--paper-hi); color: var(--ink);
  font: 400 1.125rem/1.4 var(--body);   /* 18px keeps iOS from zooming */
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.field .err { display: none; color: var(--error); font-size: .95rem; font-weight: 500; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.row-2 { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-size: 1rem; transition: background-color var(--t-fast), border-color var(--t-fast); }
.choice input:checked + span { background: var(--tint-2); border-color: var(--accent); color: var(--accent-deep); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 1rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-note { font-size: .95rem; color: var(--ink-2); }
.form-done { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--tint-2); }
.form-done h3 { font-size: var(--step-2); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .field { flex: 1 1 240px; }

/* ---------- accordion (FAQ) ---------- */
.acc-group { display: grid; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.3;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); position: relative; transition: background-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); translate: -50% -50%; border-radius: 2px; }
.acc summary .pm::after { rotate: 90deg; transition: rotate var(--t-med) var(--ease-out); }
.acc[open] summary .pm { background: var(--accent); }
.acc[open] summary .pm::before, .acc[open] summary .pm::after { background: var(--accent-ink); }
.acc[open] summary .pm::after { rotate: 0deg; }
.acc summary:hover .pm { background: var(--tint-2); }
.acc[open] summary:hover .pm { background: var(--accent); }
.acc .body { padding: 0 0 var(--s3); color: var(--ink-2); max-width: 64ch; display: grid; gap: 12px; }
.acc::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.faq-groups { display: grid; gap: var(--s6); }
.faq-group h2 { font-size: var(--step-2); margin-bottom: var(--s2); }
@media (min-width: 900px) {
  .faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--s7); align-items: start; }
}

/* ---------- about strip ---------- */
.about-strip .split { align-items: center; }

/* ---------- newsletter (playful) ---------- */
.news { position: relative; overflow: hidden; isolation: isolate; background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding: var(--s5) var(--s4); display: grid; gap: var(--s4); }
.news h2 { font-size: var(--step-3); max-width: 14ch; }
.news p { max-width: 40ch; color: color-mix(in oklab, var(--accent-ink) 88%, var(--accent)); }
.news .inline-form input { border-color: transparent; }
.news .form-note { color: color-mix(in oklab, var(--accent-ink) 80%, var(--accent)); }
.news .form-note a { color: inherit; }
.news .field label { color: var(--accent-ink); }
.news .form-done { background: color-mix(in oklab, var(--accent-ink) 14%, var(--accent)); border-color: transparent; color: var(--accent-ink); }
.news-art { position: absolute; z-index: -1; right: -40px; bottom: -30px; width: 280px; opacity: .95; pointer-events: none; }
.news-art .plane { animation: glide calc(6s * var(--speed)) var(--ease-soft) infinite alternate; transform-box: fill-box; }
@keyframes glide { to { transform: translate(-14px, -10px) rotate(-6deg); } }
@media (max-width: 760px) { .news { padding-bottom: 200px; } .news-art { width: 220px; right: -20px; bottom: -20px; } }
@media (min-width: 900px) { .news { padding: var(--s7) var(--s6); } .news-art { width: 380px; right: 0; bottom: -20px; } .news .inline-form { max-width: 560px; } }

/* ---------- charts ---------- */
.chart { display: grid; gap: var(--s2); }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart svg text { font-family: var(--body); fill: var(--ink-2); font-size: 13px; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 1000); stroke-dashoffset: 0; transition: stroke-dashoffset calc(1.6s * var(--speed)) var(--ease-out); transition-delay: calc(var(--ld, 0) * 180ms * var(--speed)); }
.chart.pre .line { stroke-dashoffset: var(--len, 1000); }
.chart .bar { transform-box: fill-box; transform-origin: bottom; transition: transform calc(900ms * var(--speed)) var(--ease-out); transition-delay: calc(var(--bd, 0) * 70ms * var(--speed)); }
.chart.pre .bar { transform: scaleY(0); }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.source { font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.source b { font-weight: 600; color: var(--ink); }
.tag-illus { display: inline-flex; align-self: start; justify-self: start; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper-hi); border: 1px solid var(--line-strong); color: var(--ink-2); }

/* ---------- learn hub ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: var(--s4); scrollbar-width: thin; }
.filters button {
  flex: none; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink); font: 500 1rem var(--body); cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-card); overflow: hidden; background: var(--paper-hi); border: 1px solid var(--line); min-width: 0; }
.post[hidden] { display: none; }
.post .thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; }
.post .thumb svg { width: 60%; height: auto; }
.post .thumb.stacked::before, .post .thumb.stacked::after { content: ""; position: absolute; inset: 12px 12px auto auto; width: 14%; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--paper-hi); opacity: .55; }
.post .thumb.stacked::after { inset: 18px 18px auto auto; opacity: .9; }
.post .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .9rem; color: var(--ink-2); align-items: center; }
.post .kind { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; color: var(--accent-deep); }
.post .txt { padding: var(--s3); display: grid; gap: 10px; align-content: start; }
.post h3 { font-size: 1.35rem; line-height: 1.2; }
.soon { justify-self: start; font-size: .85rem; font-weight: 600; padding: 2px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--accent-deep); }
.t-macro { background: color-mix(in oklab, var(--sky) 40%, var(--paper)); }
.t-portfolio { background: color-mix(in oklab, var(--leaf) 30%, var(--paper)); }
.t-tax { background: color-mix(in oklab, var(--marigold) 32%, var(--paper)); }
.t-mistakes { background: color-mix(in oklab, var(--coral) 28%, var(--paper)); }
.empty { padding: var(--s5); text-align: center; color: var(--ink-2); border: 1.5px dashed var(--line-strong); border-radius: var(--r-card); }

/* carousel */
.carousel { display: grid; gap: var(--s3); }
.car-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s2); flex-wrap: wrap; }
.car-ctrl { display: flex; gap: 8px; align-items: center; }
.car-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color var(--t-fast), color var(--t-fast), opacity var(--t-fast); }
.car-ctrl button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.car-ctrl button:disabled { opacity: .3; cursor: default; }
.car-count { font-variant-numeric: tabular-nums; font-size: 1rem; color: var(--ink-2); min-width: 4ch; text-align: center; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; overscroll-behavior-x: contain; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-card); padding: var(--s4); display: grid; align-content: space-between; gap: var(--s2); min-width: 0; }
.slide .n { font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.slide h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); line-height: 1.15; }
.slide p { font-size: 1.05rem; }
.slide.dark { background: var(--night); color: var(--night-ink); }
.slide.dark .n { color: var(--night-ink-2); }
.slide.acc-bg { background: var(--accent); color: var(--accent-ink); }
.slide.acc-bg .n { color: color-mix(in oklab, var(--accent-ink) 92%, var(--accent)); }   /* 4.5:1+ on Peacock */
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }

/* ---------- about / team ---------- */
.principles { display: grid; gap: var(--s3); counter-reset: p; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { display: grid; gap: 8px; padding-top: var(--s3); border-top: 2px solid var(--ink); }
.principle h3 { font-size: var(--step-2); }
.principle p { color: var(--ink-2); }
.team-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.team-card { background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.team-card[hidden] { display: none; }
.team-card .photo { aspect-ratio: 1; background: var(--tint); display: grid; place-items: center; position: relative; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .photo svg { width: 55%; height: auto; }
.team-card .photo .ph { position: absolute; left: 12px; bottom: 12px; background: var(--paper-hi); }
.team-card .info { padding: var(--s3); display: grid; gap: 6px; align-content: start; }
.team-card .role { font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1.15; letter-spacing: -0.02em; }
.team-card .cred { display: inline-flex; justify-self: start; font-size: .9rem; font-weight: 600; padding: 3px 12px; border-radius: var(--r-pill); background: var(--tint-2); color: var(--accent-deep); }
.team-card .line { color: var(--ink-2); font-size: 1rem; }

/* ---------- long text (legal) ---------- */
.legal-layout { display: grid; gap: var(--s5); }
.toc { display: grid; gap: 4px; align-content: start; align-self: start; font-size: 1rem; }
.toc a { text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); border-left: 2px solid var(--line); }
.toc a:hover { background: var(--tint); }
.toc a.on { border-left-color: var(--accent); color: var(--accent-deep); font-weight: 600; background: var(--tint); }
.toc .sub { padding-left: 24px; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: var(--s7); }
  .toc { position: sticky; top: calc(var(--nav-h) + 32px); }
}
.prose { max-width: 68ch; display: grid; gap: var(--s2); }
.prose h2 { font-size: var(--step-3); margin-top: var(--s6); padding-top: var(--s3); border-top: 2px solid var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: var(--s3); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 6px; }
.prose .draft { padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: color-mix(in oklab, var(--marigold) 18%, var(--paper)); border: 1.5px dashed color-mix(in oklab, var(--ink) 35%, transparent); font-size: 1rem; }

/* ---------- contact ---------- */
.contact-aside { display: grid; gap: var(--s4); align-content: start; }
.contact-item { display: grid; gap: 6px; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.contact-item h2 { font-size: .8rem; font-family: var(--body); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; font: 600 .95rem var(--body); cursor: pointer; color: var(--ink); }
.copy-btn:hover { background: var(--ink); color: var(--paper); }
.socials { list-style: none; padding: 0; display: grid; gap: 8px; }
.socials li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.socials b { min-width: 6.5em; font-weight: 600; }
.safety { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: var(--s3); border-radius: var(--r-card); background: var(--tint); font-size: 1rem; }
.safety svg { color: var(--accent-deep); }

/* ---------- classes page ---------- */
.modules { list-style: none; padding: 0; display: grid; counter-reset: m; }
.modules li { counter-increment: m; display: grid; grid-template-columns: 56px 1fr; gap: var(--s2); padding-block: var(--s3); border-top: 1px solid var(--line); }
.modules li:last-child { border-bottom: 1px solid var(--line); }
.modules li::before { content: counter(m, decimal-leading-zero); font: 600 1.2rem var(--display); color: var(--accent); padding-top: 2px; }
.modules h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
.modules p { color: var(--ink-2); font-size: 1.05rem; }
.fit { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .card { padding: var(--s4); }
.fit ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.fit li svg { margin-top: 3px; }
.fit .no { background: var(--paper-hi); border: 1px solid var(--line); }
.format-grid { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 900px) { .format-grid { grid-template-columns: repeat(3, 1fr); } }
.format-item { padding: var(--s3); border-radius: var(--r-card); background: var(--paper-hi); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.format-item .k { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.format-item .v { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.price-box { display: grid; gap: var(--s3); align-content: start; }
@media (min-width: 900px) { .price-box { position: sticky; top: calc(var(--nav-h) + 32px); } }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--night-ink); }
.site-foot .wrap { padding-block: var(--s7) var(--s4); display: grid; gap: var(--s6); }
.f-top { display: grid; gap: var(--s5); }
.f-top .brand-word small { color: var(--night-ink-2); }
.f-tag { color: var(--night-ink-2); max-width: 32ch; font-size: 1rem; margin-top: var(--s2); }
.f-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--s4); }
.f-cols h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--night-ink-2); font-weight: 600; margin-bottom: 10px; }
.f-cols ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.f-cols a { display: inline-block; text-decoration: none; padding: 6px 0; color: var(--night-ink); font-size: 1rem; }
.f-cols a:hover { text-decoration: underline; }
.f-cols .ph { color: var(--night-ink-2); border-color: #5A5D6B; background: transparent; }
.f-cols .ph::before { background: var(--night-ink); color: var(--night); }
.disclaimer { border-top: 1px solid #2C2F3A; padding-top: var(--s3); font-size: .95rem; line-height: 1.6; color: var(--night-ink-2); display: grid; gap: 10px; }
.disclaimer strong { color: var(--night-ink); font-weight: 600; }
.disclaimer .tbc { color: var(--marigold); }
.site-foot :focus-visible { outline-color: var(--marigold); }
@media (min-width: 900px) { .f-top { grid-template-columns: 1fr 1.6fr; } }

/* ---------- page transitions: quick cross-fade ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: calc(200ms * var(--speed)); animation-timing-function: ease-out; }
html.fade-in body { animation: pageIn calc(260ms * var(--speed)) ease-out both; }
@keyframes pageIn { from { opacity: 0; } }

/* ---------- motion off: data-motion="off" or OS reduced-motion ---------- */
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
:root[data-motion="off"] ::view-transition-group(*), :root[data-motion="off"] ::view-transition-old(*), :root[data-motion="off"] ::view-transition-new(*) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- FAQ group nav ---------- */
@media (min-width: 900px) { .faq-layout .toc { position: sticky; top: calc(var(--nav-h) + 32px); } }
@media (max-width: 899px) {
  .faq-layout .toc { display: flex; gap: 8px; overflow-x: auto; margin-bottom: var(--s5); padding-bottom: 6px; }
  .faq-layout .toc a { flex: none; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); padding: 8px 16px; }
  .faq-layout .toc a.on { border-color: var(--accent); }
}

/* =====================================================================
   Additions for launch: shared nav socials, next-class status, flip cards,
   feedback cards, quiz, rule of 72, stories, 1-1 page, thank-you, cookie notice.
   Same tokens and motion rules as above: transform and opacity only.
   ===================================================================== */

/* ---------- no-JS fallbacks for the injected header/footer ---------- */
.nojs-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); font-weight: 500; }
.nojs-foot { background: var(--night); color: var(--night-ink); padding: 32px var(--gutter); font-size: .95rem; }

/* ---------- social icons ---------- */
.nav-soc { display: none; gap: 2px; }
@media (min-width: 1100px) { .nav-soc { display: flex; margin-left: 4px; } }
.soc { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color var(--t-fast); }
.soc svg { transition: transform var(--t-med) var(--ease-out); }
.soc:hover svg, .soc:focus-visible svg { transform: translateY(-2px) rotate(-8deg) scale(1.08); }
.soc .ig-dot { transform-box: fill-box; transform-origin: center; }
.soc:hover .ig-dot { animation: pop calc(500ms * var(--speed)) var(--ease-out); }
@keyframes pop { 50% { transform: scale(1.8); } }
.nav-soc .soc:hover { background: var(--tint); }
.sheet-soc, .foot-soc, .page-soc { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.sheet-soc .soc, .foot-soc .soc, .page-soc .soc { border-radius: var(--r-pill); padding: 8px 16px 8px 12px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 1rem; }
.foot-soc { margin-top: var(--s3); }
.foot-soc .soc { color: var(--night-ink); border-color: #3A3D4A; }
.foot-soc .soc:hover { background: var(--night-2); }
.page-soc .soc:hover, .sheet-soc .soc:hover { background: var(--tint); }

/* ---------- next-class status ---------- */
.nc { display: grid; gap: 6px; }
.nc-when { font-weight: 600; }
.nc-next { font-family: var(--display); font-weight: 600; font-size: var(--step-2); letter-spacing: -0.02em; line-height: 1.15; }
.nc-local { font-size: 1rem; color: var(--ink-2); }
.nc-count { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--accent-deep); font-size: 1rem; min-height: 1.6em; }
.count-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--error); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse calc(1.4s * var(--speed)) ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
.nc-big { padding: var(--s4); border-radius: var(--r-card); background: var(--paper-hi); border: 1px solid var(--line); box-shadow: var(--shadow-1); }

/* ---------- myth or fact flip cards ---------- */
.myth-grid { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .myth-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .myth-grid { grid-template-columns: repeat(3, 1fr); } }
.flip { perspective: 1200px; min-height: 210px; }
@media (min-width: 760px) { .flip { min-height: 280px; } }
.flip-inner { display: grid; height: 100%; }
.face { border-radius: var(--r-card); padding: var(--s4); display: grid; gap: var(--s2); align-content: space-between; }
.face .claim { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; }
.face.front { background: var(--paper-hi); border: 1px solid var(--line); cursor: pointer; }
.face.back { background: var(--ink); color: var(--paper); }
.face.back p { color: color-mix(in oklab, var(--paper) 86%, var(--ink)); }
.face.back:focus-visible { outline-color: var(--marigold); }
.verdict { justify-self: start; font: 700 .85rem var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-pill); }
.verdict.myth { background: var(--coral); color: var(--ink); }
.verdict.fact { background: var(--leaf); color: var(--ink); }
.flip-btn { justify-self: start; min-height: 44px; padding: 8px 18px; border-radius: var(--r-pill); border: 1.5px solid currentColor; background: transparent; color: inherit; font: 600 1rem var(--body); cursor: pointer; }
.face.front .flip-btn { border-color: var(--accent); color: var(--accent-deep); }
.face.front:hover .flip-btn { background: var(--accent); color: var(--accent-ink); }
.face.back .flip-btn:hover { background: var(--paper); color: var(--ink); }
.face.back .flip-btn:focus-visible { outline-color: var(--marigold); }
/* without JS both faces stack and the answer is simply visible */
html:not(.js) .flip-btn { display: none; }
html:not(.js) .flip-inner { gap: 8px; }
html.js .flip-inner { transform-style: preserve-3d; transition: transform calc(700ms * var(--speed)) var(--ease-out); }
html.js .face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html.js .face.back { transform: rotateY(180deg); }
html.js .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip:not(.flipped) .face.front:hover { box-shadow: var(--shadow-2); }

/* ---------- feedback (testimonials) ---------- */
.quotes { display: grid; gap: var(--s3); min-height: 180px; }
@media (min-width: 760px) { .quotes { gap: var(--s3); grid-template-columns: repeat(3, 1fr); } }
.quote-card { background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(16px, 4vw, 32px); display: grid; gap: var(--s2); align-content: start; margin: 0; }
.stars { display: flex; gap: 2px; color: #B77B06; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-family: var(--display); font-weight: 500; font-size: var(--step-1); line-height: 1.35; letter-spacing: -0.01em; }
.quote-card figcaption { font-weight: 600; color: var(--ink-2); }
.quotes-note { margin-top: var(--s3); font-size: 1rem; color: var(--ink-2); }

/* ---------- teaser card (1-1 on home) ---------- */
.teaser { display: grid; gap: var(--s3); padding: var(--s5) var(--s4); border-radius: 28px; background: var(--night); color: var(--night-ink); }
.teaser p { color: var(--night-ink-2); max-width: 46ch; }
.teaser .h-sec { color: var(--night-ink); }
.teaser .eyebrow { color: var(--night-ink-2); }
.teaser :focus-visible { outline-color: var(--marigold); }
@media (min-width: 900px) { .teaser { grid-template-columns: 1.4fr auto; align-items: end; padding: var(--s6); } }

/* ---------- quiz ---------- */
.quiz { display: grid; gap: var(--s4); }
.q { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.q legend { font-family: var(--display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; margin-bottom: 8px; padding: 0; }
.opt { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r-field); border: 1.5px solid var(--line-strong); background: var(--paper-hi); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.opt:hover { border-color: var(--ink-2); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt.right { border-color: var(--accent); background: var(--tint-2); }
.opt.wrong { border-color: var(--error); background: color-mix(in oklab, var(--error) 8%, var(--paper-hi)); }
.opt:has(input:disabled) { cursor: default; }
.q-feedback { font-size: 1rem; font-weight: 500; min-height: 1.6em; }
.q-feedback.ok { color: var(--accent-deep); }
.q-feedback.no { color: var(--error); }
.quiz-end { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-card); background: var(--tint); }

/* ---------- rule of 72 ---------- */
.r72 { display: grid; gap: var(--s3); }
.r72 .field { max-width: 260px; }
.r72 output { display: block; font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; color: var(--accent-deep); min-height: 2.4em; }
.field input[type="number"] { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-field); border: 1.5px solid var(--line-strong); background: var(--paper-hi); color: var(--ink); font: 400 1.125rem/1.4 var(--body); }
.field input[type="number"]:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }

/* ---------- illustrative stories ---------- */
.stories { display: grid; gap: var(--s3); }
@media (min-width: 1000px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.story h3 { font-size: var(--step-2); line-height: 1.15; }
.story p { color: var(--ink-2); }
.story .lesson { color: var(--ink); padding-top: var(--s2); border-top: 1px solid var(--line); }
.story .lesson b { color: var(--accent-deep); }
.hypo { font-size: .8em; font-weight: 600; color: var(--ink-2); white-space: nowrap; }

/* ---------- 1-1 page ---------- */
.steps-4 { list-style: none; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: s; }
.steps-4 li { counter-increment: s; padding: var(--s4) var(--s3) var(--s3); border-radius: var(--r-card); background: var(--paper-hi); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.steps-4 li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--display); background: var(--tint-2); color: var(--accent-deep); }
.steps-4 h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
.steps-4 p { color: var(--ink-2); font-size: 1rem; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 14px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--marigold) 30%, var(--paper)); font-weight: 600; font-size: .95rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.disclosure { padding: var(--s3); border-radius: var(--r-sm); border-left: 4px solid var(--accent); background: var(--paper-hi); font-size: 1rem; }
.checks-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }

/* ---------- forms: honeypot, error ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 16px; border-radius: var(--r-field); background: color-mix(in oklab, var(--error) 10%, var(--paper-hi)); color: var(--error); font-weight: 500; font-size: 1rem; }
.demo-note { font-size: .95rem; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- thank-you + Cal.com ---------- */
.cal-embed { min-height: 200px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--paper-hi); }
.cal-embed iframe { width: 100%; height: 720px; border: 0; display: block; }
.cal-embed > p { padding: var(--s4); }

/* ---------- 404 ---------- */
.big-num { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 4rem + 12vw, 12rem); line-height: .9; letter-spacing: -0.06em; color: var(--accent); }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; display: grid; gap: var(--s2); padding: var(--s3); border-radius: var(--r-card); background: var(--paper-hi); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 1rem; }
.class-card .nc-next { font-size: 1.3rem; }
.class-card .nc-when { font-size: 1rem; }
.nc-local { min-height: 3.2em; }
.nc-next { min-height: 1.2em; }
