/* ============================================================================
   SounDisruptr Academy — academy.soundisruptr.com
   Design system + page styles. v1.0 (2026-08-01)

   TOKEN RULE (from the SounDisruptr Design System):
   primitives (--sd-red-500) -> semantics (--action-bg). Components read
   semantics only. Do not hard-code a hex below the :root block.
   ========================================================================= */

/* ---------- 1. PRIMITIVES ------------------------------------------------ */
:root {
  /* Brand canon. Red is #EF2A1F per the brand book — NOT the #df0404 that
     drifted onto soundisruptr.com. Do not "match the live site". */
  --sd-red-500: #EF2A1F;
  --sd-red-600: #C81C13;
  --sd-red-400: #FF5A4F;   /* 6.08:1 on card surface — use for red TEXT      */
  --sd-red-350: #FF7A70;

  --sd-gold-400: #E2B755;
  --sd-gold-300: #EBCB84;
  --sd-gold-600: #C59B27;

  --sd-ink-000: #050506;   /* page ground     */
  --sd-ink-050: #0A0A0D;   /* alt band        */
  --sd-ink-100: #121216;   /* card            */
  --sd-ink-150: #191920;   /* raised          */
  --sd-ink-200: #22222B;

  --sd-white:    #FFFFFF;
  --sd-grey-200: #C7C7CE;
  --sd-grey-400: #9A9AA6;
  --sd-black:    #0A0A0C;

  /* ---------- 2. SEMANTICS ---------------------------------------------- */
  --bg-page:      var(--sd-ink-000);
  --bg-alt:       var(--sd-ink-050);
  --bg-card:      var(--sd-ink-100);
  --bg-raised:    var(--sd-ink-150);
  --bg-inset:     var(--sd-ink-200);

  --text-hi:      var(--sd-white);
  --text-mid:     var(--sd-grey-200);   /* 11.1:1 on card  */
  --text-lo:      var(--sd-grey-400);   /*  6.7:1 on card  */
  --text-brand:   var(--sd-red-400);    /* red text on dark — never red-500 */
  --text-accent:  var(--sd-gold-400);   /*  9.9:1 on card  */

  --line:         rgba(255, 255, 255, .09);
  --line-strong:  rgba(255, 255, 255, .16);
  --line-accent:  rgba(226, 183, 85, .38);

  --action-bg:      var(--sd-red-500);
  --action-bg-hov:  var(--sd-red-600);
  --action-fg:      var(--sd-black);    /* 4.73:1 on red — white is only 4.18 */
  --accent-bg:      var(--sd-gold-400);
  --accent-fg:      var(--sd-black);    /* 10.5:1 on gold */

  --focus: var(--sd-gold-300);

  /* ---------- 3. TYPE ---------------------------------------------------- */
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale, 360px -> 1440px */
  --t-hero:  clamp(2.35rem, 1.25rem + 4.6vw, 4.5rem);
  --t-h2:    clamp(1.85rem, 1.15rem + 3.1vw, 3.25rem);
  --t-h3:    clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);
  --t-lead:  clamp(1.06rem, .98rem + .45vw, 1.3rem);
  --t-body:  clamp(1rem,   .96rem + .2vw,  1.09rem);
  --t-small: .875rem;
  --t-micro: .75rem;

  /* ---------- 4. SPACE / SHAPE ------------------------------------------- */
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  --maxw: 1240px;
  --maxw-prose: 62ch;
  --section-y: clamp(4.5rem, 2rem + 9vw, 9rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset,
                 0 24px 60px -24px rgba(0,0,0,.9);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.07) inset,
                 0 40px 80px -28px rgba(0,0,0,.95);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: .55s;
  --header-h: 74px;

  --glow-red: .30;
  --glow-gold: .18;
  --grain: .05;
  --grain-blend: overlay;
  --scrim: rgba(18,18,22,.55);
}

