/* ================================================================
   Taylo — Design System
   Palette:  Deep ocean black · Amber accent (disciplined)
   Font:     Inter
   Rule:     Amber on max 2 headlines. Zero badge clutter.
             Section padding 120px. Emptier = better.
================================================================ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --bg-base:    #04060a;
  --bg-01:      #080c12;
  --bg-02:      #0c1018;
  --bg-03:      #101520;
  --bg-04:      #141a26;
  --bg-05:      #1a2030;

  --amber-500:  #f5a623;
  --amber-400:  #f7bc55;
  --amber-300:  #fcd47a;
  --amber-600:  #d4891a;

  --text-primary:   #f0f4f8;
  --text-secondary: #8a9ab0;
  --text-tertiary:  #566070;
  --text-inverse:   #04060a;

  --border-subtle: rgba(255,255,255,0.05);
  --border-medium: rgba(255,255,255,0.09);
  --border-bright: rgba(255,255,255,0.15);
  --border-amber:  rgba(245,166,35,0.22);
  --border-amber-bright: rgba(245,166,35,0.45);

  --pass:  #34d399;
  --warn:  #fbbf24;
  --fail:  #f87171;

  --ga: #34d399;
  --gb: #60a5fa;
  --gc: #fbbf24;
  --gd: #fb923c;
  --gf: #f87171;

  --max-w:  1200px;
  --nav-h:  64px;

  --r-xs: 4px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl:24px;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-med:  250ms;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  /* Micro-gradient bg cycle: #0A0B0F → #08090C → #0A0B0F per spec */
  background-color: #0A0B0F;
  animation: bg-breathe 12s ease-in-out infinite;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@keyframes bg-breathe {
  0%, 100% { background-color: #0A0B0F; }
  50%       { background-color: #08090C; }
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SELECTION + SCROLLBAR ───────────────────────────────────── */
::selection { background: rgba(245,166,35,0.2); color: var(--text-primary); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(245,166,35,0.18); border-radius: 3px; }
:focus-visible { outline: 2px solid rgba(245,166,35,0.5); outline-offset: 2px; }

/* ════════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* opacity starts at 0 — sweep.js reveals it at 2.0s */
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), opacity 400ms ease;
  border-bottom: 1px solid transparent;
  will-change: opacity;
}
.navbar.scrolled {
  background: rgba(4,6,10,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
/* SVG glyph wrapper — 24px tall to match spec (transition overridden below) */
/* Arc rotates 3° clockwise on hover (updated spec) */
.nav-logo-arc {
  transform-origin: 12px 12px; /* SVG center */
  transform-box: fill-box;
  transition: transform 300ms ease-out;
}
.nav-logo:hover .nav-logo-arc {
  transform: rotate(3deg);
}
/* Hover: center dot glow 30→60% over 250ms per spec */
.nav-logo-glyph {
  display: block;
  width: 24px; height: 24px; flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255,181,71,0.30));
  transition: filter 250ms ease-out;
}
.nav-logo:hover .nav-logo-glyph {
  filter: drop-shadow(0 0 8px rgba(255,181,71,0.60));
}
.nav-logo-wordmark {
  font-size: 16px;
  font-weight: 550;
  color: #F5F4EE;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px; font-weight: 450;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-cta--primary {
  font-size: 14px; font-weight: 600;
  color: #04060a;
  padding: 7px 18px;
  border-radius: var(--r-sm);
  background: var(--amber-500);
  transition: all var(--t-fast);
  box-shadow: 0 0 16px rgba(245,166,35,0.28);
  /* Ensure vertical centering in nav-actions flex container */
  display: inline-flex; align-items: center; line-height: 1;
}
.nav-cta--primary:hover {
  background: var(--amber-400);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(245,166,35,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-medium);
}
.hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-secondary); border-radius: 2px;
  transition: all var(--t-med);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(4,6,10,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block; font-size: 15px; font-weight: 450;
  color: var(--text-secondary);
  padding: 10px 12px; border-radius: var(--r);
  transition: all var(--t-fast);
}
.mobile-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.mobile-link-cta {
  margin-top: 8px; color: #04060a;
  background: var(--amber-500); border-radius: var(--r);
  padding: 12px; text-align: center; font-weight: 600;
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
}

/* ════════════════════════════════════════════════════════════════
   HERO — section 1
════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 120px;
  overflow: hidden;
  /* Contain the hero stacking context so scanner card glow/shadow
     never paints over the next section during scroll */
  isolation: isolate;
  z-index: 0;
}

/* Atmosphere */
.hero-bg-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(ellipse at center top,
    rgba(245,166,35,0.10) 0%, rgba(245,166,35,0.03) 40%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-beam {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 380px;
  background: conic-gradient(
    from -7deg at 50% 100%,
    transparent 0deg, rgba(245,166,35,0.05) 4deg,
    rgba(245,166,35,0.08) 8deg, rgba(245,166,35,0.05) 12deg,
    transparent 16deg);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black 15%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black 15%, transparent 100%);
  pointer-events: none; z-index: 0;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.20; pointer-events: none; z-index: 0;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 760px;
  margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}

/* AMBER HEADLINE #1 — hero title */
.hero-title {
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 28px;
}
/* Each headline line is an independent animatable unit */
.hero-title-line {
  display: block;
  will-change: opacity, transform;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber-300) 0%, var(--amber-500) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── SCANNER CARD ─────────────────────────────────────────────── */
.scanner-hero-wrap {
  width: 100%;
  max-width: 600px;
  margin-bottom: 48px;
  position: relative;
}
.scanner-hero-wrap::before {
  content: '';
  position: absolute;
  inset: -48px;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0; border-radius: 48px;
}

.scanner-card {
  /* Glassmorphism: layered glass over dark field */
  background: rgba(20, 22, 28, 0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  /* Border gradient: top rgba(255,255,255,0.10), sides rgba(255,255,255,0.06), bottom rgba(0,0,0,0.4) */
  border-top:    1px solid rgba(255,255,255,0.10);
  border-left:   1px solid rgba(255,255,255,0.06);
  border-right:  1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.40);
  border-radius: 20px;
  padding: 32px;
  position: relative; overflow: hidden; z-index: 1;
  box-shadow:
    /* depth shadow */
    0 24px 64px rgba(0,0,0,0.70),
    0 8px 24px rgba(0,0,0,0.50),
    /* faint amber ember outer glow */
    0 0 60px rgba(255,181,71,0.06),
    0 0 120px rgba(255,181,71,0.03);
  transition: box-shadow 300ms ease, border-color 300ms ease;
}
.scanner-card:hover {
  box-shadow:
    0 24px 64px rgba(0,0,0,0.70),
    0 8px 24px rgba(0,0,0,0.50),
    0 0 60px rgba(255,181,71,0.10),
    0 0 120px rgba(255,181,71,0.05);
}
/* Subtle top-edge highlight — the "lit glass" line */
.scanner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 35%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.18) 65%,
    transparent 100%);
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}
/* Inner ambient light wash */
.scanner-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(145deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.01) 30%,
    transparent 60%);
  pointer-events: none;
}

