/* ============================================================
   OBM SYSTEM — bespoke stylesheet · v2
   Mobile-first · No gradient text · Accessible cursor
   Palette : Navy #0B1E3F · Silver #C8CCD4 · Gold #C9A961
   Display : Clash Display · Body : Switzer · Accent : JetBrains Mono
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #050B1F;
  --navy-900: #0A1428;
  --navy-800: #0B1E3F;
  --navy-700: #122A52;
  --navy-600: #1A3868;
  --navy-500: #2A4A82;

  --silver-300: #C8CCD4;
  --silver-200: #DDE0E6;
  --silver-100: #ECEEF2;

  --gold-800: #8F6E2E;
  --gold-700: #A88842;
  --gold-600: #C9A961;
  --gold-500: #D4B97A;
  --gold-400: #E0CB9A;
  /* High-contrast gold reserved for small text on light backgrounds */
  --gold-text: #8F6E2E;

  --ivory: #FAF8F3;
  --bone: #F4F1EA;
  --paper: #FFFFFF;

  --ink-900: #0A1428;
  --ink-700: #1F2A44;
  --ink-500: #5A6378;
  --ink-400: #8089A0;
  --ink-300: #B0B6C5;

  /* Surfaces */
  --bg: var(--paper);
  --bg-alt: var(--ivory);
  --bg-dark: var(--navy-950);
  --bg-dark-2: var(--navy-900);

  /* Type */
  --font-display: "Clash Display", "Cabinet Grotesk", -apple-system, system-ui, sans-serif;
  --font-body: "Switzer", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Fluid type scale */
  --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.25vw, 0.92rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.4vw, 1.06rem);
  --text-lg: clamp(1.05rem, 0.98rem + 0.55vw, 1.2rem);
  --text-xl: clamp(1.2rem, 1.05rem + 0.8vw, 1.45rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.4vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 2.85rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 4vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
  --text-hero: clamp(2.65rem, 1.6rem + 5.6vw, 5.6rem);

  /* Spacing — 4pt scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --section-pad: clamp(72px, 9vw, 144px);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(10, 20, 40, 0.06), 0 1px 1px rgba(10, 20, 40, 0.03);
  --sh-md: 0 8px 24px -8px rgba(10, 20, 40, 0.12), 0 2px 6px rgba(10, 20, 40, 0.06);
  --sh-lg: 0 24px 60px -20px rgba(10, 20, 40, 0.18), 0 8px 20px -8px rgba(10, 20, 40, 0.08);
  --sh-gold: 0 12px 36px -8px rgba(201, 169, 97, 0.4), 0 4px 12px -4px rgba(168, 136, 66, 0.25);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Container */
  --container: 1240px;
  --container-pad: clamp(20px, 4vw, 48px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold-600); color: var(--navy-900); }

/* Focus-visible — visible on all interactive surfaces */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--navy-900);
  color: var(--paper);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: top .25s var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section__header {
  max-width: 760px;
  margin-bottom: clamp(40px, 7vw, 88px);
}
.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
  padding: 6px 14px;
  border: 1px solid rgba(10, 20, 40, 0.14);
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-700);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
}
.eyebrow--gold {
  color: var(--gold-text);
  border-color: rgba(143, 110, 46, 0.32);
  background: rgba(143, 110, 46, 0.06);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-4xl);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
.section__title em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-500);
  font-family: var(--font-display);
}
.section__title--sm { font-size: var(--text-3xl); }

.section__lead {
  margin-top: 18px;
  color: var(--ink-500);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 640px;
  text-wrap: pretty;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  position: relative;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
  white-space: nowrap;
  cursor: pointer;
  min-height: 44px;
}
.btn--lg { padding: 17px 28px; font-size: 0.95rem; min-height: 52px; }
.btn--full { width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-600) 50%, var(--gold-700) 100%);
  color: var(--navy-900);
  box-shadow: var(--sh-gold), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -8px rgba(201, 169, 97, 0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--gold:active { transform: translateY(0); }

.btn--ghost {
  color: var(--ink-900);
  background: rgba(10, 20, 40, 0.04);
  border: 1px solid rgba(10, 20, 40, 0.12);
}
.btn--ghost:hover {
  background: var(--ink-900);
  color: var(--paper);
  border-color: var(--ink-900);
  transform: translateY(-2px);
}

.btn--ghost-light {
  color: var(--paper);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--navy-900);
  border-color: var(--paper);
  transform: translateY(-2px);
}

