/* =========================================================================
   ShieldTX V2 — base + sections
   Tokens from Figma (node 94:12, file hhotG5KLlXdu2tJBPTTxtE)
   ========================================================================= */

/* Explicit color-scheme: the marketing site is designed to work on light
   AND dark surfaces deliberately (hero is dark gradient, body sections are
   light). Without this declaration, Chromium-based browsers (including
   Brave) with prefers-color-scheme: dark or Auto Dark Theme enabled will
   try to auto-darken the page, overriding our explicit colors and making
   text unreadable on the hero. 'only light' opts out of auto-darkening. */
:root {
  color-scheme: only light;

  /* Brand · ShieldTX (per Brand Document V3) */
  --brand-blue:        #3370ff;  /* primary on-brand */
  --brand-blue-bright: #5ba0ff;  /* lighter accent stop */
  --brand-blue-deep:   #1e3a8a;  /* darker stop / gradient depth */
  --brand-cyan:        #4dd5e8;  /* secondary accent — highlights, hover, detail accents */
  --brand-cyan-soft:   rgba(77, 213, 232, 0.16);
  --brand-gradient:    linear-gradient(135deg, #1e3a8a 0%, #3370ff 50%, #5ba0ff 100%);

  /* Signal Blue ramp — supporting tints/shades */
  --blue-900: #1e3a8a;
  /* --blue-800 removed: 0 usages */
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  /* --blue-200 removed: 0 usages */
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  /* Neutrals */
  --ink: #0f172a;
  /* --charcoal removed: 0 usages */
  --graphite: #475569;
  --slate: #64748b;
  --steel: #94a3b8;
  --silver: #cbd5e1;
  --mist: #e2e8f0;
  --ice: #f1f5f9;
  --snow: #f8fafc;
  --white: #ffffff;

  /* Semantic */
  --bg-primary: var(--snow);
  --bg-surface: var(--white);
  --bg-elev: var(--ice);
  --bg-dark: var(--ink);
  --border: var(--mist);
  --border-strong: var(--silver);
  --fg-primary: var(--ink);
  --fg-secondary: var(--graphite);
  --fg-muted: var(--slate);
  /* --fg-inverse removed: 0 usages */
  --accent: var(--brand-blue);
  --accent-ink: var(--brand-blue-deep);
  --accent-soft: var(--blue-100);
  --ok: #16a34a;
  --danger: #ef4444;
  --danger-ink: #b91c1c;    /* readable danger text on light surfaces */
  --hide: var(--slate);

  /* --radius-sm removed: 0 usages, superseded by --r-sm */
  --radius: 18px;
  --radius-lg: 28px;
  /* --radius-xl removed: 0 usages, superseded by --r-xl */
  --radius-pill: 999px;

  /* Short-hand radius tokens used throughout the hero stage. Previously
     undefined — every var(--r-*) fell back to 0, so child elements with
     "border-radius: inherit" silently inherited a sharp corner. Defining
     the scale here also enforces visual consistency across the hero. */
  --r-xs:   6px;   /* tiny indicators, checkmarks */
  --r-sm:   10px;  /* small chips, timeframe pills, tag rows */
  --r-md:   14px;  /* fields, status pills, inputs */
  --r-lg:   20px;  /* cards, glass panels */
  --r-xl:   28px;  /* outer hero-stage container */
  --r-pill: 999px; /* CTAs, wallet pills, fully-rounded shapes */

  --shadow-1: 0 1px 0 rgba(15,23,42,.03) inset, 0 10px 30px -18px rgba(15,23,42,.2);
  --shadow-2: 0 40px 120px -40px rgba(15,23,42,.25);

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);

  --container: 1240px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg-primary);
  color: var(--fg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "ss02";
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-primary);
  line-height: 1.5;
  font-size: 16px;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

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

.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================================
   Global atmospherics — grain + the legacy morphing-glass cursor were
   removed for a calmer surface. A new minimal cursor (small dot + thin
   ring) is added below; mounted by /public-scripts/site-cursor.js.
   ========================================================================= */

/* OS cursor stays visible underneath the custom ring. Previously we hid
   it with cursor: none, but that left users with no cursor at all when
   Brave/Safari compositor quirks prevented our ring from painting over
   isolated stacking contexts (hero-stage uses isolation:isolate plus
   backdrop-filter children). Now the OS pointer is the guaranteed
   fallback and the ring sits on top as a branded overlay. */

.shield-cursor-dot,
.shield-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  /* Maximum z-index — must beat every isolated stacking context on
     the page (e.g. .hero-stage uses isolation: isolate). Some
     browsers, notably Brave, do not always elevate fixed-position
     elements above isolated stacks if z-index is "merely" 9999. */
  z-index: 2147483647;
  opacity: 0;
  will-change: transform, width, height;
  transition: opacity .15s ease;
  /* Force a separate composited layer so the cursor renders on top
     even when sibling content uses backdrop-filter or transforms. */
  transform: translateZ(0);
}
.shield-cursor-dot.is-visible,
.shield-cursor-ring.is-visible { opacity: 1; }

/* Outlined-ring-only design — the dot is kept in the DOM but hidden so
   we can swap designs later by toggling html[data-cursor-style]. */
html[data-cursor-style="ring"] .shield-cursor-dot { display: none; }

.shield-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(51, 112, 255, 0.18);
}
.shield-cursor-ring {
  width: 18px;
  height: 18px;
  border: 1.25px solid rgba(51, 112, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  transition:
    opacity .15s ease,
    width .22s cubic-bezier(.16,1,.3,1),
    height .22s cubic-bezier(.16,1,.3,1),
    border-color .2s ease,
    background-color .2s ease,
    border-width .2s ease;
}
.shield-cursor-ring.is-hover {
  width: 36px;
  height: 36px;
  border-color: rgba(51, 112, 255, 1);
  background-color: rgba(51, 112, 255, 0.08);
}
.shield-cursor-ring.is-pressed {
  width: 14px;
  height: 14px;
  border-width: 1.5px;
  border-color: rgba(51, 112, 255, 1);
}

/* Adaptive coloring — when the cursor is over a dark surface (hero,
   final-cta, footer, scan-band, /app gate, open modals), JS adds .on-dark
   and we swap to a white dot + light ring for contrast. */
.shield-cursor-dot.on-dark {
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.shield-cursor-ring.on-dark {
  border-color: rgba(255, 255, 255, 0.7);
}
.shield-cursor-ring.on-dark.is-hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
}
.shield-cursor-ring.on-dark.is-pressed {
  border-color: var(--white);
}

@media (pointer: coarse) {
  .shield-cursor-dot,
  .shield-cursor-ring { display: none; }
  html.has-shield-cursor,
  html.has-shield-cursor body { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .shield-cursor-dot,
  .shield-cursor-ring { display: none; }
  html.has-shield-cursor,
  html.has-shield-cursor body { cursor: auto; }
}

/* =========================================================================
   Hero stage demo cursor — small SVG pointer that walks the viewer
   through each beat of the onboarding animation. Positioned absolutely
   inside .hero-stage; JS updates --hsc-x / --hsc-y per beat.
   ========================================================================= */
.hero-stage-demo-cursor {
  position: absolute;
  top: 0; left: 0;
  width: 22px;
  height: 22px;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--hsc-x, 50%), var(--hsc-y, 50%));
  transition:
    transform .85s cubic-bezier(.5, .12, .12, 1),
    opacity .5s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}
.hero-stage[data-stage]:not([data-stage="0"]) .hero-stage-demo-cursor {
  opacity: 1;
}
.hero-stage-demo-cursor svg { width: 100%; height: 100%; display: block; }

/* Click ripple — a small ring scales out + fades when the cursor "clicks".
   JS adds .is-clicking briefly when it lands on a target. */
.hero-stage-demo-cursor::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
/* Click feedback: SVG inside the cursor scales down briefly (visible
   "press"), and the ripple expands outward. Parent's transform (which
   carries --hsc-x / --hsc-y) stays untouched. */
.hero-stage-demo-cursor svg {
  transform-origin: 30% 30%;
  transition: transform .12s ease;
}
.hero-stage-demo-cursor.is-clicking svg {
  animation: hsc-svg-press .42s cubic-bezier(.4, .15, .2, 1);
}
.hero-stage-demo-cursor.is-clicking::after {
  animation: hsc-ripple .6s cubic-bezier(.2, .7, .35, 1) forwards;
}

@keyframes hsc-svg-press {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.72); }
  100% { transform: scale(1); }
}
@keyframes hsc-ripple {
  0%   { opacity: 0.9; transform: scale(0.4);
         border-color: rgba(255, 255, 255, 0.95); border-width: 2.5px; }
  60%  { opacity: 0.45; }
  100% { opacity: 0;   transform: scale(3.4);
         border-color: rgba(255, 255, 255, 0.6); border-width: 1px; }
}

/* Targets visibly react when the demo cursor "clicks" them — a brief
   press scale + brightness bump. */
.is-pressed-by-cursor {
  animation: hsc-target-press .42s cubic-bezier(.4, .15, .2, 1);
}
@keyframes hsc-target-press {
  0%   { transform: scale(1);    filter: brightness(1); }
  35%  { transform: scale(0.94); filter: brightness(1.18); }
  100% { transform: scale(1);    filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage-demo-cursor { transition: none; }
  .hero-stage-demo-cursor.is-clicking svg,
  .hero-stage-demo-cursor.is-clicking::after,
  .is-pressed-by-cursor { animation: none; }
}

/* Honeypot field — visually invisible but stays in the DOM and the form's
   FormData. Real users never see it; bots that auto-fill every input
   trigger the server's honeypot branch (returns a fake 200, logs silently).
   Important: position: absolute (not display:none) so the field still ships
   with the submit. */
.waitlist-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================================
   Nav
   ========================================================================= */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 28px;
  z-index: 100;
  border: none;
  /* Default visible state — translucent light bg with subtle bottom border so
     the nav reads on any light section (today, problem, features, etc.) even
     before .is-scrolled is toggled by JS or if data-reveal blocks it. */
  background: rgba(248,250,252,.86);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  /* No bottom hairline — the backdrop-filter blur already separates
     the nav from content beneath. The hairline read as a section
     seam line just below the fixed header. */
  transition: background .2s var(--ease);
}
.nav.is-scrolled {
  background: rgba(248,250,252,.92);
}
.nav-links a { color: var(--graphite); }
.nav-links a:hover { color: var(--ink); }

/* Over-dark mode (hero, scan-tool, beta-breaker, footer) */
.nav.is-over-dark { background: rgba(15,23,42,.45); }
.nav.is-over-dark.is-scrolled {
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

/* Over-hero — transparent at the very top so the hero reads open
   and uninterrupted on page load. Once the user scrolls (.is-scrolled
   class added by JS at >12px), a dark glass backdrop fades in to
   anchor the nav against the hero gradient. */
.nav.is-over-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav.is-over-hero.is-scrolled {
  background: rgba(8, 14, 32, 0.32);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}
/* Over-dark nav link/logo overrides — were being undercut by browser
   auto-darkening (since fixed via color-scheme) AND by cascade order
   (the .nav-links a rule below in the file was overriding by
   specificity). Forcing !important here keeps the override unambiguous
   regardless of source order or downstream rules. */
.nav.is-over-dark .nav-links a { color: rgba(255,255,255,.92) !important; }
.nav.is-over-dark .nav-links a:hover { color: var(--white) !important; }
.nav.is-over-dark .nav-logo { color: #fff !important; }
/* Over-dark nav: the glass pill defined below is the single source of
   truth — applies whether the nav is at-top or scrolled. The previous
   white-solid variant for the scrolled state was retired (felt heavy
   against the brand-blue body, broke continuity with the hero state). */
.nav-logo { color: #000; transition: color .2s var(--ease); }
.nav-logo { display: inline-flex; align-items: center; height: 32px; }
/* Full ShieldTX lockup (mark + wordmark). 22px keeps the wordmark legible
   without overpowering the nav row. The inline <svg> inherits color via
   fill="currentColor"; recoloring via CSS color avoids the rasterize-on-
   filter blur that an <img>+filter approach causes on high-DPI displays. */
.nav-logo svg { height: 22px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto; margin-right: 8px;
  font-size: 14px; color: var(--fg-secondary);
}
.nav-links a {
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--fg-primary); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: currentColor;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.nav-links a:hover::after { opacity: .55; }

.nav-cta { font-size: 13px; }

.nav-progress {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  transition: width .05s linear;
}

/* =========================================================================
   Buttons
   ========================================================================= */

.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--bg-elev);
  color: var(--fg-primary);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn-pill:hover {
  background: var(--mist);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 8px 24px -10px rgba(15, 23, 42, 0.08);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 0 0 0 rgba(51,112,255,0);
}
.btn-primary:hover {
  background: var(--brand-blue-bright);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 0 0 6px rgba(51,112,255,0.18);
  filter: brightness(1.04);
}
.btn-primary:active { filter: brightness(0.96); }

.btn-ghost {
  background: transparent;
  color: var(--fg-primary);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.10);
}
.btn-ghost:hover { background: var(--bg-surface); }

/* Default nav CTA on light-surface navs: solid brand-blue pill so it
   reads as the primary action against the --snow nav surface. Placed
   after .btn-pill so the same-specificity (0,0,1,0) base button rules
   don't override it via source order. Higher-specificity overrides
   stay in charge:
   - `.nav.is-over-dark .nav-cta` keeps the hero's glass/white pill.
   - `.contact-body .nav-cta` keeps the contact page's ink pill.
   Hover darkens to --brand-blue-deep rather than lightening — keeps the
   white text legible (white on --brand-blue-bright is below AA contrast). */
.nav-cta {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.nav-cta:hover {
  background: var(--brand-blue-deep);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 0 0 6px rgba(51, 112, 255, 0.18);
}
.nav-cta:active { filter: brightness(0.96); }

/* Nav CTA — glass pill whenever the nav is over a dark surface. No
   border/outline. CRITICAL: the fill must hold its appearance even
   when the nav backdrop darkens on scroll (.is-over-hero.is-scrolled
   layers rgba(8,14,32,0.32) over the hero). A low-alpha fill (.14)
   tracks the backdrop too closely and visually darkens with it.

   Fix: bump the white fill to .22 alpha + saturate(180%) on the
   backdrop-filter. Higher alpha gives the pill its own presence so
   it doesn't react as much to backdrop changes; saturate(180%) keeps
   whatever color does bleed through reading vibrant rather than muddy.
   Net effect: a stable, brand-blue-tinted glass pill across at-top,
   scrolled, and any dark section the nav passes over. */
.nav.is-over-dark .nav-cta {
  /* Layered fill: brand-blue-bright tint anchors the color identity so
     the pill reads as "blue glass" regardless of backdrop, plus a top-
     to-bottom white sheen gives it depth. White-only translucent fills
     visibly darken when the nav adds its own dark scroll layer; this
     blue-tinted fill is bright enough to dominate at any scroll state. */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(91, 160, 255, 0.34);
  color: var(--white);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: none;
}
.nav.is-over-dark .nav-cta:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)),
    rgba(91, 160, 255, 0.46);
  box-shadow: none;
}

/* =========================================================================
   Shared bits
   ========================================================================= */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; letter-spacing: .04em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
/* Unified section title — applies to every "section headline" on the
   landing page. Was previously 8 different size ramps (clamp(32-40, *,
   52-84)) and two different weights. Standardised after the typography
   audit. Per-section overrides removed; if a section truly needs a
   different scale, add a modifier class rather than overriding here. */
.section-title {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.eyebrow + .section-title { margin-top: 16px; }
.accent { color: var(--accent); }
.accent-blue { color: var(--blue-600); }
.ok { color: var(--ok); }
.hide { color: var(--hide); }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-split] .split-word-wrap {
  display: inline-block;
  white-space: nowrap;
}
[data-split] .split-char,
[data-split] .split-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
[data-split-words] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
}