/* ---------- 2b. LIGHT THEME ---------------------------------------------
   Only the SEMANTIC layer flips. Primitives never change, so every
   component keeps working without a single component-level override.
   Every pair below was measured: lowest ratio in light mode is 4.99:1.
   ---------------------------------------------------------------------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { color-scheme: light; }
}
:root[data-theme="light"] { color-scheme: light; }

@media (prefers-color-scheme: light) { :root:not([data-theme]) {
  --bg-page: #FAF8F4; --bg-alt: #F1EEE7; --bg-card: #FFFFFF;
  --bg-raised: #F6F3ED; --bg-inset: #EBE7DF;
  --text-hi: #121216; --text-mid: #3D3D45; --text-lo: #5E5E68;
  --text-brand: #B4160E; --text-accent: #7A5D0F;
  --line: rgba(0,0,0,.10); --line-strong: rgba(0,0,0,.20);
  --line-accent: rgba(122,93,15,.34);
  --focus: #7A5D0F;
  --glow-red: .12; --glow-gold: .10; --grain: .028; --grain-blend: multiply;
  --scrim: rgba(255,255,255,.62);
  --shadow-card: 0 1px 0 rgba(0,0,0,.03) inset, 0 18px 40px -22px rgba(24,20,10,.35);
  --shadow-lift: 0 1px 0 rgba(0,0,0,.05) inset, 0 30px 60px -26px rgba(24,20,10,.42);
} }

:root[data-theme="light"] {
  --bg-page: #FAF8F4; --bg-alt: #F1EEE7; --bg-card: #FFFFFF;
  --bg-raised: #F6F3ED; --bg-inset: #EBE7DF;
  --text-hi: #121216; --text-mid: #3D3D45; --text-lo: #5E5E68;
  --text-brand: #B4160E; --text-accent: #7A5D0F;
  --line: rgba(0,0,0,.10); --line-strong: rgba(0,0,0,.20);
  --line-accent: rgba(122,93,15,.34);
  --focus: #7A5D0F;
  --glow-red: .12; --glow-gold: .10; --grain: .028; --grain-blend: multiply;
  --scrim: rgba(255,255,255,.62);
  --shadow-card: 0 1px 0 rgba(0,0,0,.03) inset, 0 18px 40px -22px rgba(24,20,10,.35);
  --shadow-lift: 0 1px 0 rgba(0,0,0,.05) inset, 0 30px 60px -26px rgba(24,20,10,.42);
}

/* Explicit dark request always wins over the OS preference. */
:root[data-theme="dark"] {
  --bg-page: #050506; --bg-alt: #0A0A0D; --bg-card: #121216;
  --bg-raised: #191920; --bg-inset: #22222B;
  --text-hi: #FFFFFF; --text-mid: #C7C7CE; --text-lo: #9A9AA6;
  --text-brand: #FF5A4F; --text-accent: #E2B755;
  --line: rgba(255,255,255,.09); --line-strong: rgba(255,255,255,.16);
  --line-accent: rgba(226,183,85,.38);
  --focus: #EBCB84;
  --glow-red: .30; --glow-gold: .18; --grain: .05; --grain-blend: overlay;
  --scrim: rgba(18,18,22,.55);
  color-scheme: dark;
}

/* ---------- 5. RESET ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg-page);
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-hi);
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Fine film grain over the whole page — the single cheapest thing that stops
   large flat black areas reading as "unfinished". 1.2 KB of inline SVG. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  opacity: var(--grain); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 6. FOCUS (the live site has ZERO focus styles) --------------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 1000;
  background: var(--accent-bg); color: var(--accent-fg);
  padding: .8rem 1.4rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700; font-size: var(--t-small);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- 7. LAYOUT ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--alt::before, .section--alt::after {
  content: ""; position: absolute; inset-inline: 0; height: 1px;
  background: var(--line);
}
.section--alt::before { top: 0; } .section--alt::after { bottom: 0; }

.stack > * + * { margin-top: 1rem; }
.prose { max-width: var(--maxw-prose); }
.center { text-align: center; margin-inline: auto; }

/* Section header ---------------------------------------------------------- */
.sec-head { max-width: 30ch; margin-bottom: clamp(2.25rem, 1rem + 3vw, 3.5rem); }
.sec-head.center { max-width: 34ch; }
.sec-head h2 { font-size: var(--t-h2); }
.sec-head p {
  margin-top: 1.1rem; color: var(--text-lo);
  font-size: var(--t-lead); max-width: 56ch; text-wrap: pretty;
}
.sec-head.center p { margin-inline: auto; }

.rule {
  display: block; width: 64px; height: 4px; border-radius: 2px;
  background: var(--action-bg); margin-bottom: 1.5rem;
  transform-origin: left center;
}
.center .rule { margin-inline: auto; transform-origin: center; }

/* ---------- 8. BUTTONS --------------------------------------------------- */
.btn {
  --_bg: var(--action-bg); --_fg: var(--action-fg);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  min-height: 56px; padding: 1rem 1.9rem;
  background: var(--_bg); color: var(--_fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 800; font-size: 1.02rem; letter-spacing: .005em;
  cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%),
              rgba(255,255,255,.28), transparent 65%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: 0 12px 34px -12px rgba(239,42,31,.75); }
.btn--primary:hover { background: var(--action-bg-hov); box-shadow: 0 18px 44px -12px rgba(239,42,31,.9); }

.btn--gold { --_bg: var(--accent-bg); --_fg: var(--accent-fg);
  box-shadow: 0 12px 34px -14px rgba(226,183,85,.6); }
.btn--gold:hover { --_bg: var(--sd-gold-300); }

