/* =============================================================
   WaitWHO — landing styles
   Dark cyberpunk · neon cyan / magenta / purple · glassmorphism
   All brand tokens are CSS variables. No external JS needed.
   ============================================================= */

/* -------------------------------------------------------------
   TOKENS
------------------------------------------------------------- */
:root {
    /* Brand — keep in sync with iOS Theme.swift */
    --neon-cyan:    #00E5FF;
    --neon-cyan-2:  #38BDF8;
    --neon-magenta: #FF00FF;
    --neon-pink:    #D42C8C;
    --neon-purple:  #7739B1;
    --neon-indigo:  #4246C8;

    /* Surfaces */
    --bg-0: #05060D;
    --bg-1: #0B0D1A;
    --bg-2: #121427;
    --glass:        rgba(255, 255, 255, 0.04);
    --glass-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --text-primary:   #F5F7FF;
    --text-secondary: #B8BFD6;
    --text-tertiary:  #6B7192;

    /* Radii & spacing */
    --r-sm:  8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Type */
    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(.16,.84,.32,1);
    --ease-in-out: cubic-bezier(.65,0,.35,1);

    /* Layout */
    --container: 1180px;
    --gutter: clamp(18px, 4vw, 40px);
    --section-pad: clamp(72px, 10vw, 140px);
}

/* -------------------------------------------------------------
   RESET / BASE
------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    /* Anchor jumps only — avoids fighting with wheel / trackpad momentum
       on some browsers where `smooth` on the root feels laggy. */
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    /* iOS Safari: pair with body — one alone often still allows horizontal “knock”. */
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-primary);
    background: var(--bg-0);
    min-height: 100dvh;
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
    /* Do NOT set touch-action here — `pan-y` on body breaks iOS Safari taps
       on the sticky nav hamburger (clicks never reach the <button>). */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Contain wide paint (blurs, halos, terminal lines) so they can’t widen the scroll tile. */
main {
    overflow-x: hidden;
    max-width: 100%;
}

img, svg, video { display: block; max-width: 100%; }

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color .2s var(--ease-out), opacity .2s var(--ease-out);
}
a:hover { color: #7FF1FF; }

button { font: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(255, 0, 255, 0.35); color: #fff; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.mobile-menu__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu__close:hover {
    background: rgba(255,255,255,.12);
}

/* -------------------------------------------------------------
   BACKGROUND LAYERS
------------------------------------------------------------- */
.bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

/* Radial navy-to-black glow */
.bg-glow {
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(119, 57, 177, 0.35), transparent 60%),
        radial-gradient(900px 700px at 95% 10%, rgba(0, 229, 255, 0.20), transparent 55%),
        radial-gradient(800px 900px at 50% 110%, rgba(212, 44, 140, 0.25), transparent 60%),
        linear-gradient(180deg, #05060d 0%, #080A18 50%, #05060D 100%);
}

/* Scan grid overlay (pure CSS) */
.bg-grid {
    background-image:
        linear-gradient(rgba(120, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 50%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 50%, transparent 85%);
    opacity: .9;
    z-index: -1;
}

.bg-particles {
    width: 100%;
    height: 100%;
    opacity: .55;
    z-index: -1;
}

/* -------------------------------------------------------------
   UTILITY CLASSES
------------------------------------------------------------- */

/* Glass card */
.glass-card {
    position: relative;
    background: linear-gradient(180deg, var(--glass-strong), var(--glass));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    padding: clamp(20px, 2.2vw, 28px);
    overflow: hidden;
    transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(0, 229, 255, 0.45), rgba(255, 0, 255, 0.35) 45%, rgba(119, 57, 177, 0.25) 70%, transparent 90%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: .55;
    pointer-events: none;
    transition: opacity .35s var(--ease-out);
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-strong);
    box-shadow: 0 18px 40px -20px rgba(0, 229, 255, 0.25),
                0 10px 30px -10px rgba(255, 0, 255, 0.18);
}
.glass-card:hover::before { opacity: .85; }

/* Narrow tablets / small laptops: lighter blur (less GPU per scroll frame). */
@media (max-width: 900px) {
    .glass-card {
        backdrop-filter: blur(6px) saturate(110%);
        -webkit-backdrop-filter: blur(6px) saturate(110%);
    }
}
/* Touch phones: backdrop-filter repaints the whole viewport stack on scroll —
   opaque surface reads almost the same but scrolls much smoother. */
@media (hover: none) and (pointer: coarse) {
    .glass-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: linear-gradient(180deg, rgba(28, 30, 46, 0.94), rgba(14, 16, 28, 0.9));
    }
    .glass-card:hover {
        transform: none;
    }
}

.glass-card--wide { padding: clamp(28px, 4vw, 48px); }