/* =========================================================================
   HERO — calm, asymmetric, single focal point
   ========================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--brand-gradient);
}
.hero .eyebrow { color: rgba(255,255,255,.78); }

/* Hero background — pure CSS recreation of the painterly Header.png.
   Two distinctive features of the original:
   1. A bright cyan band that runs the full height of the LEFT edge
      (not just a corner glow).
   2. A diagonal "light beam" sweeping from upper-right toward
      lower-middle, brighter in the middle of its length, soft at both ends.
   The base linear gradient establishes the cyan→royal→navy flow; the
   stacked radials carve in the corner weights; the blob + beam layers
   sit on top with mix-blend-mode: screen for the breathing motion. */
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    /* Bright cyan band along the entire left edge */
    radial-gradient(45% 110% at -10% 50%, rgba(170, 220, 255, 0.55) 0%, rgba(120, 195, 255, 0.25) 40%, transparent 70%),
    /* Slightly brighter zone at lower-left */
    radial-gradient(40% 40% at 12% 88%, rgba(140, 200, 245, 0.42) 0%, transparent 65%),
    /* Deep navy weight at bottom-right */
    radial-gradient(70% 80% at 100% 100%, rgba(5, 18, 60, 0.85) 0%, transparent 65%),
    /* Subtle darker top-right corner */
    radial-gradient(55% 55% at 100% 0%, rgba(15, 36, 95, 0.55) 0%, transparent 65%),
    /* Base diagonal foundation */
    linear-gradient(155deg, var(--brand-blue-bright) 0%, #3a78e0 25%, #2456be 50%, #163d99 75%, #0a1e5a 100%);
}
/* Animated overlay layers — slow drift gives a 'breathing' quality. */
.hero-shader { position: absolute; inset: 0; overflow: hidden; }
.blob {
  position: absolute;
  mix-blend-mode: screen;
  will-change: transform;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
.blob.b1 {
  /* Bright cyan highlight that drifts along the left edge */
  width: 700px; height: 900px;
  left: -18vw; top: -10vh;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(circle, rgba(180, 225, 255, 0.85) 0%, rgba(100, 175, 255, 0.5) 35%, transparent 70%);
  opacity: .55;
  animation-name: blob-1;
  animation-duration: 38s;
}
.blob.b2 {
  /* Deep navy weight at lower-right, opposite drift */
  width: 720px; height: 720px;
  right: -12vw; bottom: -18vh;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(circle, rgba(15, 30, 90, 0.9) 0%, rgba(8, 22, 70, 0.55) 40%, transparent 70%);
  opacity: .7;
  animation-name: blob-2;
  animation-duration: 46s;
}
.blob.b3 {
  /* The signature diagonal light beam. Tall narrow strip with a soft
     mid-length highlight, rotated ~28° so it sweeps from upper-right
     toward lower-center like the original Header.png. */
  width: 280px; height: 1300px;
  right: 14%; top: -22%;
  border-radius: 999px;
  filter: blur(70px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(190, 230, 255, 0.45) 28%,
    rgba(165, 215, 250, 0.55) 50%,
    rgba(140, 200, 245, 0.30) 72%,
    transparent 100%
  );
  transform: rotate(28deg);
  transform-origin: 50% 50%;
  opacity: .65;
  animation-name: blob-3;
  animation-duration: 52s;
}

@keyframes blob-1 {
  0%   { transform: translate3d(0, 0, 0)        scale(1); }
  50%  { transform: translate3d(50px, 80px, 0)  scale(1.06); }
  100% { transform: translate3d(20px, -30px, 0) scale(0.96); }
}
@keyframes blob-2 {
  0%   { transform: translate3d(0, 0, 0)         scale(1); }
  50%  { transform: translate3d(-60px, -50px, 0) scale(1.05); }
  100% { transform: translate3d(-20px, 25px, 0)  scale(0.97); }
}
/* For b3, the beam keeps its 28° tilt across the animation while
   sliding diagonally — gives the streak a sense of slow weather drift. */
@keyframes blob-3 {
  0%   { transform: translate3d(0, 0, 0)         rotate(28deg) scale(1); }
  50%  { transform: translate3d(-30px, 60px, 0)  rotate(30deg) scale(1.04); }
  100% { transform: translate3d(20px, -20px, 0)  rotate(27deg) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* Soft top + bottom darkening so the nav reads on lighter regions and
   hero copy stays high-contrast over the painterly base. */
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,14,32,0.22) 0%, transparent 16%, transparent 76%, rgba(8,14,32,0.38) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  min-height: calc(100vh - var(--nav-h) - 120px);
  padding-block: 40px 0;
}

/* Split hero: copy on left, full trade UI on right (mirrors preview) */
.hero-grid-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  max-width: 1320px;
  text-align: left;
}
.hero-grid-split .hero-copy { max-width: 540px; }
.hero-grid-split .hero-title { font-size: clamp(40px, 4.6vw, 68px); margin: 0 0 22px; }
.hero-grid-split .hero-sub { margin: 0 0 30px; max-width: 50ch; }
.hero-grid-split .hero-image {
  width: 100%;
  position: relative;
}
/* =========================================================================
   HERO FLOW — 4-step animated stack (Connect → Authorize → Issued → Trade)
   ========================================================================= */
.hero-flow {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1400px;
}
.hero-flow-card {
  position: absolute;
  inset: 0 0 56px 0;
  display: block;
  list-style: none;
  transition:
    transform 700ms cubic-bezier(.22,.61,.36,1),
    opacity 500ms ease,
    filter 500ms ease;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}
.hero-flow-card[data-flow-step="1"] { transform: translate3d(-18px, 18px, 0) rotate(-2.4deg) scale(.93); opacity: .35; filter: blur(1px); z-index: 1; }
.hero-flow-card[data-flow-step="2"] { transform: translate3d(-6px, 12px, 0) rotate(-1deg) scale(.96); opacity: .55; filter: blur(.5px); z-index: 2; }
.hero-flow-card[data-flow-step="3"] { transform: translate3d(8px, 6px, 0) rotate(1deg) scale(.98); opacity: .75; z-index: 3; }
.hero-flow-card[data-flow-step="4"] { transform: translate3d(20px, 0, 0) rotate(2.2deg) scale(1); opacity: .9; z-index: 4; }
.hero-flow-card.is-active {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 10 !important;
}

.hfc-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #e6ecf7;
  box-shadow:
    0 60px 120px -40px rgba(0,0,30,.6),
    0 24px 60px -30px rgba(51,112,255,.35);
}
.hfc-frame-dim::before {
  content: "";
  position: absolute; inset: 44px 0 0 0;
  background: radial-gradient(circle at 50% 30%, rgba(10,14,26,.2), rgba(10,14,26,.55));
  z-index: 1;
  pointer-events: none;
}

.hfc-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #11162a;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.hfc-dots { display: flex; gap: 6px; }
.hfc-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.hfc-dots span:nth-child(1) { background: #ff5f57; }
.hfc-dots span:nth-child(2) { background: #febc2e; }
.hfc-dots span:nth-child(3) { background: #28c840; }
.hfc-url {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: var(--ink); border-radius: 999px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; color: rgba(255,255,255,.62);
  flex-grow: 1;
}
.hfc-url i { color: var(--brand-cyan); font-style: normal; font-size: 9px; }
.hfc-path { color: rgba(255,255,255,.42); }
.hfc-tag {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(77,213,232,.12); color: var(--brand-cyan);
}

.hfc-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hfc-center {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 36px;
  gap: 14px;
}
.hfc-padded { padding: 28px 28px 24px; gap: 18px; }

.hfc-glyph {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue-deep) 0%, var(--brand-blue) 60%, var(--brand-blue-bright) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin-bottom: 6px;
  box-shadow: 0 12px 30px -10px rgba(51,112,255,.6);
}
.hfc-glyph svg { width: 28px; height: 28px; }

.hfc-h {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 22px; font-weight: 600; letter-spacing: -0.018em;
  color: var(--white);
}
.hfc-p {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13.5px; line-height: 1.55;
  color: rgba(230,236,247,.72);
  max-width: 38ch;
}
.hfc-p-quiet { color: rgba(230,236,247,.6); }

.hfc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px;
  border: none; cursor: pointer;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hfc-btn-primary {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
  color: var(--white);
  box-shadow: 0 8px 22px -6px rgba(51,112,255,.55);
}
.hfc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(51,112,255,.6); }
.hfc-btn-lg { padding: 14px 28px; font-size: 14px; }

.hfc-modal {
  position: relative;
  z-index: 2;
  width: min(360px, 88%);
  background: #11162a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
  box-shadow: 0 30px 60px -20px rgba(0,0,30,.7);
}
.hfc-modal .hfc-h { font-size: 17px; }
.hfc-modal .hfc-p { font-size: 12.5px; }
.hfc-check {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(77,213,232,.35);
  background: rgba(77,213,232,.08);
  border-radius: 10px;
  cursor: pointer;
}
.hfc-check-box {
  width: 18px; height: 18px;
  background: var(--brand-cyan);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.hfc-check-box svg { width: 12px; height: 12px; }
.hfc-check-text {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13px; font-weight: 500; color: var(--white);
}
.hfc-modal .hfc-btn { align-self: stretch; }

/* Step 3 — Issued */
.hfc-input-label {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11px; font-weight: 500;
  color: rgba(230,236,247,.55);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hfc-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.hfc-input-val { font-size: 12.5px; color: var(--white); letter-spacing: 0.02em; }
.hfc-mask { color: rgba(230,236,247,.4); letter-spacing: 0.02em; }
.hfc-input-copy {
  background: none; border: none; cursor: pointer;
  color: rgba(230,236,247,.55);
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
.hfc-input-copy svg { width: 16px; height: 16px; }
.hfc-success {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(77,213,232,.12), rgba(51,112,255,.08));
  border: 1px solid rgba(77,213,232,.3);
  border-radius: 12px;
}
.hfc-success-tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand-cyan);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hfc-success-tick svg { width: 14px; height: 14px; }
.hfc-success-text { display: flex; flex-direction: column; gap: 3px; }
.hfc-success-text b {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13.5px; font-weight: 600; color: var(--white);
}
.hfc-success-text span {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 12px; color: rgba(230,236,247,.68);
}

/* Step 4 — Trade with deposit overlay */
.hfc-trade {
  flex-grow: 1;
  display: flex; flex-direction: column;
  background: var(--ink);
  position: relative;
}
.is-blurred { filter: blur(4px); }
.hfc-trade-pair {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 12px; font-weight: 500; color: rgba(230,236,247,.7);
}
.hfc-trade-coin {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #6c47ff, #2775ca);
}
.hfc-trade-pair b { color: var(--white); font-weight: 600; }
.hfc-trade-lev {
  padding: 2px 6px; border-radius: 4px;
  background: rgba(77,213,232,.12); color: var(--brand-cyan);
  font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px; font-weight: 600;
}
.hfc-trade-mark { font-family: 'Geist Mono', ui-monospace, monospace; color: var(--white); }
.hfc-trade-chg { font-family: 'Geist Mono', ui-monospace, monospace; color: var(--brand-cyan); margin-left: auto; }
.hfc-trade-chart {
  flex-grow: 1;
  display: flex; align-items: flex-end; gap: 4px;
  padding: 16px 18px;
  min-height: 0;
}
.hfc-bar-c { width: 14px; height: var(--h, 50%); border-radius: 2px; flex-shrink: 0; }
.hfc-bar-c.hfc-up { background: var(--brand-cyan); }
.hfc-bar-c.hfc-dn { background: #ff6b8e; }
.hfc-trade-pos {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11px; color: rgba(230,236,247,.7);
}
.hfc-trade-pos span { white-space: nowrap; }
.hfc-trade-pos > span:first-child { color: var(--white); font-weight: 600; }
.hfc-pos-side { color: var(--brand-cyan) !important; font-weight: 600; }
.hfc-pos-pnl { color: var(--brand-cyan) !important; font-family: 'Geist Mono', ui-monospace, monospace; margin-left: auto; }

.hfc-overlay {
  position: absolute;
  inset: 44px 0 32px 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(10,14,26,.55), rgba(10,14,26,.78));
  z-index: 2;
}
.hfc-overlay-card {
  width: min(320px, 80%);
  background: rgba(17,22,42,.94);
  border: 1px solid rgba(77,213,232,.25);
  border-radius: 14px;
  padding: 26px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px -20px rgba(0,0,30,.8);
}
.hfc-overlay-eye {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-cyan);
}
.hfc-overlay-card .hfc-h { font-size: 22px; }
.hfc-overlay-card .hfc-p { font-size: 12.5px; }
.hfc-overlay-card .hfc-btn { margin-top: 4px; }

.hfc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #11162a;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.hfc-step {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: 0.06em;
}
.hfc-step-label {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11px; font-weight: 500;
  color: rgba(230,236,247,.55);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.hero-flow-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 20;
}
.hero-flow-dot {
  width: 28px; height: 4px;
  border: none; padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero-flow-dot:hover { background: rgba(255,255,255,.32); }
.hero-flow-dot.is-active {
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue-bright));
  width: 44px;
}

@media (max-width: 1080px) {
  .hero-grid-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid-split .hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
  .hero-grid-split .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-grid-split .hero-ctas { justify-content: center; }
}

/* Centered single-column hero: copy stacked on top, preview UI peeks below */
.hero-grid-center {
  grid-template-columns: 1fr;
  max-width: 1280px;
  text-align: center;
  gap: 48px;
  align-items: stretch;
  padding-block: 60px 0;
  min-height: auto;
}
.hero-grid-center .hero-copy {
  max-width: 880px;
  margin: 0 auto;
}
.hero-grid-center .hero-title { margin-inline: auto; }
.hero-grid-center .hero-sub { margin-inline: auto; }
.hero-grid-center .hero-ctas { justify-content: center; }
.hero-grid-center .accent { display: inline; }

/* Hero image — chart-only widget, live trading platform feel */
.hero-image {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

/* Hero image — real screenshot variant with animated cursor demo overlay. */
.hero-image.hero-image-video {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 60px 120px -30px rgba(0,0,30,.55),
    0 30px 60px -30px rgba(51,112,255,.28);
  cursor: none;
}
.hero-image-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== HERO STAGE — 5-beat looping shielded-wallet onboarding ==========
   Lives inside the right column of .hero-grid-split. The stage IS the
   right-column frame; its glass surface, card, mini trading-app and final
   overlay all stack inside that single rounded rectangle.

   Beats (driven by data-stage on .hero-stage):
     1: solo "Connect to ShieldTX" CTA on premium glass surface (no card)
     2: glass card with "Shield your wallet address" + auto-checking checkbox
     3: shielded wallet address field + "Shielded Wallet Issued" success chip
     4: fictional mini trading-app UI (CSS/SVG, no screenshot)
     5: trade-app blurred + dark overlay with "Start now" + "Deposit"

   Brand: canonical brand gradient (deep→mid→bright blue) per
   brand-document.html. No idle borders/strokes; selected states get rings. */

.hero-stage {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 460px;
  width: 100%;
  margin-left: auto;
  isolation: isolate;
  background: transparent;
  border-radius: var(--r-xl);
  /* Safari's overflow:hidden alone wasn't strong enough to clip the
     backdrop-filter children (.hero-stage-card uses backdrop-filter).
     clip-path with inset(round) forces a hard geometric clip that
     Safari respects unconditionally — even when children use filters,
     transforms, or backdrop-filter. */
  overflow: hidden;
  clip-path: inset(0 round var(--r-xl));
  -webkit-clip-path: inset(0 round var(--r-xl));
}

/* --- Premium glass surface (always-on background of the stage) --- */
.hero-stage-surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 20% 0%,  rgba(91,160,255,0.45) 0%, transparent 55%),
    radial-gradient(110% 80% at 100% 100%, rgba(30,58,138,0.65) 0%, transparent 60%),
    linear-gradient(150deg, #0c1a3d 0%, #163a8a 50%, #1d4ed8 100%);
}
.hero-stage-glow {
  position: absolute;
  width: 70%; height: 70%;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-stage-glow-a { top: -10%; left: -15%; background: var(--brand-blue-bright); opacity: 0.45; }
.hero-stage-glow-b { bottom: -20%; right: -20%; background: var(--brand-blue-deep); opacity: 0.75; }
.hero-stage-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.45'/></svg>");
  background-size: 160px 160px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Inner-light highlight on top of glass + brand-tinted outer shadow */
.hero-stage::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 60px 100px -40px rgba(30, 58, 138, 0.65);
  z-index: 5;
}