/* ── SCANNER CARD — 5-element idle form ─────────────────────── */

/* Crossfade container — position:relative so panels stack */
.sc-form-wrap {
  position: relative;
}

/* Panel shared base */
.sc-input-panel,
.sc-scan-panel {
  width: 100%;
  transition: opacity 300ms ease;
}

/* Scanning panel: hidden by default; shown via scanner.js 300ms crossfade */
.sc-scan-panel[hidden] { display: none; }
.sc-scan-panel.sc-panel-entering {
  display: flex;
  animation: sc-panel-in 300ms ease forwards;
}
@keyframes sc-panel-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 1. Eyebrow label — whisper level, uppercase, amber tint */
.sc-eyebrow {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,181,71,0.60);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  user-select: none;
}

/* 2. Card title — statement weight, off-white */
.sc-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #F5F4EE;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
}

/* 3. URL input — glassmorphism, amber focus ring */
.sc-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.sc-input-row {
  display: flex; align-items: center; gap: 10px;
  /* Dark glass background under the input */
  background: rgba(10, 11, 15, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
/* Recessed input: inset shadow on row */
.sc-input-row {
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.40);
}
/* Focus: outer amber ring 4px rgba(255,181,71,0.12) per spec */
.sc-input-row:focus-within {
  border-color: rgba(255,181,71,0.60);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.40),
    0 0 0 4px rgba(255,181,71,0.12),
    0 0 20px rgba(255,181,71,0.08);
}
/* Globe icon: 16px, amber at 50% */
.sc-input-icon {
  color: rgba(255,181,71,0.50);
  font-size: 16px;
  flex-shrink: 0;
}
.sc-input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 15px; font-weight: 400;
  color: #F5F4EE; min-width: 0;
}
/* Placeholder: 40% off-white per spec */
.sc-input::placeholder { color: rgba(245,244,238,0.40); }

/* 4. CTA button — physical surface treatment */
.sc-submit-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 24px;
  /* Linear gradient: #FFB547 → #FFD089 */
  background: linear-gradient(135deg, #FFB547 0%, #FFD089 100%);
  /* Inner highlight: inset 0 1px 0 rgba(255,255,255,0.3) per spec */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    0 8px 32px rgba(255,181,71,0.25);
  /* Text: near-black, semibold */
  color: #1A1410;
  font-size: 15px; font-weight: 600;
  border-radius: 10px; border: none; cursor: pointer;
  letter-spacing: -0.01em;
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}
/* Hover: glow expands, button rises 1px */
.sc-submit-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.40),
    0 12px 40px rgba(255,181,71,0.40),
    0 4px 16px rgba(255,181,71,0.20);
  transform: translateY(-1px);
}
.sc-submit-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 4px 16px rgba(255,181,71,0.25);
}

/* 5. Tagline microcopy — whisper at bottom */
.sc-caption {
  font-size: 12px;
  font-weight: 400;
  color: rgba(245,244,238,0.40);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* Keep old .sc-header-dot for beacon pulse in scanning state heading */
.sc-header-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 6px rgba(245,166,35,0.6);
  animation: beacon-pulse 2.5s ease-in-out infinite;
}
@keyframes beacon-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ── SCANNING STATE ───────────────────────────────────────────── */
.sc-scanning {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px; padding: 8px 0;
}
.sc-radar-wrap {
  position: relative; width: 160px; height: 160px;
}
.sc-radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.12);
}
.rr1 { inset: 0; }
.rr2 { inset: 20px; border-color: rgba(245,166,35,0.18); }
.rr3 { inset: 40px; border-color: rgba(245,166,35,0.26); }
.sc-radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(245,166,35,0.3) 0deg, transparent 55deg, transparent 360deg);
  animation: radar-spin 2s linear infinite;
}
@keyframes radar-spin { to { transform: rotate(360deg); } }
.sc-radar-center {
  position: absolute; inset: 60px; border-radius: 50%;
  background: rgba(245,166,35,0.10);
  border: 1px solid rgba(245,166,35,0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400); font-size: 16px;
}
.sc-blip {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 8px rgba(245,166,35,0.8);
  opacity: 0;
  animation: blip-appear 2s ease-in-out infinite;
}
.blip-a { top: 30px; left: 50px; animation-delay: 0.3s; }
.blip-b { top: 80px; left: 120px; animation-delay: 1.1s; }
.blip-c { top: 110px; left: 45px; animation-delay: 0.7s; }
@keyframes blip-appear {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  40%, 60% { opacity: 1; transform: scale(1); }
}
.sc-scan-meta { text-align: center; }
.sc-scanning-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.sc-domain-name { color: var(--amber-400); }
.sc-scanning-step { font-size: 13px; color: var(--text-tertiary); }

.sc-nodes {
  display: flex; align-items: center;
  width: 100%; max-width: 420px;
}
.sc-node {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px; flex: 1;
}
.sc-node-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sc-node.active .sc-node-ring {
  border-color: rgba(245,166,35,0.5);
  background: rgba(245,166,35,0.08);
  box-shadow: 0 0 12px rgba(245,166,35,0.2);
}
.sc-node.done .sc-node-ring {
  border-color: rgba(52,211,153,0.5);
  background: rgba(52,211,153,0.08);
}
.sc-node-icon { position: absolute; font-size: 12px; color: var(--text-tertiary); }
.sc-node.active .sc-node-icon { color: var(--amber-400); }
.sc-node.done .sc-node-icon { color: var(--pass); }
.sc-node span { font-size: 10px; font-weight: 500; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; }
.sc-node.active span { color: var(--amber-400); }
.sc-node.done span { color: var(--pass); }
.sc-node-line { flex: 1; height: 1px; background: var(--border-subtle); margin-bottom: 18px; }