.btn--ghost {
  --_bg: transparent; --_fg: var(--text-hi);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --_bg: color-mix(in srgb, currentColor 8%, transparent);
  border-color: var(--text-hi); }

.btn--wide { width: 100%; }
.btn .ico { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* text link with animated underline */
.tlink {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--text-hi); font-weight: 700;
  padding-block: .35rem; min-height: 44px;
  background-image: linear-gradient(var(--accent-bg), var(--accent-bg));
  background-size: 100% 2px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color .2s var(--ease), background-size .35s var(--ease);
}
.tlink:hover { color: var(--text-accent); background-size: 40% 2px; }
.tlink .ico { width: 15px; height: 15px; fill: currentColor;
  transition: transform .3s var(--ease); }
.tlink:hover .ico { transform: translate(3px, -3px); }

/* ---------- 9. HEADER ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg-page) 72%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { background: color-mix(in srgb, var(--bg-page) 93%, transparent);
  border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: 1.5rem; height: 100%; }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
/* Sized by height — the Academy lockup is ~4.1:1, so width follows. */
.brand img { height: 38px; width: auto; aspect-ratio: 620 / 151; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .85rem; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 600; color: var(--text-mid);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--text-hi);
  background: color-mix(in srgb, currentColor 9%, transparent); }

.nav-cta { min-height: 44px; padding: .65rem 1.35rem; font-size: .95rem; }


/* Theme toggle ------------------------------------------------------------ */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; color: var(--text-mid);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background-color .25s var(--ease);
}
.theme-btn:hover { color: var(--text-accent); border-color: var(--line-accent);
  background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-btn svg { width: 19px; height: 19px; fill: currentColor; }
/* One icon per theme — the visible one is whichever the CURRENT theme is not. */
.theme-btn .i-sun  { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-btn .i-sun  { display: block; }
  :root:not([data-theme]) .theme-btn .i-moon { display: none; }
}

/* Logo swaps with the theme. */
.brand .logo-light { display: none; }
:root[data-theme="light"] .brand .logo-dark,
:root[data-theme="light"] .foot-brand .logo-dark { display: none; }
:root[data-theme="light"] .brand .logo-light,
:root[data-theme="light"] .foot-brand .logo-light { display: block; }
.foot-brand .logo-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .brand .logo-dark,
  :root:not([data-theme]) .foot-brand .logo-dark { display: none; }
  :root:not([data-theme]) .brand .logo-light,
  :root:not([data-theme]) .foot-brand .logo-light { display: block; }
}
:root[data-theme="dark"] .brand .logo-dark,
:root[data-theme="dark"] .foot-brand .logo-dark { display: block; }
:root[data-theme="dark"] .brand .logo-light,
:root[data-theme="dark"] .foot-brand .logo-light { display: none; }

/* Mobile menu -------------------------------------------------------------- */
.menu-btn {
  display: none;
  width: 46px; height: 46px; flex: none;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); cursor: pointer;
}
.menu-btn span {
  display: block; width: 18px; height: 2px; background: currentColor;
  border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s var(--ease);
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn { color: var(--text-hi); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: color-mix(in srgb, var(--bg-page) 98%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility .3s var(--ease);
}
.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; }

.drawer-close {
  /* display:flex + width:fit-content so `margin-left:auto` actually
     right-aligns it — auto margins are ignored on inline-flex. */
  display: flex; width: fit-content; align-items: center; gap: .5rem;
  margin: 0 0 1.75rem auto; padding: .6rem 1.1rem .6rem .9rem;
  background: transparent; color: var(--text-mid);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; min-height: 44px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.drawer-close:hover { color: var(--text-hi); border-color: var(--text-hi); }
.drawer-close svg { width: 15px; height: 15px; fill: currentColor; }
.drawer-label {
  font-size: .78rem; letter-spacing: .16em; color: var(--text-accent);
  font-family: var(--font-body); font-weight: 800; margin-bottom: 1rem;
  text-transform: uppercase;
}
.drawer ul + .drawer-label { margin-top: 2.25rem; }
.drawer li + li { border-top: 1px solid var(--line); }
.drawer li a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: 1.05rem 0;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.4rem; color: var(--text-hi);
}
.drawer li a .price { font-family: var(--font-body); font-size: .95rem;
  font-weight: 800; color: var(--text-accent); }
.drawer .btn { margin-top: 2rem; }

/* ---------- 10. HERO ----------------------------------------------------- */
.hero { position: relative; overflow: clip; padding-block: clamp(3rem, 1rem + 6vw, 6rem) clamp(3.5rem, 1rem + 6vw, 6rem); }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .glow {
  position: absolute; border-radius: 50%; filter: blur(90px);
  will-change: transform;
}
.hero-bg .glow--red {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -6vw; top: -8vw;
  background: radial-gradient(circle, rgba(239,42,31,var(--glow-red)), transparent 68%);
  animation: drift 22s var(--ease) infinite alternate;
}
.hero-bg .glow--gold {
  width: 40vw; height: 40vw; max-width: 520px; max-height: 520px;
  left: -12vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(226,183,85,var(--glow-gold)), transparent 70%);
  animation: drift 28s var(--ease) infinite alternate-reverse;
}
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 78%);
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-4%, 5%, 0) scale(1.14); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
}

