/* ================================================
   BYTE — Obsidian (Dark Premium Theme)
   ================================================ */

/* ========== Design Tokens ========== */

:root {
    color-scheme: dark;

    /* Colors */
    --bg:             #0a0a0a;
    --bg-raised:      #111111;
    --surface:        #161616;
    --surface-hover:  #1c1c1c;
    --border:         rgba(255, 255, 255, 0.08);
    --border-strong:  rgba(255, 255, 255, 0.14);
    --text:           #ededed;
    --text-secondary: #999999;
    --muted:          #666666;
    --faint:          #444444;
    --accent:         #00e599;
    --accent-dim:     rgba(0, 229, 153, 0.12);
    --accent-glow:    rgba(0, 229, 153, 0.06);

    /* Typography (clamp scales) */
    --font:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-hero:      clamp(48px, 7vw, 80px);
    --text-display:   clamp(32px, 4.5vw, 56px);
    --text-heading:   clamp(28px, 3.5vw, 44px);
    --text-body:      16px;
    --text-sm:        14px;
    --text-xs:        12px;
    --text-xxs:       11px;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radii */
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   20px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg:   0 12px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 100px var(--accent-glow);
}

/* ========== Reset & Base ========== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ========== Focus States ========== */

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== Noise Overlay ========== */

.noise {
    position: fixed; inset: 0; z-index: 9999; pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
    mix-blend-mode: overlay;
}

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

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 var(--space-xl);
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
}

.logo {
    font-weight: 800; font-size: 18px;
    letter-spacing: -0.03em;
}
.logo-dot { color: var(--accent); transition: text-shadow 0.2s ease; }
.logo:hover .logo-dot { text-shadow: 0 0 12px rgba(0, 229, 153, 0.5); }

.nav-cta {
    display: inline-flex; align-items: center;
    height: 34px; padding: 0 18px;
    background: var(--accent); color: var(--bg);
    font-size: 13px; font-weight: 600;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover {
    background: #00cc88;
    box-shadow: 0 0 20px rgba(0, 229, 153, 0.25);
    transform: translateY(-1px);
}

.nav-link {
    font-size: 13px; font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

/* ========== Hero ========== */

.hero-h1 {
    font-size: var(--text-hero);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.045em;
    margin-bottom: 20px;
    animation: hero-in 0.7s ease both;
}
.hero-h1--accent { color: var(--accent); }
.hero-h1--muted  { color: var(--muted); }

.hero-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 24px;
    animation: hero-in 0.7s 0.1s ease both;
}

@keyframes hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== Hero Benefits ========== */

.hero-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    animation: hero-in 0.7s 0.2s ease both;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hero-benefits li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ========== Hero CTA ========== */

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 40px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin-bottom: 20px;
    animation: hero-in 0.7s 0.35s ease both;
}
.hero-cta:hover {
    background: #00cc88;
    box-shadow: 0 4px 24px rgba(0, 229, 153, 0.3);
    transform: translateY(-2px);
}
.hero-cta:active {
    transform: translateY(0);
}

/* ========== Hero Trust ========== */

.hero-trust {
    font-size: 13px;
    color: var(--muted);
    animation: hero-in 0.7s 0.45s ease both;
}
.hero-trust strong {
    color: var(--text);
    font-weight: 600;
}

/* ========== Scroll Cue ========== */