.sc-progress-wrap { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 420px; }
.sc-progress-track {
  flex: 1; height: 4px; background: var(--bg-04);
  border-radius: 100px; overflow: hidden; position: relative;
}
.sc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-400));
  border-radius: 100px; transition: width 0.3s var(--ease); width: 0%;
}
.sc-progress-glow {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.4));
  border-radius: 100px;
}
.sc-progress-pct { font-size: 12px; font-weight: 600; color: var(--amber-400); min-width: 32px; text-align: right; }

.sc-step-list { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 420px; }
.sc-step-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-tertiary);
  padding: 6px 10px; border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.sc-step-item.active { color: var(--text-secondary); background: rgba(245,166,35,0.05); }
.sc-step-item.done { color: var(--pass); }
.sc-step-item i { font-size: 11px; width: 14px; text-align: center; }
.sc-scan-again-inline {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text-tertiary);
  padding: 6px 12px; border: 1px solid var(--border-subtle); border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.sc-scan-again-inline:hover { color: var(--text-secondary); border-color: var(--border-medium); }

/* ── RESULTS ─────────────────────────────────────────────────── */
.sc-results { width: 100%; }
.sc-results-inner { display: flex; flex-direction: column; gap: 16px; }

.scr-report-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle);
}
.scr-report-label i { color: var(--amber-400); }
.scr-report-label-domain {
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  text-transform: none; letter-spacing: 0; margin-left: 4px;
  max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.scr-rescan-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 500; color: var(--text-tertiary);
  padding: 4px 10px; border: 1px solid var(--border-subtle); border-radius: var(--r-sm);
  margin-left: auto; transition: all var(--t-fast); cursor: pointer; background: none;
}
.scr-rescan-btn:hover { color: var(--text-secondary); border-color: var(--border-medium); }

.scr-hero { display: flex; flex-direction: column; gap: 16px; }
.scr-scores-row {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden;
}
.scr-score-col {
  flex: 1; padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.scr-scores-divider { width: 1px; background: var(--border-subtle); align-self: stretch; }
.scr-col-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.scr-col-label i { color: var(--amber-400); }
.scr-score-col--design .scr-col-label i { color: var(--warn); }
.scr-score-wrap, .scr-design-ring-wrap { position: relative; width: 100px; height: 100px; }
.scr-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scr-ring-track { fill: none; stroke: var(--bg-04); stroke-width: 8; }
.scr-ring-fill {
  fill: none; stroke: url(#ringGradient); stroke-width: 8;
  stroke-linecap: round; stroke-dasharray: 364; stroke-dashoffset: 364;
  transition: stroke-dashoffset 1.2s var(--ease);
}
#sc-design-ring-fill { stroke: url(#designRingGradient); }
.scr-score-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.scr-score-num { font-size: 26px; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.03em; }
.scr-score-label { font-size: 10px; color: var(--text-tertiary); font-weight: 500; }
.scr-grade-letter { font-size: 32px; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.15); letter-spacing: -0.04em; }
.scr-grade-pill {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: rgba(245,166,35,0.12); color: var(--amber-400);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.scr-grade-pill--design { background: rgba(251,191,36,0.12); color: var(--warn); }
.scr-site-type-badge {
  font-size: 11px; font-weight: 600; color: var(--text-secondary);
  padding: 3px 8px; border: 1px solid var(--border-subtle); border-radius: 100px;
}
.dq-estimated-badge { font-size: 11px; font-weight: 600; color: var(--warn); display: flex; align-items: center; gap: 4px; }

.scr-insight {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(245,166,35,0.04); border: 1px solid var(--border-amber); border-radius: var(--r-lg);
}
.scr-insight-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--amber-400); flex-shrink: 0;
}
.scr-insight-body { display: flex; flex-direction: column; gap: 2px; }
.scr-insight-headline { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.scr-insight-sub { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }

.scr-design-details { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; }
.scr-design-summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); cursor: pointer;
  background: rgba(255,255,255,0.02); list-style: none; user-select: none;
}
.scr-design-summary i { font-size: 12px; color: var(--amber-400); }
.scr-details-arrow { margin-left: auto; transition: transform var(--t-med); }
details[open] .scr-details-arrow { transform: rotate(180deg); }
.scr-design-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; }

.scr-download-wrap { display: flex; flex-direction: column; gap: 8px; }
.scr-download-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-medium); border-radius: var(--r-lg);
  cursor: pointer; transition: all var(--t-fast); text-align: left; width: 100%;
}
.scr-download-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--border-bright); }
.scr-download-btn-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(245,166,35,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--amber-400); flex-shrink: 0;
}
.scr-download-btn-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.scr-download-btn-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.scr-download-btn-sub { font-size: 11.5px; color: var(--text-tertiary); }
.scr-download-btn-arrow { font-size: 13px; color: var(--text-tertiary); }

.scr-fix-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(245,166,35,0.08); border: 1px solid var(--border-amber); border-radius: var(--r-lg);
  text-decoration: none; transition: all var(--t-fast);
}
.scr-fix-btn:hover { background: rgba(245,166,35,0.13); border-color: var(--border-amber-bright); transform: translateY(-1px); }
.scr-fix-btn-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(245,166,35,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--amber-400); flex-shrink: 0;
}
.scr-fix-btn-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.scr-fix-btn-title { font-size: 13.5px; font-weight: 600; color: var(--amber-300); }
.scr-fix-btn-sub { font-size: 11.5px; color: var(--amber-400); opacity: 0.7; }
.scr-fix-btn-arrow { font-size: 13px; color: var(--amber-400); }

.sc-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(251,191,36,0.05); border: 1px solid rgba(251,191,36,0.2); border-radius: var(--r-lg);
}
.sc-notice-icon { color: var(--warn); font-size: 14px; margin-top: 1px; }
.sc-notice-body { display: flex; flex-direction: column; gap: 2px; }
.sc-notice-headline { font-size: 13px; font-weight: 700; color: var(--warn); }
.sc-notice-intro { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

.sc-code-notice {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--r);
  font-size: 12px; color: var(--text-tertiary);
}
.sc-code-notice i { color: var(--amber-400); }