/* --- Beats --- */
.hero-stage-beat {
  position: absolute;
  inset: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.hero-stage[data-stage="1"] .hero-stage-beat-1,
.hero-stage[data-stage="2"] .hero-stage-card .hero-stage-beat-2,
.hero-stage[data-stage="3"] .hero-stage-card .hero-stage-beat-3 {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

/* Beat 1 — solo CTA centered on glass surface, no card */
.hero-stage-beat-1 {
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 0 18%;
}

/* --- The glass card (beats 2 & 3) --- */
.hero-stage-card {
  position: absolute;
  inset: 12% 10%;
  border-radius: var(--r-lg);
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px -20px rgba(8, 17, 42, 0.55);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.hero-stage[data-stage="2"] .hero-stage-card,
.hero-stage[data-stage="3"] .hero-stage-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hero-stage-card .hero-stage-beat { inset: 24px 22px; }

/* Branded card header — small white logomark + wordmark text */
.hero-stage-card-brand {
  position: absolute;
  top: 18px; left: 22px; right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}
.hero-stage-card-mark {
  width: 18px; height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.hero-stage-card-name {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.hero-stage-card .hero-stage-beat { inset: 56px 22px 24px; }

.hero-stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero-stage-msg {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.hero-stage-msg-overlay {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
  line-height: 1.45;
  max-width: 24ch;
}

/* --- Buttons --- */
.hero-stage-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  background: rgba(11, 18, 38, 0.85);
  color: var(--white);
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), filter .25s var(--ease);
  width: 100%;
  text-align: center;
  letter-spacing: -0.005em;
}
.hero-stage-cta:hover { filter: brightness(1.06); }
.hero-stage-cta:active { filter: brightness(0.96); }
.hero-stage-cta-grad {
  background: var(--brand-gradient);
  box-shadow: 0 16px 36px -12px rgba(51, 112, 255, 0.55);
}
.hero-stage-cta-small { padding: 11px 18px; font-size: 14px; }

/* --- Checkbox (beat 2) --- */
.hero-stage-check {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  margin: 4px 0;
}
.hero-stage-check-label { line-height: 1.3; }
.hero-stage-check-box {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: var(--r-xs);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-stage-check-box svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: var(--brand-blue-bright);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  transition: stroke-dashoffset .55s .35s var(--ease);
}
.hero-stage[data-stage="2"] .hero-stage-check-box {
  background: rgba(91, 160, 255, 0.18);
  box-shadow: inset 0 0 0 1.5px var(--brand-blue-bright);
}
.hero-stage[data-stage="2"] .hero-stage-check-box svg { stroke-dashoffset: 0; }

/* --- Shielded wallet field (beat 3) --- */
.hero-stage-field-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.hero-stage-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(91, 160, 255, 0.18),
    0 0 24px -8px rgba(51, 112, 255, 0.45);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.02em;
}
.hero-stage[data-stage="3"] .hero-stage-field {
  animation: hero-stage-field-in .7s .25s var(--ease) both;
}
@keyframes hero-stage-field-in {
  0%   { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.hero-stage-field-value { white-space: pre; }
.hero-stage-field-copy {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
}
.hero-stage-field-copy svg { width: 14px; height: 14px; }

.hero-stage-success {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-pill);
  background: rgba(22, 163, 74, 0.16);
  color: #69d18e;
  font-size: 13px;
  font-weight: 500;
}
.hero-stage-success-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #16a34a;
  display: grid; place-items: center;
  color: var(--white);
}
.hero-stage[data-stage="3"] .hero-stage-success-icon {
  animation: hero-stage-success-pulse 2.2s var(--ease);
}
.hero-stage-success-icon svg {
  width: 11px; height: 11px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
}
@keyframes hero-stage-success-pulse {
  0%   { transform: scale(0.6); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
  40%  { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ========== Fictional mini trading-app UI (beats 4 & 5) ========== */
.hero-stage-app {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(8, 14, 32, 0.82);
  backdrop-filter: blur(2px) saturate(115%);
  -webkit-backdrop-filter: blur(2px) saturate(115%);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.hero-stage[data-stage="4"] .hero-stage-app,
.hero-stage[data-stage="5"] .hero-stage-app {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-stage[data-stage="5"] .hero-stage-app {
  filter: blur(6px) saturate(0.85) brightness(0.85);
}

.hsa-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.hsa-header-left { display: inline-flex; align-items: center; gap: 8px; }
.hsa-pair {
  appearance: none; border: 0; background: transparent;
  padding: 0; display: inline-flex; align-items: center; gap: 6px;
  color: var(--white); font-weight: 600; font-size: 13px;
  cursor: default;
}
.hsa-pair-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #97f5cf, #16b07a 70%, #0a3a26);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
  flex: 0 0 16px;
}
.hsa-pair-caret { font-size: 9px; color: rgba(255,255,255,0.45); margin-left: 2px; }
.hsa-leverage {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

.hsa-stats { display: inline-flex; align-items: center; gap: 14px; }
.hsa-stat { display: inline-flex; flex-direction: column; gap: 1px; }
.hsa-stat-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}
.hsa-stat-value {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.hsa-stat-down { color: #f06767; }
.hsa-stat-up   { color: #3ad29f; }

.hsa-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.hsa-timeframes { display: inline-flex; gap: 2px; }
.hsa-tf {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.02em;
}
.hsa-tf-active { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.hsa-indicator {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}
.hsa-indicator svg {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  display: block;
}

/* Right-side toolbar group: Indicators chip + Deposit CTA. The Deposit
   button is the target for beat 4 → 5 in the demo cursor flow. */
.hsa-toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hsa-deposit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px 0 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 12px -4px rgba(51, 112, 255, 0.65);
  transition: filter .2s ease, box-shadow .2s ease;
}
.hsa-deposit:hover { filter: brightness(1.05); }
.hsa-deposit:active { filter: brightness(0.96); }
.hsa-deposit-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}
/* Defensive: any SVG inside the trade-app caps at its parent's size. Prevents
   a layout regression from accidentally stretching an icon to fill the section. */
.hero-stage-app svg:not(.hsa-candles) {
  max-width: 100%;
  max-height: 100%;
}

/* Chart area */
.hsa-chart-wrap { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; min-height: 0; padding-top: 8px; }
.hsa-chart-meta { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hsa-chart-symbol {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.hsa-chart-vol {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}
.hsa-chart-vol b { color: rgba(255, 255, 255, 0.7); font-weight: 500; }

.hsa-chart-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 120px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.02);
}
.hsa-candles {
  position: absolute;
  inset: 0;
  width: calc(100% - 36px);     /* leave room for the y-axis labels on the right */
  height: 100%;
  display: block;
}
.hsa-chart-yaxis {
  position: absolute;
  right: 0; top: 0; bottom: 18px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3px 0;
}
.hsa-chart-yaxis span {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}
.hsa-chart-price {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: #052418;
  background: #3ad29f;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(58, 210, 159, 0.35);
}

.hsa-chart-xaxis {
  display: flex;
  justify-content: space-between;
  padding: 0 4px 0 0;
  margin-right: 36px;
}
.hsa-chart-xaxis span {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
}

/* Footer: wallet pill + bottom tabs */
.hsa-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}
.hsa-wallet-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(91, 160, 255, 0.16);
  color: #b8d4ff;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
}
.hsa-wallet-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #3ad29f;
  box-shadow: 0 0 6px rgba(58, 210, 159, 0.7);
  animation: hsa-pulse 2.2s infinite;
}
@keyframes hsa-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

.hsa-bottom-tabs { display: inline-flex; gap: 12px; }
.hsa-bt {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  padding: 2px 0;
  position: relative;
}
.hsa-bt-active {
  color: var(--white);
}
.hsa-bt-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 1.5px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* ========== Beat 5 — overlay above blurred trade-app ========== */
.hero-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 14, 32, 0.45) 0%,
    rgba(8, 14, 32, 0.78) 60%,
    rgba(8, 14, 32, 0.92) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 12%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
  z-index: 4;
  border-radius: inherit;
}
.hero-stage[data-stage="5"] .hero-stage-overlay {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-stage-overlay .hero-stage-cta { max-width: 220px; }

/* ========== Beat 6 — deposit success ("Funds shielded") ========== */
.hero-stage-confirm {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 18, 38, 0.62) 0%,
    rgba(11, 18, 38, 0.88) 60%,
    rgba(11, 18, 38, 0.96) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 12%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
}
.hero-stage[data-stage="6"] .hero-stage-confirm {
  opacity: 1;
  transform: scale(1);
}
.hero-stage-confirm-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  color: #3ad29f;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity .45s var(--ease) .1s, transform .55s cubic-bezier(.16,1,.3,1) .1s;
}
.hero-stage[data-stage="6"] .hero-stage-confirm-icon {
  opacity: 1;
  transform: scale(1);
}
.hero-stage-confirm-icon svg { width: 100%; height: 100%; display: block; }
.hero-stage-confirm-title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
  line-height: 1.1;
}
.hero-stage-confirm-sub {
  margin: 0;
  max-width: 28ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage-confirm,
  .hero-stage-confirm-icon { transition: none; animation: none; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-stage-beat,
  .hero-stage-card,
  .hero-stage-app,
  .hero-stage-overlay,
  .hero-stage-success-icon,
  .hero-stage-field,
  .hero-stage-check-box svg,
  .hsa-wallet-dot { transition: none; animation: none; }
}

/* --- Mobile --- */
@media (max-width: 900px) {
  .hero-stage { max-width: 400px; margin-inline: auto; aspect-ratio: 4 / 5; }
}

.hero-chart-card {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 17, 42, 0.85) 0%, rgba(15, 23, 64, 0.92) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow:
    0 80px 160px -40px rgba(0,0,30,.65),
    0 30px 80px -30px rgba(51,112,255,.30),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px) saturate(140%);
  font-family: 'Geist', sans-serif;
  color: #e2e8f0;
}

/* Header — pair, stats, timeframes */
.hcc-head {
  display: flex; align-items: center; gap: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hcc-pair {
  display: inline-flex; align-items: center; gap: 10px;
}
.hcc-coin {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--brand-blue-bright), var(--brand-blue-deep));
  box-shadow: 0 0 0 3px rgba(91,160,255,.18);
}
.hcc-symbol {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hcc-shielded {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: .14em;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(91,160,255,.18);
  color: var(--brand-blue-bright);
  border: 1px solid rgba(91,160,255,.32);
}
.hcc-stats {
  display: inline-flex; align-items: center; gap: 22px;
  margin-left: auto;
}
.hcc-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.hcc-stat-volume { display: none; }
.hcc-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hcc-price {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 16px; font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  transition: color .25s var(--ease);
}
.hcc-price.is-up   { color: #3ad29f; }
.hcc-price.is-down { color: #f06767; }
.hcc-delta {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hcc-delta-up   { color: #3ad29f; }
.hcc-delta-down { color: #f06767; }
.hcc-tools {
  display: inline-flex; gap: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3px;
  border-radius: 8px;
}
.hcc-tools button {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  padding: 5px 10px;
  border: 0; border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hcc-tools button:hover { color: var(--white); }
.hcc-tools button.active {
  background: rgba(91,160,255,.18);
  color: var(--brand-blue-bright);
}

/* Canvas area — candles + crosshair */
.hcc-canvas {
  position: relative;
  height: clamp(280px, 42vh, 380px);
  border-radius: 12px;
  overflow: hidden;
  cursor: crosshair;
}
.hcc-canvas .ta-candles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hcc-y-axis {
  position: absolute;
  right: 8px; top: 8px; bottom: 8px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  pointer-events: none;
  text-align: right;
}
.hcc-mark-tag {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500;
  color: #0b1538;
  background: var(--brand-blue-bright);
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
  transition: top .3s var(--ease), background .3s var(--ease);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 16px rgba(91,160,255,.4);
}
.hcc-mark-tag.is-down {
  background: #f06767;
  color: var(--white);
}

/* Crosshair (shown on hover) */
.hcc-crosshair-x,
.hcc-crosshair-y {
  position: absolute;
  pointer-events: none;
  background: rgba(255,255,255,.18);
  opacity: 0;
  transition: opacity .15s var(--ease);
  z-index: 2;
}
.hcc-crosshair-x { left: 0; right: 0; height: 1px; }
.hcc-crosshair-y { top: 0; bottom: 0; width: 1px; }
.hcc-canvas:hover .hcc-crosshair-x,
.hcc-canvas:hover .hcc-crosshair-y { opacity: 1; }

.hcc-cursor-tag {
  position: absolute;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--white);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s var(--ease);
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  white-space: nowrap;
}
.hcc-canvas:hover .hcc-cursor-tag { opacity: 1; }
.hcc-cursor-tag b { font-weight: 600; }
.hcc-cursor-tag span {
  font-size: 9.5px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

.hcc-x-axis {
  display: flex; justify-content: space-between;
  padding: 10px 4px 0 4px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255,255,255,.4);
}

/* Live ticker pulse on the price */
@keyframes hcc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(91,160,255,.6); }
  100% { box-shadow: 0 0 0 8px rgba(91,160,255,0); }
}
.hcc-price.is-pulsing {
  animation: hcc-pulse 1s ease-out;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .hcc-head { gap: 14px; padding-bottom: 12px; }
  .hcc-stats { gap: 16px; margin-left: 0; flex-wrap: wrap; }
  .hcc-tools { margin-left: auto; }
}

.hero-copy { max-width: 640px; }
.hero-eyebrow {
  font-size: clamp(12px, 0.85vw, 13px);
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.hero-title .accent,
.hero-title .accent .split-char {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.hero-title .accent {
  text-shadow: none;
}
.hero-sub {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin: 0 0 32px;
}

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
  color: var(--brand-blue-deep);
  border-color: var(--white);
}
.hero-cta-primary:hover {
  background: var(--blue-50);
  border-color: var(--blue-50);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.18);
}
.hero-cta-arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.hero-cta-primary:hover .hero-cta-arrow { transform: translateX(3px); }
.hero-cta-secondary {
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.hero-cta-secondary:hover {
  color: var(--white);
  border-color: var(--white);
}
.hero-cta-primary {
  height: 48px; padding: 0 24px;
  font-size: 15px; font-weight: 500;
  background: var(--white); color: var(--blue-900);
  border-color: var(--white);
}
.hero-cta-primary:hover { background: var(--blue-50); border-color: var(--blue-50); }
.hero-cta-ghost {
  height: 48px; padding: 0 22px;
  font-size: 15px; font-weight: 500;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}

/* ---- Hero market card (compact) ---- */
.hero-card-mini {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: rgba(15,30,75,.6);
  border: 1px solid rgba(147,197,253,.12);
  box-shadow:
    0 30px 80px -30px rgba(0,0,30,.55),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px) saturate(140%);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
  gap: 16px;
}
.hero-card-mini:hover {
  transform: translateY(-2px);
  box-shadow:
    0 40px 100px -30px rgba(0,0,30,.7),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.hcm-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
}
.hcm-pair {
  display: inline-flex; align-items: center; gap: 8px;
}
.hcm-symbol {
  font-family: 'Geist Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.hcm-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(96,165,250,.18);
  color: var(--blue-300);
  border: 1px solid rgba(96,165,250,.3);
}
.hcm-price {
  text-align: right;
  display: flex; flex-direction: column; gap: 2px;
}
.hcm-px {
  font-size: 18px; font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.hcm-delta {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.hcm-delta-up { color: #3ad29f; }
.hcm-delta-down { color: #f06767; }

.hcm-spark {
  width: 100%;
  height: 80px;
  display: block;
}

.hcm-status {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px solid rgba(147,197,253,.1);
  display: flex; flex-direction: column;
  gap: 10px;
}
.hcm-status li {
  display: flex; align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}
.hero-card-mini.is-in .hcm-status li { opacity: 1; transform: none; }
.hero-card-mini.is-in .hcm-status li:nth-child(1) { transition-delay: .12s; }
.hero-card-mini.is-in .hcm-status li:nth-child(2) { transition-delay: .24s; }
.hero-card-mini.is-in .hcm-status li:nth-child(3) { transition-delay: .36s; }
.hcm-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(96,165,250,.18);
  flex-shrink: 0;
}

.hcm-cta {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,.15) inset,
    0 8px 24px -8px rgba(59,130,246,.5);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.hcm-cta:hover {
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 12px 32px -8px rgba(59,130,246,.65);
}
.hcm-cta:active { transform: translateY(1px); }

/* Sparkline path animation (one-shot, no loop) */
.hcm-spark-path {
  fill: none;
  stroke: url(#hcmSparkGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  animation: hcmSparkDraw .9s .15s var(--ease-out-expo) forwards;
}
.hcm-spark-fill {
  fill: url(#hcmSparkFill);
  opacity: 0;
  animation: hcmSparkFade .6s .85s ease-out forwards;
}
@keyframes hcmSparkDraw { to { stroke-dashoffset: 0; } }
@keyframes hcmSparkFade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .hcm-spark-path { animation: none; stroke-dashoffset: 0; }
  .hcm-spark-fill { animation: none; opacity: 1; }
  .hcm-status li { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 24px 0;
  }
  .hero-card-mini { margin-left: 0; max-width: 100%; }
  .hero-copy { max-width: 100%; }
}

/* =========================================================================
   INTRO
   ========================================================================= */

.intro {
  padding: 140px 0 160px;
  background: var(--snow);
  color: var(--ink);
  position: relative;
}
.intro .eyebrow { color: var(--slate); }
.intro-points li { color: var(--graphite); }
.intro-points li span { color: var(--ink); }
.intro-head {
  max-width: 880px;
  margin: 0 0 56px;
}
.intro-body {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 20px 0 0;
  font-weight: 400;
  max-width: 760px;
}
.intro-points {
  list-style: none; padding: 0; margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intro-points li {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 22px 28px 22px 0;
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.5;
  border-right: 1px solid var(--border);
}
.intro-points li:last-child { border-right: 0; padding-right: 0; }
.intro-points li span {
  color: var(--fg-primary); font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}

/* =========================================================================
   PREVIEW · TRADE APP MOCK
   ========================================================================= */
.trade-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #141413;
  border: 1px solid #2e2e2d;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.45), 0 30px 60px -30px rgba(0,0,0,.35);
  margin: 0 auto;
  max-width: 1280px;
}
.tfb {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a18;
  border-bottom: 1px solid #2e2e2d;
}
.tfb-dots { display: flex; gap: 7px; }
.tfb-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2e2e2d;
}
.tfb-dots span:nth-child(1) { background: #ff5f57; }
.tfb-dots span:nth-child(2) { background: #febc2e; }
.tfb-dots span:nth-child(3) { background: #28c840; }
.tfb-url {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: #a1a1a0;
  display: inline-flex; align-items: center; gap: 6px;
}
.tfb-lock { color: #3ad29f; font-size: 11px; }
.tfb-path { color: #6f6f6e; }
.tfb-tag {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em;
  color: #3ad29f;
  padding: 4px 8px;
  border: 1px solid rgba(58,210,159,.32);
  background: rgba(58,210,159,.08);
  border-radius: 4px;
}

.trade-app {
  --ta-bg: #141413;
  --ta-panel: #1a1a18;
  --ta-elev: #1f1f1e;
  --ta-border: #2e2e2d;
  --ta-text: #ededec;
  --ta-text-2: #a1a1a0;
  --ta-muted: #6f6f6e;
  --ta-buy: #3ad29f;
  --ta-buy-soft: rgba(58,210,159,.12);
  --ta-sell: #f06767;
  --ta-sell-soft: rgba(240,103,103,.12);

  background: var(--ta-bg);
  color: var(--ta-text);
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  user-select: none;
}
.trade-app button {
  font-family: inherit;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: default;
  padding: 0;
}

/* Top app nav */
.ta-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--ta-border);
  background: var(--ta-panel);
}
.ta-nav-l { display: inline-flex; gap: 24px; align-items: center; }
.ta-nav-r { display: inline-flex; gap: 14px; align-items: center; }
.ta-logo {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ta-text);
}
.ta-logo::before {
  content: "▽";
  color: var(--ta-buy);
  margin-right: 6px;
  font-size: 14px;
}
.ta-nav-link {
  font-size: 13px;
  color: var(--ta-text-2);
}
.ta-nav-link.active { color: var(--ta-text); }
.ta-balance {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ta-text);
  padding: 6px 10px;
  background: var(--ta-elev);
  border: 1px solid var(--ta-border);
  border-radius: 6px;
}
.ta-shield { color: var(--ta-buy); font-size: 11px; }
.ta-user {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--ta-text);
  letter-spacing: 0.04em;
  padding: 6px 10px;
  background: var(--ta-elev);
  border: 1px solid var(--ta-border);
  border-radius: 6px;
}
.ta-caret { color: var(--ta-text-2); font-size: 9px; margin-left: 2px; }

/* Pair strip */
.ta-pair {
  display: grid;
  grid-template-columns: 220px repeat(6, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--ta-border);
  background: var(--ta-bg);
}
.ta-pair-name {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  font-size: 14px;
  border-right: 1px solid var(--ta-border);
}
.ta-pair-name b { font-weight: 600; }
.ta-pair-caret { color: var(--ta-text-2); font-size: 9px; }
.ta-coin {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5dd4ad, #1a8c6c);
}
.ta-lev {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-buy);
  background: var(--ta-buy-soft);
  border: 1px solid rgba(58,210,159,.22);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: auto;
}
.ta-stat {
  padding: 14px 14px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'Geist Mono', monospace;
  border-right: 1px solid var(--ta-border);
}
.ta-stat:last-child { border-right: 0; }
.ta-stat span {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  color: var(--ta-text-2);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  text-decoration-color: var(--ta-border);
}
.ta-stat b {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ta-text);
  letter-spacing: 0.01em;
}
.ta-stat .neg { color: var(--ta-sell); }
.ta-stat .ok { color: var(--ta-buy); }
.ta-mono { font-family: 'Geist Mono', monospace; }

/* Three-column grid */
.ta-grid {
  display: grid;
  grid-template-columns: 1fr 280px 320px;
  min-height: 540px;
}

/* CHART column */
.ta-chart {
  border-right: 1px solid var(--ta-border);
  display: flex; flex-direction: column;
}
.ta-chart-tools {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--ta-border);
  font-family: 'Geist Mono', monospace;
}
.ta-chart-tools-l, .ta-chart-tools-r {
  display: inline-flex; gap: 6px; align-items: center;
}
.ta-chart-tools button {
  font-size: 11px;
  color: var(--ta-text-2);
  padding: 4px 8px;
  border-radius: 4px;
}
.ta-chart-tools button.active {
  color: var(--ta-text);
  background: var(--ta-elev);
}
.ta-chart-tools button.ico { padding: 4px 6px; font-size: 13px; }
.ta-chart-body {
  flex: 1;
  display: grid;
  grid-template-columns: 36px 1fr;
  position: relative;
}
.ta-chart-rail {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-right: 1px solid var(--ta-border);
  font-size: 13px;
  color: var(--ta-muted);
}
.ta-chart-canvas {
  position: relative;
  overflow: hidden;
}
.ta-candles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.ta-y-axis {
  position: absolute; right: 8px; top: 0; bottom: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-text-2);
  text-align: right;
  pointer-events: none;
}
.ta-x-axis {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: space-between;
  padding: 0 16px 0 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-text-2);
  pointer-events: none;
}
.ta-vol-label {
  position: absolute; top: 10px; left: 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-text-2);
  display: inline-flex; align-items: center; gap: 4px;
}
.ta-mark-tag {
  position: absolute; right: 8px; top: 36px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--white);
  background: var(--ta-buy);
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
}
.ta-vol-tag {
  position: absolute; right: 8px; bottom: 28px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-buy);
  background: var(--ta-buy-soft);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ORDER BOOK column */