.hero h1 { font-size: var(--t-hero); max-width: 15ch; }
.hero h1 .red  { color: var(--sd-red-500); }
.hero h1 em, .hero h1 .gold { color: var(--text-accent); font-style: normal; }

/* Headline line-by-line mask reveal — the one piece of "expensive" motion
   that fires on load rather than on scroll. */
/* clip-path does the masking — no overflow:hidden, which would permanently
   clip Anton's descenders. Gated on .js so a blocked script never hides the H1. */
.reveal-lines > span { display: block; }
.js .reveal-lines > span {
  clip-path: inset(-.12em 0 105% 0);
  transform: translateY(16%);
  transition: clip-path .7s var(--ease), transform .7s var(--ease);
}
.reveal-lines.is-lit > span { clip-path: inset(-.12em 0 -.2em 0); transform: none; }
.reveal-lines.is-lit > span:nth-child(2) { transition-delay: .09s; }
.reveal-lines.is-lit > span:nth-child(3) { transition-delay: .18s; }

/* Deck: carries the price anchor directly under the headline. */
.hero-deck {
  margin-top: 1.5rem; padding-left: 1.1rem;
  border-left: 3px solid var(--action-bg);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.42rem);
  line-height: 1.42; color: var(--text-hi); font-weight: 700;
  max-width: 44ch; text-wrap: pretty;
}
.hero-deck .gold { color: var(--text-accent); }

.hero-lead {
  margin-top: 1.3rem; font-size: 1.02rem;
  color: var(--text-lo); max-width: 52ch; text-wrap: pretty;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.hero-note {
  margin-top: 1.35rem; font-size: var(--t-small); color: var(--text-lo);
  max-width: 46ch;
}
.hero-note strong { color: var(--text-mid); font-weight: 700; }

/* Portrait ---------------------------------------------------------------- */
.hero-figure { position: relative; }
.hero-figure::before {
  content: ""; position: absolute; z-index: 0;
  left: 50%; top: 46%; translate: -50% -50%;
  width: 88%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(239,42,31,calc(var(--glow-red) + .06)) 0%,
              rgba(226,183,85,calc(var(--glow-gold) - .04)) 42%, transparent 68%);
  filter: blur(48px);
}
.hero-figure img {
  position: relative; z-index: 1; width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.85))
          drop-shadow(0 0 1px rgba(255,255,255,.18));
  will-change: transform;
}
.hero-badge {
  position: absolute; z-index: 2; left: 0; bottom: 6%;
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.15rem;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-accent); border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

.hero-badge .n { display: block;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--text-accent);
}
.hero-badge .l { font-size: var(--t-micro); line-height: 1.3;
  color: var(--text-mid); max-width: 15ch; letter-spacing: .02em;
  text-transform: uppercase; font-weight: 700; }