/* Gradient text */
.gradient-text {
    background: linear-gradient(100deg, #E6FBFF 0%, var(--neon-cyan) 25%, var(--neon-magenta) 60%, #FF6FE1 85%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradient-pan 14s var(--ease-in-out) infinite;
}

@keyframes gradient-pan {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Buttons */
.btn {
    --bg: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    color: #05060D;
    background: var(--bg);
    border: 1px solid transparent;
    position: relative;
    isolation: isolate;
    cursor: pointer;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
    box-shadow:
        0 10px 30px -8px rgba(0, 229, 255, 0.55),
        0 10px 30px -8px rgba(255, 0, 255, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.btn--primary:hover {
    transform: translateY(-2px) scale(1.015);
    filter: brightness(1.08) saturate(1.08);
    box-shadow:
        0 18px 40px -10px rgba(0, 229, 255, 0.7),
        0 18px 40px -10px rgba(255, 0, 255, 0.55);
}
.btn--primary:active { transform: translateY(0); filter: brightness(.98); }

.btn--ghost {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 10px 24px -14px rgba(0, 229, 255, 0.55);
}

.btn--lg {
    padding: 16px 26px;
    font-size: 16px;
}

/* Badges */
.badge {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .14em;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}
.badge--cyan    { color: #BDF6FF; border-color: rgba(0, 229, 255, .35); background: rgba(0, 229, 255, .08); }
.badge--magenta { color: #FFC6F5; border-color: rgba(255, 0, 255, .35); background: rgba(255, 0, 255, .08); }
.badge--purple  { color: #D6C2F7; border-color: rgba(119, 57, 177, .45); background: rgba(119, 57, 177, .18); }

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .18em;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.035);
}
.eyebrow__dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
    animation: dot-pulse 2.2s var(--ease-in-out) infinite;
}
@keyframes dot-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .55; transform: scale(1.4); }
}

/* -------------------------------------------------------------
   NAV
------------------------------------------------------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    padding: 14px clamp(18px, 4vw, 40px);
    min-height: 64px;
    max-height: 72px;
    background: linear-gradient(180deg, rgba(5, 6, 13, 0.75) 0%, rgba(5, 6, 13, 0.35) 85%, transparent 100%);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Ensure taps aren’t lost to siblings / compositor quirks on iOS. */
    pointer-events: auto;
}
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .03em;
}

/* Brand mark — real WaitWHO logo (icon + wordmark in one PNG, ~1266×248).
   Explicit height/max-height/max-width keeps it tightly constrained even
   if a stale stylesheet or a broken parent reflow ever slips through. */
.brand-logo {
    display: block;
    height: 28px;
    max-height: 28px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.25));
    transition: filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.nav__brand:hover .brand-logo {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.45))
            drop-shadow(0 0 10px rgba(255, 0, 255, 0.25));
}
.brand-logo--lg {
    height: 34px;
    max-height: 34px;
    max-width: 220px;
}

/* Shared spin keyframe still used by the hero scan rings. */
@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.nav__links {
    display: flex;
    gap: clamp(10px, 2vw, 22px);
    margin-left: auto;
    margin-right: clamp(8px, 2vw, 16px);
    font-size: 14px;
    color: var(--text-secondary);
}
.nav__links a {
    color: var(--text-secondary);
    padding: 8px 4px;
    font-weight: 500;
    position: relative;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 4px; right: 4px; bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------
   APP STORE BADGE
   Apple's visual identity must stay intact — no recolors on the art
   itself. Glow/hover-lift lives on the wrapper instead, which keeps
   the badge guideline-compliant while still feeling native to the site.
------------------------------------------------------------- */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    line-height: 0;
    text-decoration: none;
    transition: transform .25s var(--ease-out),
                filter .25s var(--ease-out);
    filter: drop-shadow(0 6px 18px rgba(0, 229, 255, 0.18))
            drop-shadow(0 6px 18px rgba(255, 0, 255, 0.14));
}
.app-store-badge svg,
.app-store-badge img {
    display: block;
    height: 100%;
    width: auto;
    pointer-events: none;
}
.app-store-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 24px rgba(0, 229, 255, 0.35))
            drop-shadow(0 10px 24px rgba(255, 0, 255, 0.25));
}
.app-store-badge:active { transform: translateY(0); }

/* Until script.js APP_STORE_URL is set, badges link to #download on this page. */
.app-store-badge--pending {
    cursor: help;
    opacity: 0.94;
}

.app-store-badge:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 3px;
}
.app-store-badge--sm { height: 36px; border-radius: 7px; }
.app-store-badge--lg { height: 54px; border-radius: 10px; }
.app-store-badge--xl { height: 60px; border-radius: 11px; }

/* -------------------------------------------------------------
   NAV HAMBURGER
   Hidden at >820px via display:none; shown below that width.
   The bars collapse into an X when .is-open is toggled by JS.
------------------------------------------------------------- */
.nav__hamburger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 229, 255, 0.15);
    transition: background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.nav__hamburger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.45);
}
.nav__hamburger:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}
.nav__hamburger span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1.6px;
    border-radius: 2px;
    background: var(--text-primary);
    transform: translateX(-50%);
    transition: transform .3s var(--ease-out), opacity .2s var(--ease-out), top .3s var(--ease-out);
}
.nav__hamburger span:nth-child(1) { top: 14px; }
.nav__hamburger span:nth-child(2) { top: 20px; }
.nav__hamburger span:nth-child(3) { top: 26px; }
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); background: var(--neon-cyan); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: translateX(-50%) rotate(-45deg); background: var(--neon-magenta); }

@media (max-width: 820px) {
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__hamburger { display: block; }
}