.scr-stats-row { display: flex; gap: 8px; flex-wrap: wrap; }
.scr-stat {
  flex: 1; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 14px 10px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg);
  text-align: center; background: rgba(255,255,255,0.01);
}
.scr-stat--fail { border-color: rgba(248,113,113,0.2); }
.scr-stat--warn { border-color: rgba(251,191,36,0.2); }
.scr-stat--pass { border-color: rgba(52,211,153,0.2); }
.scr-stat-icon { font-size: 16px; margin-bottom: 2px; }
.scr-stat--fail .scr-stat-icon { color: var(--fail); }
.scr-stat--warn .scr-stat-icon { color: var(--warn); }
.scr-stat--pass .scr-stat-icon { color: var(--pass); }
.scr-stat-num { font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; line-height: 1; }
.scr-stat-lbl { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.scr-stat-hint { font-size: 10px; color: var(--text-tertiary); }

.scr-explainer {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--r-lg);
}
.scr-explainer-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(245,166,35,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--amber-400); flex-shrink: 0;
}
.scr-explainer-body { display: flex; flex-direction: column; gap: 4px; }
.scr-explainer-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.scr-explainer-text { font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; }

.scr-section-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle);
}
.scr-section-header i { color: var(--amber-400); }
.scr-cats { display: flex; flex-direction: column; gap: 8px; }

.scr-improve-wrap {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; border: 1px solid var(--border-amber);
}
.scr-improve-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245,166,35,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.scr-improve-inner {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  padding: 24px; flex-wrap: wrap;
}
.scr-improve-left { flex: 1; min-width: 200px; }
.scr-improve-title { font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 6px; }
.scr-improve-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.scr-improve-right { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.scr-improve-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: var(--amber-500); color: #04060a;
  font-size: 14px; font-weight: 700;
  border-radius: var(--r-lg); text-decoration: none;
  transition: all var(--t-fast);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.scr-improve-btn:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,166,35,0.4); }
.scr-improve-btn-inner { display: flex; align-items: center; gap: 8px; }
.scr-improve-note { font-size: 11px; color: var(--text-tertiary); display: flex; align-items: center; gap: 4px; }

.scr-urgency {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(248,113,113,0.04); border: 1px solid rgba(248,113,113,0.15); border-radius: var(--r-lg);
}
.scr-urgency-icon { color: var(--fail); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.scr-urgency-text { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }

.sc-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: var(--r-2xl); }

/* DQ */
.dq-breakdown { display: flex; flex-direction: column; gap: 10px; }
.dq-item { display: flex; align-items: center; gap: 10px; }
.dq-label { font-size: 12px; color: var(--text-secondary); width: 120px; flex-shrink: 0; }
.dq-bar-track { flex: 1; height: 5px; background: var(--bg-04); border-radius: 2px; overflow: hidden; }
.dq-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--warn), var(--amber-400)); transition: width 0.8s var(--ease); }
.dq-val { font-size: 11px; font-weight: 700; color: var(--text-primary); width: 30px; text-align: right; }

/* Category breakdown (dynamic) */
.scr-cat { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; }
.scr-cat-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; background: rgba(255,255,255,0.01); transition: background var(--t-fast); }
.scr-cat-header:hover { background: rgba(255,255,255,0.03); }
.scr-cat-icon { width: 28px; height: 28px; border-radius: var(--r-sm); background: rgba(245,166,35,0.08); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--amber-400); flex-shrink: 0; }
.scr-cat-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--text-primary); }
.scr-cat-score-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.scr-cat-chevron { font-size: 11px; color: var(--text-tertiary); transition: transform var(--t-med); }
.scr-cat.open .scr-cat-chevron { transform: rotate(180deg); }
.scr-cat-bar-wrap { padding: 0 16px 14px; }
.scr-cat-bar-track { height: 4px; background: var(--bg-04); border-radius: 2px; overflow: hidden; }
.scr-cat-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--amber-600), var(--amber-400)); transition: width 0.6s var(--ease); }
.scr-cat-checks { display: none; flex-direction: column; gap: 4px; padding: 8px 16px 16px; border-top: 1px solid var(--border-subtle); }
.scr-cat.open .scr-cat-checks { display: flex; }
.scr-check-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 12.5px; }
.scr-check-item.pass { background: rgba(52,211,153,0.04); }
.scr-check-item.warn { background: rgba(251,191,36,0.04); }
.scr-check-item.fail { background: rgba(248,113,113,0.04); }
.scr-check-icon { font-size: 11px; margin-top: 1px; flex-shrink: 0; }
.scr-check-item.pass .scr-check-icon { color: var(--pass); }
.scr-check-item.warn .scr-check-icon { color: var(--warn); }
.scr-check-item.fail .scr-check-icon { color: var(--fail); }
.scr-check-body { display: flex; flex-direction: column; gap: 2px; }
.scr-check-label { font-size: 12.5px; font-weight: 600; color: var(--text-primary); }
.scr-check-detail { font-size: 11.5px; color: var(--text-secondary); line-height: 1.45; }
.scr-check-fix { font-size: 11px; color: var(--amber-400); margin-top: 2px; }

/* Hero trust row */
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
}
.hero-trust-avatars { display: flex; }
.hta {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bg-base);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700; color: #04060a;
  margin-right: -6px;
}
.hero-trust-text { font-size: 12.5px; color: var(--text-tertiary); margin-left: 10px; }
.hero-trust-text strong { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════════════════
   SECTION 2 — TRUST STRIP
════════════════════════════════════════════════════════════════ */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  /* Sit above hero stacking context to prevent overlap during scroll */
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}
.trust-strip-label {
  text-align: center;
  font-size: 11px; font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 20px;
}
.trust-strip-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-strip-row span {
  font-size: 13px; font-weight: 500;
  color: var(--text-tertiary);
  padding: 6px 18px;
  border-right: 1px solid var(--border-subtle);
  transition: color var(--t-fast);
}
.trust-strip-row span:last-child { border-right: none; }
.trust-strip-row span:hover { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════════════════
   SECTION 3 — FEATURE MOMENT (scan result demo)
════════════════════════════════════════════════════════════════ */
.feature-moment {
  padding: 140px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  background: var(--bg-base);
}

.fm-header {
  text-align: center;
  margin-bottom: 72px;
}
/* plain off-white headline — amber is reserved for hero + closing */
.fm-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.fm-sub {
  font-size: 16px; color: var(--text-tertiary);
  font-weight: 400; letter-spacing: 0.01em;
}

/* The demo card — outer glass container per spec, ~1100px wide */
.fm-card {
  max-width: 900px; margin: 0 auto;
  background: rgba(20, 22, 28, 0.60);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  /* Lit-from-above border */
  border-top:    1px solid rgba(255,255,255,0.06);
  border-left:   1px solid rgba(255,255,255,0.04);
  border-right:  1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.40);
  border-radius: 24px;
  padding: 48px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.65),
    0 8px 24px rgba(0,0,0,0.45),
    /* outer amber ember glow per spec */
    0 0 80px rgba(255,181,71,0.04);
  position: relative;
}
/* Top-edge lit-glass highlight */
.fm-card::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.16) 40%,
    rgba(255,255,255,0.20) 50%,
    rgba(255,255,255,0.16) 60%,
    transparent 100%);
  pointer-events: none; z-index: 1;
}
/* Diagonal scanning-light sweep every ~8s, 3% opacity per spec */
.fm-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(115deg,
    transparent 0%, transparent 30%,
    rgba(255,255,255,0.03) 46%,
    rgba(255,255,255,0.015) 50%,
    rgba(255,255,255,0.03) 54%,
    transparent 70%, transparent 100%);
  background-size: 400% 100%;
  background-position: 300% 0;
  animation: fm-glass-sweep 8s cubic-bezier(0.16,1,0.3,1) infinite;
  pointer-events: none; z-index: 0;
}
@keyframes fm-glass-sweep {
  0%   { background-position: 300% 0; opacity: 0; }
  5%   { opacity: 1; }
  20%  { background-position: 300% 0; opacity: 1; }
  55%  { background-position: -100% 0; opacity: 1; }
  65%  { opacity: 0; }
  100% { background-position: -100% 0; opacity: 0; }
}