/* ---------- 11. PROOF STRIP ---------------------------------------------- */
.proof { border-block: 1px solid var(--line); background: var(--bg-alt); }
.proof-inner { padding-block: clamp(2.5rem, 1rem + 4vw, 4rem); }
.proof-grid {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.proof-item { background: var(--bg-alt); padding: 1.6rem 1.4rem; }
.proof-item .n {
  display: block;
  font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.9vw, 2.9rem);
  color: var(--text-accent); line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.proof-item .l {
  display: block; margin-top: .6rem; font-size: var(--t-small); color: var(--text-lo);
  line-height: 1.45; text-wrap: pretty;
}
.proof-foot {
  margin-top: 1.75rem; font-size: var(--t-lead); color: var(--text-mid);
  max-width: 68ch;
}
.proof-foot strong { color: var(--text-hi); font-weight: 800; }

/* ---------- 12. PROBLEM -------------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
.beats { border-left: 2px solid var(--line); padding-left: clamp(1.25rem, .8rem + 1.4vw, 2rem); }
.beats li { position: relative; padding-block: .9rem; }
.beats li + li { border-top: 1px solid var(--line); }
.beats li::before {
  content: ""; position: absolute; left: calc(-1 * clamp(1.25rem, .8rem + 1.4vw, 2rem) - 2px);
  top: 50%; translate: -0% -50%;
  width: 2px; height: 0; background: var(--action-bg);
  transition: height .6s var(--ease);
}
.beats li.is-in::before { height: 62%; }
.beats b { display: block; color: var(--text-hi); font-weight: 800;
  font-size: 1.06rem; margin-bottom: .2rem; }
.beats span { color: var(--text-lo); font-size: var(--t-small); }

.callout {
  background: var(--bg-card); border: 1px solid var(--line);
  border-left: 3px solid var(--action-bg);
  border-radius: var(--r-md); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
}
.callout p + p { margin-top: .85rem; }
.callout strong { color: var(--text-hi); font-weight: 800; }

/* ---------- 13. DIAGNOSTIC PATHS ----------------------------------------- */
.paths { display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.path {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.path:hover { border-color: var(--line-accent); transform: translateY(-4px);
  box-shadow: var(--shadow-lift); }
.path .q {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.22rem; line-height: 1.12; color: var(--text-hi);
  margin-bottom: .9rem;
}
.path .q::before { content: "“"; color: var(--text-brand); }
.path .q::after  { content: "”"; color: var(--text-brand); }
.path p { color: var(--text-lo); font-size: var(--t-small); }
.path .go {
  margin-top: auto; padding-top: 1.35rem;
  display: flex; align-items: center; gap: .5rem;
  font-weight: 800; color: var(--text-accent); font-size: .95rem;
}
.path .go .ico { width: 16px; height: 16px; fill: currentColor;
  transition: transform .3s var(--ease); }
.path:hover .go .ico { transform: translateX(4px); }

/* ---------- 14. COURSE CARDS --------------------------------------------- */
.courses { display: grid; gap: 1.5rem; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.course {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.course::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(226,183,85,.13), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.course:hover { transform: translateY(-6px); border-color: var(--line-accent);
  box-shadow: var(--shadow-lift); }
.course:hover::before { opacity: 1; }
.course:focus-within { border-color: var(--line-accent); }

.course--flag { border-color: var(--line-accent); }
.course--flag::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, var(--sd-red-500), var(--sd-gold-400));
}

.course-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-inset); }
.course-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: saturate(.9) contrast(1.05);
}
.course:hover .course-media img { transform: scale(1.06); filter: saturate(1.05) contrast(1.05); }
.course-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, var(--scrim) 78%, var(--bg-card) 100%);
}

.badge {
  position: absolute; z-index: 2; left: 1rem; top: 1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .8rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--bg-page) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-accent);
  font-size: var(--t-micro); font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-accent);
}
.badge--red { border-color: rgba(255,90,79,.5); color: var(--text-brand); }

.course-body { display: flex; flex-direction: column; flex: 1;
  padding: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); }
.course-body h3 { font-size: var(--t-h3); }

/* The self-selection line — the card's real job on a navigation page. */
.course-body .fit {
  margin-top: .85rem; padding: .7rem .9rem;
  background: var(--bg-alt); border-left: 3px solid var(--action-bg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--text-hi); font-weight: 700; font-size: .97rem; line-height: 1.4;
}
.course-body .promise { margin-top: .9rem; color: var(--text-lo);
  font-size: .95rem; text-wrap: pretty; }
.course-body .format {
  margin-top: 1.25rem; font-size: var(--t-micro); color: var(--text-lo);
  letter-spacing: .04em; text-transform: uppercase; font-weight: 700;
}

.ticks { margin-top: 1.25rem; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: .65rem;
  font-size: var(--t-small); color: var(--text-lo); line-height: 1.5; }
.ticks .ico { width: 18px; height: 18px; margin-top: .16rem;
  fill: var(--text-accent); flex: none; }

.price-row {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem;
}
.price {
  font-family: var(--font-display); font-size: 2rem; line-height: 1;
  color: var(--text-hi); letter-spacing: -.01em;
}
.was { font-size: .95rem; color: var(--text-lo); text-decoration: line-through;
  text-decoration-color: var(--text-brand); text-decoration-thickness: 2px; }
.price-note { width: 100%; font-size: var(--t-micro); color: var(--text-lo);
  letter-spacing: .02em; text-transform: uppercase; font-weight: 700; }

.course .btn { margin-top: 1.35rem; }
.course-foot { margin-top: .95rem; font-size: var(--t-micro);
  color: var(--text-lo); line-height: 1.55; }
.course-foot b { color: var(--text-accent); font-weight: 800; }