/* -------------------------------------------------------------
   MOBILE SLIDE-IN MENU
   aside #mobile-menu is present in the DOM at all widths but is
   inert on desktop (display:none below); on mobile it slides in
   from the right when JS sets .is-open on <body>.
------------------------------------------------------------- */
/* Closed: sit *below* .nav (z-index 40) so the hamburger stays clickable.
   Safari/WebKit often eats taps on fixed full-viewport layers even with
   pointer-events:none + visibility:hidden. Open state bumps above nav. */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .35s;
    /* Drawer panel uses translateX; keep it from widening document scroll width on iOS. */
    overflow-x: hidden;
}
.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 13, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .35s var(--ease-out);
    cursor: pointer;
}
.mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 85vw);
    padding: clamp(28px, 7vw, 44px) clamp(20px, 5vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(0, 229, 255, 0.15), transparent 60%),
        radial-gradient(120% 60% at 100% 100%, rgba(255, 0, 255, 0.12), transparent 60%),
        linear-gradient(180deg, #0B0D1A 0%, #05060D 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px -20px rgba(0, 229, 255, 0.35);
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    overflow-y: auto;
}
.mobile-menu.is-open {
    z-index: 60;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 36px;
}
.mobile-menu__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 14px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.mobile-menu__links a::after {
    content: "→";
    color: var(--text-tertiary);
    font-size: 15px;
    transition: transform .2s var(--ease-out), color .2s var(--ease-out);
}
.mobile-menu__links a:hover,
.mobile-menu__links a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.25);
    color: #fff;
}
.mobile-menu__links a:hover::after,
.mobile-menu__links a:focus-visible::after {
    color: var(--neon-cyan);
    transform: translateX(2px);
}
.mobile-menu__cta {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    justify-content: flex-start;
}

/* Scroll-lock class applied to <body> when the menu is open, so the
   page behind doesn't scroll while the drawer is up. */
body.menu-open { overflow: hidden; }

@media (min-width: 821px) {
    /* Hide the mobile menu element entirely on desktop so it can't
       receive focus or show up in the accessibility tree. */
    .mobile-menu { display: none; }
}

/* -------------------------------------------------------------
   HERO
------------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(40px, 7vw, 84px) 0 clamp(60px, 8vw, 110px);
    min-height: 100svh;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow-x: hidden;
}

/* Full-bleed “hacker terminal” whispers — same vibe as iOS ScanLoaderView.
   Sits behind .hero__inner; scrim keeps headline readable. */
.hero__terminal {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Readability scrim (not a ::after — that would paint over the lines) */
    background:
        linear-gradient(90deg, rgba(5, 6, 13, 0.78) 0%, rgba(5, 6, 13, 0.18) 48%, transparent 72%),
        linear-gradient(180deg, rgba(5, 6, 13, 0.5) 0%, transparent 16%, transparent 84%, rgba(5, 6, 13, 0.45) 100%),
        radial-gradient(ellipse 95% 85% at 58% 42%, transparent 0%, rgba(5, 6, 13, 0.22) 100%);
}
.hero-terminal-whisper {
    position: absolute;
    z-index: 1;
    max-width: min(92vw, 520px);
    padding: 0 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(10px, 1.05vw + 8px, 13px);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.25;
    color: rgba(115, 242, 140, 0.78);
    text-shadow:
        0 0 10px rgba(77, 242, 102, 0.35),
        0 0 22px rgba(0, 229, 255, 0.08);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.35s var(--ease-out);
}
.hero-terminal-whisper.is-visible {
    opacity: 0.92;
}
.hero-terminal-whisper.is-out {
    opacity: 0 !important;
    transition: opacity 0.5s var(--ease-out);
}
@media (max-width: 909px) {
    .hero__terminal {
        background:
            linear-gradient(180deg, rgba(5, 6, 13, 0.88) 0%, rgba(5, 6, 13, 0.35) 32%, transparent 52%),
            linear-gradient(90deg, transparent 0%, rgba(5, 6, 13, 0.12) 50%, transparent 100%),
            radial-gradient(ellipse 100% 70% at 50% 85%, transparent 20%, rgba(5, 6, 13, 0.35) 100%);
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    width: 100%;
}

.hero__copy { max-width: 620px; }

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 7.2vw, 92px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 18px 0 22px;
}

.hero__sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-secondary);
    max-width: 54ch;
    margin: 0 0 32px;
}

.hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__typed {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-tertiary);
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero__typed-label { color: var(--neon-cyan); }
.hero__typed-text  { color: var(--text-secondary); }
.hero__caret {
    width: 8px;
    height: 16px;
    background: var(--neon-cyan);
    margin-left: 4px;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: caret 1s steps(2, start) infinite;
}
@keyframes caret {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* Phone mockup */
.hero__device {
    position: relative;
    justify-self: center;
    width: min(420px, 80vw);
    aspect-ratio: 9 / 19;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chasing neon halo behind the hero phone — two blurred conic wedges
   spinning opposite directions so cyan and magenta feel like they “chase”
   each other instead of static concentric rings. */
.hero-device-aura {
    position: absolute;
    inset: -32%;
    z-index: 0;
    pointer-events: none;
    display: grid;
    place-items: center;
}
.hero-device-aura__band {
    position: absolute;
    width: 92%;
    height: 104%;
    max-width: 520px;
    border-radius: 46%;
    filter: blur(26px) saturate(1.35);
    opacity: 0.62;
}
.hero-device-aura__band--cyan {
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(0, 229, 255, 0) 28deg,
        rgba(0, 229, 255, 0.75) 98deg,
        rgba(0, 229, 255, 0.35) 150deg,
        rgba(0, 229, 255, 0) 210deg,
        transparent 360deg
    );
    animation: hero-aura-spin-cw 5.8s linear infinite;
}
.hero-device-aura__band--magenta {
    width: 88%;
    height: 100%;
    background: conic-gradient(
        from 140deg at 50% 50%,
        transparent 0deg,
        rgba(255, 0, 255, 0) 36deg,
        rgba(255, 0, 255, 0.65) 118deg,
        rgba(255, 0, 255, 0.28) 175deg,
        rgba(255, 0, 255, 0) 228deg,
        transparent 360deg
    );
    animation: hero-aura-spin-ccw 7.6s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.48;
}
@keyframes hero-aura-spin-cw {
    to { transform: rotate(360deg); }
}
@keyframes hero-aura-spin-ccw {
    to { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-device-aura__band {
        animation: none !important;
        opacity: 0.28;
        transform: rotate(42deg);
    }
}

.phone {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 42px;
    padding: 10px;
    background:
        linear-gradient(180deg, #1a1d33 0%, #0a0b16 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 80px -20px rgba(0, 229, 255, 0.35),
        0 30px 80px -30px rgba(255, 0, 255, 0.30),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone__notch {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 42%; max-width: 160px;
    height: 26px;
    background: #05060D;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone__screen {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
        radial-gradient(120% 80% at 50% 100%, rgba(255, 0, 255, 0.18), transparent 60%),
        linear-gradient(180deg, #0C0E1D 0%, #05060D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scanline sweep — sits above .phone__screen-img / GIF */
.phone__screen::after {
    content: "";
    position: absolute;
    left: -10%; right: -10%;
    top: -40%;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(0, 229, 255, .14), transparent);
    filter: blur(6px);
    animation: phone-sweep 5s var(--ease-in-out) infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes phone-sweep {
    0%   { transform: translateY(0); opacity: 0; }
    10%  { opacity: .9; }
    90%  { opacity: .9; }
    100% { transform: translateY(360%); opacity: 0; }
}

/* Screenshot / animated GIF inside the phone frame */
.phone__screen-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Inline mock (used until a real screenshot is swapped in) */
.phone__mock {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 18% 10% 12%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    z-index: 1;
}
.phone__mock-logo {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: .05em;
}
.phone__mock-logo strong {
    background: linear-gradient(100deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.phone__mock-face {
    position: relative;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 40%, rgba(0, 229, 255, 0.25), transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 255, 0.20), transparent 65%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone__mock-face-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, .4);
    box-shadow: 0 0 30px rgba(0, 229, 255, .25), inset 0 0 20px rgba(255, 0, 255, .15);
    animation: ring-rotate 18s linear infinite;
}
.phone__mock-face-ring::before,
.phone__mock-face-ring::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 999px;
    border: 1px dashed rgba(255, 0, 255, .35);
}
.phone__mock-face-ring::after {
    inset: 26%;
    border-color: rgba(119, 57, 177, .4);
    border-style: solid;
    opacity: .6;
}
.phone__mock-face-core {
    width: 30%;
    height: 30%;
    border-radius: 999px;
    background: radial-gradient(circle, #fff, rgba(0, 229, 255, .3) 60%, transparent 70%);
    filter: blur(1px);
    opacity: .65;
}
.phone__mock-chip {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .22em;
    color: var(--text-tertiary);
    padding: 7px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}
.phone__mock-cta {
    width: 85%;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    color: #05060D;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 8px 24px -6px rgba(0, 229, 255, .5), 0 8px 24px -6px rgba(255, 0, 255, .4);
}

/* Scroll cue */
.hero__scroll {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 24px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, .03);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.hero__scroll span {
    width: 2px; height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    animation: scroll-cue 1.6s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
    0%   { transform: translateY(0);  opacity: 1; }
    80%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(14px); opacity: 0; }
}

@media (max-width: 900px) {
    .hero { padding-top: 40px; min-height: auto; }
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__copy { margin: 0 auto; }
    .hero__ctas { justify-content: center; }
    .hero__typed { align-self: center; }
    .hero__device { order: -1; width: min(260px, 70vw); }
    .hero__scroll { display: none; }
    /* Tighter halo bleed on narrow viewports — huge negative inset + blur
       can inflate scrollable width on WebKit when paired with fast scroll. */
    .hero-device-aura { inset: -14%; }
}

/* -------------------------------------------------------------
   TRUST STRIP
------------------------------------------------------------- */
.trust {
    padding: clamp(28px, 5vw, 48px) 0;
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.trust__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.trust__card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, .3);
}
.trust__card svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, .4));
}
.trust__card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.trust__card span {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 860px) {
    .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
    .trust__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   SECTION HEAD
------------------------------------------------------------- */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}
.section__head {
    max-width: 720px;
    margin: 0 0 clamp(32px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.section__head--center {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
}
.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0;
}
.section__sub {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--text-secondary);
    max-width: 60ch;
}
.section__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.small-print {
    font-size: 12.5px;
    color: var(--text-tertiary);
    margin-top: 24px;
    text-align: center;
}

/* -------------------------------------------------------------
   STEPS
------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.step {
    position: relative;
    padding: clamp(22px, 2.4vw, 30px);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--glass-strong), var(--glass));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, .35);
    box-shadow: 0 18px 40px -22px rgba(0, 229, 255, .55);
}
.step__num {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--text-tertiary);
    margin-bottom: 18px;
}
.step__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, .25), transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 255, .22), transparent 70%),
                rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, .25);
    box-shadow: 0 0 18px -6px rgba(0, 229, 255, .45);
    margin-bottom: 18px;
    color: var(--neon-cyan);
}
.step__icon svg { width: 22px; height: 22px; }
.step h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 8px;
}
.step p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
}

@media (max-width: 820px) {
    .steps { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------
   RESULTS SPLIT
------------------------------------------------------------- */
.section--split { padding-top: clamp(60px, 8vw, 110px); }
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
}