/* ============================================================
   DECORATIVE CURSOR (desktop · NON-blocking · complements native cursor)
   The native browser cursor REMAINS VISIBLE. This is a subtle gold ring layer
   that lags behind for visual polish — fully optional, never replaces the cursor.
   ============================================================ */
.cursor {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
@media (hover: hover) and (pointer: fine) {
  @media (prefers-reduced-motion: no-preference) {
    .cursor { display: block; }
  }
}
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1.5px solid rgba(201, 169, 97, 0.45);
  border-radius: 50%;
  /* Start far off-screen so no corner artifact shows before first pointer move */
  transform: translate(-9999px, -9999px);
  opacity: 0;
  transition: opacity .25s ease, width .3s var(--ease-out), height .3s var(--ease-out), border-color .25s ease, background-color .25s ease;
  mix-blend-mode: multiply;
}
.cursor.is-ready .cursor__ring { opacity: 1; }
.cursor.is-hover .cursor__ring {
  width: 52px; height: 52px;
  border-color: var(--gold-600);
  background: rgba(201, 169, 97, 0.06);
}
.cursor.is-dark .cursor__ring {
  border-color: rgba(212, 185, 122, 0.55);
  mix-blend-mode: screen;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(10,20,40,0.06);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  transition: color .25s ease;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
  letter-spacing: 0.04em;
  transition: color .25s ease;
}
.nav__logo-name em {
  font-style: normal;
  font-weight: 500;
  color: var(--silver-300);
  transition: color .25s ease;
}
.nav__logo-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-top: 3px;
  transition: color .25s ease;
}
/* When nav scrolls onto the light content, text flips to dark */
.nav.is-scrolled .nav__logo,
.nav.is-scrolled .nav__logo-name { color: var(--navy-800); }
.nav.is-scrolled .nav__logo-name em { color: var(--ink-500); }
.nav.is-scrolled .nav__logo-tag { color: var(--gold-text); }

.nav__links { display: none; }
.nav__cta { display: none; }

.nav__burger {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--r-md);
  justify-self: end;
}
.nav__burger span {
  width: 22px; height: 1.6px;
  background: var(--paper);
  transition: transform .3s ease, opacity .2s ease, background-color .25s ease;
  display: block;
}
.nav.is-scrolled .nav__burger span { background: var(--navy-800); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — class-based toggle, only active below 920px */
.nav__mobile { display: none; }
@media (max-width: 919px) {
  .nav__mobile {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--paper);
    padding: 24px 20px 48px;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
    box-shadow: 0 10px 30px -8px rgba(10, 20, 40, 0.12);
  }
  .nav__mobile.is-open {
    display: flex;
    animation: slideDown .3s var(--ease-out);
  }
  .nav__mobile a {
    padding: 16px 18px;
    border-radius: var(--r-md);
    font-size: var(--text-lg);
    font-weight: 500;
    border-bottom: 1px solid rgba(10,20,40,0.06);
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .nav__mobile .btn { margin-top: 16px; min-height: 56px; font-size: 1rem; }
}
@media (min-width: 920px) {
  .nav__mobile { display: none !important; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 920px) {
  .nav__links {
    display: flex;
    gap: 6px;
    justify-content: center;
  }
  .nav__links a {
    padding: 10px 16px;
    border-radius: var(--r-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--silver-200);
    transition: color .25s ease, background-color .25s ease;
  }
  .nav__links a:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.08);
  }
  .nav.is-scrolled .nav__links a { color: var(--ink-700); }
  .nav.is-scrolled .nav__links a:hover { color: var(--navy-800); background: rgba(10, 20, 40, 0.04); }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* ============================================================
   HERO — diagnostic-first, dark mode
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(110px, 13vw, 160px) 0 clamp(72px, 9vw, 120px);
  background: radial-gradient(ellipse 100% 90% at 70% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--silver-200);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 35%, transparent 80%);
}
/* Subtle radial vignette replaces the blurry glow blobs (AI tell removed).
   Single soft warm spot top-right, no animation, no blur theatrics. */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 78% 18%, rgba(201, 169, 97, 0.10), transparent 65%),
    radial-gradient(ellipse 60% 50% at 12% 88%, rgba(42, 74, 130, 0.18), transparent 60%);
  pointer-events: none;
}