/* ---------- 15. COMPARISON TABLE ---------------------------------------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-card);
}
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.ctable { width: 100%; min-width: 720px; border-collapse: collapse;
  font-size: .93rem; }
.ctable th, .ctable td {
  padding: 1rem 1.15rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ctable thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--bg-raised);
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: .01em; color: var(--text-hi);
  border-bottom: 1px solid var(--line-accent);
}
.ctable thead th a { color: inherit; display: inline-block; padding-block: 4px;
  background-image: linear-gradient(var(--accent-bg), var(--accent-bg));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .2s var(--ease); }
.ctable thead th a:hover { color: var(--text-accent); background-size: 100% 2px; }

.ctable tbody th {
  width: 22%; color: var(--text-lo); font-family: var(--font-body);
  font-weight: 800; font-size: var(--t-micro); letter-spacing: .08em;
  text-transform: uppercase; background: var(--bg-alt);
}
.ctable tbody td { color: var(--text-mid); }
.ctable tbody tr { transition: background-color .25s var(--ease); }
.ctable tbody tr:hover { background: color-mix(in srgb, var(--text-hi) 3%, transparent); }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }

.ctable .yes { color: var(--text-accent); font-weight: 800; }
.ctable .na  { color: var(--text-lo); }
.ctable b { color: var(--text-hi); font-family: var(--font-display);
  font-weight: 400; font-size: 1.3rem; letter-spacing: -.01em; }
.ctable-cta td { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.ctable-cta .btn { min-height: 46px; padding: .6rem 1.25rem; font-size: .9rem; }

/* The table needs 720px of content width. Below 860px viewport there isn't
   that much room, so it stops being a table and becomes labelled blocks —
   no horizontal swiping on phones OR tablets. Matches the nav breakpoint. */
@media (max-width: 860px) {
  .table-scroll { overflow-x: visible; background: transparent; border: 0; }
  .ctable { min-width: 0; display: block; }
  .ctable thead { display: none; }
  .ctable tbody, .ctable tr, .ctable th, .ctable td { display: block; width: auto; }

  .ctable tbody tr {
    background: var(--bg-card); border: 1px solid var(--line);
    border-radius: var(--r-md); margin-bottom: .85rem; overflow: hidden;
  }
  .ctable tbody tr:hover { background: var(--bg-card); }

  .ctable tbody th {
    width: auto; background: var(--bg-raised);
    padding: .8rem 1.05rem; border-bottom: 1px solid var(--line);
    font-size: .72rem; letter-spacing: .1em;
  }
  .ctable tbody td {
    padding: .8rem 1.05rem;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: .9rem; align-items: baseline;
  }
  .ctable tbody td::before {
    content: attr(data-label);
    font-size: var(--t-micro); font-weight: 800; letter-spacing: .04em;
    color: var(--text-accent); line-height: 1.4;
  }
  .ctable tbody td:last-child { border-bottom: 0; }
  .ctable tbody td + td { border-top: 1px solid var(--line); }

  .ctable-cta td { display: block; }
  .ctable-cta td::before { display: block; margin-bottom: .5rem; }
  .ctable-cta .btn { width: 100%; }
}

/* ---------- 15b. HOW BUYING WORKS --------------------------------------- */
.bundle { display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bundle-item {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.6rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.bundle-item:hover { border-color: var(--line-accent); transform: translateY(-3px); }
.bundle-item .k-ico {
  width: 30px; height: 30px; fill: var(--text-accent); margin-bottom: 1rem;
}
.bundle-item h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.bundle-item p { font-size: var(--t-small); color: var(--text-lo); }
.bundle-item b { color: var(--text-hi); font-weight: 800; }
.bundle-cta { margin-top: 2rem; }

/* ---------- 16. BIO ------------------------------------------------------ */
.bio-grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
}
.bio-figure { position: relative; }
.bio-figure::before {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,183,85,calc(var(--glow-gold) + .04)), transparent 66%);
  filter: blur(46px);
}
.bio-figure img { position: relative; filter: drop-shadow(0 30px 50px rgba(0,0,0,.8)); }
.bio-body p { color: var(--text-mid); }
.bio-body p + p { margin-top: 1.05rem; }
.bio-body strong { color: var(--text-hi); font-weight: 800; }
.bio-socials { margin-top: 2rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: .6rem; }
.soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--bg-card);
  transition: border-color .25s var(--ease), background-color .25s var(--ease),
              transform .25s var(--ease);
}
.soc svg { width: 17px; height: 17px; fill: var(--text-mid); transition: fill .25s var(--ease); }
.soc:hover { border-color: var(--line-accent); transform: translateY(-2px); }
.soc:hover svg { fill: var(--text-accent); }
.bio-socials .cap { font-size: var(--t-small); color: var(--text-lo); margin-left: .4rem; }

/* ---------- 17. OUTCOMES / NOT-FOR --------------------------------------- */
.panel {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);
}
.panel > h3 { font-size: 1.3rem; margin-bottom: 1.35rem; }
.panel--warn { border-color: rgba(255,90,79,.28); }
.panel--warn > h3 { color: var(--text-brand); }

.checks { display: grid; gap: .85rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem;
  font-size: .96rem; color: var(--text-mid); line-height: 1.55; }