.scroll-cue {
    position: absolute;
    bottom: 48px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========== Mode Toggle ========== */

.mode-toggle {
    position: relative;
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-bottom: 28px;
    animation: hero-in 0.7s 0.24s ease both;
}

.mode-btn {
    position: relative; z-index: 1;
    padding: 8px 22px;
    border: none; background: none;
    font-family: var(--font);
    font-size: 13px; font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: color 0.25s ease;
    white-space: nowrap;
}
.mode-btn.active { color: var(--text); }
.mode-btn:hover:not(.active) { color: var(--text-secondary); }

.mode-slider {
    position: absolute;
    top: 3px; left: 3px;
    height: calc(100% - 6px);
    width: calc(50% - 3px);
    background: var(--bg-raised);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mode-toggle[data-active="creator"] .mode-slider {
    transform: translateX(100%);
}

/* ========== Waitlist Form ========== */

.wl-form { max-width: 420px; margin: 0 auto; }

.wl-row { display: flex; gap: 8px; }

.wl-row input {
    flex: 1; height: 48px; padding: 0 18px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    font-family: var(--font); font-size: var(--text-sm);
    color: var(--text); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wl-row input::placeholder { color: var(--faint); }
.wl-row input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.wl-row input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 100, 100, 0.08);
}

.wl-row button {
    height: 48px; padding: 0 28px;
    background: var(--accent); color: var(--bg);
    border: none; border-radius: var(--radius-full);
    font-family: var(--font); font-size: var(--text-sm); font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.wl-row button:hover:not(:disabled) {
    background: #00cc88;
    box-shadow: 0 4px 20px rgba(0, 229, 153, 0.3);
    transform: translateY(-1px);
}
.wl-row button:active:not(:disabled) { transform: translateY(0); }
.wl-row button:disabled { opacity: 0.5; cursor: not-allowed; }

.wl-note {
    margin-top: 12px;
    font-size: var(--text-xs);
    color: var(--faint);
}

.wl-error {
    margin-top: 8px;
    font-size: var(--text-xs);
    color: #ff6b6b;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.2s ease;
}
.wl-form.has-error .wl-error {
    opacity: 1;
    max-height: 24px;
}

.wl-ok {
    margin: 20px auto 0;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 28px 24px;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 229, 153, 0.2);
    border-radius: var(--radius-lg);
    animation: wl-ok-in 0.5s ease both;
}
.wl-ok-text {
    font-size: 16px; font-weight: 700; color: var(--text);
    animation: wl-text-in 0.4s 0.45s ease both;
}
.wl-ok-sub {
    font-size: 13px; color: var(--text-secondary); font-weight: 400;
    animation: wl-text-in 0.4s 0.6s ease both;
}

.wl-check { color: var(--accent); }
.wl-check circle {
    stroke-dasharray: 151; stroke-dashoffset: 151;
    animation: wl-circle 0.6s 0.1s ease forwards;
}
.wl-check-mark {
    stroke-dasharray: 40; stroke-dashoffset: 40;
    animation: wl-tick 0.35s 0.55s ease forwards;
}

@keyframes wl-ok-in {
    from { opacity: 0; transform: scale(0.9) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes wl-text-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes wl-circle { to { stroke-dashoffset: 0; } }
@keyframes wl-tick   { to { stroke-dashoffset: 0; } }

.spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2); border-top-color: var(--bg);
    border-radius: 50%; animation: spin 0.55s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================
   SCROLLY — unified split screen
   ============================================= */

.scrolly {
    display: flex;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
}

.scrolly-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    padding-bottom: 80vh;
}

.scrolly-hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px;
    position: relative;
}

/* ========== Step Cards ========== */

.scrolly-step {
    padding: 28px 28px 32px;
    margin-bottom: clamp(24px, 10vh, 140px);
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    opacity: 0.35;
    transition: opacity 0.45s ease, border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.scrolly-step:last-child {
    margin-bottom: 0;
}

.scrolly-step.active {
    opacity: 1;
    background: var(--surface);
    border-color: rgba(0, 229, 153, 0.25);
    box-shadow: 0 0 40px var(--accent-glow), var(--shadow-md);
}

.step-num {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--faint);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px;
}

.scrolly-step.active .step-num {
    color: var(--accent);
}

.step-of {
    color: var(--faint);
    font-weight: 500;
}

.scrolly-step.active .step-of {
    color: var(--muted);
}

.step-heading {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.step-sub {
    font-size: clamp(14px, 1.4vw, 15px);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 360px;
}

/* ========== Sticky Stage ========== */

.scrolly-stage {
    flex: 1;
    position: sticky;
    top: 64px;
    height: min(calc(100vh - 80px), 800px);
    align-self: flex-start;
    padding: var(--space-md) 0;
}

.camera {
    --zoom-t: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--bg);
    position: relative;
    border: 1px solid rgb(255 255 255 / calc(var(--zoom-t, 0) * 0.08));
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / calc(var(--zoom-t, 0) * 0.04)),
        0 12px 48px rgb(0 0 0 / calc(var(--zoom-t, 0) * 0.5));
}
.camera.grid-visible {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    z-index: 90;
    background: rgb(10 10 10 / var(--zoom-t, 0));
}
.scrolly.grid-fullscreen {
    z-index: 90;
}