/* Score rings row */
.fm-scores {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; padding: 0 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
  margin-bottom: 0;
}
.fm-score-block {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}

/* Conic-gradient gauge ring wrapper */
.fm-ring-wrap {
  position: relative; width: 120px; height: 120px;
}
/* Inner radial glow behind the number */
.fm-ring-wrap::after {
  content: '';
  position: absolute; inset: 14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,181,71,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* SVG ring — rotated so 0° is at the top */
.fm-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }

/* Track: 4px, very subtle */
.fm-ring-track { fill: none; stroke: rgba(255,255,255,0.04); stroke-width: 4; }

/* Fill: 4px amber stroke, leading-edge glow effect via filter */
.fm-ring-fill {
  fill: none;
  stroke: url(#fmGrad);
  stroke-width: 4;
  stroke-linecap: round;
  /* r=50 circumference = 314.16 */
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  /* Amber glow at the leading edge */
  filter: drop-shadow(0 0 6px rgba(255,181,71,0.70));
}
.fm-ring-animate {
  animation: fm-ring-fill-in 1.4s var(--ease) forwards;
  animation-delay: 0.3s;
}
@keyframes fm-ring-fill-in {
  to { stroke-dashoffset: calc(314 * (1 - var(--pct, 0))); }
}
.fm-ring-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; z-index: 1;
}
/* Number: 32px #FFFBEB (amber-tint white) per spec */
.fm-ring-num {
  font-size: 32px; font-weight: 600;
  color: #FFFBEB; line-height: 1; letter-spacing: -0.04em;
}
/* Suffix /100: 14px rgba muted per spec */
.fm-ring-denom {
  font-size: 14px; font-weight: 400;
  color: rgba(245,244,238,0.40);
}

/* Grade chip — glassmorphic pill per spec */
.fm-grade {
  font-size: 18px; font-weight: 700; line-height: 1;
  padding: 5px 16px; border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
/* Both grades use amber — grade affects opacity, not hue */
.fm-grade--c { color: rgba(255,181,71,0.80); }
.fm-grade--b { color: rgba(255,181,71,1.00); }
.fm-score-lbl {
  font-size: 12px; font-weight: 500;
  color: rgba(245,244,238,0.50);
  letter-spacing: 0.01em;
}

/* Gauge leading-edge headlight: 6px filled amber circle with 12px glow at arc terminus
   Rendered as a pseudo-element overlay on the ring-fill via JS-controlled CSS var --pct */
.fm-ring-wrap {
  position: relative;
}
/* Headlight dot sits at the arc tip — positioned via CSS conic math using clip trick */
.fm-ring-fill-headlight {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFB547;
  box-shadow: 0 0 12px 4px rgba(255,181,71,0.85), 0 0 4px 1px rgba(255,181,71,1);
  top: 50%; left: 50%;
  transform-origin: 0 0;
  pointer-events: none; z-index: 3;
}

/* Category bars — amber-only, 4px, 20px spacing per spec */
.fm-cats {
  padding: 32px 0;
  display: flex; flex-direction: column; gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
.fm-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
/* Category label: 13px, weight 400, 70% off-white per spec */
.fm-cat-name {
  font-size: 13px; font-weight: 400;
  color: rgba(245,244,238,0.70);
  display: flex; align-items: center; gap: 8px;
}
.fm-cat-name i { color: rgba(255,181,71,0.35); font-size: 11px; width: 12px; }
/* Score: 14px #F5F4EE weight 600 per spec */
.fm-cat-score {
  font-size: 14px; font-weight: 600;
  color: #F5F4EE;
}
/* Amber-only — remove old color variants */
.fm-cat-score--pass, .fm-cat-score--warn, .fm-cat-score--fail { color: #F5F4EE; }

/* Bar track: 4px, track rgba(255,255,255,0.04) per spec */
.fm-cat-bar {
  height: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  overflow: visible;
  position: relative;
}
/* Fill: linear-gradient(90deg, rgba(255,181,71,0.6) 0%, #FFB547 100%),
   drop-shadow 0 0 6px rgba(255,181,71,0.5) per spec */
.fm-cat-fill {
  height: 100%; border-radius: 100px;
  width: 0;
  background: linear-gradient(90deg, rgba(255,181,71,0.60) 0%, #FFB547 100%);
  animation: fm-bar-fill 1.2s var(--ease) forwards;
  animation-delay: 0.5s;
  position: relative;
  filter: drop-shadow(0 0 6px rgba(255,181,71,0.50));
}
@keyframes fm-bar-fill { to { width: var(--w, 0%); } }

/* Fix list */
.fm-fixes {
  padding: 32px 0 28px;
  margin-top: 0;
  display: flex; flex-direction: column; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}
/* Header: 11px uppercase letter-spacing 0.12em rgba(255,181,71,0.5) per spec */
.fm-fixes-label {
  font-size: 11px; font-weight: 500;
  color: rgba(255,181,71,0.50);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 20px; /* 32px top margin per spec (pad above items) */
}
/* Item: 14px rgba(245,244,238,0.85), spacing 12px per spec */
.fm-fix-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 400;
  color: rgba(245,244,238,0.85);
  line-height: 1.55;
}
/* Critical icon: amber triangle 60% opacity */
.fm-fix-icon {
  width: 12px; height: 12px;
  flex-shrink: 0; margin-top: 3px;
}
/* Warning icon: empty amber circle 40% opacity — handled in SVG fill */

/* Mid-dot separator · per spec */
.fm-fix-sep {
  margin: 0 5px;
  color: rgba(245,244,238,0.30);
  font-weight: 300;
}

/* Card CTA row */
.fm-cta-row {
  padding: 24px 0 0;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.fm-cta-btn {
  display: inline-flex; align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #FFB547 0%, #FFD089 100%);
  color: #1A1410;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-lg);
  transition: box-shadow 200ms ease, transform 200ms ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 6px 24px rgba(255,181,71,0.25);
}
.fm-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.36),
    0 10px 32px rgba(255,181,71,0.40);
}
.fm-cta-note { font-size: 12px; color: rgba(245,244,238,0.40); }

/* Count-up animation placeholder */
.fm-count-up { display: inline-block; }

/* ════════════════════════════════════════════════════════════════
   SECTION 4 — PHILOSOPHY
════════════════════════════════════════════════════════════════ */
.philosophy {
  padding: 160px 0 230px;  /* bottom increased 60-80px per spec (160+70) */
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}
.philosophy-title {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
  color: var(--text-primary);
  max-width: 720px; margin: 0 auto 32px;
}
.philosophy-body {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary); line-height: 1.75;
  max-width: 560px; margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 5 — TESTIMONIALS
════════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  background: transparent;
  /* Top border only: amber-to-transparent gradient at 15% opacity per spec */
  border: none;
  border-radius: 0;
  padding: 48px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
/* Gradient amber top border via pseudo-element */
.testimonial-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,181,71,0.15) 30%,
    rgba(255,181,71,0.15) 70%,
    transparent 100%);
  pointer-events: none;
  transition: opacity var(--t-med);
}
.testimonial-card:hover::before { opacity: 1.5; }