.note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: rgba(255, 0, 255, .06);
    border: 1px solid rgba(255, 0, 255, .25);
    margin-top: 28px;
}
.note svg {
    width: 18px; height: 18px;
    color: var(--neon-magenta);
    flex: 0 0 auto;
    margin-top: 2px;
    filter: drop-shadow(0 0 6px rgba(255, 0, 255, .5));
}
.note p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Result mock cards */
.result-cards {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "hero sources"
        "mini sources";
    gap: 14px;
    width: 100%;
}
.result-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.result-card--hero { grid-area: hero; }
.result-card--mini { grid-area: mini; }
.result-card:not(.result-card--hero):not(.result-card--mini) { grid-area: sources; }

.result-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.result-card__count {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    background: linear-gradient(100deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    line-height: 1;
}
.result-card__bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.result-card__bar > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 50%);
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 0 12px rgba(0, 229, 255, .5), 0 0 12px rgba(255, 0, 255, .45);
    border-radius: inherit;
}
.result-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: var(--text-secondary);
}
.result-card__row strong { color: var(--text-primary); font-weight: 600; }

.source-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}
.source-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}
.source-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.result-card__grade {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.result-card__grade-mark {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    background: linear-gradient(100deg, var(--neon-magenta), var(--neon-purple));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    line-height: 1;
}
.result-card__grade-label {
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .result-cards {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "sources"
            "mini";
    }
}

/* -------------------------------------------------------------
   CURIOSITY / PILLS
------------------------------------------------------------- */
.curiosity { padding-top: clamp(40px, 6vw, 72px); }
.pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(24px, 4vw, 40px);
}
.pill {
    padding: 12px 20px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .03em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: pill-float 8s var(--ease-in-out) infinite;
    animation-delay: var(--d, 0s);
}
.pill--cyan    { color: #BDF6FF; border-color: rgba(0, 229, 255, .35); box-shadow: 0 0 18px -8px rgba(0, 229, 255, .6); }
.pill--magenta { color: #FFC6F5; border-color: rgba(255, 0, 255, .35); box-shadow: 0 0 18px -8px rgba(255, 0, 255, .6); }
.pill--purple  { color: #D6C2F7; border-color: rgba(119, 57, 177, .45); box-shadow: 0 0 18px -8px rgba(119, 57, 177, .6); }

@keyframes pill-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* -------------------------------------------------------------
   FEATURE GRID (premium)
------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 14px;
    color: #fff;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__icon--cyan    { background: linear-gradient(135deg, rgba(0, 229, 255, .25), rgba(0, 229, 255, .05)); border: 1px solid rgba(0, 229, 255, .35); box-shadow: 0 0 18px -6px rgba(0, 229, 255, .55); color: var(--neon-cyan); }
.feature__icon--magenta { background: linear-gradient(135deg, rgba(255, 0, 255, .25), rgba(255, 0, 255, .05)); border: 1px solid rgba(255, 0, 255, .35); box-shadow: 0 0 18px -6px rgba(255, 0, 255, .55); color: var(--neon-magenta); }
.feature__icon--purple  { background: linear-gradient(135deg, rgba(119, 57, 177, .35), rgba(119, 57, 177, .05)); border: 1px solid rgba(119, 57, 177, .45); box-shadow: 0 0 18px -6px rgba(119, 57, 177, .55); color: #B78CFA; }
.feature h3 { font-family: var(--font-display); margin: 0; font-size: 18px; }
.feature p  { margin: 0; color: var(--text-secondary); font-size: 14.5px; }

@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .feature-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   DIFFERENTIATORS
   Deliberately distinct from .feature so the two grids don't look
   interchangeable when they sit near each other. Uses large numeric
   markers instead of icons — reads as a proof-point list.
------------------------------------------------------------- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.diff {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 24px;
    position: relative;
    overflow: hidden;
}
.diff::after {
    /* Soft neon corner wash so each card feels premium without all
       four cards fighting for attention. Very low opacity on purpose. */
    content: "";
    position: absolute;
    inset: auto -30% -40% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(closest-side, rgba(0, 229, 255, .22), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}
.diff:nth-child(2)::after { background: radial-gradient(closest-side, rgba(255, 0, 255, .22), transparent 70%); }
.diff:nth-child(3)::after { background: radial-gradient(closest-side, rgba(119, 57, 177, .35), transparent 70%); }
.diff:nth-child(4)::after { background: radial-gradient(closest-side, rgba(0, 229, 255, .22), transparent 70%); }

.diff__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--neon-cyan);
    opacity: .85;
}
.diff:nth-child(2) .diff__num { color: var(--neon-magenta); }
.diff:nth-child(3) .diff__num { color: #B78CFA; }
.diff:nth-child(4) .diff__num { color: var(--neon-cyan); }
.diff h3 { font-family: var(--font-display); margin: 0; font-size: 18px; line-height: 1.25; }
.diff p  { margin: 0; color: var(--text-secondary); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .diff-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   USE-CASE VIGNETTES
   Three narrative cards. Lower-contrast than the diff grid so the
   page doesn't feel like three card-rows back-to-back.
------------------------------------------------------------- */
.vignette-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.vignette {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px 28px;
}
.vignette__marker {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, .18), rgba(255, 0, 255, .08));
    border: 1px solid rgba(0, 229, 255, .3);
    color: var(--neon-cyan);
}
.vignette:nth-child(2) .vignette__marker { color: var(--neon-magenta); border-color: rgba(255, 0, 255, .3); background: linear-gradient(135deg, rgba(255, 0, 255, .18), rgba(119, 57, 177, .08)); }
.vignette:nth-child(3) .vignette__marker { color: #B78CFA; border-color: rgba(119, 57, 177, .35); background: linear-gradient(135deg, rgba(119, 57, 177, .25), rgba(0, 229, 255, .05)); }
.vignette__marker svg { width: 20px; height: 20px; }
.vignette h3 { font-family: var(--font-display); margin: 0; font-size: 18px; line-height: 1.25; }
.vignette p  { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.55; }

@media (max-width: 820px) { .vignette-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   PRICE BAND (Premium section)
   Three-up starting-price summary. Clear, concrete numbers — no
   specific final totals that would conflict with App Store pricing.
------------------------------------------------------------- */
.price-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) ;
    align-items: center;
    gap: 0;
    margin: 0 0 32px;
    padding: 20px clamp(16px, 3vw, 28px);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(255, 0, 255, 0.06) 100%),
        var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    box-shadow: 0 20px 40px -28px rgba(0, 229, 255, .35),
                0 20px 40px -28px rgba(255, 0, 255, .25);
    position: relative;
}
.price-band__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding: 4px 12px;
}
.price-band__eyebrow {
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--text-tertiary);
    text-transform: uppercase;
}
.price-band__price {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-band__unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-left: 4px;
    letter-spacing: 0;
    -webkit-text-fill-color: var(--text-tertiary);
}
.price-band__note {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 28ch;
    line-height: 1.4;
}
.price-band__divider {
    width: 1px;
    height: 54px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    align-self: center;
}
/* Grid template above reserves 3 equal columns; we don't give the
   dividers their own column so they sit visually between items via
   being next siblings — however that doesn't naturally work with
   grid. Override: on wide widths, flip to flex for precise spacing. */