/* ========== World Grid ========== */

.world {
    position: absolute;
    width: 640px;
    top: 50%;
    left: 50%;
    transform: translate3d(
        calc(-50% + var(--cam-x, 0px)),
        calc(-50% + var(--cam-y, 0px)),
        0
    ) scale(var(--cam-scale, 1));
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.08s linear;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 8px;
    padding: 8px;
}

/* ========== Grid Cards ========== */

.g-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    opacity: clamp(0, calc((var(--zoom-t, 0) - 0.5) * 2), 1);
    transform: scale(calc(0.92 + 0.08 * clamp(0, calc((var(--zoom-t, 0) - 0.5) * 2), 1)));
    transition: box-shadow 0.3s ease;
    visibility: hidden;
}
.camera.grid-visible .g-card {
    visibility: visible;
}
.camera.grid-visible .g-phone {
    visibility: hidden;
}

.g-card--video {
    overflow: hidden;
    position: relative;
}

.g-tile-vid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.g-tile-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========== Center CTA Card ========== */

.g-card--cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 229, 153, 0.1) 0%, transparent 70%),
        linear-gradient(145deg, rgba(0, 229, 153, 0.06) 0%, rgba(0, 229, 153, 0.01) 100%);
    border: 1px solid rgba(0, 229, 153, 0.2);
    text-align: center;
}

.g-cta-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text);
}
.g-cta-dot { color: var(--accent); }