.hero__marker { display: none !important; }
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
}

.hero__pretitle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding: 8px 16px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--r-pill);
  background: rgba(201, 169, 97, 0.06);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .7s var(--ease-out) .15s forwards;
}
.hero__pretitle .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-700);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.05); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: 14ch;
  text-wrap: balance;
  /* belt-and-suspenders so words never break mid-character */
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--gold-500);
  font-style: italic;
  font-weight: 500;
}
.hero__underline {
  position: absolute;
  left: 0; right: 0;
  bottom: -0.08em;
  width: 100%;
  height: 0.18em;
  color: var(--gold-600);
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.2s var(--ease-out) 1s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__sub {
  margin-top: 22px;
  max-width: 540px;
  font-size: var(--text-lg);
  color: var(--silver-300);
  line-height: 1.55;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .7s var(--ease-out) .55s forwards;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 32px;
  font-size: var(--text-sm);
  color: var(--silver-300);
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) .85s forwards;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg { color: var(--gold-500); flex-shrink: 0; }

.hero__skip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  align-self: flex-start;
  padding: 8px 14px 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .7s var(--ease-out) 1.05s forwards;
  transition: color .25s ease, transform .25s ease;
}
.hero__skip:hover {
  color: var(--gold-500);
  transform: translateY(0) translateX(3px);
}
.hero__skip svg { transition: transform .25s ease; }
.hero__skip:hover svg { transform: translateX(4px); }

/* ---- Diagnostic wrapper inside the hero ---- */
.hero__diag-wrap {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .9s var(--ease-out) .45s forwards;
}
.hero__diag-wrap .diag__app {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  /* Solid dark card — no glassmorphism, no backdrop-filter (AI tell removed) */
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-2xl);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.06) inset;
  min-height: 0;
}
/* Tighter intro inside hero */
.hero__diag-wrap .diag__intro-icon { width: 56px; height: 56px; margin-bottom: 18px; }
.hero__diag-wrap .diag__intro-icon svg { width: 28px; height: 28px; }
.hero__diag-wrap .diag__intro-title { font-size: var(--text-xl); }
.hero__diag-wrap .diag__intro-text { font-size: var(--text-base); margin-bottom: 24px; }
.hero__diag-wrap .diag__panel--intro { padding: 6px 4px; }

/* Editorial side marker (desktop only) — fills the empty right column */
.hero__marker { display: none; }
@media (min-width: 1024px) {
  .hero__marker {
    position: absolute;
    top: 50%;
    right: clamp(28px, 4vw, 56px);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    text-align: right;
    max-width: 220px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) 1.2s forwards;
    pointer-events: none;
  }
  .hero__marker-id {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-text);
    padding: 5px 10px;
    border: 1px solid rgba(143, 110, 46, 0.32);
    border-radius: var(--r-pill);
    background: rgba(143, 110, 46, 0.05);
  }
  .hero__marker-rule {
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-700));
    position: relative;
  }
  .hero__marker-rule::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--gold-700);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .hero__marker-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--ink-700);
    letter-spacing: -0.005em;
  }
  .hero__marker-text em {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-500);
  }
  .hero__marker-mark {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-400);
    padding-top: 8px;
    border-top: 1px dashed rgba(10, 20, 40, 0.18);
    width: 100%;
    text-align: right;
  }
}