.ta-book {
  border-right: 1px solid var(--ta-border);
  display: flex; flex-direction: column;
  background: var(--ta-bg);
}
.ta-tabs {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--ta-border);
  padding: 0 4px;
}
.ta-tabs button {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ta-text-2);
  position: relative;
}
.ta-tabs button.active {
  color: var(--ta-text);
}
.ta-tabs button.active::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 2px;
  background: var(--ta-text);
}
.ta-tabs button.ico { padding: 10px 8px; }
.ta-tab-spacer { flex: 1; }
.ta-book-tools {
  display: flex; gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--ta-border);
}
.ta-book-tools button {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ta-text-2);
  padding: 4px 8px;
  border: 1px solid var(--ta-border);
  border-radius: 4px;
  background: var(--ta-elev);
}
.ta-book-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 8px 12px;
  font-size: 10.5px;
  color: var(--ta-text-2);
  border-bottom: 1px solid var(--ta-border);
}
.ta-book-head span:nth-child(2),
.ta-book-head span:nth-child(3) { text-align: right; }
.ta-book-asks, .ta-book-bids {
  list-style: none; padding: 0; margin: 0;
}
.ta-book-asks li, .ta-book-bids li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 3px 12px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ta-text);
}
.ta-book-asks li i, .ta-book-bids li i {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: var(--p, 50%);
  pointer-events: none;
  z-index: 0;
}
.ta-book-asks li i { background: var(--ta-sell-soft); }
.ta-book-bids li i { background: var(--ta-buy-soft); }
.ta-book-asks li span, .ta-book-bids li span {
  position: relative; z-index: 1;
}
.ta-book-asks li span:first-child { color: var(--ta-sell); }
.ta-book-bids li span:first-child { color: var(--ta-buy); }
.ta-book-asks li span:nth-child(2),
.ta-book-asks li span:nth-child(3),
.ta-book-bids li span:nth-child(2),
.ta-book-bids li span:nth-child(3) { text-align: right; color: var(--ta-text); }
.ta-book-spread {
  display: flex; justify-content: center; gap: 12px;
  padding: 8px 12px;
  border-top: 1px solid var(--ta-border);
  border-bottom: 1px solid var(--ta-border);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  background: var(--ta-panel);
  color: var(--ta-text-2);
}
.ta-book-spread b { color: var(--ta-text); font-weight: 500; }
.ta-book-spread .muted { color: var(--ta-text-2); }

/* ORDER PANEL column */
.ta-order {
  display: flex; flex-direction: column;
  padding: 0 0 14px;
  background: var(--ta-bg);
}
.ta-tabs-r { padding-left: 12px; }
.ta-side-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
}
.ta-side {
  padding: 9px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid var(--ta-border);
  border-radius: 4px;
  text-align: center;
}
.ta-buy { color: var(--ta-buy); background: var(--ta-buy-soft); border-color: rgba(58,210,159,.32); }
.ta-sell { color: var(--ta-sell); background: var(--ta-elev); border-color: var(--ta-border); }
.ta-meta {
  display: flex; flex-direction: column; gap: 6px;
  padding: 4px 14px 10px;
}
.ta-row {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
}
.ta-row span { color: var(--ta-text-2); }
.ta-row b { color: var(--ta-text); font-weight: 500; }
.ta-row b em { color: var(--ta-text-2); font-style: normal; margin-left: 4px; font-size: 10px; }
.ta-row b.muted { color: var(--ta-muted); }
.ta-edit { color: var(--ta-text-2); margin-left: 6px; font-size: 10px; letter-spacing: 0.04em; cursor: pointer; }
.ta-input-block {
  padding: 8px 14px;
}
.ta-input-block label {
  display: block;
  font-size: 10.5px;
  color: var(--ta-text-2);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.ta-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  background: var(--ta-elev);
  border: 1px solid var(--ta-border);
  border-radius: 6px;
}
.ta-input input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  color: var(--ta-text);
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
}
.ta-input span {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--ta-text-2);
}
.ta-slider {
  padding: 8px 14px 14px;
}
.ta-slider-track {
  position: relative;
  height: 4px;
  background: var(--ta-border);
  border-radius: 2px;
}
.ta-slider-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  width: 25%;
  background: var(--ta-buy);
  border-radius: 2px;
}
.ta-slider-tick {
  position: absolute; top: 50%;
  left: var(--p, 0%);
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: var(--ta-elev);
  border: 1px solid var(--ta-border);
  border-radius: 50%;
}
.ta-slider-thumb {
  position: absolute; top: 50%;
  left: var(--p, 25%);
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--ta-text);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.ta-slider-marks {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  color: var(--ta-text-2);
}
.ta-check {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 12px;
  font-size: 11px;
  color: var(--ta-text-2);
}
.ta-check-box {
  width: 14px; height: 14px;
  border: 1px solid var(--ta-border);
  background: var(--ta-elev);
  border-radius: 3px;
}
.ta-place {
  margin: 6px 14px 12px;
  padding: 12px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ta-buy);
  background: var(--ta-buy-soft);
  border: 1px solid rgba(58,210,159,.32);
  border-radius: 6px;
}
.ta-actions {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 14px 0;
}
.ta-actions button {
  padding: 9px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ta-text);
  background: var(--ta-elev);
  border: 1px solid var(--ta-border);
  border-radius: 4px;
}

/* Bottom positions */
.ta-positions {
  border-top: 1px solid var(--ta-border);
  background: var(--ta-bg);
}
.ta-pos-tabs {
  display: flex;
  border-bottom: 1px solid var(--ta-border);
}
.ta-pos-tabs button {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--ta-text-2);
  position: relative;
}
.ta-pos-tabs button.active {
  color: var(--ta-text);
}
.ta-pos-tabs button.active::after {
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 2px;
  background: var(--ta-text);
}
.ta-pos-tabs button em {
  font-style: normal;
  color: var(--ta-text-2);
  margin-left: 4px;
}
.ta-pos-table {
  display: flex; flex-direction: column;
}
.ta-pos-row {
  display: grid;
  grid-template-columns: 110px 70px 130px 100px 100px 140px 90px 130px 90px 90px;
  align-items: center;
  padding: 12px 16px;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
}
.ta-pos-head {
  background: var(--ta-panel);
  color: var(--ta-text-2);
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 400;
  border-bottom: 1px solid var(--ta-border);
}
.ta-pos-head i { font-style: normal; font-size: 9px; margin-left: 2px; }
.ta-pos-row .ok { color: var(--ta-buy); }
.ta-pos-row .muted { color: var(--ta-muted); }
.ta-pos-row b { font-weight: 600; }
.ta-pos-row em { font-style: normal; color: var(--ta-text-2); font-size: 10px; }
.ta-close {
  font-size: 11px;
  color: var(--ta-text-2);
  text-decoration: underline;
  cursor: pointer;
}

.trade-caption {
  margin: 18px auto 0;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
  .ta-grid { grid-template-columns: 1fr; }
  .ta-chart, .ta-book { border-right: 0; border-bottom: 1px solid var(--ta-border); }
  .ta-pair { grid-template-columns: 1fr; }
  .ta-pair-name, .ta-stat { border-right: 0; border-bottom: 1px solid var(--ta-border); }
  .ta-pos-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
  }
  .ta-pos-head { display: none; }
}

/* =========================================================================
   HERO · SHIELD TX BRANDED TRADE APP (compact)
   ========================================================================= */
.trade-app-shield {
  --ta-bg: rgba(8, 17, 42, 0.62);
  --ta-panel: rgba(15, 23, 64, 0.55);
  --ta-elev: rgba(30, 58, 138, 0.28);
  --ta-border: rgba(147, 197, 253, 0.18);
  --ta-text: #f1f5ff;
  --ta-text-2: rgba(226, 232, 240, 0.72);
  --ta-muted: rgba(148, 163, 184, 0.65);
  --ta-buy: #3ad29f;
  --ta-buy-soft: rgba(58, 210, 159, 0.16);
  --ta-sell: #f06767;
  --ta-sell-soft: rgba(240, 103, 103, 0.16);
  --ta-brand: #93c5fd;
  --ta-brand-strong: #60a5fa;

  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(15,23,64,.55), rgba(8,17,42,.55));
  box-shadow: 0 50px 120px -40px rgba(0,0,20,.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
}
.trade-app-shield .ta-nav { background: rgba(15,23,64,.45); }
.trade-app-shield .ta-pair { background: transparent; }
.ta-logo-shield::before { color: var(--ta-brand); content: "▽"; }
.trade-app-shield .ta-balance,
.trade-app-shield .ta-user {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.trade-app-shield .ta-shield { color: var(--ta-brand); }
.trade-app-shield .ta-coin {
  background: radial-gradient(circle at 30% 30%, var(--blue-300), var(--blue-700));
}
.trade-app-shield .ta-lev {
  color: var(--ta-brand);
  background: rgba(96,165,250,.14);
  border-color: rgba(96,165,250,.28);
}
.trade-app-shield .ta-tabs button.active::after,
.trade-app-shield .ta-pos-tabs button.active::after { background: var(--ta-brand); }
.trade-app-shield .ta-stat span { text-decoration-color: rgba(255,255,255,.1); }
.trade-app-shield .ta-input,
.trade-app-shield .ta-actions button,
.trade-app-shield .ta-book-tools button {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.trade-app-shield .ta-slider-track { background: rgba(255,255,255,.12); }
.trade-app-shield .ta-slider-fill { background: var(--ta-brand-strong); }
.trade-app-shield .ta-slider-thumb {
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(96,165,250,.22);
}
.trade-app-shield .ta-slider-tick { background: rgba(15,23,64,.6); border-color: rgba(255,255,255,.18); }
.trade-app-shield .ta-place-shield {
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  border-color: rgba(96,165,250,.6);
  box-shadow: 0 14px 40px -12px rgba(37,99,235,.55);
}
.trade-app-shield .ta-buy { background: rgba(58,210,159,.18); border-color: rgba(58,210,159,.42); }
.trade-app-shield .ta-sell { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.trade-app-shield .ta-mark-tag {
  background: var(--ta-brand-strong);
  color: #0b1538;
}
.trade-app-shield .ta-vol-tag {
  background: rgba(96,165,250,.18);
  color: var(--ta-brand);
}

/* Hero compact pair strip */
.ta-pair-compact {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.ta-pair-compact .ta-pair-name { padding: 12px 14px; font-size: 13px; }
.ta-pair-compact .ta-stat { padding: 12px 12px; }
.ta-pair-compact .ta-stat span { font-size: 10px; }
.ta-pair-compact .ta-stat b { font-size: 12px; }

/* Hero body: chart left, compact order panel right */
.hero-trade { font-size: 11px; }
.hero-trade .ta-nav { padding: 8px 12px; }
.hero-trade .ta-logo { font-size: 14px; }
.hero-trade .ta-nav-l { gap: 18px; }
.hero-trade .ta-nav-link { font-size: 12px; }
.hero-trade .ta-balance, .hero-trade .ta-user { font-size: 11px; padding: 5px 8px; }

.hero-trade-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 420px;
}
.hero-trade-chart {
  border-right: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 280px;
}
.hero-trade-chart .ta-chart-tools { padding: 6px 10px; }
.hero-trade-chart .ta-chart-tools button { font-size: 10px; padding: 3px 6px; }
.hero-trade-chart .ta-chart-body { grid-template-columns: 1fr; }
.hero-trade-chart .ta-x-axis { padding: 0 12px; }

.hero-trade-order {
  display: flex; flex-direction: column;
  padding: 10px 0;
}
.hero-trade-order .ta-side-row { padding: 4px 12px; gap: 6px; }
.hero-trade-order .ta-side { font-size: 10px; padding: 7px 0; letter-spacing: 0.05em; }
.hero-trade-order .ta-meta { padding: 4px 12px 8px; gap: 4px; }
.hero-trade-order .ta-row { font-size: 10.5px; }
.hero-trade-order .ta-input-block { padding: 4px 12px; }
.hero-trade-order .ta-input-block label { font-size: 10px; margin-bottom: 4px; }
.hero-trade-order .ta-input { padding: 7px 10px; }
.hero-trade-order .ta-input input { font-size: 11px; }
.hero-trade-order .ta-input span { font-size: 10px; }
.hero-trade-order .ta-slider { padding: 6px 12px 10px; }
.hero-trade-order .ta-slider-marks { font-size: 9px; margin-top: 6px; }
.hero-trade-order .ta-place {
  margin: 6px 12px;
  padding: 11px 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.hero-trade-order .ta-row b.ok { color: var(--ta-buy); }
.hero-trade-order .ta-row b.muted { color: var(--ta-muted); }

@media (max-width: 900px) {
  .hero-trade-body { grid-template-columns: 1fr; }
  .hero-trade-chart { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ta-pair-compact { grid-template-columns: 1fr 1fr; }
  .ta-pair-compact .ta-pair-name { grid-column: 1 / -1; }
}

.intro-device { display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.phone {
  width: 280px; aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid #1e293b;
  box-shadow: 0 60px 120px -40px rgba(15,23,42,.4);
  padding: 14px;
  position: relative;
  transform: rotate(-2deg);
}
.phone-notch {
  position: absolute; left: 50%; top: 18px;
  transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 999px;
  background: #000;
}
.phone-screen {
  margin-top: 40px;
  height: calc(100% - 50px);
  background: radial-gradient(140% 100% at 50% 0%, var(--blue-900), #050814 65%);
  border-radius: 30px;
  padding: 20px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.ps-row {
  display: flex; justify-content: space-between;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; color: var(--fg-secondary);
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.ps-row b { color: var(--white); font-weight: 500; }
.ps-spark {
  height: 60px;
  margin: 4px 0;
  background:
    linear-gradient(180deg, rgba(96,165,250,.25), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 14px);
  border-radius: 10px;
  position: relative;
}
.ps-spark::after {
  content: "";
  position: absolute; inset: auto 0 30% 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
  filter: blur(.5px);
}
.ps-cta {
  margin-top: auto;
  height: 40px; border-radius: 999px; border: 0;
  background: var(--blue-500); color: var(--white);
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
  position: relative;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 100px 0 40px;
  color: rgba(255,255,255,.62);
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 12% 0%, rgba(51,112,255,.10), transparent 60%),
    radial-gradient(800px 420px at 90% 100%, rgba(77,213,232,.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand p { font-size: 14px; margin: 24px 0 20px; max-width: 320px; line-height: 1.6; color: rgba(255,255,255,.65); }
/* Simple brand tagline — secondary weight so it supports the logo without
   competing with it. Avail attribution moved to the bottom utility bar. */
.footer-tagline {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.65) !important;
  font-weight: 400;
  letter-spacing: 0;
  margin: 20px 0 0 !important;
  max-width: 280px;
}
/* Legacy span — hidden now that Avail moved to the bottom bar. Kept the
   selector so old markup in untouched pages does not leak through. */
.footer-avail { display: none; }
.footer-logo { height: 22px; width: auto; color: #fff; display: block; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,.55);
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.status .dot.live {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 { margin: 0 0 4px; color: var(--white); font-weight: 500; font-size: 14px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }

/* Footer-bottom — 3-zone utility bar (Stripe / Linear pattern).
   LEFT: copyright + legal links (promoted to brighter color for visibility).
   CENTER: partner attribution (Avail).
   RIGHT: socials. Collapses gracefully on narrow screens. */
.footer-bottom {
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom-left {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-left > span {
  color: rgba(255, 255, 255, 0.78);
}
.footer-bottom-legal {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.footer-bottom-legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-bottom-legal a:hover { color: var(--white); }

/* Partner attribution — "Powered by [brand]" pattern. The label is the
   subordinate element (small, muted, no decoration); the brand mark is
   the visual anchor. Sits in the center zone so it does not compete
   with copyright or socials. */
.footer-avail-link {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.footer-avail-link span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  transition: color .2s var(--ease);
}
.footer-avail-link:hover span { color: rgba(255, 255, 255, 0.75); }
.footer-avail-logo {
  /* Avail wordmark is wide (≈ 1.92:1). At 24px tall it renders ~46px
     wide — gives the brand mark visual primacy over the "Powered by"
     label without overpowering the surrounding copyright/socials. */
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity .2s var(--ease);
  /* Source SVG fills are #FDFDFD (off-white). Normalize to pure white
     via brightness(0) → black → invert(1) → #fff for max contrast on
     the ink footer. Idempotent if the source asset ever changes color. */
  filter: brightness(0) invert(1);
}
.footer-avail-link:hover .footer-avail-logo { opacity: 1; }

/* Footer socials --------------------------------------------------------- */
.footer-socials {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social:hover {
  color: var(--white);
  background: rgba(77, 213, 232, 0.18);
  transform: translateY(-1px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 960px) {
  .nav-links { display: none; }
  /* With .nav-links hidden, the right-push was lost — re-anchor the CTA. */
  .nav-cta { margin-left: auto; }
  .hero-grid, .intro-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .step { grid-template-columns: 1fr; border-radius: 28px; padding: 24px; }
  .step-copy { padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* Bottom bar reflows to a stacked layout so the center zone does not
     get squeezed into nothing on narrow screens. */
  .footer-bottom {
    grid-template-columns: 1fr auto;
    row-gap: 16px;
  }
  .footer-avail-link {
    grid-column: 1 / -1;
    justify-self: start;
    order: 3;
  }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: clamp(44px, 12vw, 72px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .intro-points li { grid-template-columns: 1fr; gap: 4px; }
}

/* ========== WORKAROUNDS SECTION ========== */
.workarounds {
  padding: 120px 0 110px;
  background: var(--bg-elev);
  /* No section borders — generous padding + background tone shift carry
     the section break (Stripe/Linear pattern). */
}
.workarounds-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.workarounds-head { position: sticky; top: 120px; }
/* .workarounds-head .section-title — spacing now from base */
.workarounds-lede {
  margin-top: 20px;
  color: var(--fg-secondary);
  font-size: 17px;
  line-height: 1.55;
  max-width: 440px;
}
.workarounds-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.workarounds-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px 28px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.workarounds-list li:hover {
  border-color: var(--blue-400);
  transform: translateX(4px);
}
.wk-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent);
  background: var(--accent-soft);
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  margin-top: 2px;
}
.workarounds-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
}
.workarounds-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

/* ========== TODAY SECTION (workarounds traders use today)
   Big editorial heading + horizontal rows separated by hairlines.
   Numbers are mono cyan, sit in a left gutter. No card chrome.
   ========== */
.today {
  padding: 110px 0 130px;
  background: var(--bg-elev);
}
.today-head {
  margin: 0 0 0;
}
.today-head .eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--fg-muted);
}
.today-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 72px;
}
.today-head-row .section-title { color: var(--ink); }
.today-mark {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  margin-top: 12px;
  display: inline-flex;
}
.today-mark svg { width: 100%; height: 100%; }

.today-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.today-row {
  display: grid;
  grid-template-columns: 96px minmax(220px, 1.1fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease);
}
.today-row:hover { background: rgba(15, 23, 42, 0.015); }
.today-row-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  /* Aligned with .problem-card-num and .feat-num — was cyan-on-light
     which failed strict WCAG AA. Now brand-blue, matching every other
     numbered list on the landing page. */
  color: var(--brand-blue);
  padding-top: 6px;
}
.today-row-title {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--fg-primary);
}
.today-row-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 60ch;
}
@media (max-width: 900px) {
  .today { padding: 72px 0 90px; }
  .today-head-row {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 48px;
  }
  .today-mark { width: 28px; height: 28px; flex-basis: 28px; }
  .today-row {
    grid-template-columns: 60px 1fr;
    gap: 18px 24px;
    padding: 28px 0;
  }
  .today-row-body {
    grid-column: 1 / -1;
    margin-left: 84px;
  }
}
@media (max-width: 560px) {
  .today-row { grid-template-columns: 48px 1fr; gap: 14px; }
  .today-row-body { margin-left: 62px; }
}


/* ========== SCAN TOOL SECTION (dark band wraps form only; results sit on light bg) ========== */
.scan-tool {
  position: relative;
  background: var(--bg-primary);
  color: var(--fg-primary);
  isolation: isolate;
}
.scan-band {
  position: relative;
  padding: 120px 0 90px;
  background: var(--ink);
  color: #e2e8f0;
  overflow: hidden;
  isolation: isolate;
}
.scan-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.scan-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
}
.scan-blob.s1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--brand-blue-deep), transparent 60%);
  top: -120px; left: -80px;
}
.scan-blob.s2 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--brand-blue), transparent 60%);
  bottom: -220px; right: -160px;
  opacity: 0.22;
}
.scan-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 85%);
}
.scan-band > .container {
  position: relative;
  z-index: 1;
}

/* Light results area below the dark band — only takes space when revealed */
.scan-results {
  background: var(--bg-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height .65s var(--ease);
}
.scan-results.is-open {
  max-height: 2000px;
}
.scan-results.is-open > .container {
  padding-top: 80px;
  padding-bottom: 100px;
}
.scan-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.scan-head .eyebrow.inv,
.scan-head .section-title.inv { color: var(--white); }
.scan-head .eyebrow.inv { color: var(--brand-cyan); }
/* .scan-head .section-title — size now follows the unified base */
.scan-sub {
  margin: 18px auto 0;
  max-width: 56ch;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  text-align: center;
}
.scan-form {
  margin-top: 36px;
}

/* Prefill chips for users without an address */
.scan-prefill {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
  max-width: 720px;
}
.scan-prefill-label {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.62);
  margin-right: 6px;
}
.scan-prefill-chip {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--brand-cyan);
  background: var(--brand-cyan-soft);
  border: 1px solid rgba(77, 213, 232, 0.32);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.scan-prefill-chip:hover {
  background: rgba(77, 213, 232, 0.22);
  border-color: var(--brand-cyan);
  color: var(--white);
}

/* Footnote inside stats panel */
.stats-footnote {
  margin: 0 0 28px;
  text-align: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--fg-muted);
  letter-spacing: .02em;
}
.stats-footnote b {
  color: var(--fg-primary);
  font-weight: 600;
}