/* Stars: #FFB547 at 60% opacity per spec */
.testimonial-stars { display: flex; gap: 3px; color: #FFB547; font-size: 11px; opacity: 0.60; }

.testimonial-card blockquote {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.7; font-style: italic; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #04060a; flex-shrink: 0;
}
.testimonial-author > div { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.testimonial-author span { font-size: 12px; color: var(--text-tertiary); }

/* ════════════════════════════════════════════════════════════════
   SECTION 6 — CLOSING CTA
════════════════════════════════════════════════════════════════ */
.closing-cta {
  padding: 160px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
/* Ambient halo 800px diameter, rgba(255,181,71,0.03) to transparent 60% per spec */
.closing-cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(ellipse at center,
    rgba(255,181,71,0.06) 0%,
    rgba(255,181,71,0.03) 30%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.closing-cta .container { position: relative; z-index: 1; }

/* AMBER HEADLINE #2 — closing CTA */
.closing-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.closing-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber-300) 0%, var(--amber-500) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.closing-sub {
  font-size: 18px; color: var(--text-tertiary);
  margin-bottom: 48px; font-weight: 400;
}
.closing-btn {
  display: inline-flex; align-items: center;
  padding: 16px 36px;
  background: linear-gradient(135deg, #FFB547 0%, #FFD089 100%);
  color: #1A1410;
  font-size: 16px; font-weight: 700;
  border-radius: var(--r-lg);
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
  /* Start of pulse range: 25% opacity shadow */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 8px 32px rgba(255,181,71,0.25);
  position: relative; overflow: hidden;
}
.closing-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.closing-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.36),
    0 12px 48px rgba(255,181,71,0.50);
  animation: none;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px;
}
.footer-inner {
  display: flex; gap: 64px; margin-bottom: 56px; flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
/* Footer logo wordmark synced with nav: 550 weight, -0.02em, #F5F4EE */
.footer-logo-name { font-size: 17px; font-weight: 550; color: #F5F4EE; letter-spacing: -0.02em; }
.footer-logo-name .accent { color: var(--amber-400); }
.footer-tagline { font-size: 13px; color: var(--text-tertiary); line-height: 1.6; }
.footer-email { font-size: 13px; color: var(--amber-400); text-decoration: underline; text-underline-offset: 3px; opacity: 0.8; transition: opacity var(--t-fast); width: fit-content; }
.footer-email:hover { opacity: 1; }
.footer-location { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-tertiary); }
.footer-location i { color: var(--amber-400); font-size: 10px; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-tertiary); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-tertiary); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--text-tertiary); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--amber-400); }

/* ════════════════════════════════════════════════════════════════
   MODAL
════════════════════════════════════════════════════════════════ */
.wnm-overlay {
  position: fixed; inset: 0;
  background: rgba(4,6,10,0.88);
  backdrop-filter: blur(10px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.wnm-overlay[hidden] { display: none !important; }

.wnm-panel {
  background: var(--bg-02);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-2xl);
  padding: 32px; max-width: 520px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 0 80px rgba(245,166,35,0.05), 0 32px 80px rgba(0,0,0,0.6);
}
.wnm-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--bg-03); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-tertiary); cursor: pointer;
  transition: all var(--t-fast);
}
.wnm-close:hover { color: var(--text-primary); background: var(--bg-04); }
.wnm-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.wnm-ticket-icon {
  width: 36px; height: 36px; border-radius: var(--r);
  background: rgba(245,166,35,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--amber-400); flex-shrink: 0;
}
.wnm-ticket-meta { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.wnm-ticket-label { font-size: 11px; font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }
.wnm-ticket-id { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.wnm-ticket-status { font-size: 11px; font-weight: 600; color: var(--pass); background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.2); padding: 3px 10px; border-radius: 100px; }
.wnm-title { font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 8px; }
.wnm-sub { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.wnm-form { display: flex; flex-direction: column; gap: 14px; }
.wnm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wnm-field { display: flex; flex-direction: column; gap: 5px; }
.wnm-field label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.wnm-field label span { color: var(--amber-400); margin-left: 2px; }
.wnm-field input, .wnm-field select, .wnm-field textarea {
  background: var(--bg-01); border: 1px solid var(--border-medium);
  border-radius: var(--r); padding: 10px 12px;
  font-size: 14px; color: var(--text-primary); outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.wnm-field input::placeholder, .wnm-field textarea::placeholder { color: var(--text-tertiary); }
.wnm-field input:focus, .wnm-field select:focus, .wnm-field textarea:focus {
  border-color: rgba(245,166,35,0.4);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.09);
}
.wnm-field select option { background: var(--bg-02); }
.wnm-field textarea { resize: vertical; min-height: 70px; }
.wnm-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; background: var(--amber-500); color: #04060a;
  font-size: 15px; font-weight: 700; border-radius: var(--r-lg);
  border: none; cursor: pointer; transition: all var(--t-fast);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.wnm-submit:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,166,35,0.4); }