.price-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 10px;
}
.price-band__item { flex: 1 1 180px; }

@media (max-width: 720px) {
    .price-band { flex-direction: column; }
    .price-band__divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    }
}

/* -------------------------------------------------------------
   PRIVACY + RECEIPT ARTIFACT
   Two-column layout on desktop: privacy bullets on the left,
   a monospaced-ish "purge receipt" card on the right. The receipt
   reads as proof-of-practice — greys, greens, mono font, no glow.
------------------------------------------------------------- */
.privacy-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(16px, 2.5vw, 28px);
    align-items: stretch;
}
@media (max-width: 960px) { .privacy-layout { grid-template-columns: 1fr; } }

.privacy-layout__policy-link {
    margin-top: 1rem;
}

.receipt {
    --receipt-bg: rgba(10, 14, 18, 0.85);
    --receipt-border: rgba(90, 180, 140, 0.35);
    --receipt-green: #7ae0a8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px 20px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(20, 28, 24, 0.6), rgba(8, 12, 14, 0.9));
    border: 1px solid var(--receipt-border);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 10px 30px -18px rgba(0, 0, 0, 0.8);
    font-family: ui-monospace, 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.receipt::before {
    /* Faint scan-line texture to make it feel like an output, not a card. */
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        180deg,
        transparent 0,
        transparent 3px,
        rgba(255, 255, 255, 0.015) 3px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
}
.receipt__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    margin-bottom: 6px;
}
.receipt__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.receipt__dot--green {
    background: var(--receipt-green);
    box-shadow: 0 0 10px rgba(122, 224, 168, .7);
    animation: receipt-pulse 2.8s ease-in-out infinite;
}
@keyframes receipt-pulse {
    0%, 100% { box-shadow: 0 0 6px rgba(122, 224, 168, .4); }
    50%      { box-shadow: 0 0 14px rgba(122, 224, 168, .9); }
}
.receipt__label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--receipt-green);
    text-transform: uppercase;
}
.receipt__id {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: .05em;
}
.receipt__row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 3px 0;
    line-height: 1.45;
}
.receipt__k {
    color: var(--text-tertiary);
    letter-spacing: .02em;
}
.receipt__v {
    color: var(--text-primary);
    text-align: right;
    max-width: 60%;
}
.receipt__v--ok { color: var(--receipt-green); }
.receipt__v--mono { font-size: 12px; color: var(--text-secondary); }
.receipt__foot {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-tertiary);
    font-family: var(--font-sans);
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    letter-spacing: .01em;
}

/* -------------------------------------------------------------
   BULLETS (privacy)
------------------------------------------------------------- */
.bullets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin-top: 18px;
    font-size: 15.5px;
    color: var(--text-secondary);
}
.bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.45;
}
.bullets__mark {
    width: 10px; height: 10px;
    flex: 0 0 auto;
    margin-top: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 0 10px rgba(0, 229, 255, .5), 0 0 10px rgba(255, 0, 255, .45);
}
@media (max-width: 700px) { .bullets { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   GUIDES
------------------------------------------------------------- */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.guide {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    padding-right: 52px;
}
.guide__tag {
    font-family: var(--font-display);
    font-size: 10.5px;
    letter-spacing: .2em;
    color: var(--neon-cyan);
}
.guide h3 {
    font-family: var(--font-display);
    margin: 0;
    font-size: 18px;
    color: var(--text-primary);
}
.guide p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14.5px;
}
.guide__arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 999px;
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .3);
    color: var(--neon-cyan);
    font-size: 15px;
    transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.guide:hover .guide__arrow {
    transform: translateY(-50%) translateX(4px);
    background: rgba(0, 229, 255, .18);
}
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   FAQ
   Native <details>/<summary> for a11y (keyboard + screen readers
   work without JS). Two-column grid on desktop, stacks on mobile.
   Reading order is row-by-row so the natural left-to-right scan
   pattern matches the source order in the DOM.