/* Stat-card meta line (small explainer below the number) */
.stat-meta {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* "What's being published" list */
.wp-published {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.wp-published li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.wp-published li:last-child { border-bottom: 0; }
.wp-pub-k { color: var(--fg-primary); font-weight: 500; }
.wp-pub-v {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--brand-blue);
  letter-spacing: .02em;
}
.scan-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 8px 8px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .25s ease, box-shadow .3s ease;
}
.scan-form:hover { background: rgba(255, 255, 255, 0.08); }
.scan-form:focus-within {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 0 0 2px var(--brand-cyan), 0 0 0 4px rgba(77, 213, 232, 0.20);
}
.scan-form.is-loading {
  opacity: 0.88;
  pointer-events: none;
}
.scan-form-input {
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  padding: 14px 22px;
  width: 100%;
}
.scan-form-input::placeholder {
  color: rgba(148, 163, 184, 0.6);
  letter-spacing: .01em;
}
.scan-form .btn-primary {
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  letter-spacing: .02em;
  font-weight: 600;
}
.scan-form .btn-primary:disabled {
  cursor: wait;
  opacity: 0.78;
}
/* Validation state — swap the cyan focus ring for a soft danger ring. */
.scan-form.is-invalid {
  box-shadow: inset 0 0 0 2px rgba(255, 122, 122, 0.7), 0 0 0 4px rgba(255, 122, 122, 0.15);
  background: rgba(255, 122, 122, 0.06);
}
.scan-form.is-invalid:focus-within {
  box-shadow: inset 0 0 0 2px rgba(255, 122, 122, 0.85), 0 0 0 4px rgba(255, 122, 122, 0.18);
}
.scan-form-error {
  max-width: 720px;
  margin: 12px auto 0;
  padding: 0 22px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: #ffb4b4;
  text-align: left;
}
.scan-form-error[hidden] { display: none; }

/* --- Stats panel · on-brand light surface --- */
.stats-panel {
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  visibility: hidden;
}
.stats-panel.revealed {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.stat-card {
  position: relative;
  padding: 28px 28px 32px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.10);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.stat-card:hover {
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 80px -40px rgba(51, 112, 255, 0.30);
  transform: translateY(-2px);
}
.stat-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.stat-val {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}
.stat-num {
  font-family: 'Geist', sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brand-blue-deep);
  font-variant-numeric: tabular-nums;
}
.stat-num-money {
  font-size: clamp(32px, 4vw, 50px);
}
.stat-val sub {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
  vertical-align: baseline;
}
.stat-bar {
  height: 4px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.stat-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand-blue);
  border-radius: 999px;
  transition: width 1s cubic-bezier(.4,.8,.2,1) .3s;
}
.stats-panel.revealed .stat-bar span { width: var(--p); }

/* --- Wallets panel · on-brand light surface --- */
.wallets-panel {
  padding: 28px 28px 30px;
  background: var(--white);
  border: none;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.wp-head {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
}
.wp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.wp-list li {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 20px;
  align-items: center;
  padding: 6px 0;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
}
.wp-addr { color: var(--fg-secondary); }
.wp-trades {
  color: var(--brand-blue);
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-align: right;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wp-bar {
  display: block;
  height: 8px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 999px;
  transition: width 1s cubic-bezier(.4,.8,.2,1);
}
.stats-panel.revealed .wp-bar { width: var(--p); }

.scan-unlock-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 430px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--brand-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 30px 80px -36px rgba(51, 112, 255, 0.45);
}
.scan-unlock-copy .eyebrow {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 10px;
}
.scan-unlock-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: 0;
}
.scan-unlock-copy p {
  margin: 12px 0 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}
.scan-unlock-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}
.scan-unlock-form:focus-within {
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.14);
}
.scan-unlock-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 15px;
}
.scan-unlock-input::placeholder { color: var(--slate); }
.scan-unlock-form .btn-primary {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  background: var(--white);
  color: var(--brand-blue-deep);
  border-color: var(--white);
}
.scan-unlock-form .btn-primary:hover {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
}
.scan-unlock-form.is-submitting {
  opacity: 0.78;
  pointer-events: none;
}
.scan-unlock-error {
  margin: 0;
  color: #ffe2e2;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.4;
}
.scan-unlock-error[hidden] { display: none; }

/* --- Stats note + CTAs --- */
.stats-note {
  margin: 24px 0 32px;
  color: var(--slate);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .01em;
}
.stats-ctas {
  display: grid;
  gap: 28px;
}
.stats-ctas .btn-primary.lg {
  justify-self: start;
  padding: 16px 32px;
  background: transparent;
  border: 1.5px solid #4ade80;
  color: #4ade80;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.stats-ctas .btn-primary.lg:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: #4ade80;
}
.stats-report {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  align-items: center;
  padding: 8px 8px 8px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  max-width: 620px;
}
.stats-report-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--slate);
  letter-spacing: .04em;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 16px;
}
.stats-report-input {
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  padding: 12px 0;
  width: 100%;
}
.stats-report-input::placeholder { color: var(--graphite); }
.btn-ghost.inv {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 500;
}
.btn-ghost.inv:hover { border-color: var(--white); background: rgba(255,255,255,.05); }

/* ========== PROBLEM SECTION ========== */
.problem {
  padding: 120px 0 100px;
  background: var(--white);
  /* Section borders removed — padding + tone shift handle separation. */
}
.problem-head {
  max-width: 760px;
  margin: 0 0 64px;
}
/* .problem-head .section-title — spacing now from .eyebrow + .section-title base */
.problem-lede {
  margin-top: 20px;
  color: var(--fg-secondary);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  max-width: 620px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prob-card {
  position: relative;
  padding: 36px 32px 40px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.prob-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-4px);
}
.prob-num {
  display: inline-block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.prob-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-primary);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.prob-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
}

/* ========== TRADING TERMINAL MOCKUP ========== */
.terminal {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
  background: #0b1220;
  border: 1px solid #1f2a44;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255,255,255,0.04) inset;
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  color: #cbd5e1;
}
.term-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #1f2a44;
  background: #0a111e;
}
.term-dots {
  display: flex;
  gap: 6px;
}
.term-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2b3654;
}
.term-dots span:nth-child(1) { background: #ff5f57; }
.term-dots span:nth-child(2) { background: #febc2e; }
.term-dots span:nth-child(3) { background: #28c840; }
.term-url {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--slate);
  text-align: center;
  letter-spacing: .02em;
}
.term-badge {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--white);
  background: var(--blue-600);
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.term-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 280px;
}
.term-markets {
  border-right: 1px solid #1f2a44;
  padding: 16px 0;
  background: #09101c;
}
.term-mlabel {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--graphite);
  padding: 0 18px 14px;
}
.term-m {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--steel);
  font-family: 'Geist Mono', ui-monospace, monospace;
  transition: background .2s ease;
}
.term-m:hover { background: rgba(255,255,255,.02); }
.term-m.active {
  background: #111b33;
  color: #e2e8f0;
  box-shadow: inset 3px 0 0 var(--blue-600);
}
.term-m b {
  font-weight: 500;
  font-size: 11.5px;
}
.term-m .ok  { color: #4da4c7; }
.term-m .neg { color: #f472b6; }
.term-chart {
  position: relative;
  padding: 14px 18px;
}
.term-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}
.term-grid line {
  stroke: #1a253d;
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.term-line { filter: drop-shadow(0 2px 8px rgba(77, 164, 199, 0.35)); }
.term-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #1f2a44;
  background: #0a111e;
}
.term-kv {
  padding: 14px 18px;
  border-right: 1px solid #1f2a44;
}
.term-kv:last-child { border-right: none; }
.term-k {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--graphite);
  margin-bottom: 6px;
}
.term-v {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  color: #e2e8f0;
  font-weight: 500;
}
.term-v.ok { color: #4ade80; }
.term-caption {
  margin-top: 16px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--fg-muted);
  text-align: center;
}

/* ========== FEATURES SECTION ========== */
/* =========================================================================
   FEATURES — vertical stack of large cards (replaces horizontal scroll)
   ========================================================================= */
.features {
  position: relative;
  background: linear-gradient(180deg, var(--snow) 0%, var(--white) 100%);
  /* Section borders removed — gradient + padding carry the transition. */
  --features-edge: max(28px, calc((100vw - var(--container)) / 2 + 28px));
}
.features-vertical {
  padding: 110px 0 110px;
}
.features-vertical .features-head {
  text-align: left;
  max-width: 720px;
  margin-bottom: 56px;
}
.features-vertical .features-head .eyebrow { margin-bottom: 14px; display: inline-block; }
/* .features-vertical .features-head .section-title — typography from base */
.features-vertical .features-lede {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 540px;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.features-list .feat-card {
  width: 100%;
  display: grid;
  /* Body column + visual column. Number was previously a separate
     left column with a display-sized numeral — now sits inline above
     the title to match .problem-card and .today-row patterns. */
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  background: var(--white);
  border: none;
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 60px -30px rgba(15, 23, 42, 0.10);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.features-list .feat-card:hover {
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 40px 100px -40px rgba(51, 112, 255, 0.32);
  transform: translateY(-2px);
}
/* Small monospace section number — matches .problem-card-num exactly
   for a consistent numbering treatment across Problem / Today /
   Features sections. */
.features-list .feat-num {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: 14px;
}
/* Legacy meta wrapper + tag pill — both removed from markup. Keeping
   fallback no-op rules so stray elements don't break the layout. */
.features-list .feat-card-meta { display: contents; }
.features-list .feat-tag { display: none; }
.features-list .feat-card-body {
  display: flex; flex-direction: column; gap: 12px;
}
.features-list .feat-title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--fg-primary);
}
.features-list .feat-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 50ch;
}
.features-list .feat-visual {
  margin-top: 0;
  min-height: 160px;
}

@media (max-width: 900px) {
  .features-vertical { padding: 72px 0 80px; }
  .features-list .feat-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px;
  }
  .features-list .feat-card-meta {
    flex-direction: row;
    align-items: center;
  }
}
.features-pin {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
}
.features-stage {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 64px 0 40px;
  width: 100%;
}
.features-head .eyebrow { margin-bottom: 14px; display: inline-block; }
.features-head .section-title { max-width: 18ch; }
.features-lede {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 540px;
}

/* Horizontal track — translated by GSAP. Aligns first card with header indent */
.features-track-wrap {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  align-self: center;
}
.features-track {
  list-style: none;
  margin: 0;
  padding-left: var(--features-edge);
  padding-right: var(--features-edge);
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}

/* Card — stroke-less, soft shadow + tint hover */
.feat-card {
  flex: 0 0 auto;
  width: clamp(360px, 36vw, 480px);
  background: var(--white);
  border: none;
  border-radius: 24px;
  padding: 32px 32px 28px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 60px -30px rgba(15, 23, 42, 0.10);
}
.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 60%, rgba(51,112,255,.05) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.feat-card.is-active,
.feat-card:hover {
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 40px 100px -40px rgba(51, 112, 255, 0.32);
}
.feat-card.is-active::after,
.feat-card:hover::after { opacity: 1; }

.feat-card-meta {
  display: flex; justify-content: space-between; align-items: center;
}
.feat-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--brand-blue);
  font-weight: 500;
}
.feat-tag {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.feat-title {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--fg-primary);
}
.feat-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 38ch;
}