.wnm-success {
  text-align: center; padding: 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.wnm-success i { font-size: 40px; color: var(--pass); }
.wnm-success h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.wnm-success p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; max-width: 300px; }

/* ════════════════════════════════════════════════════════════════
   SUBPAGE SHARED STYLES
════════════════════════════════════════════════════════════════ */
.subpage-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative; overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center top, rgba(245,166,35,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--amber-400);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.subpage-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--text-primary); margin-bottom: 24px;
  max-width: 780px;
}
.subpage-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary); line-height: 1.7;
  max-width: 560px;
}
.subpage-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.subpage-section:last-of-type { border-bottom: none; }

.sp-section-label {
  font-size: 11px; font-weight: 700; color: var(--amber-400);
  text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 20px;
}
.sp-section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
  color: var(--text-primary); margin-bottom: 16px;
}
.sp-section-body {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.75; max-width: 600px;
}

/* Stat grid (why-now) */
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-subtle);
  border-radius: var(--r-xl); overflow: hidden;
  margin-top: 64px;
}
.stat-card {
  background: var(--bg-01); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--t-fast);
}
.stat-card:hover { background: var(--bg-02); }
.stat-num {
  font-size: 52px; font-weight: 900; letter-spacing: -0.05em;
  line-height: 1; color: var(--text-primary);
}
.stat-num span { font-size: 32px; font-weight: 700; color: var(--amber-400); }
.stat-label { font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.stat-detail { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.stat-source { font-size: 11px; color: var(--text-tertiary); font-style: italic; margin-top: auto; }

/* Step list (how-it-works) */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 0 28px; padding-bottom: 72px;
}
.step-item:last-child { padding-bottom: 0; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-amber);
  background: rgba(245,166,35,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--amber-400);
  flex-shrink: 0;
}
.step-line {
  flex: 1; width: 1px;
  background: linear-gradient(180deg, rgba(245,166,35,0.2), transparent);
  margin-top: 12px;
}
.step-body { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.step-body h3 { font-size: 22px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.025em; }
.step-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 520px; }

/* Category check grid (scan page) */
.check-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border-subtle);
  border-radius: var(--r-xl); overflow: hidden; margin-top: 64px;
}
.check-card {
  background: var(--bg-01); padding: 28px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background var(--t-fast);
}
.check-card:hover { background: var(--bg-02); }
.check-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(245,166,35,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--amber-400);
}
.check-card h4 { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.check-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.check-count {
  font-size: 11px; font-weight: 700; color: var(--amber-400);
}

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.pricing-card {
  background: var(--bg-02); border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl); padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.pricing-card--featured {
  border-color: var(--border-amber);
  box-shadow: 0 0 60px rgba(245,166,35,0.05);
  position: relative; overflow: hidden;
}
.pricing-card--featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-500), transparent);
}
.pc-label { font-size: 11px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.08em; }
.pc-price {
  font-size: 64px; font-weight: 900; letter-spacing: -0.05em;
  line-height: 1; color: var(--text-primary);
  display: flex; align-items: flex-start; gap: 4px;
}
.pc-price-dollar { font-size: 32px; font-weight: 600; color: var(--amber-400); margin-top: 10px; }
.pc-price-mo { font-size: 18px; font-weight: 400; color: var(--text-tertiary); align-self: flex-end; margin-bottom: 6px; }
.pc-free-label { font-size: 48px; font-weight: 900; color: var(--text-primary); letter-spacing: -0.04em; }
.pc-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.pc-features { display: flex; flex-direction: column; gap: 10px; }
.pc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.pc-features li i { color: var(--pass); font-size: 11px; margin-top: 3px; flex-shrink: 0; }
.pc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 700;
  border-radius: var(--r-lg); text-decoration: none;
  transition: all var(--t-fast); margin-top: auto;
}
.pc-btn--primary {
  background: var(--amber-500); color: #04060a;
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.pc-btn--primary:hover { background: var(--amber-400); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,166,35,0.4); }
.pc-btn--ghost {
  background: rgba(245,166,35,0.06); color: var(--amber-400);
  border: 1px solid var(--border-amber);
}
.pc-btn--ghost:hover { background: rgba(245,166,35,0.12); border-color: var(--border-amber-bright); }

/* Comparison table */
.compare-wrap { margin-top: 80px; border: 1px solid var(--border-subtle); border-radius: var(--r-xl); overflow: hidden; }
.compare-head-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; background: var(--bg-03); border-bottom: 1px solid var(--border-subtle); }
.compare-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid var(--border-subtle); }
.compare-row:last-child { border-bottom: none; }
.compare-total { background: var(--bg-02); }
.compare-cell { padding: 14px 20px; font-size: 13px; display: flex; align-items: center; }
.compare-cell--head { padding: 16px 20px; }
.compare-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.compare-tag--bad { background: rgba(248,113,113,0.10); color: var(--fail); border: 1px solid rgba(248,113,113,0.2); }
.compare-tag--mid { background: rgba(251,191,36,0.10); color: var(--warn); border: 1px solid rgba(251,191,36,0.2); }
.compare-tag--win { background: rgba(245,166,35,0.12); color: var(--amber-400); border: 1px solid var(--border-amber); }
.compare-label { color: var(--text-secondary); font-weight: 500; }
.compare-bad { color: var(--fail); }
.compare-warn { color: var(--warn); }
.compare-win { color: var(--pass); font-weight: 600; }
.compare-note { font-size: 10.5px; color: var(--text-tertiary); margin-left: 5px; }
.compare-total-bad { font-size: 15px; font-weight: 800; color: var(--fail); }
.compare-total-mid { font-size: 15px; font-weight: 800; color: var(--warn); }
.compare-total-win { font-size: 18px; font-weight: 900; color: var(--amber-400); }