/* Tighten hero vertical rhythm */
.hero { padding: clamp(100px, 12vw, 160px) 0 clamp(72px, 9vw, 110px); }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0;
  animation: fadeUp .7s var(--ease-out) 1.4s forwards;
}
@media (min-width: 720px) { .hero__scroll { display: inline-flex; } }
.hero__scroll-bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gold-600) 0%, transparent 100%);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Each word stays atomic — chars inside still animate individually */
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%) rotateX(-30deg);
  transform-origin: 50% 100%;
  animation: charIn .7s var(--ease-out) forwards;
}
@keyframes charIn { to { opacity: 1; transform: translateY(0) rotateX(0); } }

/* ============================================================
   MARQUEE — typographic ticker (subtle, no card-like feel)
   ============================================================ */
.marquee {
  background: var(--navy-900);
  color: var(--silver-200);
  padding: 18px 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.04);
}
.marquee__track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: -0.005em;
  opacity: 0.92;
}
.marquee__track span:nth-child(even) { color: var(--gold-500); opacity: 0.55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROBLEMS — varied editorial bento
   ============================================================ */
.problems {
  padding: var(--section-pad) 0;
  background: var(--paper);
}
.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.problem {
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  border: 1px solid rgba(10,20,40,0.06);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.problem::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-600), transparent);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out);
}
.problem:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(201, 169, 97, 0.3);
}
.problem:hover::before { transform: translateX(0); }

.problem__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-text);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 500;
}
.problem h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.problem p {
  color: var(--ink-500);
  font-size: var(--text-base);
  line-height: 1.55;
}
.problem--lg {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--silver-200);
  border-color: transparent;
}
.problem--lg h3 { color: var(--paper); font-size: var(--text-2xl); }
.problem--lg p { color: var(--silver-300); }
.problem--lg .problem__num { color: var(--gold-500); }

@media (min-width: 640px) {
  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (min-width: 960px) {
  .problems__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .problem--lg { grid-column: span 2; }
  .problem--wide { grid-column: span 2; }
  .problem { padding: 32px; }
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  position: relative;
}
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  container-type: inline-size;
}
.pillar {
  padding: 28px 24px;
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1px solid rgba(10,20,40,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.pillar--featured {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--silver-200);
  border-color: transparent;
}
.pillar--featured::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 70%);
  pointer-events: none;
}

.pillar__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.pillar__index { display: flex; flex-direction: column; gap: 2px; }
.pillar__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--gold-text);
  letter-spacing: 0.1em;
}
.pillar--featured .pillar__num { color: var(--gold-500); }
.pillar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.pillar--featured .pillar__label { color: var(--silver-300); opacity: 0.7; }

.pillar__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pillar--featured .pillar__icon {
  background: rgba(201, 169, 97, 0.18);
  color: var(--gold-500);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.pillar--featured h3 { color: var(--paper); }

.pillar__lead {
  font-size: var(--text-lg);
  color: var(--ink-500);
  font-weight: 500;
}
.pillar--featured .pillar__lead { color: var(--silver-300); }

.pillar__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(10,20,40,0.06);
}
.pillar--featured .pillar__list { border-top-color: rgba(255,255,255,0.08); }
.pillar__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-base);
  color: var(--ink-700);
}
.pillar--featured .pillar__list li { color: var(--silver-200); }
.pillar__list li::before {
  content: "";
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold-600);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M3 8.5l3.5 3.5L13.5 5'/></svg>") center / 70% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'><path d='M3 8.5l3.5 3.5L13.5 5'/></svg>") center / 70% no-repeat;
}

@media (min-width: 760px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pillar { padding: 36px; }
}

/* ============================================================
   DIAGNOSTIC — interactive lead magnet (rendered inside the hero)
   Note: the standalone <section class="diag"> was removed; only the
   internal component styles (.diag__app, .diag__panel, …) remain.
   ============================================================ */
.diag__app {
  position: relative;
  /* Outer wrapper rules (bg, border, shadow) are applied via
     .hero__diag-wrap .diag__app — see the HERO block above. */
}