/* ----- Visual placeholders ----- */
.feat-visual {
  margin-top: auto;
  background: linear-gradient(180deg, var(--snow), var(--ice));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 1. Execution shielding — masked rows with shield watermark */
.feat-visual-mask { padding: 18px; }
.fv-mask-card {
  position: relative;
  width: 100%;
  display: grid; gap: 8px;
}
.fv-mask-row {
  display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.fv-mask-k {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .14em;
  color: var(--fg-muted); font-weight: 500;
}
.fv-mask-v { display: inline-flex; gap: 4px; }
.fv-mask-v i {
  width: 12px; height: 6px;
  background: var(--mist);
  border-radius: 2px;
}
.fv-mask-v i:nth-child(odd) { width: 16px; }
.fv-mask-shield {
  position: absolute;
  right: -10px; bottom: -10px;
  width: 100px; height: 100px;
  color: var(--brand-blue);
  opacity: .12;
}
.fv-mask-shield svg { width: 100%; height: 100%; }

/* 2. HL fill parity — sparkline */
.feat-visual-spark {
  flex-direction: column;
  padding: 18px 18px 14px;
  align-items: stretch; gap: 10px;
}
.fv-spark { width: 100%; height: 100px; display: block; }
.fv-spark-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .08em;
}
.fv-spark-label span { color: var(--fg-muted); text-transform: uppercase; letter-spacing: .14em; }
.fv-spark-label b { color: var(--brand-blue); font-weight: 500; }

/* 3. Compliant — globe + BLOCKED tag */
.feat-visual-block { padding: 12px; }
.fv-globe {
  position: relative;
  width: 140px; height: 140px;
  display: grid; place-items: center;
}
.fv-globe svg { width: 100%; height: 100%; opacity: .4; }
.fv-globe-pill {
  position: absolute; top: 16%; left: 50%; transform: translateX(-50%);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .14em; font-weight: 600;
  color: var(--white);
  background: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
}
.fv-globe-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #f87171;
  box-shadow: 0 0 0 4px rgba(248,113,113,.18);
}
.fv-globe-dot-1 { top: 56%; left: 32%; }
.fv-globe-dot-2 { top: 70%; left: 60%; }

/* 4. Sign-in buttons */
.feat-visual-signin { flex-direction: column; padding: 14px; gap: 8px; align-items: stretch; }
.fv-signin {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--fg-primary);
  cursor: default;
  font-weight: 500;
  transition: border-color .25s var(--ease);
}
.fv-signin b {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg-elev);
  font-size: 12px; font-weight: 600;
  color: var(--brand-blue);
}
.fv-signin-active { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(51,112,255,.10); }

/* 5. Custody flow */
.feat-visual-flow { padding: 16px; gap: 10px; }
.fv-flow-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}
.fv-flow-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .14em;
  color: var(--fg-muted); text-transform: uppercase;
}
.fv-flow-amount {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px; font-weight: 600;
  color: var(--fg-primary);
}
.fv-flow-amount em {
  font-style: normal; font-size: 10.5px; color: var(--fg-muted);
  margin-left: 6px; font-weight: 400;
}
.fv-flow-amount-out { color: var(--brand-blue); }
.fv-flow-arrow {
  flex: 0 0 auto;
  width: 20px; height: 1.5px;
  background: var(--brand-blue);
  position: relative;
}
.fv-flow-arrow::after {
  content: '';
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--brand-blue);
  border-top: 1.5px solid var(--brand-blue);
}

/* 6. One account — multi-wallet → single account */
.feat-visual-nodes { padding: 14px; }
.fv-nodes { display: flex; align-items: center; gap: 16px; width: 100%; justify-content: space-between; }
.fv-cluster {
  display: grid;
  align-items: center; justify-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 14px 10px;
  flex: 1;
}
.fv-cluster-old { grid-template-columns: 1fr 1fr; }
.fv-old-w {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--mist);
  border: 1px solid var(--silver);
}
.fv-cluster-label {
  grid-column: 1 / -1;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .14em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.fv-cluster-arrow {
  flex: 0 0 auto;
  width: 28px; height: 1.5px;
  background: var(--brand-blue);
  position: relative;
}
.fv-cluster-arrow::after {
  content: '';
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--brand-blue);
  border-top: 1.5px solid var(--brand-blue);
}
.fv-cluster-new { grid-template-columns: 1fr; }
.fv-new-w {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 2px solid var(--brand-blue);
  background: rgba(51,112,255,.08);
  position: relative;
}
.fv-new-w::after {
  content: '✓';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--brand-blue);
  font-size: 14px; font-weight: 600;
}

/* Counter / pagination at bottom */
.features-counter {
  display: flex; align-items: center; gap: 14px;
  padding-left: var(--features-edge);
  padding-right: var(--features-edge);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px; letter-spacing: .04em;
  color: var(--fg-primary);
}
.features-counter-current {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-blue);
  font-variant-numeric: tabular-nums;
  min-width: 44px;
}
.features-counter-sep { color: var(--fg-muted); font-size: 18px; }
.features-counter-total { color: var(--fg-muted); font-size: 18px; }
.features-counter-bar {
  flex: 1;
  max-width: 280px;
  height: 2px;
  background: var(--mist);
  border-radius: 999px;
  overflow: hidden;
}
.features-counter-fill {
  display: block;
  height: 100%;
  width: 16.66%;
  background: var(--brand-blue);
  border-radius: 999px;
  transition: width .2s var(--ease);
}

/* Mobile / reduced-motion fallback — vertical stack, no pinning */
@media (max-width: 900px) {
  .features { --features-edge: 28px; }
  .features-pin { height: auto; min-height: 0; overflow: visible; padding-bottom: 80px; }
  .features-stage { display: block; padding: 64px 0 0; }
  .features-head .container { max-width: 720px; }
  .features-track-wrap { overflow: visible; }
  .features-track {
    flex-direction: column;
    width: 100%;
    padding: 0 28px;
    gap: 14px;
  }
  .feat-card { width: 100%; }
  .features-counter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .features-pin { height: auto; overflow: visible; }
  .features-track-wrap { overflow: auto; -webkit-overflow-scrolling: touch; }
  .features-track { transform: none !important; }
}

/* ========== COMPARE SECTION ========== */
.compare {
  padding: 120px 0 120px;
  background: var(--bg-primary);
  /* Section border removed — padding + background variation handle
     the seam (Stripe/Linear pattern). */
}
.compare-head {
  max-width: 780px;
  margin: 0 0 56px;
  text-align: left;
}
/* .compare-head .section-title — spacing from .eyebrow + .section-title base */
.compare-lede {
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 640px;
}
.compare-wrap {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(15, 23, 42, 0.14);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Geist', sans-serif;
}
.compare-table thead th {
  padding: 22px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-align: center;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--border);
  background: var(--ice);
}
.compare-table thead th:first-child {
  text-align: left;
  background: var(--ice);
}
.compare-table thead th.col-shield {
  color: var(--accent);
  font-weight: 600;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--ice) 100%);
  border-bottom: 2px solid var(--accent);
}
.compare-table tbody th {
  padding: 22px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-primary);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.compare-table tbody td {
  padding: 22px 20px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background .2s ease;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: var(--ice); }
.compare-table tbody td.cell-shield {
  background: color-mix(in srgb, var(--blue-50) 70%, var(--white));
  position: relative;
}
.compare-table tbody tr:hover td.cell-shield { background: var(--blue-50); }
.mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.mark.yes { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.mark.no  { background: color-mix(in srgb, var(--slate) 14%, transparent); color: var(--slate); }
.pill-low {
  display: inline-block;
  padding: 6px 14px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 14%, transparent);
  border-radius: 999px;
  font-weight: 500;
}
.pill-high {
  display: inline-block;
  padding: 6px 14px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--danger-ink);
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  border-radius: 999px;
  font-weight: 500;
}

/* ========== COMPARE — light grey variant (brand --ice) ========== */
.compare.compare-dark {
  background: var(--ice);
  /* Section borders removed — background tone shift handles the
     separation (Stripe/Linear pattern). */
}
.compare.compare-dark .compare-head .eyebrow { color: var(--brand-blue); }
.compare.compare-dark .section-title { color: var(--fg-primary); }
.compare.compare-dark .compare-wrap {
  background: var(--white);
  border: none;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 80px -40px rgba(15, 23, 42, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare.compare-dark .compare-table thead th {
  color: var(--fg-secondary);
  background: rgba(15, 23, 42, 0.02);
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
  border-bottom: none;
  font-size: 15px;
  font-weight: 500;
  /* Data-column headers are centered so the ✓ / ✕ / pill cells below
     them line up under the heading text. */
  text-align: center;
  padding: 22px 28px;
}
/* The empty top-left corner cell stays left-aligned (it has no content,
   but the row-label column below it is left-aligned, so this preserves
   the column's text-align inheritance pattern). */
.compare.compare-dark .compare-table thead th:first-child {
  background: rgba(15, 23, 42, 0.02);
  text-align: left;
}
.compare.compare-dark .compare-table thead th.col-shield {
  color: var(--brand-blue-deep);
  font-weight: 600;
  background: rgba(51, 112, 255, 0.04);
}
.compare.compare-dark .compare-table tbody th {
  color: var(--fg-primary);
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
  border-bottom: none;
  padding: 20px 28px;
  font-weight: 400;
  font-size: 15px;
}
.compare.compare-dark .compare-table tbody td {
  background: transparent;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
  border-bottom: none;
  /* Center marks (✓ / ✕) and pill chips (Low / High) under the
     centered column headers. Row labels in <th scope="row"> stay
     left-aligned via the .compare.compare-dark .compare-table tbody th
     rule above. */
  text-align: center;
  padding: 20px 28px;
  color: var(--fg-primary);
}
.compare.compare-dark .compare-table tbody td.cell-shield { background: rgba(51, 112, 255, 0.04); }
.compare.compare-dark .compare-table tbody tr:last-child th,
.compare.compare-dark .compare-table tbody tr:last-child td { box-shadow: none; }
.compare.compare-dark .compare-table tbody tr:hover td,
.compare.compare-dark .compare-table tbody tr:hover th {
  background: var(--snow);
}
.compare.compare-dark .compare-table tbody td.cell-shield { background: transparent; }
.compare.compare-dark .compare-table tbody tr:hover td.cell-shield { background: rgba(51,112,255,.06); }

.compare.compare-dark .mark {
  width: auto; height: auto;
  background: transparent;
  font-size: 18px;
}
.compare.compare-dark .mark.yes { color: var(--brand-blue); }
.compare.compare-dark .mark.no  { color: var(--steel); }

.compare.compare-dark .pill-low,
.compare.compare-dark .pill-high {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  background: transparent;
  padding: 0;
  color: var(--fg-primary);
}
.compare.compare-dark .pill-high { color: var(--fg-primary); }

@media (max-width: 720px) {
  .compare.compare-dark .compare-table thead th,
  .compare.compare-dark .compare-table tbody th,
  .compare.compare-dark .compare-table tbody td { padding: 14px 16px; font-size: 13px; }
}

/* ========== BETA BREAKER ========== */
.beta-breaker {
  position: relative;
  padding: 100px 0 110px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.beta-breaker-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(37, 99, 235, 0.22), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(77, 164, 199, 0.16), transparent 60%);
  pointer-events: none;
}
.beta-breaker-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.beta-breaker-title {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
}
.beta-form.beta-form-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.beta-form.beta-form-dark:focus-within {
  border-color: var(--blue-400);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.22),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.beta-form.beta-form-dark .beta-label {
  color: var(--steel);
  border-right-color: rgba(255, 255, 255, 0.12);
}
.beta-form.beta-form-dark .beta-input {
  color: var(--white);
}
.beta-form.beta-form-dark .beta-input::placeholder { color: var(--graphite); }
.beta-foot-dark {
  color: var(--steel);
}
.beta-foot-dark a {
  color: var(--blue-300);
}
.beta-foot-dark a:hover { color: var(--white); }

.beta-breaker-2 {
  background: linear-gradient(180deg, #0a1428 0%, var(--ink) 65%);
  padding: 120px 0 140px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.beta-breaker-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(77,164,199,.1), transparent 70%);
  pointer-events: none;
}

/* ========== BETA ACCESS SECTION ========== */
.beta {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--snow) 0%, var(--white) 100%);
  /* Section border removed — gradient + padding handle the transition. */
  position: relative;
  overflow: hidden;
}
.beta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37, 99, 235, 0.08), transparent 60%);
  pointer-events: none;
}
.beta-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
/* .beta-wrap .section-title — typography + spacing from base */
.beta-lede {
  margin: 24px auto 40px;
  max-width: 540px;
  color: var(--fg-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.beta-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 24px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow:
    inset 0 0 0 1px transparent,
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 20px 48px -20px rgba(37, 99, 235, 0.18);
  transition: box-shadow .3s ease;
}
.beta-form:focus-within {
  box-shadow:
    inset 0 0 0 2px var(--brand-blue),
    0 0 0 4px rgba(51, 112, 255, 0.15),
    0 20px 48px -16px rgba(37, 99, 235, 0.28);
}
.beta-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--fg-muted);
  padding-right: 14px;
  box-shadow: inset -1px 0 0 rgba(15, 23, 42, 0.06);
  margin-right: 14px;
}
.beta-input {
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 15px;
  color: var(--fg-primary);
  padding: 12px 0;
  width: 100%;
}
.beta-input::placeholder {
  color: var(--fg-muted);
  opacity: .7;
}
.beta-form .btn-primary {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
}
.beta-foot {
  margin-top: 20px;
  font-size: 14px;
  color: var(--fg-muted);
}
.beta-foot a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.beta-foot a:hover { color: var(--blue-900); }

/* Responsive: problem grid + terminal + beta + workarounds + scan */
@media (max-width: 900px) {
  .workarounds { padding: 72px 0 80px; }
  .workarounds-grid { grid-template-columns: 1fr; gap: 40px; }
  .workarounds-head { position: static; }
  .workarounds-list li { padding: 22px 20px 24px; gap: 14px; grid-template-columns: auto 1fr; }
  .scan-tool { padding: 80px 0 90px; }
  .scan-form { grid-template-columns: 1fr; padding: 12px; gap: 10px; border-radius: var(--radius-lg); }
  .scan-form-input { padding: 12px 14px; }
  .scan-form .btn-primary { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 42px; }
  .wp-list li { grid-template-columns: 100px 1fr 60px; gap: 12px; font-size: 11.5px; }
  .scan-unlock-panel { grid-template-columns: 1fr; padding: 22px; }
  .stats-report { grid-template-columns: 1fr; padding: 14px; gap: 10px; border-radius: var(--radius-lg); }
  .stats-report-label { border-right: none; padding-right: 0; margin-right: 0; }
  .stats-report-input { background: rgba(255,255,255,.04); padding: 12px 14px; border-radius: var(--radius-pill); }
  .btn-ghost.inv { width: 100%; justify-content: center; }
  /* (Features now uses pinned horizontal scroll — see .features-pin rules above) */
  .feat-card { padding: 28px 24px 32px; }
  .compare { padding: 80px 0 80px; }
  .compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
  .compare-table { min-width: 680px; }
  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td { padding: 14px 12px; font-size: 13px; }
  .beta-breaker { padding: 70px 0 80px; }
  .beta-breaker-title { font-size: 26px; }
  .beta-form.beta-form-dark {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    padding: 18px;
  }
  .beta-form.beta-form-dark .beta-label {
    padding-right: 0;
    border-right: none;
    margin-right: 0;
    text-align: left;
  }
  .beta-form.beta-form-dark .beta-input {
    padding: 12px 14px;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius-pill);
  }
  .beta-form.beta-form-dark .btn-primary { width: 100%; justify-content: center; }
  .problem { padding: 80px 0 72px; }
  .problem-grid { grid-template-columns: 1fr; gap: 14px; }
  .prob-card { padding: 28px 24px 32px; }
  .terminal { max-width: 100%; }
  .term-body { grid-template-columns: 140px 1fr; min-height: 240px; }
  .term-mlabel { padding: 0 14px 10px; }
  .term-m { padding: 10px 14px; font-size: 12px; }
  .term-foot { grid-template-columns: 1fr; }
  .term-kv { border-right: none; border-bottom: 1px solid #1f2a44; }
  .term-kv:last-child { border-bottom: none; }
  .beta-form {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    padding: 18px;
    gap: 12px;
  }
  .beta-label {
    padding-right: 0;
    border-right: none;
    margin-right: 0;
    text-align: left;
  }
  .beta-input {
    padding: 12px 14px;
    background: var(--ice);
    border-radius: var(--radius-pill);
  }
  .beta-form .btn-primary { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .blob { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor { display: none; }
}

/* ========== FAQ SECTION ========== */
.faq {
  background: var(--snow);
  padding: 140px 0 160px;
  /* Section border removed — Snow background + 140px padding handle
     the seam from the preceding Compare section. */
  color: var(--ink);
}
.faq-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 760px;
}
.faq-head .eyebrow { color: var(--slate); }
.faq-head .section-title { color: var(--ink); }
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.06);
}
.faq-item {
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 28px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--blue-600); }
.faq-q:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-icon {
  width: 28px;
  height: 28px;
  flex: none;
  position: relative;
  color: var(--slate);
  transition: transform .35s var(--ease), color .2s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-q:hover .faq-icon { color: var(--brand-cyan); }
.faq-q[aria-expanded="true"] {
  color: var(--brand-blue-deep);
}
.faq-q[aria-expanded="true"] .faq-icon {
  color: var(--brand-cyan);
  transform: rotate(180deg);
}
.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.faq-item.is-open .faq-a {
  max-height: 400px;
}
.faq-a-inner {
  padding: 0 4px 28px;
  max-width: 780px;
}
.faq-a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
}

/* FAQ inline links */
.faq-link {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: var(--brand-cyan);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.faq-link:hover {
  color: var(--brand-blue-deep);
  text-decoration-color: var(--brand-blue);
}

/* Pricing card (used inside the cost FAQ) — clean product card, no strokes */
.pricing-card {
  margin: 20px 0 0;
  background: var(--bg-elev);
  border-radius: 16px;
  padding: 24px 28px 28px;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 60px -30px rgba(15, 23, 42, 0.10);
}
.pricing-group + .pricing-group {
  margin-top: 24px;
  padding-top: 20px;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.06);
}
.pricing-group-label {
  display: block;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 12px;
}
.pricing-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
}
.pricing-row:last-child { box-shadow: none; }
.pricing-row-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-primary);
}
.pricing-row-value {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--brand-blue-deep);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pricing-row-add {
  color: var(--fg-muted);
  font-weight: 400;
  margin-left: 2px;
}
.pricing-row-note {
  display: inline-block;
  margin-left: 6px;
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
  font-weight: 400;
}
.pricing-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing-pill-free {
  color: var(--brand-blue-deep);
  background: var(--brand-cyan-soft);
}
.pricing-pill-none {
  color: var(--fg-muted);
  background: rgba(15, 23, 42, 0.06);
}