/* ════════════════════════════════════════════════════════════════
   THE SWEEP — hero canvas animation
════════════════════════════════════════════════════════════════ */
.sweep-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  /* z-index 2: sits above bg-glow/grid (z0) but below hero-inner (z1) — wait, we want it above dots */
  /* Actually: canvas IS the dots+beam, so it needs to be above bg layers */
  z-index: 1;
  opacity: 1;
  /* No CSS fade-in animation — sweep.js controls everything */
}
@media (prefers-reduced-motion: reduce) {
  .sweep-canvas { opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════
   NAV — amber underline system
════════════════════════════════════════════════════════════════ */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--amber-500);
  transition: left var(--t-med) var(--ease), right var(--t-med) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  left: 12px;
  right: 12px;
}

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS — upgraded sizing
════════════════════════════════════════════════════════════════ */
.testimonial-card blockquote { display: none; } /* replaced by .testimonial-quote */

.testimonial-quote {
  font-size: 1.10rem;
  font-weight: 450;
  color: var(--text-primary);
  line-height: 1.72;
  flex: 1;
  font-style: normal;
  letter-spacing: -0.01em;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-meta strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.testimonial-meta span {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* Testimonials: no headline, more vertical padding */
.testimonials { padding: 160px 0; }

/* ════════════════════════════════════════════════════════════════
   FOOTER — signature headline moment
════════════════════════════════════════════════════════════════ */
.footer-headline-row {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 64px;
}
.footer-headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-primary);
}
.footer-headline em { font-style: normal; }
.footer-headline-amber {
  background: linear-gradient(135deg, var(--amber-300) 0%, var(--amber-500) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════════
   CLOSING CTA — slow amber pulse on button
════════════════════════════════════════════════════════════════ */
/* CTA pulse: shadow oscillates 25%→40%→25% opacity over 4s per spec */
.closing-btn--pulse {
  animation: cta-pulse 4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(255,181,71,0.25),
      0 0 60px rgba(255,181,71,0.08);
  }
  50% {
    box-shadow:
      0 12px 48px rgba(255,181,71,0.40),
      0 0 80px rgba(255,181,71,0.16);
  }
}
.closing-btn--pulse:hover {
  box-shadow:
    0 12px 48px rgba(255,181,71,0.50),
    0 0 100px rgba(255,181,71,0.20);
  animation: none; /* freeze on hover so translateY looks clean */
}
@media (prefers-reduced-motion: reduce) {
  .closing-btn--pulse { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   HERO TITLE — subtle radial amber glow behind text
════════════════════════════════════════════════════════════════ */
.hero-title {
  position: relative;
}
.hero-title::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* ════════════════════════════════════════════════════════════════
   PHILOSOPHY — tighter, more confident
════════════════════════════════════════════════════════════════ */
.philosophy-body {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   SCROLL-REVEAL — base states (JS adds .revealed)
════════════════════════════════════════════════════════════════ */
/* Easing: cubic-bezier(0.16,1,0.3,1) — spring exit, 500ms per spec */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms;   opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 120ms;  opacity: 1; transform: none; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 240ms;  opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   FM CATEGORY BARS — scroll-triggered fill
════════════════════════════════════════════════════════════════ */
.fm-cat-fill {
  width: 0 !important; /* override inline, start at 0 */
  transition: width 0.7s var(--ease);
}
.fm-cats.bars-animated .fm-cat-fill {
  width: var(--w) !important;
}
/* Stagger via nth-child delays */
.fm-cats.bars-animated .fm-cat:nth-child(1) .fm-cat-fill { transition-delay: 0ms; }
.fm-cats.bars-animated .fm-cat:nth-child(2) .fm-cat-fill { transition-delay: 80ms; }
.fm-cats.bars-animated .fm-cat:nth-child(3) .fm-cat-fill { transition-delay: 160ms; }
.fm-cats.bars-animated .fm-cat:nth-child(4) .fm-cat-fill { transition-delay: 240ms; }
.fm-cats.bars-animated .fm-cat:nth-child(5) .fm-cat-fill { transition-delay: 320ms; }

/* Score ring count-up — JS drives fill + count, CSS handles transition */
.fm-ring-animate { animation: none; }
.fm-ring-fill {
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.9s var(--ease);
  /* amber glow at leading edge */
  filter: drop-shadow(0 0 6px rgba(255,181,71,0.70));
}
.fm-cats.bars-animated ~ .fm-scores .fm-ring-fill { /* driven by JS */ }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .check-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-headline { font-size: clamp(22px, 5vw, 36px); }
  .compare-head-row, .compare-row { grid-template-columns: 1.5fr 0 0 1fr; }
  .compare-cell:nth-child(2), .compare-cell:nth-child(3) { display: none; }
  .compare-cell--head:nth-child(2), .compare-cell--head:nth-child(3) { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  /* Tighter hero on mobile — less top/bottom padding so content sits higher */
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 60px; }
  .hero-inner { padding: 0 20px; }
  /* Reduce subtitle bottom margin so gap above scanner is smaller */
  .hero-subtitle { margin-bottom: 32px; }
  /* Reduce scanner wrap bottom margin */
  .scanner-hero-wrap { margin-bottom: 28px; }
  .scanner-card { padding: 24px 20px; }
  /* fm-card: collapse padding on mobile, keep vertical rhythm */
  .fm-card { padding: 28px 20px; }
  .fm-scores { gap: 24px; padding-bottom: 28px; }
  .fm-cats { padding: 24px 0; }
  .fm-fixes { padding: 20px 0; }
  .fm-cta-row { padding: 16px 0 0; }
  .feature-moment, .philosophy, .testimonials, .closing-cta { padding: 100px 0; }
  .step-item { grid-template-columns: 40px 1fr; gap: 0 16px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .wnm-row { grid-template-columns: 1fr; }
  .scr-scores-row { flex-direction: column; }
  .scr-scores-divider { width: 100%; height: 1px; }
  .testimonial-card { padding: 32px 20px; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 32px; }
  /* Even tighter on very small phones */
  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 48px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 24px; }
  .hero-title { margin-bottom: 16px; }
  .scanner-hero-wrap { margin-bottom: 20px; }
  .closing-title { font-size: 32px; }
  .fm-scores { flex-direction: column; }
  .check-grid { grid-template-columns: 1fr; }
  .trust-strip-row span { border-right: none; border-bottom: 1px solid var(--border-subtle); width: 100%; text-align: center; }
}