/* ---- Panels (swap with .is-active) ---- */
.diag__panel {
  display: none;
  animation: diagPanelIn .5s var(--ease-out);
}
.diag__panel.is-active { display: block; }
@keyframes diagPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- INTRO ---- */
.diag__panel--intro {
  text-align: center;
  padding: 16px 8px;
}
.diag__intro-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.12);
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.diag__intro-icon svg { width: 36px; height: 36px; }
.diag__intro-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--paper);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.diag__intro-text {
  color: var(--silver-300);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.diag__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-300);
}

/* ---- QUESTION PANEL ---- */
.diag__panel--question {
  padding: 4px 4px 8px;
}
.diag__panel-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.diag__step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.diag__progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.diag__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
  border-radius: var(--r-pill);
  transition: width .5s var(--ease-out);
}

.diag__question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 28px;
  text-wrap: balance;
}

.diag__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.diag__option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  color: var(--silver-200);
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease-out);
  cursor: pointer;
  min-height: 56px;
}
.diag__option:hover {
  background: rgba(201, 169, 97, 0.06);
  border-color: rgba(201, 169, 97, 0.35);
  transform: translateX(2px);
}
.diag__option:active { transform: translateX(0) scale(0.99); }
.diag__option-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--paper);
  letter-spacing: -0.005em;
}
.diag__option-desc {
  font-size: var(--text-sm);
  color: var(--silver-300);
  opacity: 0.85;
  line-height: 1.4;
}

.diag__back {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0.65;
  transition: opacity .2s ease;
  padding: 8px 0;
}
.diag__back:hover { opacity: 1; }

@media (min-width: 640px) {
  .diag__panel-header {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .diag__step-label { flex-shrink: 0; min-width: 130px; }
}

/* ---- RESULT PANEL — editorial typographic score (no gauge circle) ---- */
.diag__panel--result { padding: 4px; }

.diag__result-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.diag__result-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 8px;
}
.diag__result-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 9vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--gold-500);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.diag__result-num > span:first-child {
  display: inline-block;
  min-width: 2ch;
}
.diag__result-unit {
  font-size: 0.32em;
  font-weight: 500;
  color: var(--ink-300);
  letter-spacing: 0;
  margin-left: 4px;
}
.diag__verdict-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 8px;
  text-transform: none;
}
.diag__verdict-text {
  color: var(--silver-300);
  font-size: var(--text-base);
  line-height: 1.55;
  max-width: 56ch;
}

@media (min-width: 640px) {
  .diag__result-top {
    grid-template-columns: auto 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
  }
  .diag__result-verdict { padding-bottom: 4px; }
}

.diag__insights {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl);
  margin-bottom: 32px;
}
.diag__insights h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.diag__insights ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: insight;
  list-style: none;
}
.diag__insights li {
  position: relative;
  padding-left: 36px;
  color: var(--silver-200);
  font-size: var(--text-base);
  line-height: 1.55;
  counter-increment: insight;
}
.diag__insights li::before {
  content: counter(insight, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-text);
  letter-spacing: 0.08em;
}

.diag__cta-block {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.diag__cta-block h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--paper);
  margin: 24px 0 8px;
  letter-spacing: -0.01em;
}
.diag__cta-block > p {
  color: var(--silver-300);
  font-size: var(--text-base);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 480px;
  margin-inline: auto;
}

.diag__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}
.diag__form .field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--paper);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
  min-height: 44px;
}
.diag__form .field input:focus {
  outline: none;
  border-color: var(--gold-600);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.12);
}
.diag__form .field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0.85;
  margin-bottom: 6px;
  display: block;
}

@media (min-width: 540px) {
  .diag__form { grid-template-columns: 1fr 1fr; }
}

.diag__form-success {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: var(--r-xl);
  color: var(--paper);
  max-width: 520px;
  margin: 0 auto;
}
.diag__form-success svg { color: var(--gold-500); margin: 0 auto 14px; }
.diag__form-success h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  margin-bottom: 6px;
}
.diag__form-success p { color: var(--silver-300); margin-bottom: 16px; font-size: var(--text-sm); }