@media (max-width: 560px) {
  .pricing-card { padding: 18px 18px 22px; }
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0;
  }
  .pricing-row-value, .pricing-pill { text-align: left; }
}

@media (max-width: 640px) {
  .faq { padding: 100px 0 110px; }
  .faq-q { padding: 22px 2px; font-size: 17px; gap: 16px; }
  .faq-a-inner { padding: 0 2px 22px; }
  .faq-a p { font-size: 15px; }
}

/* =========================================================================
   TOOLS CALLOUT — Copying is a full-time job
   ========================================================================= */
.tools-callout {
  padding: 100px 0 80px;
  background: var(--bg-primary);
  position: relative;
}
.tools-callout-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.tools-callout-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.tools-callout .problem-stats { margin: 0; }

/* =========================================================================
   HERO CALLOUT — Secondary CTA banner
   ========================================================================= */
.hero-callout {
  position: relative;
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.hero-callout-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(96,165,250,.18), transparent 60%),
    radial-gradient(700px 400px at 50% 100%, rgba(29,78,216,.16), transparent 60%);
  pointer-events: none;
}
.hero-callout-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 24px;
  max-width: 880px;
}
.hero-callout-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--white);
}
.hero-callout-sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,.78);
  max-width: 56ch;
  margin: 0;
}
.hero-callout-cta {
  margin-top: 16px;
  height: 52px; padding: 0 28px;
  font-size: 15px; font-weight: 500;
  background: var(--white); color: var(--blue-900); border-color: var(--white);
}
.hero-callout-cta:hover { background: var(--blue-50); border-color: var(--blue-50); }

@media (max-width: 640px) {
  .hero-callout { padding: 80px 0; }
}

/* =========================================================================
   NOT A MIXER — Compliant cards
   ========================================================================= */
.not-mixer {
  padding: 100px 0;
  background: var(--bg-primary);
}
.not-mixer-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.not-mixer-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.nm-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
}
.nm-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.nm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.18);
  border-color: var(--silver);
}
.nm-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
}
.nm-icon svg { width: 28px; height: 28px; }
.nm-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-primary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .nm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nm-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   ROADMAP
   ========================================================================= */
.roadmap {
  padding: 100px 0 120px;
  background: var(--ice);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.roadmap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 50%, rgba(96,165,250,.06), transparent 70%);
  pointer-events: none;
}
.roadmap-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
  max-width: 720px;
}
.roadmap-wrap .eyebrow { margin-bottom: 4px; }
.roadmap .section-title { margin: 0; }
.roadmap-sub {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 52ch;
  margin: 0;
}

/* =========================================================================
   MARQUEE STRIP — running text band
   ========================================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255,255,255,.92);
  border-block: 1px solid rgba(255,255,255,.06);
}
.marquee::before,
.marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px;
  pointer-events: none; z-index: 2;
}
.marquee::before {
  left: 0; background: linear-gradient(90deg, var(--ink), transparent);
}
.marquee::after {
  right: 0; background: linear-gradient(-90deg, var(--ink), transparent);
}
.marquee-track {
  display: inline-flex; align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}
.m-item {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}
.m-dot {
  font-size: clamp(12px, 1vw, 16px);
  color: var(--blue-400);
  opacity: .8;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =========================================================================
   MANIFESTO / PULL QUOTE
   ========================================================================= */
.manifesto {
  position: relative;
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 600px at 80% 30%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(600px 500px at 10% 80%, rgba(96,165,250,.12), transparent 65%);
  pointer-events: none;
}
.manifesto-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: center;
}
.manifesto-copy { max-width: 640px; }
.manifesto .eyebrow {
  color: var(--blue-300);
  margin-bottom: 32px;
  display: inline-block;
}
.manifesto-quote {
  position: relative;
  font-family: 'Geist', sans-serif;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  color: var(--white);
}
.manifesto-quote em {
  font-style: normal;
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mq-mark {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  color: rgba(147,197,253,.55);
}
.manifesto-attr {
  display: inline-flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ma-avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.ma-avatar svg { width: 100%; height: 100%; display: block; }
.ma-name { display: flex; flex-direction: column; gap: 2px; }
.ma-name b {
  font-size: 15px; font-weight: 600; color: var(--white);
}
.ma-name span {
  font-family: 'Geist Mono', monospace;
  font-size: 12px; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: 0.06em;
}

.manifesto-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.mv-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(147,197,253,.16);
  background: linear-gradient(135deg, #0f1e3f 0%, #1a2c5e 50%, #0a1430 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,30,.6);
}
.mv-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(147,197,253,.6) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(59,130,246,.5) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(29,78,216,.4) 0%, transparent 50%);
  filter: blur(40px);
  opacity: .6;
}
.mv-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  mix-blend-mode: overlay;
  opacity: .5;
}
.mv-orbit {
  position: absolute; inset: 8%;
  width: 84%; height: 84%;
  animation: mvSpin 60s linear infinite;
}
.mv-node {
  filter: drop-shadow(0 0 8px currentColor);
}
.mv-node-1 { animation: mvPulse 3s ease-in-out infinite; }
.mv-node-2 { animation: mvPulse 3s ease-in-out infinite .8s; }
.mv-node-3 { animation: mvPulse 3s ease-in-out infinite 1.6s; }
@keyframes mvSpin {
  to { transform: rotate(360deg); }
}
@keyframes mvPulse {
  0%, 100% { opacity: .5; transform: scale(1); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.4); }
}
.mv-tag {
  position: absolute; top: 24px; left: 24px;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.7);
  padding: 8px 12px;
  background: rgba(11,24,56,.6);
  border: 1px solid rgba(147,197,253,.18);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  z-index: 3;
}
.mv-meta {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.85);
  z-index: 3;
  padding: 12px 16px;
  background: rgba(11,24,56,.55);
  border: 1px solid rgba(147,197,253,.14);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
.mv-meta b {
  color: #3ad29f;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .mv-orbit { animation: none; }
  .mv-node-1, .mv-node-2, .mv-node-3 { animation: none; opacity: .9; }
}
@media (max-width: 900px) {
  .manifesto { padding: 80px 0; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-visual { justify-self: stretch; max-width: 100%; }
}

/* =========================================================================
   PROBLEM STAT STRIP — bold numerals
   ========================================================================= */
.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 56px 0 72px;
}
.ps-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ps-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% 0%, rgba(59,130,246,.06), transparent 60%);
  pointer-events: none;
}
.ps-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.18);
}
.ps-card-emph {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--brand-blue-deep) 60%, var(--blue-700) 100%);
  border-color: transparent;
  color: var(--white);
}
.ps-card-emph::before {
  background: radial-gradient(800px 300px at 30% 0%, rgba(147,197,253,.25), transparent 60%);
}
.ps-num {
  position: relative;
  display: block;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: clamp(80px, 9vw, 140px);
  line-height: .95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.ps-card-emph .ps-num { color: var(--white); }
.ps-num sup {
  font-size: 0.34em;
  font-weight: 500;
  vertical-align: top;
  margin-left: 4px;
  color: var(--blue-500);
  top: 0.6em;
  position: relative;
}
.ps-card-emph .ps-num sup { color: var(--blue-300); }
.ps-label {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-secondary);
  font-weight: 400;
  max-width: 24ch;
}
.ps-card-emph .ps-label { color: rgba(255,255,255,.78); }

@media (max-width: 900px) {
  .problem-stats { grid-template-columns: 1fr; gap: 12px; margin: 40px 0 56px; }
  .ps-card { padding: 28px 22px; }
}

/* =========================================================================
   BUILT ON / INTEGRATIONS ROW
   ========================================================================= */
.builton {
  padding: 100px 0;
  background: var(--ice);
  position: relative;
  overflow: hidden;
}
.builton::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(96,165,250,.05), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(29,78,216,.05), transparent 60%);
  pointer-events: none;
}
.builton-head {
  position: relative;
  text-align: center;
  margin-bottom: 56px;
}
.builton-head .eyebrow {
  /* Was --blue-700; aligned with manifesto + breaker which both use
     --blue-300 for eyebrows on dark surfaces. */
  color: var(--blue-300);
  margin-bottom: 16px;
}
.builton-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 auto;
  max-width: 30ch;
}
.builton-row {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  overflow: hidden;
}
.bo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg-surface);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.bo-item:last-child { border-right: none; }
.bo-item:hover {
  background: var(--snow);
}
.bo-logo {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-900), var(--brand-blue-deep));
  margin-bottom: 4px;
  transition: transform .3s var(--ease);
}
.bo-item:hover .bo-logo { transform: translateY(-2px) rotate(-2deg); }
.bo-logo svg { width: 32px; height: 32px; }
.bo-item b {
  font-size: 16px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.bo-item span {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .builton { padding: 72px 0; }
  .builton-row { grid-template-columns: repeat(2, 1fr); }
  .bo-item { padding: 36px 20px; }
  .bo-item:nth-child(2n) { border-right: none; }
  .bo-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* =========================================================================
   PROBLEM — Your wallet exposes everything (3 cards)
   ========================================================================= */
.problem {
  padding: 110px 0 120px;
  background: var(--bg-primary);
  position: relative;
}
.problem-head {
  text-align: left;
  margin: 0 0 64px;
  max-width: 760px;
}
.problem-head .eyebrow {
  margin-bottom: 16px;
  display: inline-block;
}
.problem-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px 38px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 60px -30px rgba(15, 23, 42, 0.08);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(51,112,255,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.problem-card:hover {
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 80px -40px rgba(51, 112, 255, 0.32);
  transform: translateY(-3px);
}
.problem-card:hover::before { opacity: 1; }
.problem-card-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.problem-card-title {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--fg-primary);
  position: relative;
  z-index: 1;
}
.problem-card-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .problem { padding: 80px 0 90px; }
  .problem-cards { grid-template-columns: 1fr; gap: 14px; }
  .problem-card { padding: 28px 24px 30px; }
}

/* =========================================================================
   BREAKERS — slim full-bleed section bands (variants A, B, C)
   ========================================================================= */
.breaker {
  position: relative;
  padding: 72px 0 80px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.breaker .breaker-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.breaker-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 880px;
}
.breaker .eyebrow,
.breaker .eyebrow.inv {
  /* Was raw rgba(147, 197, 253, .9) ≈ --blue-300 at 90% — tokenized. */
  color: var(--blue-300);
}
.breaker-line {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--white);
}

/* Variant A — brand gradient (manifesto/hero-callout treatment per brand) */
.breaker-a {
  background: var(--brand-gradient);
}
.breaker-a .breaker-bg {
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(700px 360px at 50% 100%, rgba(0,0,0,.18), transparent 60%);
}

/* Variant B — flat brand-blue (single tone treatment per Brand Doc) */
.breaker-b {
  background: var(--brand-blue);
}
.breaker-b .breaker-bg {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(700px 360px at 50% 100%, rgba(30,58,138,.22), transparent 60%);
}
.breaker-b .breaker-form-title { color: var(--white); }
.breaker-b .eyebrow,
.breaker-b .eyebrow.inv { color: rgba(255,255,255,.78); }
.breaker-b .beta-form { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.breaker-b .beta-form .btn-primary { color: var(--brand-blue-deep); }

/* =========================================================================
   FINAL CTA — Join the private beta
   ========================================================================= */
.final-cta {
  position: relative;
  padding: 120px 0 130px;
  background: var(--brand-blue-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 460px at 22% 0%, rgba(91,160,255,.22), transparent 60%),
    radial-gradient(700px 360px at 82% 100%, rgba(77,213,232,.18), transparent 60%);
  pointer-events: none;
}
.final-cta-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.final-cta .eyebrow.inv {
  color: var(--brand-cyan);
  margin-bottom: 18px;
  display: inline-block;
}
.final-cta-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.final-cta-sub {
  margin: 20px auto 36px;
  max-width: 52ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
/* Final CTA — single primary action button (no inline form) */
.final-cta-actions {
  display: inline-flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4px;
}
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 500;
  background: var(--white);
  color: var(--brand-blue-deep);
  border-color: var(--white);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.5);
  transition: background .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.final-cta-btn:hover {
  background: var(--brand-cyan);
  color: var(--brand-blue-deep);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 8px rgba(77,213,232,.22), 0 30px 80px -30px rgba(0,0,0,.5);
}
.final-cta-btn:hover .hero-cta-arrow { transform: translateX(3px); }
.final-cta-helper {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,.66);
  text-align: center;
}
.final-cta-helper .beta-helper-link {
  color: var(--brand-cyan);
}
.final-cta-helper .beta-helper-link:hover { color: var(--white); }

.final-cta-trust {
  list-style: none;
  margin: 56px auto 0;
  padding: 22px 0 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.12);
}
.final-cta-trust li {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.final-cta-trust li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(77,213,232,.18);
}

@media (max-width: 640px) {
  .final-cta { padding: 80px 0 96px; }
  .final-cta-trust { gap: 18px; padding-top: 18px; }
  .final-cta-trust li { font-size: 11px; }
}
.beta-helper {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.66);
  text-align: center;
}
.beta-helper-link {
  color: var(--blue-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.beta-helper-link:hover { color: var(--white); }

/* =========================================================================
   BREAKER · invite-form variants (used in breakers A & B)
   ========================================================================= */
.breaker.breaker-form {
  padding: 88px 0 88px;
}
.breaker.breaker-form .breaker-wrap {
  max-width: 680px;
  gap: 24px;
}
.breaker-form-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  text-align: center;
}

/* Inverted (dark-band) styling for the form on breakers A & B */
.breaker.breaker-form .beta-form {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 20px 48px -20px rgba(0,0,0,.5);
}
.breaker.breaker-form .beta-form:focus-within {
  border-color: var(--white);
  box-shadow: 0 20px 48px -16px rgba(255,255,255,.25);
}
.breaker.breaker-form .beta-label {
  color: rgba(255,255,255,.78);
  border-right-color: rgba(255,255,255,.2);
}
.breaker.breaker-form .beta-input { color: var(--white); }
.breaker.breaker-form .beta-input::placeholder { color: rgba(255,255,255,.5); }
.breaker.breaker-form .beta-form .btn-primary {
  background: var(--white);
  color: var(--brand-blue-deep);
  border-color: var(--white);
}
.breaker.breaker-form .beta-form .btn-primary:hover {
  background: var(--blue-50);
  border-color: var(--blue-50);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.18);
  filter: brightness(1.02);
}

@media (max-width: 640px) {
  .breaker.breaker-form { padding: 72px 0 80px; }
}

/* =========================================================================
   MODAL · request-invite
   ========================================================================= */
.modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal.is-open {
  display: flex;
  animation: modal-fade .25s var(--ease) both;
}
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 17, 42, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 60px 120px -30px rgba(0, 0, 30, 0.55);
  animation: modal-pop .35s cubic-bezier(.22,1,.36,1) both;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.04);
  color: var(--fg-muted);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.modal-close:hover { background: rgba(15, 23, 42, 0.08); color: var(--ink); }