------------------------------------------------------------- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
@media (max-width: 860px) {
    .faq-grid { grid-template-columns: 1fr; }
}

.faq-item {
    position: relative;
    border-radius: var(--r-md);
    background: linear-gradient(180deg, var(--glass-strong), var(--glass));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    overflow: hidden;
    transition: border-color .3s var(--ease-out), background .3s var(--ease-out),
                box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.faq-item:hover {
    border-color: rgba(0, 229, 255, .3);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -20px rgba(0, 229, 255, .45);
}
.faq-item[open] {
    border-color: rgba(255, 0, 255, .35);
    background: linear-gradient(180deg,
        rgba(255, 0, 255, 0.06) 0%,
        var(--glass-strong) 40%,
        var(--glass) 100%);
    box-shadow: 0 14px 34px -18px rgba(255, 0, 255, .35);
}

/* Remove the default disclosure triangle in all engines */
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }

.faq-item summary:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: -2px;
    border-radius: inherit;
}

.faq-item__q {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    color: var(--text-primary);
}

/* Plus icon that rotates into an × when the item is opened.
   Using two absolutely-positioned bars lets us animate them
   independently for a cleaner transition than a single unicode "+". */
.faq-item__icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, .35);
    background: rgba(0, 229, 255, .08);
    box-shadow: 0 0 10px -2px rgba(0, 229, 255, .35);
    transition: transform .3s var(--ease-out),
                border-color .3s var(--ease-out),
                background .3s var(--ease-out),
                box-shadow .3s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 10px;
    height: 1.5px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease-out), background .3s var(--ease-out);
}
.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
    border-color: rgba(255, 0, 255, .5);
    background: rgba(255, 0, 255, .12);
    box-shadow: 0 0 14px -2px rgba(255, 0, 255, .55);
}
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
    background: var(--neon-magenta);
}

/* Answer — fades + slides in on open.
   The <details> content expansion itself is native (snap), but the
   inner fade makes it feel smooth without a JS accordion. */
.faq-item__a {
    padding: 0 20px 18px;
    animation: faq-fade .35s var(--ease-out);
}
.faq-item__a p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
    max-width: 62ch;
}
@keyframes faq-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------
   FINAL CTA
------------------------------------------------------------- */
.finale {
    padding: clamp(90px, 12vw, 160px) 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.finale__inner {
    position: relative;
    z-index: 1;
}
.finale__ring {
    position: absolute;
    inset: auto 50% auto auto;
    top: 50%;
    width: clamp(420px, 50vw, 640px);
    aspect-ratio: 1;
    transform: translate(50%, -50%);
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, .22);
    box-shadow: inset 0 0 80px rgba(255, 0, 255, .22), 0 0 80px rgba(0, 229, 255, .2);
    background:
        radial-gradient(circle, rgba(0, 229, 255, .12), transparent 55%),
        radial-gradient(circle, rgba(255, 0, 255, .10), transparent 60%);
    animation: finale-ring-glow 6s var(--ease-in-out) infinite;
    z-index: 0;
}
@keyframes finale-ring-glow {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 0.92; }
}
.finale__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin: 0 0 18px;
}
.finale__sub {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.6vw, 19px);
    margin: 0 auto 32px;
    max-width: 40ch;
}
.finale__download {
    display: inline-flex;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    margin: 0 auto 12px;
}

/* -------------------------------------------------------------
   QR PLACEHOLDER
   Desktop-only companion to the finale App Store badge. The dot
   matrix itself is drawn by JS into .qr__art so we don't ship a
   huge inline SVG. When the App Store listing is live, swap the
   <div class="qr"> for a real <img src="assets/qr.svg"> generated
   from the listing URL.
------------------------------------------------------------- */
.qr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px -14px rgba(0, 229, 255, 0.45),
                0 8px 24px -14px rgba(255, 0, 255, 0.35);
}
.qr__art {
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.35),
                0 0 18px -6px rgba(0, 229, 255, 0.45);
    /* Subtle hue-rotate on hover to hint at the neon theme without
       modifying the QR data itself — important for eventual scannability. */
    transition: filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.qr__art svg { display: block; width: 100%; height: 100%; }
.qr:hover .qr__art {
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
}
.qr__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    font-family: var(--font-display);
}
.qr__label-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--neon-cyan);
    text-transform: uppercase;
}
.qr__label-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: .02em;
}

/* Hide QR on small screens — scanning your own phone makes no sense */
@media (max-width: 768px) {
    .qr { display: none; }
    .finale__download { flex-direction: column; gap: 16px; }
}

/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.footer {
    padding: clamp(40px, 6vw, 72px) 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, transparent, rgba(5, 6, 13, .7));
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px 48px;
    align-items: start;
}
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer__tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 8px 0 0;
    max-width: 40ch;
}
.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: flex-end;
    font-size: 14px;
}
.footer__links a { color: var(--text-secondary); }
.footer__links a:hover { color: var(--text-primary); }