.g-cta-line {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ========== Grid CTA Text ========== */

.grid-cta {
    position: absolute;
    bottom: 56px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 16px;
    z-index: 4;
    opacity: clamp(0, calc((var(--zoom-t, 0) - 0.65) * 2.86), 1);
    transform: translateY(calc(8px * (1 - clamp(0, calc((var(--zoom-t, 0) - 0.65) * 2.86), 1))));
    pointer-events: none;
    visibility: hidden;
}
.camera.grid-visible .grid-cta {
    visibility: visible;
}

.grid-cta-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    max-width: 520px;
    margin: 0 auto 6px;
}
.grid-cta-text strong {
    font-weight: 800;
    color: var(--accent);
}
.grid-cta-sub {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========== iPhone Mockup ========== */

.g-phone {
    position: absolute;
    width: 220px;
    height: 460px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(calc(var(--cam-scale, 1.40) * (1 - var(--zoom-t, 0) * 0.1)));
    z-index: 5;
    background: #1a1a1c;
    border-radius: 40px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 80px var(--accent-glow);
    opacity: clamp(0, calc(1 - var(--zoom-t, 0) * 2), 1);
    will-change: transform, opacity;
    pointer-events: none;
}

.g-phone-screen {
    width: 100%; height: 100%;
    border-radius: 35px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.g-phone-island {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 20px;
    background: #000;
    border-radius: 12px;
    z-index: 2;
}

/* ========== Phone Splash ========== */

.g-phone-splash {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(160deg, #111 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(calc(var(--swipe-t, 0) * 110%));
    will-change: transform;
    transition: transform 0.08s linear;
}

.g-splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.g-splash-logo {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
}
.g-splash-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Phone Clips ========== */

.g-phone-clip {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 35px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    background: #000;
}
.g-phone-clip.active {
    opacity: 1;
    z-index: 2;
}

/* ========== Desktop Tile Hover ========== */

@media (hover: hover) {
    .world.zoomed-out .g-card--video {
        cursor: pointer;
    }
    .world.zoomed-out .g-card--video:hover {
        transform: scale(1.04);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 153, 0.15);
        z-index: 2;
        border-color: rgba(0, 229, 153, 0.2);
    }
}

/* ========== Why Now Bridge ========== */

.why-now {
    padding: 40px 0 56px;
}

.why-now-text {
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 380px;
}

/* ========== Social Proof ========== */

.proof {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 95;
    background: var(--bg);
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.proof-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.proof-quote p {
    font-size: clamp(16px, 1.8vw, 20px);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-attr {
    display: block;
    margin-top: 8px;
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--muted);
}

/* ========== FAQ ========== */

.faq {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--space-xl) var(--space-4xl);
    position: relative;
    z-index: 95;
    background: var(--bg);
}

.faq-heading {
    font-size: var(--text-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xl);
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list details:first-child {
    border-top: 1px solid var(--border);
}

.faq-list summary {
    padding: 20px 0;
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-list details p {
    padding: 0 0 20px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-list details[open] p {
    animation: faq-open 0.3s ease both;
}

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== Final CTA ========== */

.final-cta {
    position: relative;
    z-index: 95;
    background: var(--bg);
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0, 229, 153, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 229, 153, 0.2);
    margin-bottom: 24px;
    position: relative;
}

.final-cta-heading {
    font-size: var(--text-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
}

.final-cta-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.final-cta .wl-form {
    position: relative;
}

/* ========== Footer ========== */

.footer {
    border-top: 1px solid var(--border);
    padding: 28px var(--space-xl);
    position: relative;
    z-index: 95;
    background: var(--bg);
}
.footer-inner {
    max-width: 1120px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-logo   { font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.footer-links  { display: flex; gap: 20px; }
.footer-links a {
    font-size: 13px; color: var(--muted);
    transition: color 0.2s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}
.footer-links a:hover {
    color: var(--text);
    text-decoration-color: var(--faint);
}
.footer-copy   { font-size: 12px; color: var(--faint); }

/* ========== Reveal (scroll fade-in) ========== */

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1; transform: translateY(0);
}

/* ========== Reduced Motion ========== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .world   { transition: none !important; }
    .reveal  { opacity: 1; transform: none; }
    .scrolly-step { opacity: 1; }
    .g-card  { opacity: 1; transform: none; visibility: visible; }
    .g-phone { opacity: 1; }
    .grid-cta { opacity: 1; transform: none; visibility: visible; }
    html     { scroll-behavior: auto; }
}

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

@media (max-width: 900px) {
    .scrolly {
        flex-direction: column;
        gap: 0;
    }
    .scrolly-left {
        padding-bottom: 0;
    }
    .scrolly-hero {
        min-height: auto;
        padding: 100px 0 48px;
        text-align: center;
    }
    .scrolly-step {
        margin-bottom: 16px;
        padding: 24px;
        opacity: 1;
        text-align: center;
        background: var(--bg-raised);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        box-shadow: none;
    }
    .scrolly-step.active {
        border-color: var(--border);
        box-shadow: none;
    }
    .step-sub {
        max-width: 100%;
        margin: 0 auto;
    }
    .g-card {
        display: none;
    }
    .g-phone {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }
    .camera.grid-visible .g-phone {
        visibility: visible;
    }
    .grid-cta {
        display: none;
    }
    .scrolly-stage {
        position: relative;
        top: auto;
        height: 60vh;
        padding: 0;
        margin-bottom: 24px;
        order: -1;
    }
    .camera {
        --zoom-t: 0 !important;
    }
    .scroll-cue { display: none; }
    .hero-benefits { align-items: center; }
    .hero-cta { align-self: center; }
    .hero-trust { text-align: center; }
    .why-now { text-align: center; padding: 24px 0 40px; }
    .why-now-text { max-width: 100%; margin: 0 auto; }
    .faq { padding-left: 20px; padding-right: 20px; }
    .wl-form { margin: 0 auto; }
}

@media (max-width: 640px) {
    .nav-inner   { padding: 0 20px; }
    .scrolly     { padding: 0 20px; }
    .final-cta   { padding: var(--space-3xl) 20px; }
    .footer      { padding: 20px; }

    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

    .wl-row { flex-direction: column; }
    .wl-row button { width: 100%; }

    .scrolly-stage { height: 50vh; }

    .stat-row { flex-direction: column; gap: var(--space-lg); align-items: center; }
}