.modal-body { display: flex; flex-direction: column; gap: 14px; }
.modal-body .eyebrow { color: var(--brand-blue); margin-bottom: 0; }
.modal-title {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg-primary);
}
.modal-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-secondary);
}
.modal-form {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.modal-input {
  appearance: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  height: 44px;
  font-size: 14px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  color: var(--fg-primary);
  background: rgba(15, 23, 42, 0.04);
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.modal-input:hover { background: rgba(15, 23, 42, 0.06); }
.modal-input:focus {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--brand-blue), 0 0 0 4px rgba(51,112,255,.15);
}
.modal-input::placeholder { color: var(--fg-muted); }
.modal-send { padding: 0 22px; }
.modal-success {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ok, #16a34a);
  font-weight: 500;
}

@keyframes modal-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes modal-pop  { from { opacity: 0; transform: translateY(10px) scale(.98) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  .modal.is-open, .modal-dialog { animation: none; }
}

/* Body scroll lock when modal open */
body.modal-locked { overflow: hidden; }

/* =========================================================================
   Waitlist modal — multi-step screener with scoring
   ========================================================================= */
.waitlist-dialog {
  max-width: 560px;
  padding: 0;
  /* overflow stays visible so the brand dropdown panels (inside the form)
     can extend below the dialog without being clipped. */
  overflow: visible;
}
.waitlist-progress {
  height: 4px;
  background: rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.waitlist-progress-fill {
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  border-radius: 0 4px 4px 0;
  transition: width .35s var(--ease);
}
.waitlist-form {
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 480px;
}
.waitlist-step {
  display: none;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.waitlist-step.is-active { display: flex; }
.waitlist-step .eyebrow { color: var(--brand-blue); margin: 0; }
.waitlist-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--fg-primary);
}
.waitlist-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

/* Email field */
.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.waitlist-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}
/* Modern form components: borderless by default, fill-only. Borders
   appear only on hover (subtle) and focus / open / select (brand). */
.waitlist-input {
  appearance: none;
  border: none;
  outline: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--fg-primary);
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.waitlist-input:hover { background: rgba(15, 23, 42, 0.075); }
.waitlist-input:focus,
.waitlist-input:focus-visible {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px var(--brand-blue),
    0 0 0 4px rgba(51, 112, 255, 0.14);
}

/* Grouped questions on multi-question steps */
.waitlist-question {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.waitlist-question + .waitlist-question { margin-top: 18px; }
.waitlist-question-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
  line-height: 1.4;
}
.waitlist-question-hint {
  margin-left: 6px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* Brand-styled dropdown component (single + multi) */
.waitlist-dropdown {
  position: relative;
  width: 100%;
}
.waitlist-dropdown-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
.waitlist-dropdown-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: none;
  outline: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--fg-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  padding: 12px 12px 12px 18px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px transparent;
  cursor: pointer;
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.waitlist-dropdown-trigger:hover {
  background: rgba(15, 23, 42, 0.075);
}
.waitlist-dropdown.is-open .waitlist-dropdown-trigger,
.waitlist-dropdown-trigger:focus-visible {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px var(--brand-blue),
    0 0 0 4px rgba(51, 112, 255, 0.14);
}
.waitlist-dropdown-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.waitlist-dropdown-label.is-placeholder { color: var(--fg-muted); font-weight: 400; }

.waitlist-dropdown-caret {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4.75l3 3 3-3' stroke='%233370ff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  transition: transform .2s var(--ease-out-expo), background-color .2s var(--ease);
}
.waitlist-dropdown-trigger:hover .waitlist-dropdown-caret { background-color: rgba(51, 112, 255, 0.18); }
.waitlist-dropdown.is-open .waitlist-dropdown-caret { transform: rotate(180deg); }

.waitlist-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 12px 32px -10px rgba(15, 23, 42, 0.18),
    0 2px 6px -2px rgba(15, 23, 42, 0.08);
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: waitlist-dropdown-pop .16s var(--ease-out-expo);
}
.waitlist-dropdown-panel[hidden] { display: none; }
@keyframes waitlist-dropdown-pop {
  from { opacity: 0; transform: translateY(-4px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.waitlist-dropdown-row {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-primary);
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .14s var(--ease);
}
.waitlist-dropdown-row:hover { background: var(--blue-50); }
.waitlist-dropdown-row:focus-visible {
  outline: none;
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1.5px var(--brand-blue);
}

/* Single-select: no checkbox; selected row gets a soft brand-blue tint */
.waitlist-dropdown.is-single .waitlist-dropdown-row.is-selected {
  background: rgba(51, 112, 255, 0.10);
  color: var(--accent-ink);
  font-weight: 600;
}
.waitlist-dropdown.is-single .waitlist-dropdown-row.is-selected:hover {
  background: rgba(51, 112, 255, 0.16);
}

.waitlist-dropdown-check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--silver);
  transition: background .14s var(--ease), box-shadow .14s var(--ease), transform .14s var(--ease);
  position: relative;
}
.waitlist-dropdown-row:hover .waitlist-dropdown-check { box-shadow: inset 0 0 0 1.5px var(--steel); }
.waitlist-dropdown-row.is-selected .waitlist-dropdown-check {
  background: var(--brand-blue);
  box-shadow: inset 0 0 0 1.5px var(--brand-blue);
}
.waitlist-dropdown-row.is-selected .waitlist-dropdown-check::after {
  content: "";
  position: absolute;
  left: 50%; top: 48%;
  width: 10px; height: 5.5px;
  border-left: 1.8px solid var(--white);
  border-bottom: 1.8px solid var(--white);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.waitlist-dropdown-row-label { flex: 1; line-height: 1.35; }

/* Pill option list (legacy — kept for any remaining .waitlist-options use) */
.waitlist-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.waitlist-option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-primary);
  transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.waitlist-option:hover {
  background: rgba(15, 23, 42, 0.07);
}
.waitlist-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.waitlist-option span {
  position: relative;
  padding-left: 30px;
}
.waitlist-option span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.18);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.waitlist-option input[type="checkbox"] + span::before {
  border-radius: 5px;
}
.waitlist-option input:checked + span::before {
  background: var(--brand-blue);
  box-shadow:
    inset 0 0 0 2px var(--brand-blue),
    inset 0 0 0 4px var(--white);
}
.waitlist-option:has(input:checked) {
  background: rgba(51, 112, 255, 0.10);
  box-shadow: inset 0 0 0 1px rgba(51, 112, 255, 0.30);
}
.waitlist-option:focus-within {
  box-shadow:
    inset 0 0 0 1px rgba(51, 112, 255, 0.5),
    0 0 0 4px rgba(51, 112, 255, 0.12);
}

/* Result screen */
.waitlist-result .waitlist-tier {
  margin-top: 12px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(51, 112, 255, 0.08) 0%, rgba(77, 213, 232, 0.10) 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.waitlist-tier-rank {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--brand-blue-deep);
}
.waitlist-tier-note {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

/* Footer nav */
.waitlist-nav {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.06);
}
.waitlist-back {
  appearance: none;
  background: none;
  border: none;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-secondary);
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.waitlist-back:hover { background: rgba(15, 23, 42, 0.04); color: var(--fg-primary); }
.waitlist-back[hidden] { visibility: hidden; display: inline-block; }
.waitlist-nav [hidden] { display: none !important; }
.waitlist-nav .waitlist-back[hidden] { display: inline-block !important; visibility: hidden; }
.waitlist-next,
.waitlist-submit,
.waitlist-done {
  margin-left: auto;
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}
.waitlist-next[disabled],
.waitlist-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

@media (max-width: 560px) {
  .waitlist-dialog { max-width: calc(100vw - 24px); }
  .waitlist-form { padding: 28px 22px 22px; min-height: 420px; }
  .waitlist-title { font-size: 22px; }
}

@media (max-width: 640px) {
  .breaker { padding: 56px 0 64px; }
  .beta.breaker-c { padding: 72px 0 88px; }
}

/* =========================================================================
   PREVIEW — live trading terminal
   ========================================================================= */

/* =========================================================================
   PREVIEW — bare-video section, fits within one viewport on any device
   ========================================================================= */
.preview {
  /* TEMPORARILY HIDDEN — bring back once the updated demo video lands.
     To re-enable: change `display: none` to `display: flex`. */
  display: none;
  /* Section fits within one viewport on every viewport — title sits on top,
     video below. Vertical reserve keeps the video from clipping out. */
  min-height: calc(100vh - var(--nav-h));
  padding: 56px 0 64px;
  background: var(--bg-primary);
  align-items: center;
}
.preview-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.preview-head {
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}
.preview-head .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}
/* .preview-head .section-title — typography + spacing from base */
.preview-sub {
  margin: 0 auto;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 56ch;
}
.preview-video {
  display: block;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--nav-h) - 260px);
  background: var(--ink);
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: var(--shadow-2);
  margin: 0 auto;
}
@media (max-width: 960px) {
  .preview { padding: 48px 0 56px; min-height: 0; }
  .preview-video { max-height: none; }
}
@media (max-width: 640px) {
  .preview { padding: 48px 0 56px; }
  .preview-video { border-radius: var(--radius); }
}

/* =========================================================================
   HOW IT WORKS — original 3-card horizontal layout (reverted from .story)
   3 step-cards in a row, each with rail/copy/media columns. The rail draws
   a connecting line between cards as they reveal (handled by GSAP).
   ========================================================================= */
.how {
  padding: 120px 0 130px;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.how-head {
  margin: 0 0 64px;
  max-width: 760px;
}
.how-head .eyebrow {
  color: var(--brand-blue);
  display: inline-block;
  margin-bottom: 14px;
}
.how-head .section-title {
  color: var(--ink);
  margin: 0;
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.how-steps-3 { /* legacy class kept for back-compat; vertical stack now */ }

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: stretch;
  padding: 56px 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 60px -30px rgba(15, 23, 42, 0.06);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.step-card:hover {
  border-color: #cdd8ef;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 30px 80px -40px rgba(51, 112, 255, 0.18);
}

/* Vertical rail — STEP N label + thin line going down */
.step-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 4px;
}
.step-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 600;
  white-space: nowrap;
}
.step-line {
  width: 2px;
  flex-grow: 1;
  min-height: 80px;
  background: linear-gradient(180deg, var(--brand-blue) 0%, rgba(51,112,255,0) 100%);
  border-radius: 999px;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform .9s var(--ease-out-expo);
}
.step-line-end {
  background: linear-gradient(180deg, var(--brand-blue) 0%, rgba(51,112,255,0) 100%);
}
.step.is-active .step-line { transform: scaleY(1); }

.step-copy {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--fg-primary);
}
.step-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 44ch;
}

/* Step media — holds the mock illustration in an inner card */
.step-media {
  align-self: center;
  padding: 28px;
  background: var(--ice);
  border-radius: 20px;
}
.mock {
  width: 100%;
  display: grid;
  gap: 10px;
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 14px;
}
.mock-row b {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-primary);
  text-align: right;
}
.mock-row b em {
  font-style: normal;
  color: var(--brand-blue);
  font-size: 11.5px;
  margin-left: 4px;
}
.mock-row.ok b { color: var(--ok); }
.mock-row .chip {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-deep);
  background: var(--blue-50);
  padding: 5px 9px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}

/* Animated tape bars for step 2 */
.mock-tape {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 72px;
  gap: 7px;
  padding: 12px;
  background: var(--blue-50);
  border-radius: 12px;
}
.mock-tape .bar {
  flex: 1;
  height: 55%;
  background: var(--brand-blue);
  border-radius: 4px;
  opacity: 0.7;
  transform-origin: bottom center;
}
.mock-tape .bar.tall  { height: 90%; }
.mock-tape .bar.short { height: 25%; }
.step.is-active .mock-tape .bar {
  animation: how-tape-pulse 1.8s ease-in-out infinite;
}
.step.is-active .mock-tape .bar:nth-child(1) { animation-delay: 0s; }
.step.is-active .mock-tape .bar:nth-child(2) { animation-delay: 0.1s; }
.step.is-active .mock-tape .bar:nth-child(3) { animation-delay: 0.2s; }
.step.is-active .mock-tape .bar:nth-child(4) { animation-delay: 0.3s; }
.step.is-active .mock-tape .bar:nth-child(5) { animation-delay: 0.4s; }
.step.is-active .mock-tape .bar:nth-child(6) { animation-delay: 0.5s; }
.step.is-active .mock-tape .bar:nth-child(7) { animation-delay: 0.6s; }
.step.is-active .mock-tape .bar:nth-child(8) { animation-delay: 0.7s; }
.step.is-active .mock-tape .bar:nth-child(9) { animation-delay: 0.8s; }
@keyframes how-tape-pulse {
  0%, 100% { filter: brightness(1);    transform: scaleY(1); }
  50%      { filter: brightness(1.25); transform: scaleY(1.08); }
}

@media (max-width: 900px) {
  .how { padding: 80px 0 90px; }
  .how-head { margin-bottom: 48px; }
  .step-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
    border-radius: 20px;
  }
  .step-rail { flex-direction: row; align-items: center; }
  .step-line { width: auto; height: 2px; min-height: 0; flex-grow: 1; }
  .step.is-active .step-line { transform: scaleX(1); }
  .step-copy h3 { font-size: clamp(22px, 5vw, 28px); }
  .step-media { padding: 20px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .step.is-active .mock-tape .bar { animation: none; }
  .step.is-active .step-line { transition: none; }
}
.story-head {
  text-align: left;
  margin: 0 0 80px;
  max-width: 760px;
}
.story-head .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}
.story-head .section-title { margin: 0; }
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 32px 28px;
  gap: 18px;
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.how-card:hover {
  border-color: #cdd8ef;
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -28px rgba(15, 23, 42, .14);
}
.how-num {
  align-self: flex-start;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  padding: 6px 12px;
  background: rgba(77, 213, 232, 0.12);
  border-radius: 999px;
}
.how-title {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg-primary);
}
.how-body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 38ch;
}
.how-mock {
  margin-top: auto;
  padding: 20px;
  background: var(--ice);
  border-radius: 14px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.how-mock .mock {
  width: 100%;
  display: grid;
  gap: 8px;
}
.how-mock .mock-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--white);
}
.how-mock .mock-row b {
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-primary);
}
.how-mock .mock-row em {
  font-style: normal;
  color: var(--brand-blue);
  font-size: 11px;
  margin-left: 3px;
}
.how-mock .mock-row.ok b { color: var(--ok); }
.how-mock .chip {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue-deep);
  background: var(--blue-50);
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-card { padding: 28px 24px 24px; }
}
.story-item-media .mock-tape {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  gap: 8px;
  padding: 12px 14px;
  background: var(--blue-50);
  border-radius: 12px;
  margin-bottom: 4px;
}
.story-item-media .mock-tape .bar {
  flex: 1;
  height: 60%;
  background: var(--brand-blue);
  border-radius: 4px;
  opacity: 0.7;
}
.story-item-media .mock-tape .bar.tall  { height: 90%; }
.story-item-media .mock-tape .bar.short { height: 25%; }
.story-item.is-active .mock-tape .bar,
.story-item.in-view .mock-tape .bar {
  animation: story-tape-pulse 1.8s ease-in-out infinite;
}
@keyframes story-tape-pulse {
  0%, 100% { filter: brightness(1);    transform: scaleY(1); }
  50%      { filter: brightness(1.2);  transform: scaleY(1.06); }
}

@media (max-width: 900px) {
  .story { padding: 72px 0 80px; }
  .story-head { margin-bottom: 48px; }
  .story-items { gap: 56px; }
  .story-item,
  .story-item-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-item-reverse .story-item-copy { order: 1; }
  .story-item-reverse .story-item-media { order: 2; }
  .story-item-copy { max-width: 100%; }
  .story-item-media { min-height: 0; }
  .story-item-media .mock { padding: 22px; }
  .story-item-title { font-size: clamp(22px, 5vw, 28px); }
}

/* =========================================================================
   Form states — loading button + error region + spinner
   ========================================================================= */

.btn-pill.is-loading {
  position: relative;
  cursor: progress;
  pointer-events: none;
}
.btn-pill.is-loading > * { opacity: .35; }
.btn-pill.is-loading::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.waitlist-error,
.contact-min-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger-ink);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.32);
  border-radius: 8px;
}

/* Final-CTA helper link sits on the brand-blue gradient where the default
   .faq-link blue is invisible. Swap to brand-cyan for contrast. */
.final-cta-helper .faq-link {
  color: var(--brand-cyan);
  border-bottom-color: rgba(77, 213, 232, 0.5);
  text-decoration: none;
}
.final-cta-helper .faq-link:hover {
  color: #7ce6f3;
  border-bottom-color: #7ce6f3;
}

/* =========================================================================
   Request Access — full-page wrapper (/request-access)
   ========================================================================= */

.request-access-body {
  background: var(--bg-elev, #f8fafc);
  color: var(--fg-primary, #0f172a);
}
.request-access-main {
  padding: calc(var(--nav-h) + 56px) 0 96px;
  min-height: 100vh;
}
.request-access-wrap {
  max-width: 720px;
}
.request-access-head {
  text-align: left;
  margin-bottom: 36px;
}
.request-access-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 14px;
}
.request-access-sub {
  font-size: 16px;
  color: var(--fg-secondary, var(--graphite));
  max-width: 56ch;
  line-height: 1.55;
}
.waitlist-page {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 24px 60px -30px rgba(15, 23, 42, 0.18);
}
.waitlist-page .waitlist-title {
  color: var(--fg-primary, #0f172a);
}
.waitlist-page .waitlist-sub {
  color: var(--fg-secondary, var(--graphite));
}

/* =========================================================================
   /app — invite gate page
   ========================================================================= */

.app-gate-body {
  min-height: 100vh;
  margin: 0;
  background: #060a18;
  color: var(--white);
  overflow: hidden;
}
.app-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  filter: blur(10px) saturate(0.9) brightness(0.65);
  pointer-events: none;
  user-select: none;
}
.app-gate-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(91, 160, 255, 0.35) 0%, transparent 60%),
    radial-gradient(80% 70% at 80% 80%, rgba(30, 58, 138, 0.6) 0%, transparent 60%),
    linear-gradient(150deg, #0c1a3d 0%, #163a8a 50%, #1d4ed8 100%);
}
.app-gate-glow {
  position: absolute;
  width: 60%; height: 60%;
  border-radius: 50%;
  filter: blur(60px);
}
.app-gate-glow-a { top: -10%; left: -10%; background: var(--brand-blue-bright); opacity: 0.45; }
.app-gate-glow-b { bottom: -20%; right: -15%; background: var(--brand-blue-deep); opacity: 0.7; }
.app-gate-app {
  position: absolute;
  inset: 8% 14%;
  border-radius: 18px;
  background: rgba(8, 14, 32, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
}
.app-gate-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(6, 10, 24, 0.58);
  pointer-events: none;
}
.app-gate-home {
  position: fixed;
  top: 20px; left: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: 32px;
}
.app-gate-home { color: #fff; }
.app-gate-home svg { height: 22px; width: auto; display: block; }

.app-gate {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.app-gate-card {
  width: 100%;
  max-width: 440px;
  background: rgba(10, 16, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 32px 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  color: var(--white);
}
.app-gate-card .eyebrow { color: rgba(255, 255, 255, 0.7); }
.app-gate-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 10px 0 6px;
  color: var(--white);
}
.app-gate-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
  line-height: 1.5;
}
.app-gate-form { display: grid; gap: 14px; }
.app-gate-form.is-shake { animation: gate-shake .32s cubic-bezier(.36,.07,.19,.97); }
@keyframes gate-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.app-gate-field { display: grid; gap: 8px; }
.app-gate-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.app-gate-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font: inherit;
  font-family: 'Geist Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 10px;
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .2s, box-shadow .2s;
}
.app-gate-input::placeholder { color: rgba(255, 255, 255, 0.3); letter-spacing: 0.06em; }
.app-gate-input:hover { background: rgba(255, 255, 255, 0.09); }
.app-gate-input:focus,
.app-gate-input:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1.5px rgba(96, 165, 250, 0.85),
    0 0 0 4px rgba(96, 165, 250, 0.14);
}
.app-gate-error {
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 8px;
}
.app-gate-submit {
  width: 100%;
  height: 48px;
}
.app-gate-secondary {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.app-gate-secondary .app-gate-link {
  color: var(--white);
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: text-decoration-color .2s;
}
.app-gate-secondary .app-gate-link:hover { text-decoration-color: var(--white); }

/* Form state classes (data-state) — visually neutralize controls when busy */
[data-state="submitting"] .waitlist-back,
[data-state="submitting"] .waitlist-next { opacity: .5; pointer-events: none; }

@media (max-width: 640px) {
  .app-gate-card { padding: 26px 22px 22px; }
  .app-gate-title { font-size: 24px; }
  .app-gate-app { inset: 6% 6%; padding: 12px; }
  .request-access-main { padding-top: calc(var(--nav-h) + 32px); }
  .waitlist-page { padding: 22px 20px 18px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-gate-form.is-shake { animation: none; }
  .btn-pill.is-loading::after { animation: none; }
}