.diag__restart {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0.6;
  transition: opacity .2s ease;
  padding: 8px 14px;
}
.diag__restart:hover { opacity: 1; }

/* ============================================================
   ENGINE (signature scroll moment)
   ============================================================ */
.engine {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.7);
  background: var(--bg-dark);
  color: var(--silver-200);
  position: relative;
  overflow: hidden;
}
.engine::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.engine .section__title { color: var(--paper); }
.engine .section__title em { color: var(--silver-300); }
.engine .section__lead { color: var(--silver-300); }
.engine .eyebrow {
  color: var(--gold-500);
  border-color: rgba(201, 169, 97, 0.3);
  background: rgba(201, 169, 97, 0.06);
}
.engine .eyebrow::before { background: var(--gold-500); }

.engine__stage {
  margin-top: 40px;
  position: relative;
}
.engine__sticky {
  position: relative;
  padding: 40px 0;
}

.engine__flow {
  position: absolute;
  left: 26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}
.engine__line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--gold-600) 12%, var(--gold-600) 88%, transparent 100%);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform .15s linear;
}

.engine__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.engine__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.engine__step.is-visible {
  opacity: 1; transform: translateY(0);
}

.engine__node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--silver-300);
  position: relative;
  z-index: 2;
  transition: background .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.engine__step.is-visible .engine__node {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  border-color: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.15), 0 12px 36px -8px rgba(201, 169, 97, 0.4);
}
.engine__node--gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700)) !important;
  border-color: var(--gold-500) !important;
  color: var(--navy-900) !important;
}

.engine__content { max-width: 540px; }
.engine__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--paper);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.engine__content p {
  color: var(--silver-300);
  font-size: var(--text-base);
  line-height: 1.55;
}

@media (min-width: 880px) {
  .engine__flow { left: 50%; transform: translateX(-50%); }
  .engine__steps { padding-inline: 0; }
  .engine__step {
    grid-template-columns: 1fr 56px 1fr;
    align-items: center;
    gap: clamp(20px, 4vw, 56px);
  }
  /* The node always sits dead-center on the timeline */
  .engine__node { grid-column: 2; justify-self: center; }
  /* Odd steps → content reads from the LEFT */
  .engine__step:nth-child(odd) .engine__content {
    grid-column: 1;
    text-align: right;
    justify-self: end;
  }
  /* Even steps → content reads from the RIGHT */
  .engine__step:nth-child(even) .engine__content {
    grid-column: 3;
    text-align: left;
    justify-self: start;
  }
}

/* ---- OUTCOMES (replaces metric grid; no gradient text) ---- */
.outcomes {
  margin-top: clamp(56px, 8vw, 96px);
  max-width: 1000px;
  margin-inline: auto;
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.outcomes__lead {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.outcomes__list {
  display: grid;
  gap: 4px;
}
.outcomes__row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 16px;
  padding-block: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.outcomes__row:last-child { border-bottom: none; }
.outcomes__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-400);
  align-self: start;
  padding-top: 6px;
}
.outcomes__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-500);
  letter-spacing: -0.03em;
  min-width: 2.4ch;
}
.outcomes__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--silver-200);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

@media (max-width: 540px) {
  .outcomes__row {
    grid-template-columns: auto 1fr;
    row-gap: 6px;
  }
  .outcomes__index { grid-column: 1; }
  .outcomes__value { grid-column: 2; }
  .outcomes__text { grid-column: 1 / -1; }
}

/* ============================================================
   TREATMENTS — editorial directory list
   ============================================================ */