.checks .ico { width: 20px; height: 20px; margin-top: .18rem; flex: none;
  fill: var(--text-accent); }
.panel--warn .checks .ico { fill: var(--text-brand); }
.panel--warn .checks li { color: var(--text-lo); }

.disclaimer-line {
  margin-top: 2rem; padding: 1.1rem 1.35rem;
  background: var(--bg-alt); border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-size: var(--t-small); color: var(--text-lo);
}

/* ---------- 18. GUARANTEE ------------------------------------------------ */
.guards { display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.guard {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--line-accent); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.4vw, 2.1rem);
}
.guard .seal {
  width: 46px; height: 46px; margin-bottom: 1.15rem;
  fill: var(--text-accent);
}
.guard h3 { font-size: 1.18rem; margin-bottom: .75rem; }
.guard p { font-size: var(--t-small); color: var(--text-lo); }
.guard p + p { margin-top: .7rem; }
.guard b { color: var(--text-mid); font-weight: 800; }

/* ---------- 19. FAQ ------------------------------------------------------ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-card); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq details + details { margin-top: .75rem; }
.faq details[open] { border-color: var(--line-accent); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--text-hi); font-size: 1.02rem;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .35rem;
  width: 12px; height: 12px;
  border-right: 2px solid var(--text-accent);
  border-bottom: 2px solid var(--text-accent);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 1.35rem 1.3rem; color: var(--text-lo);
  font-size: .97rem; max-width: 72ch; }
.faq .answer p + p { margin-top: .8rem; }

/* ---------- 20. LEAD CAPTURE --------------------------------------------- */
.capture {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-accent); border-radius: var(--r-xl);
  background: var(--bg-card);
  padding: clamp(1.75rem, 1rem + 2.6vw, 3.25rem);
}
.capture::before {
  content: ""; position: absolute; z-index: 0; right: -10%; top: -40%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,183,85,.16), transparent 68%);
  filter: blur(50px); pointer-events: none;
}
.capture > * { position: relative; z-index: 1; }
.capture h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.capture p { margin-top: .9rem; color: var(--text-lo); max-width: 54ch; }

.form { margin-top: 1.75rem; display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: start; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-micro); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-lo); }
.field input {
  min-height: 52px; padding: .8rem 1rem;
  background: var(--bg-alt); color: var(--text-hi);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder { color: var(--text-lo); }
.field input:hover { border-color: var(--text-lo); }
.field input:focus-visible { border-color: var(--accent-bg); background: var(--bg-page); }
.form .btn { align-self: end; min-height: 52px; }
.form-note { margin-top: 1rem; font-size: var(--t-micro); color: var(--text-lo); }
.form-status { margin-top: .9rem; font-size: var(--t-small); color: var(--text-accent);
  font-weight: 700; }

/* ---------- 21. FINAL CTA ------------------------------------------------ */
.final { text-align: center; }
.final h2 { font-size: var(--t-h2); max-width: 22ch; margin-inline: auto; }
.final .lede { margin-top: 1.4rem; color: var(--text-mid);
  font-size: var(--t-lead); max-width: 62ch; margin-inline: auto; text-wrap: pretty; }
.final-actions {
  margin-top: 2.25rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: .9rem;
}
.final .ps { margin-top: 2.25rem; font-size: var(--t-small);
  color: var(--text-lo); max-width: 62ch; margin-inline: auto; }
.final .ps + .ps { margin-top: .7rem; }

/* ---------- 22. FOOTER --------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt);
  padding-block: clamp(3rem, 1.5rem + 4vw, 5rem) 2rem; }
@media (max-width: 860px) {
  /* The sticky bar retires as soon as the footer appears, so this only needs
     to clear the phone's home indicator. */
  .site-footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
}
.foot-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(140px, 1fr));
}
@media (max-width: 900px) {
  /* Two columns all the way down to 340px. The brand block and the Courses
     column (which carries prices) span the full width; the two short link
     lists sit side by side, which halves the footer height on a phone. */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem 1.4rem; }
  .foot-brand,
  .foot-col--courses { grid-column: 1 / -1; }
  .foot-brand img { height: 34px; }
  .foot-brand p { max-width: 46ch; }
}
@media (max-width: 340px) {
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
.foot-brand img { height: 40px; width: auto; aspect-ratio: 620 / 151;
  margin-bottom: 1.15rem; }
.foot-brand p { font-size: var(--t-small); color: var(--text-lo); max-width: 36ch; }
.foot-col h3 {
  font-family: var(--font-body); font-size: var(--t-micro); font-weight: 800;
  letter-spacing: .14em; color: var(--text-accent); margin-bottom: 1rem;
}
.foot-col li + li { margin-top: .6rem; }
.foot-col a { font-size: var(--t-small); color: var(--text-lo);
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .45rem;
  min-height: 30px; padding-block: 2px;
  transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--text-hi); }