.footer__disclaimer {
    grid-column: 1 / -1;
    font-size: 12.5px;
    color: var(--text-tertiary);
    line-height: 1.55;
    max-width: 960px;
    margin: 28px 0 0;
}
.footer__copy {
    grid-column: 1 / -1;
    font-size: 12.5px;
    color: var(--text-tertiary);
    margin: 16px 0 0;
}
@media (max-width: 720px) {
    .footer__inner { grid-template-columns: 1fr; }
    .footer__links { justify-content: flex-start; }
}

/* -------------------------------------------------------------
   REVEAL ON SCROLL
------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    /* Avoid `will-change` here — dozens of promoted layers hurt scroll
       compositing more than they help a short fade-up. */
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* -------------------------------------------------------------
   REDUCED MOTION
------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .hero__caret { display: none; }
    .bg-particles { display: none; }
    .hero__terminal { display: none !important; }
}

/* -------------------------------------------------------------
   CONTACT PAGE (contact.html)
------------------------------------------------------------- */
.contact-page {
    padding: clamp(28px, 6vw, 64px) 0 clamp(48px, 10vw, 100px);
}
.contact-page__inner {
    max-width: 640px;
    margin: 0 auto;
}
.contact-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.contact-crumbs a {
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out);
}
.contact-crumbs a:hover {
    color: var(--text-primary);
}
.contact-crumbs__sep {
    color: var(--text-tertiary);
    opacity: 0.5;
}
.contact-page__head {
    margin-bottom: clamp(22px, 4vw, 36px);
}
.contact-page__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 12px 0 14px;
}
.contact-page__lede {
    margin: 0;
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 52ch;
}
.contact-page__lede strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-success {
    margin-bottom: 24px;
    padding: 24px 26px;
    border-color: rgba(0, 229, 255, 0.35);
}
.contact-success__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--neon-cyan);
    margin: 0 0 8px;
}
.contact-success__text {
    margin: 0 0 18px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(22px, 3vw, 34px);
}
.contact-form__fineprint {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-tertiary);
    line-height: 1.45;
}
.contact-form__field label {
    display: block;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}
.contact-form__optional {
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--text-tertiary);
    opacity: 0.85;
}
.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 16px;
    color: var(--text-primary);
    background: rgba(5, 6, 13, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.contact-form__field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.75;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}
.contact-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.contact-form__actions {
    margin-top: 4px;
}

/* Terms of Use placeholder (terms.html) */
.legal-placeholder {
    padding: clamp(22px, 3vw, 36px);
}
.legal-placeholder__lead {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 17px;
    margin-bottom: 18px !important;
}
.legal-placeholder p {
    margin: 0 0 14px;
    color: var(--text-secondary);
    line-height: 1.62;
    font-size: 16px;
}
.legal-placeholder p:last-child {
    margin-bottom: 0;
}
.legal-placeholder a {
    font-weight: 600;
}

/* Long-form legal (terms.html) */
.legal-page .contact-page__inner {
    max-width: 900px;
}
.legal-doc {
    padding: clamp(22px, 3vw, 40px);
}
.legal-doc__meta {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-tertiary);
}
.legal-doc__toc {
    margin: 0 0 28px;
    padding: 18px 20px;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
}
.legal-doc__toc-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin: 0 0 12px;
}
.legal-doc__toc ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
}
.legal-doc__toc a {
    color: var(--neon-cyan);
}
.legal-doc h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--text-primary);
    margin: 36px 0 12px;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
    scroll-margin-top: 88px;
}
.legal-doc h2:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.legal-doc h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 8px;
}
.legal-doc p,
.legal-doc li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 12px;
}
.legal-doc ul,
.legal-doc ol {
    margin: 0 0 14px;
    padding-left: 1.35rem;
}
.legal-doc li {
    margin-bottom: 8px;
}
.legal-doc p:last-child {
    margin-bottom: 0;
}
.legal-doc strong {
    color: var(--text-primary);
}
.legal-doc a {
    font-weight: 500;
}

/* ===== WaitWHO Mobile Menu Upgrade ===== */

.mobile-menu__panel {
    width: min(360px, 88vw);
    padding: 22px 22px 28px;
    background:
        radial-gradient(90% 45% at 100% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
        radial-gradient(80% 50% at 100% 100%, rgba(255, 0, 255, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(11, 13, 26, .98), rgba(5, 6, 13, .98));
    border-left: 1px solid rgba(0, 229, 255, .16);
    box-shadow:
        -24px 0 70px -28px rgba(0, 229, 255, .45),
        inset 1px 0 0 rgba(255,255,255,.06);
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.mobile-menu__logo {
    height: 30px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 14px rgba(0, 229, 255, .28))
        drop-shadow(0 0 10px rgba(255, 0, 255, .18));
}

.mobile-menu__close {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, .28);
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.16), transparent 35%),
        rgba(255,255,255,.06);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        0 0 18px rgba(0,229,255,.18),
        inset 0 0 0 1px rgba(255,255,255,.04);
}

.mobile-menu__tagline {
    margin: 0 0 28px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.mobile-menu__links {
    gap: 8px;
    margin-top: 0;
}

.mobile-menu__links a {
    padding: 17px 16px;
    font-weight: 700;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.07);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.mobile-menu__links a::after {
    color: var(--neon-cyan);
    opacity: .8;
}

.mobile-menu__cta {
    justify-content: center;
    padding-top: 30px;
}