.treatments {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.directory {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10,20,40,0.12);
  container-type: inline-size;
}
.directory__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: clamp(14px, 3vw, 32px);
  row-gap: 8px;
  padding-block: clamp(22px, 3.5vw, 32px);
  border-bottom: 1px solid rgba(10,20,40,0.12);
  position: relative;
  transition: background-color .35s ease;
}
.directory__row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--gold-700);
  transition: width .55s var(--ease-out);
}
.directory__row:hover,
.directory__row:focus-within {
  background: linear-gradient(180deg, rgba(201,169,97,0.04), transparent);
}
.directory__row:hover::after,
.directory__row:focus-within::after {
  width: 100%;
}

.directory__index {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.08em;
  color: var(--ink-400);
  padding-top: 8px;
}
.directory__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  transition: transform .5s var(--ease-out), color .25s ease;
  transform-origin: left center;
}
.directory__row:hover .directory__name,
.directory__row:focus-within .directory__name {
  transform: translateX(6px);
  color: var(--navy-800);
}

.directory__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  align-self: center;
  white-space: nowrap;
}
.directory__tag[data-tier="prime"] {
  color: var(--gold-text);
  background: rgba(143, 110, 46, 0.08);
  border: 1px solid rgba(143, 110, 46, 0.25);
}
.directory__tag[data-tier="long"] {
  color: var(--navy-700);
  background: rgba(11, 30, 63, 0.06);
  border: 1px solid rgba(11, 30, 63, 0.15);
}
.directory__tag[data-tier="entry"] {
  color: var(--ink-500);
  background: rgba(10, 20, 40, 0.04);
  border: 1px solid rgba(10, 20, 40, 0.12);
}
.directory__tag[data-tier="recurrent"] {
  color: var(--navy-700);
  background: rgba(11, 30, 63, 0.06);
  border: 1px solid rgba(11, 30, 63, 0.15);
}

.directory__desc {
  grid-column: 2 / 4;
  color: var(--ink-500);
  font-size: var(--text-base);
  line-height: 1.55;
  max-width: 64ch;
  margin-top: 4px;
}

/* Desktop: description hidden by default, revealed on hover/focus */
@container (min-width: 720px) {
  .directory__desc {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height .55s var(--ease-out), opacity .35s ease, margin-top .35s ease;
  }
  .directory__row:hover .directory__desc,
  .directory__row:focus-within .directory__desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .directory__row { grid-template-columns: auto 1fr; }
  .directory__tag {
    grid-column: 1 / -1;
    justify-self: start;
    align-self: start;
  }
  .directory__desc { grid-column: 1 / -1; }
}

/* ============================================================
   WHY (split sticky comparison)
   ============================================================ */
.why {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}
.why__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.why__sticky p {
  margin: 18px 0 24px;
  color: var(--ink-500);
  font-size: var(--text-lg);
  line-height: 1.55;
}
.why__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.why__col {
  padding: 24px;
  border-radius: var(--r-lg);
  position: relative;
}
.why__col--bad {
  background: var(--paper);
  border: 1px solid rgba(10,20,40,0.08);
  opacity: 0.7;
}
.why__col--good {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--silver-200);
  position: relative;
  overflow: hidden;
}
.why__col--good::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.2), transparent 70%);
  pointer-events: none;
}
.why__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: block;
  margin-bottom: 12px;
}
.why__col--good .why__tag { color: var(--gold-500); }
.why__col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.why__col--good h3 { color: var(--paper); }
.why__col p {
  font-size: var(--text-sm);
  color: var(--ink-500);
  line-height: 1.55;
}
.why__col--good p { color: var(--silver-300); }

@media (min-width: 720px) {
  .why__row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why__col { padding: 28px; }
}
@media (min-width: 960px) {
  .why__container {
    grid-template-columns: 380px 1fr;
    gap: clamp(48px, 6vw, 80px);
  }
  .why__sticky {
    position: sticky;
    top: 120px;
  }
}

/* ============================================================
   STAGES — editorial process list (replaces card grid)
   ============================================================ */
.process {
  padding: var(--section-pad) 0;
  background: var(--paper);
}