.foot-col .tag { font-size: var(--t-micro); color: var(--text-accent); font-weight: 800; }

/* Course name + price stack, so a narrow footer column can never wrap the
   name mid-phrase — and it makes a taller tap target. */
.foot-col--courses a {
  flex-direction: column; align-items: flex-start; gap: .1rem;
  line-height: 1.35; min-height: 40px;
}

.foot-legal {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.foot-legal .disc { font-size: var(--t-micro); color: var(--text-lo);
  line-height: 1.65; max-width: 90ch; }
.foot-legal .disc + .disc { margin-top: .7rem; }
/* Links inside the disclaimer must look like links — colour alone is not
   enough, so they carry an underline too. */
.foot-legal .disc a {
  color: var(--text-accent); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  font-weight: 700;
}
.foot-legal .disc a:hover { color: var(--text-hi); }
.foot-bottom {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: var(--t-micro); color: var(--text-lo);
}

/* ---------- 23. FLOATING / STICKY ---------------------------------------- */
.wa-float {
  position: fixed; right: clamp(1rem, .5rem + 1vw, 1.75rem);
  bottom: clamp(1rem, .5rem + 1vw, 1.75rem);
  z-index: 90;
  width: 56px; height: 56px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: #25D366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              opacity .3s var(--ease), visibility .3s var(--ease);
}
/* Hidden over the hero so it never sits on top of a hero link. */
.js .wa-float[data-show="false"] {
  opacity: 0; visibility: hidden; transform: scale(.85);
}
.wa-float svg { width: 27px; height: 27px; fill: #062D17; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 16px 38px -8px rgba(37,211,102,.8); }

.buybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 95;
  display: none; align-items: center; gap: .9rem;
  padding: .75rem clamp(.85rem, .5rem + 1vw, 1.25rem);
  padding-bottom: max(.75rem, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-page) 95%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line-accent);
  transform: translateY(105%);
  transition: transform .4s var(--ease);
}
.buybar[data-show="true"] { transform: none; }
.buybar .txt { flex: 1; min-width: 0; }
.buybar .txt b { display: block; color: var(--text-hi); font-size: .9rem;
  font-weight: 800; line-height: 1.25; }
.buybar .txt span { display: block; font-size: var(--t-micro); color: var(--text-lo);
  line-height: 1.3; }
@media (max-width: 400px) { .buybar .txt span { display: none; } }
.buybar .btn { min-height: 48px; padding: .7rem 1.15rem; font-size: .92rem; flex: none; }
.bar-wa {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: var(--r-pill);
  background: #25D366;
}
.bar-wa svg { width: 23px; height: 23px; fill: #062D17; }

/* ---------- 24. SCROLL REVEAL -------------------------------------------- */
/* Scroll reveals are a .js enhancement — without JS everything is simply visible. */
.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .rule { transform: scaleX(0); transition: transform .5s var(--ease) .08s; }
[data-reveal].is-in .rule, .is-in > .rule { transform: scaleX(1); }

/* ---------- 25. RESPONSIVE ----------------------------------------------- */
@media (max-width: 1040px) {
  /* Copy leads on every stacked layout — the portrait must never occupy
     the first screen before the headline has been read. */
  .hero { padding-block: clamp(2rem,1rem+3vw,3rem) clamp(2.5rem,1rem+4vw,4rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { max-width: 18ch; }
  .hero-figure { max-width: 420px; margin-inline: auto; }
  .hero-badge { left: auto; right: 0; bottom: 2%; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-figure { max-width: 380px; margin-inline: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .buybar { display: flex; }
  /* The sticky bar carries WhatsApp on mobile, so the floating bubble is
     dropped — it was sitting on top of body copy. */
  .wa-float { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 861px) { .drawer { display: none; } }

@media (max-width: 560px) {
  /* Portrait is decoration on a navigation page — don't let it eat a screen. */
  .hero-figure { max-width: 300px; }
  .hero-deck { font-size: 1.06rem; padding-left: .9rem; }
  .hero-lead { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .tlink { justify-content: center; }
  .final-actions { flex-direction: column; align-items: stretch; }
  .final-actions .btn { width: 100%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
}

/* ---------- 26. REDUCED MOTION ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rule { transform: scaleX(1) !important; }
  .hero-figure img { transform: none !important; }
  .reveal-lines > span { clip-path: none !important; transform: none !important; }
  .hero-bg .glow { animation: none !important; }
}

/* ---------- 27. PRINT ---------------------------------------------------- */
@media print {
  .site-header, .drawer, .wa-float, .buybar, .hero-bg, .capture { display: none !important; }
  body { background: #fff; color: #000; }
}