.stages {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(10,20,40,0.12);
}
.stages__row {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: 10px;
  padding-block: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(10,20,40,0.12);
  position: relative;
}
.stages__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
  color: var(--ink-300);
  letter-spacing: -0.04em;
  transition: color .35s ease;
}
.stages__row:hover .stages__num,
.stages__row:focus-within .stages__num {
  color: var(--gold-700);
}
.stages__body { max-width: 64ch; }
.stages__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 8px;
}
.stages__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.1;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.stages__body p {
  color: var(--ink-500);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 62ch;
}
.stages__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  align-self: start;
  padding-top: 8px;
  margin-top: 8px;
}
.stages__time em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-family: var(--font-mono);
}

@media (min-width: 880px) {
  .stages__row {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    column-gap: clamp(28px, 4vw, 56px);
  }
  .stages__time {
    text-align: right;
    align-items: flex-end;
    margin-top: 0;
    min-width: 120px;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}
.faq__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq__item {
  background: var(--paper);
  border: 1px solid rgba(10,20,40,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq__item[open] {
  border-color: rgba(201, 169, 97, 0.3);
  box-shadow: var(--sh-md);
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy-900);
  letter-spacing: -0.005em;
  line-height: 1.35;
  min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-text);
  transition: transform .35s var(--ease-out), background-color .25s ease, color .25s ease;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--gold-600);
  color: var(--paper);
}
.faq__answer {
  padding: 0 22px 24px;
  color: var(--ink-500);
  line-height: 1.6;
  font-size: var(--text-base);
}
.faq__answer p { animation: faqIn .4s var(--ease-out); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 880px) {
  .faq__container { grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 6vw, 80px); }
  .faq__item summary { padding: 22px 26px; }
  .faq__answer { padding: 0 26px 26px; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--silver-200);
  position: relative;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
}
.cta__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 65%);
  filter: blur(60px);
}

.cta__inner {
  position: relative;
  text-align: center;
  max-width: 760px;
}
.cta .eyebrow {
  color: var(--gold-500);
  border-color: rgba(201, 169, 97, 0.3);
  background: rgba(201, 169, 97, 0.06);
}
.cta .eyebrow::before { background: var(--gold-500); }

.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-4xl);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.cta__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-500);
}
.cta__lead {
  margin-top: 20px;
  font-size: var(--text-lg);
  color: var(--silver-300);
  line-height: 1.55;
  text-wrap: pretty;
}
.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta__form-wrap {
  margin: 56px auto 0;
  max-width: 640px;
  text-align: left;
  position: relative;
}
.cta__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-300);
  opacity: 0.9;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--paper);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
  resize: vertical;
  min-height: 44px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.12);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(221, 224, 230, 0.4); }
.field__hint {
  margin-top: 10px;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--silver-300);
  opacity: 0.75;
}

.cta__form-success {
  text-align: center;
  padding: 56px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--r-2xl);
  color: var(--paper);
  animation: fadeUp .5s var(--ease-out);
}
.cta__form-success svg { color: var(--gold-500); margin: 0 auto 18px; }
.cta__form-success h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  margin-bottom: 8px;
}
.cta__form-success p { color: var(--silver-300); margin-bottom: 22px; }

@media (min-width: 560px) {
  .cta__form { grid-template-columns: 1fr 1fr; padding: 32px; gap: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: var(--silver-300);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer__brand p {
  margin-top: 14px;
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 360px;
  color: var(--ink-300);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--paper);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: var(--text-sm);
  color: var(--silver-300);
  padding: 6px 0;
  transition: color .2s ease, transform .2s ease;
}
.footer__col a:hover {
  color: var(--gold-500);
  transform: translateX(2px);
}
.footer__note {
  margin-top: 8px;
  font-size: var(--text-xs);
  color: var(--ink-300);
  opacity: 0.7;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-xs);
  color: var(--ink-300);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

@media (min-width: 600px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 56px; }
}
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; padding-top: 16px; }
  .footer { padding-top: 80px; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
}

/* ============================================================
   FAB (WhatsApp floating)
   ============================================================ */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5);
  z-index: 98;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
  animation: fabPulse 2.4s ease-in-out infinite;
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.65);
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
