/* ═══════════════════════════════════════════════════════════
   ACT 1 — Unified Onboarding Experience v2.0
   Design System: Signal Dark + Plus Jakarta Sans
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --bg-deep: #06080f;
    --bg-surface: #0d1117;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.10);
    --border-subtle: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: #c8cdd3;
    --text-dim: #8b929a;
    --accent-primary: #38bdf8;
    --accent-green: #34d399;
    --accent-violet: #a78bfa;
    --accent-amber: #fbbf24;
    --accent-rose: #fb7185;
    --glow-primary: 0 0 40px rgba(56, 189, 248, 0.12);
    --glow-green: 0 0 30px rgba(52, 211, 153, 0.15);
    --glow-violet: 0 0 30px rgba(167, 139, 250, 0.15);
    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-grid {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
}

/* ─── SCREENS ─── */
.screen {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: flex-start; justify-content: center;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 3rem 0;
}
.screen.active {
    opacity: 1;
    pointer-events: auto;
}
#screen-hook {
    align-items: center;
    padding: 0;
}
#screen-leap {
    transition: opacity 1s ease;
}
.screen-content {
    position: relative; z-index: 2;
    max-width: 640px; width: 100%;
    padding: 2rem;
}

/* ─── HOOK SCREEN ─── */
.hook-content { text-align: center; position: relative; z-index: 2; }

.hook-neon-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hook-neon-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(56, 189, 248, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(52, 211, 153, 0.06) 0%, transparent 40%);
    animation: hookDrift 20s ease-in-out infinite alternate;
}
.hook-neon-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 15%, rgba(56, 189, 248, 0.35) 50%, transparent 50%),
        radial-gradient(1px 1px at 25% 60%, rgba(167, 139, 250, 0.30) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 45% 30%, rgba(52, 211, 153, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 60% 80%, rgba(56, 189, 248, 0.30) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 80% 20%, rgba(251, 191, 36, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 55%, rgba(167, 139, 250, 0.30) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 85%, rgba(52, 211, 153, 0.30) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 70% 45%, rgba(56, 189, 248, 0.20) 50%, transparent 50%);
    animation: hookParticles 30s linear infinite alternate;
}
@keyframes hookDrift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(5%, -3%) scale(1.02); }
    66%  { transform: translate(-3%, 4%) scale(0.98); }
    100% { transform: translate(2%, -2%) scale(1.01); }
}
@keyframes hookParticles {
    0%   { opacity: 0.4; transform: translateY(0); }
    50%  { opacity: 0.7; transform: translateY(-8px); }
    100% { opacity: 0.4; transform: translateY(0); }
}

.hook-neon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

.neon-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    animation: neonPulse 5s ease-in-out infinite;
}
.neon-block.neon-b-cyan {
    color: #38bdf8;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.04);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2), inset 0 0 12px rgba(56, 189, 248, 0.05);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.neon-block.neon-b-green {
    color: #34d399;
    border: 1.5px solid rgba(52, 211, 153, 0.5);
    background: rgba(52, 211, 153, 0.04);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.2), inset 0 0 12px rgba(52, 211, 153, 0.05);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    font-size: 1rem;
}
.neon-block.neon-b-violet {
    color: #a78bfa;
    border: 1.5px solid rgba(167, 139, 250, 0.5);
    background: rgba(167, 139, 250, 0.04);
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.2), inset 0 0 12px rgba(167, 139, 250, 0.05);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
}
.neon-block.neon-b-amber {
    color: #fbbf24;
    border: 1.5px solid rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.04);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.2), inset 0 0 12px rgba(251, 191, 36, 0.05);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
.neon-block.neon-block-lg { font-size: 1rem; font-weight: 800; padding: 0.5rem 1.5rem; }

.neon-block:nth-child(1) { animation-delay: 0s; }
.neon-block:nth-child(2) { animation-delay: 0.4s; }
.neon-block:nth-child(3) { animation-delay: 1s; }

@keyframes neonPulse {
    0%, 100% { opacity: 0.4; filter: brightness(0.8); }
    5% { opacity: 1; filter: brightness(1.3); }
    7% { opacity: 0.5; filter: brightness(0.7); }
    9% { opacity: 1; filter: brightness(1.2); }
    50% { opacity: 0.7; filter: brightness(1); }
    80% { opacity: 0.35; filter: brightness(0.7); }
}

.neon-cyan {
    color: var(--accent-primary);
    border-color: rgba(56, 189, 248, 0.3);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.05);
}
.neon-green {
    color: var(--accent-green);
    border-color: rgba(52, 211, 153, 0.3);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.05);
}
.neon-violet {
    color: var(--accent-violet);
    border-color: rgba(167, 139, 250, 0.3);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.05);
}
.neon-amber {
    color: var(--accent-amber);
    border-color: rgba(251, 191, 36, 0.3);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.05);
}

@keyframes neonFlicker {
    0%, 100% { opacity: 0.6; }
    10% { opacity: 1; }
    12% { opacity: 0.7; }
    14% { opacity: 1; }
    50% { opacity: 0.8; }
    80% { opacity: 0.5; }
}

.hook-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 0.4rem 1rem; border-radius: 100px;
    margin-bottom: 2rem;
}
.tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

.hook-headline {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.1; margin-bottom: 1rem;
    padding: 0 0.25rem;
    background: linear-gradient(135deg, #fff 0%, #c8cdd3 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 640px) {
    .neon-sign { font-size: 0.65rem !important; padding: 0.35rem 0.75rem; }
    .neon-sign.neon-box { font-size: 0.6rem !important; }
}
.hook-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem; font-weight: 400;
}
.btn-play {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: var(--accent-primary);
    color: var(--bg-deep); font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700;
    padding: 1rem 2.5rem; border-radius: 100px;
    border: none; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: var(--glow-primary);
}
@media (hover: hover) {
    .btn-play:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 60px rgba(56, 189, 248, 0.25), 0 0 100px rgba(56, 189, 248, 0.1);
    }
    .btn-play:hover .btn-arrow { transform: translateX(4px); }
}
.btn-play:active { transform: translateY(0); }
.btn-arrow { font-size: 1.3rem; transition: transform 0.2s; }
.hook-fine {
    margin-top: 1rem; font-size: 0.8rem;
    color: var(--text-dim);
}

/* ─── ARLO CHAT ─── */
.arlo-chat {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 2rem;
}
.arlo-avatar {
    width: 44px; height: 44px; min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-violet));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; color: #0f172a;
    background-image: url('/assets/logos/arlo-icon.svg');
    background-size: cover;
    background-position: center;
    font-size: 0; /* hide the A text */
    color: transparent;
}
.arlo-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0 16px 16px 16px;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem; line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 450;
    min-height: 60px;
}
.arlo-bubble .arlo-name {
    color: var(--accent-primary);
    font-weight: 700; font-size: 0.9rem;
    display: block; margin-bottom: 0.5rem;
}

/* ─── PROFILE OPTIONS ─── */
.option-label {
    font-size: 1.1rem; font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.option-btn {
    display: block; width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 500;
    cursor: pointer; text-align: left;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
}
@media (hover: hover) {
    .option-btn:hover {
        background: var(--bg-card-hover);
        border-color: var(--accent-primary);
        color: var(--text-primary);
        transform: translateX(4px);
    }
}

/* ─── XP BAR ─── */
.xp-bar {
    position: fixed; top: 1.25rem; right: 1.5rem;
    z-index: 100;
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(6, 8, 15, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    padding: 0.5rem 1rem;
}
.xp-label {
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 700;
    color: var(--accent-amber);
    letter-spacing: 0.05em;
}
.xp-count {
    font-family: var(--font-mono);
    font-size: 0.9rem; font-weight: 700;
    color: var(--text-primary);
    min-width: 30px; text-align: right;
}
.xp-pop {
    animation: xpPop 0.4s ease;
}
@keyframes xpPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); color: var(--accent-amber); }
    100% { transform: scale(1); }
}

/* ─── MISSION CARDS ─── */
.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.mission-header {
    font-family: var(--font-mono);
    font-size: 0.7rem; font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: flex; flex-direction: column; gap: 0.25rem;
}
.mission-header span { display: block; }
.mission-title {
    font-size: 1.3rem; font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.mission-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.mission-xp-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 100px;
    padding: 0.3rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 700;
    color: var(--accent-amber);
}

/* ─── CARRIER SELECTION ─── */
.carrier-grid {
    display: grid; gap: 0.75rem;
    margin: 1.5rem 0;
}
.carrier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}
@media (hover: hover) {
    .carrier-card:hover {
        border-color: var(--accent-primary);
        background: var(--bg-card-hover);
    }
}
.carrier-card.selected {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.08);
}
.carrier-name {
    font-weight: 700; font-size: 1rem;
    margin-bottom: 0.25rem;
}
.carrier-detail {
    font-size: 0.8rem; color: var(--text-dim);
}
.carrier-check {
    float: right; font-size: 1.2rem;
    color: var(--accent-green);
    display: none;
}
.carrier-card.selected .carrier-check { display: inline; }

/* ─── ARLO INLINE ─── */
.arlo-inline {
    display: flex; gap: 0.75rem; align-items: flex-start;
    margin: 1.5rem 0;
}
.arlo-inline .arlo-avatar { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; border-radius: 10px; }
.arlo-inline-text {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0 12px 12px 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem; line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 450;
}

/* ─── EARNINGS TICKER ─── */
.earnings-ticker {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 12px;
}
.earnings-label {
    font-size: 0.75rem; font-family: var(--font-mono);
    color: var(--accent-green); letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}
.earnings-amount {
    font-size: 2rem; font-weight: 800;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

/* ─── INCOME SELECTOR ─── */
.income-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.75rem; margin: 1.5rem 0;
}
@media (max-width: 480px) { .income-grid { grid-template-columns: 1fr; } }
.income-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer; text-align: center;
    transition: all 0.2s;
}
@media (hover: hover) {
    .income-card:hover {
        border-color: var(--accent-primary);
        background: var(--bg-card-hover);
    }
}
.income-card.selected {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.08);
}
.income-amount {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 0.25rem;
}
.income-level {
    font-size: 0.75rem; color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ─── SCHEDULE PREVIEW ─── */
.schedule-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}
.schedule-title {
    font-size: 0.75rem; font-family: var(--font-mono);
    color: var(--accent-primary); letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.schedule-row {
    display: flex; justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(15,23,42,0.03);
    font-size: 0.85rem;
}
.schedule-row:last-child { border-bottom: none; }
.schedule-day { font-weight: 600; min-width: 80px; }
.schedule-task { color: var(--text-secondary); flex: 1; text-align: left; padding-left: 1rem; }
.schedule-xp {
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--accent-amber); min-width: 50px; text-align: right;
}

/* ─── VEHICLE PULL ─── */
.vehicle-content { text-align: center; }
.vehicle-mystery {
    width: 140px; height: 140px;
    margin: 0 auto 2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    animation: vehiclePulse 1.5s ease-in-out infinite;
}
@keyframes vehiclePulse {
    0%,100% { border-color: var(--border-subtle); box-shadow: none; }
    50% { border-color: var(--accent-primary); box-shadow: var(--glow-primary); }
}
.vehicle-revealed {
    animation: vehicleReveal 0.6s ease forwards;
}
@keyframes vehicleReveal {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(3deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
.vehicle-name {
    font-size: 1.5rem; font-weight: 800;
    margin-bottom: 0.25rem;
}
.vehicle-class {
    font-size: 0.85rem; color: var(--text-dim);
    margin-bottom: 1rem;
}
.vehicle-brand {
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--accent-primary); letter-spacing: 0.08em;
}
.vehicle-stats {
    display: flex; justify-content: center; gap: 1.5rem;
    margin: 1.5rem 0;
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--text-dim);
}
.vehicle-rarity-bar {
    display: flex; align-items: center; gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
    font-family: var(--font-mono); font-size: 0.7rem;
}
.rarity-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(15,23,42,0.1);
}
.rarity-dot.active { border: none; }
.rarity-common { background: #9ca3af; }
.rarity-rare { background: #3b82f6; }
.rarity-epic { background: #8b5cf6; }
.rarity-legendary { background: #f59e0b; }
.rarity-label { color: var(--text-dim); margin: 0 0.25rem; }
.vehicle-carryover {
    font-size: 0.85rem; color: var(--text-secondary);
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: 12px;
}

/* ─── SCOREBOARD ─── */
.scoreboard-section {
    margin: 1.5rem 0;
}
.scoreboard-title {
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--accent-primary); letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.leaderboard-row {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(15,23,42,0.03);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.leaderboard-row.you {
    border-color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.08);
}
.lb-rank { font-weight: 700; min-width: 24px; color: var(--text-dim); }
.lb-name { flex: 1; }
.lb-vehicle { font-size: 1.2rem; }
.lb-xp {
    font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--accent-amber);
}

.tier-preview {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem; margin: 1rem 0;
}
.tier-card {
    background: var(--bg-card);
    border: 1px solid rgba(15,23,42,0.03);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}
.tier-emoji { font-size: 1.5rem; margin-bottom: 0.25rem; }
.tier-name {
    font-size: 0.65rem; font-family: var(--font-mono);
    color: var(--text-dim); letter-spacing: 0.05em;
}

/* ─── MONEY SCREEN ─── */
.money-headline {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 2rem; text-align: center;
}
.money-grid {
    display: grid; gap: 1rem;
    margin-bottom: 2rem;
}
.money-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}
.money-card.highlight {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.06);
}
.money-tier {
    font-size: 0.72rem; font-family: var(--font-mono);
    color: var(--text-dim); letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.money-range {
    font-size: 1.8rem; font-weight: 800;
    margin-bottom: 0.25rem;
}
.money-detail {
    font-size: 0.8rem; color: var(--text-secondary);
}
.money-note {
    font-size: 0.75rem; color: var(--text-dim);
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(15,23,42,0.03);
}

/* ─── CTA SCREEN ─── */
.cta-content { text-align: center; }
.cta-headline {
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.cta-sub {
    font-size: 0.95rem; color: var(--text-secondary);
    margin-bottom: 2.5rem;
}
.cta-buttons {
    display: grid; gap: 0.75rem;
    max-width: 400px; margin: 0 auto;
}
.cta-btn-primary {
    display: block; width: 100%;
    background: var(--accent-green);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700;
    padding: 1.1rem 2rem;
    border-radius: 100px; border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: var(--glow-green);
    text-decoration: none; text-align: center;
}
@media (hover: hover) {
    .cta-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 50px rgba(52, 211, 153, 0.3);
    }
}
.cta-btn-secondary {
    display: block; width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none; text-align: center;
}
@media (hover: hover) {
    .cta-btn-secondary:hover {
        background: var(--bg-card-hover);
        border-color: var(--accent-primary);
        color: var(--text-primary);
    }
}
.cta-disclaimer {
    margin-top: 2rem;
    font-size: 0.7rem; color: var(--text-dim);
    line-height: 1.5;
}

/* ─── CONTINUE BUTTON (reusable) ─── */
.btn-continue {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent-primary);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 100px; border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    margin-top: 1.5rem;
}
@media (hover: hover) {
    .btn-continue:hover {
        transform: translateY(-2px);
        box-shadow: var(--glow-primary);
    }
}

/* ─── FADE IN UTILITY ─── */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }
.delay-3 { animation-delay: 0.6s; opacity: 0; }
.delay-4 { animation-delay: 0.8s; opacity: 0; }

/* ─── ANALYSIS METER ─── */
.analysis-meter {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 0.5rem 1.5rem;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15,23,42,0.03);
}
.analysis-track {
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.analysis-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-green));
    border-radius: 2px;
    transition: width 0.8s ease;
}
.analysis-info {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 0.35rem;
}
.analysis-label {
    font-family: var(--font-mono);
    font-size: 0.6rem; letter-spacing: 0.1em;
    color: var(--text-dim);
    transition: color 0.3s;
}
.analysis-pct {
    font-family: var(--font-mono);
    font-size: 0.6rem; font-weight: 700;
    color: var(--accent-primary);
}
.analysis-meter.analysis-complete .analysis-fill {
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}
.analysis-meter.analysis-complete .analysis-label {
    color: var(--accent-green);
}
.analysis-meter.analysis-complete .analysis-pct {
    color: var(--accent-green);
}

/* ─── IDENTITY FORM ─── */
.identity-form {
    max-width: 400px;
    margin: 0 auto;
}
.game-input {
    display: block; width: 100%;
    padding: 0.9rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    outline: none;
    transition: border-color 0.2s;
}
.game-input:focus {
    border-color: var(--accent-primary);
}
.game-input::placeholder {
    color: var(--text-dim);
}
.input-error {
    font-size: 0.8rem;
    color: var(--accent-rose);
    margin-bottom: 0.5rem;
    text-align: center;
}

/* ─── MOBILE ─── */
/* ─── CALCULATOR QUESTIONS ─── */
.calc-question { margin-bottom: 0.5rem; }
.calc-q-label {
    font-size: 1rem; font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.calc-options { display: grid; gap: 0.5rem; }

/* ─── CALCULATOR PROCESSING ─── */
.calc-processing { margin: 2rem 0; }
.calc-spinner {
    width: 40px; height: 40px;
    margin: 0 auto;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── THE REVEAL ─── */
.reveal-container {
    text-align: center;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0 0.5rem;
    box-sizing: border-box;
}
.reveal-year {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}
.reveal-year:first-of-type {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.06);
}
.reveal-year.reveal-landed {
    animation: revealPulse 1.2s ease;
}
@keyframes revealPulse {
    0% { box-shadow: none; }
    40% { box-shadow: 0 0 30px rgba(52, 211, 153, 0.3), inset 0 0 20px rgba(52, 211, 153, 0.05); }
    100% { box-shadow: none; }
}
.reveal-name {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}
.reveal-year-label {
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}
.reveal-amount {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--accent-green);
    font-family: var(--font-mono);
    margin-bottom: 0.25rem;
}
.reveal-amount-secondary {
    font-size: 1.5rem; font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
    margin-bottom: 0.25rem;
}
.reveal-per {
    font-size: 0.8rem; font-weight: 400;
    color: var(--text-dim);
}
.reveal-range {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}
.reveal-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.reveal-disclaimer {
    font-size: 0.7rem;
    color: var(--text-dim);
    line-height: 1.5;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-top: 1px solid rgba(15,23,42,0.03);
    text-align: center;
}

/* When analysis meter is visible, add top padding to screens */
.screen { padding-top: 4rem; }
#screen-hook { padding-top: 0; }

@media (max-width: 640px) {
    /* ── CORE LAYOUT: fix mobile jumping ── */
    .screen { position: absolute; min-height: 100dvh; padding-top: 3.5rem; }
    #screen-hook { position: absolute; min-height: 100dvh; display: flex; align-items: center; }
    #screen-leap { position: absolute; min-height: 100dvh; }
    .screen-content { padding: 1rem 1.25rem; max-width: 100%; }

    /* ── ARLO CHAT BUBBLES ── */
    .arlo-chat { gap: 0.75rem; margin-bottom: 1.25rem; }
    .arlo-avatar { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; border-radius: 10px; }
    .arlo-bubble { padding: 0.9rem 1rem; font-size: 0.9rem; line-height: 1.5; border-radius: 0 12px 12px 12px; }
    .arlo-bubble .arlo-name { font-size: 0.8rem; margin-bottom: 0.35rem; }
    .arlo-inline .arlo-avatar { width: 32px; height: 32px; min-width: 32px; }
    .arlo-inline-text { padding: 0.7rem 0.9rem; font-size: 0.85rem; }

    /* ── HOOK SCREEN ── */
    .hook-headline { font-size: clamp(1.8rem, 8vw, 3rem); line-height: 1.1; }
    .hook-sub { font-size: clamp(0.9rem, 3vw, 1.1rem); margin-bottom: 1.75rem; }
    .btn-play { padding: 1.1rem 2.25rem; font-size: 1.05rem; width: 100%; justify-content: center; }
    .hook-fine { font-size: 0.75rem; }

    /* ── TAP TARGETS (48px min per Apple/Google guidelines) ── */
    .option-btn { padding: 1.1rem 1.25rem; font-size: 1rem; min-height: 48px; }
    .btn-continue { padding: 1rem 1.75rem; font-size: 1rem; min-height: 48px; width: 100%; justify-content: center; }
    .carrier-card { padding: 1.1rem; }
    .income-card { padding: 1.1rem; }
    .commitment-card { padding: 1.1rem; }
    .cta-btn-primary { padding: 1.2rem 2rem; font-size: 1.05rem; }
    .cta-btn-secondary { padding: 1rem 1.5rem; font-size: 1rem; }

    /* ── INPUTS: 16px prevents iOS zoom ── */
    .game-input { font-size: 16px; padding: 1rem 1.1rem; }
    .identity-form { max-width: 100%; }

    /* ── MISSION CARDS ── */
    .mission-card { padding: 1.1rem; }
    .mission-title { font-size: 1.1rem; }
    .mission-desc { font-size: 0.85rem; line-height: 1.5; }

    /* ── CARRIER GRID ── */
    .carrier-name { font-size: 0.95rem; }
    .carrier-detail { font-size: 0.78rem; }

    /* ── INCOME GRID: stack on mobile ── */
    .income-grid { grid-template-columns: 1fr; }

    /* ── SCHEDULE PREVIEW ── */
    .schedule-preview { padding: 1rem; margin: 1rem 0; }
    .schedule-row { font-size: 0.82rem; padding: 0.5rem 0; }
    .schedule-day { min-width: 65px; font-size: 0.8rem; }
    .schedule-task { padding-left: 0.5rem; font-size: 0.8rem; }
    .schedule-xp { font-size: 0.7rem; }

    /* ── VEHICLE ── */
    .vehicle-mystery { width: 110px; height: 110px; font-size: 2.8rem; }
    .vehicle-name { font-size: 1.2rem; }
    .vehicle-stats { flex-wrap: wrap; gap: 0.6rem; font-size: 0.68rem; }
    .vehicle-carryover { font-size: 0.8rem; padding: 0.75rem; margin: 1rem 0; }

    /* ── EARNINGS REVEAL ── */
    .reveal-year { padding: 1.1rem; margin-bottom: 0.75rem; }
    .reveal-amount { font-size: clamp(1.5rem, 7vw, 2.5rem); }
    .reveal-amount-secondary { font-size: 1.2rem; }
    .reveal-range { font-size: 0.72rem; }
    .reveal-detail { font-size: 0.8rem; }
    .reveal-disclaimer { font-size: 0.65rem; padding: 0.9rem; }
    .earnings-amount { font-size: 1.5rem; }

    /* ── PORTAL/PROGRESS BAR ── */
    .portal-container { padding: 0.5rem 0.75rem; }
    .portal-btn { width: 38px; height: 38px; }

    /* ── XP BAR ── */
    .xp-bar { padding: 0.4rem 0.75rem; top: 0.75rem; right: 0.75rem; }
    .xp-label { font-size: 0.6rem; }
    .xp-count { font-size: 0.8rem; }

    /* ── SCOREBOARD ── */
    .leaderboard-row { padding: 0.6rem 0.75rem; font-size: 0.85rem; gap: 0.5rem; }
    .tier-preview { grid-template-columns: repeat(2, 1fr); }

    /* ── MONEY/CTA SCREEN ── */
    .money-headline { font-size: clamp(1.3rem, 5vw, 1.8rem); }
    .money-range { font-size: 1.4rem; }
    .money-card { padding: 1.1rem; }
    .cta-headline { font-size: 1.2rem; }
    .cta-sub { font-size: 0.9rem; margin-bottom: 1.25rem; }
    .cta-disclaimer { font-size: 0.65rem; }

    /* ── LEAP CARD ── */
    .leap-card { padding: 2rem 1.25rem; margin: 0 0.5rem; border-radius: 20px; }
    .leap-boxes { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
    .leap-box { font-size: 0.75rem; padding: 0.4rem 0.5rem; }
    .leap-title { font-size: 1.3rem; }
    .leap-subtitle { font-size: 0.88rem; line-height: 1.5; }
    .leap-submit { font-size: 1rem; padding: 1rem; min-height: 52px; }
    .leap-alt-links { gap: 0.75rem; }
    .leap-alt-links a { font-size: 0.85rem; }

    /* ── CONTRACTING ── */
    .contracting-step { padding: 1rem; }
    .step-number { width: 32px; height: 32px; min-width: 32px; }

    /* ── NEON SIGNS ── */
    .hook-neon-row { gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
    .neon-block { padding: 0.3rem 0.6rem; font-size: 0.6rem !important; }
    .neon-block.neon-block-lg { font-size: 0.75rem !important; padding: 0.4rem 0.8rem; }

    /* ── FULL-PAGE WEBSITE PREVIEW ── */
    .site-fullpage { border-radius: 12px; }
    .site-fp-features { grid-template-columns: 1fr; }
    .site-fp-nav-links { display: none; }
    .site-fp-hero { padding: 2rem 1.25rem; }
    .site-fp-hero-title { font-size: 1.3rem; }
    .site-fp-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
    .site-fp-hero-actions { flex-direction: column; align-items: center; }
    .site-fp-btn-primary, .site-fp-btn-secondary { width: 100%; text-align: center; }

    /* ── DASHBOARD PREVIEW ── */
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-header { padding: 1rem 1.25rem; }
    .dash-pipeline, .dash-roadmap, .dash-earnings { padding: 1rem 1.25rem; }
    .dash-stat-value { font-size: 1.1rem; }

    /* ── PLAN ── */
    .plan-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-timeline { grid-template-columns: 1fr; }

    /* ── AVATAR GRID ── */
    #avatar-area .option-btn { padding: 1rem 0.5rem; }
}

@media (max-width: 380px) {
    .screen-content { padding: 1rem; }
    .hook-headline { font-size: 1.6rem; }
    .income-grid { grid-template-columns: 1fr; }
    .tier-preview { grid-template-columns: 1fr 1fr; }
    .vehicle-stats { gap: 0.75rem; font-size: 0.65rem; }
    .site-preview-iframe { height: 220px; }
    .site-features { grid-template-columns: 1fr; }
    .plan-timeline { grid-template-columns: 1fr; }
    .leap-boxes { grid-template-columns: 1fr; }
    /* TKT-201: Earnings reveal text clipping on small iOS */
    .reveal-container { padding: 0; margin: 0; }
    .reveal-year { padding: 1rem; }
    .reveal-amount { font-size: clamp(1.5rem, 5vw, 2.5rem); }
    .reveal-amount-secondary { font-size: 1.2rem; }
    .reveal-range { font-size: 0.7rem; }
    .reveal-detail { font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════════════════════
   ACT 1 — NEW COMPONENTS (v2.0)
   ═══════════════════════════════════════════════════════════ */

/* ─── PORTAL BUTTON (top-right, always visible) ─── */
.portal-container {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(6, 8, 15, 0.85);
    backdrop-filter: blur(12px);
}

.portal-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(15,23,42,0.04);
    border-radius: 2px;
    margin-right: 0.75rem;
}

.portal-progress-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 1s ease;
    width: 0%;
}
.portal-progress-fill.portal-mid {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-green));
}
.portal-progress-fill.portal-high {
    background: var(--accent-green);
}
.portal-progress-fill.portal-full {
    background: linear-gradient(90deg, #38bdf8, #34d399, #a78bfa, #fbbf24, #fb7185);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

.portal-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(15,23,42,0.08);
    background: rgba(6, 8, 15, 0.9);
    backdrop-filter: blur(12px);
    cursor: pointer;
    position: relative;
    opacity: 0.3;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-btn.portal-ready {
    border-color: var(--accent-green);
    opacity: 1;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
}

.portal-glow {
    position: absolute; inset: -3px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
}

.portal-glow.portal-spinning {
    opacity: 1;
    background: conic-gradient(
        var(--accent-primary),
        var(--accent-green),
        var(--accent-violet),
        var(--accent-amber),
        var(--accent-primary)
    );
    animation: portalSpin 3s linear infinite;
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff 0);
}

.portal-icon {
    font-size: 1.1rem;
    color: var(--text-primary);
    z-index: 1;
}

@keyframes portalSpin {
    to { transform: rotate(360deg); }
}

/* ─── WEBSITE PREVIEW (Screen 6) ─── */
.site-preview-frame {
    max-width: 560px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.08);
    background: #ffffff;
    opacity: 0;
    transform: translateY(16px);
    animation: siteReveal 0.7s ease forwards;
    animation-delay: 0.8s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
@keyframes siteReveal {
    to { opacity: 1; transform: translateY(0); }
}
.site-preview-frame.site-loaded {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.08);
}

/* ─── FULL-PAGE SITE PREVIEW (Screen 6 v2) ─── */
.site-fullpage {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(52, 211, 153, 0.2);
    background: linear-gradient(180deg, #0a0f1a 0%, #0d1117 100%);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 30px rgba(52, 211, 153, 0.05);
    opacity: 0;
    transform: translateY(16px);
    animation: siteReveal 0.7s ease forwards;
    animation-delay: 0.5s;
}

.site-fp-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.04);
}
.site-fp-logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}
.site-fp-nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}
.site-fp-nav-cta {
    color: var(--bg-deep);
    background: var(--accent-green);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
}

.site-fp-hero {
    text-align: center;
    padding: 3rem 2rem 2.5rem;
}
.site-fp-hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--accent-green);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.5rem;
}
.site-fp-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.site-fp-hero-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.site-fp-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.site-fp-btn-primary {
    background: var(--accent-primary);
    color: var(--bg-deep);
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
}
.site-fp-btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
}

.site-fp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(15,23,42,0.03);
    border-top: 1px solid rgba(15,23,42,0.04);
}
.site-fp-feature {
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-surface);
}
.site-fp-feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}
.site-fp-feature-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.site-fp-feature-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.site-fp-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: rgba(52, 211, 153, 0.04);
    border-top: 1px solid rgba(15,23,42,0.04);
}
.site-fp-trust-item {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.site-fp-footer {
    text-align: center;
    padding: 1.25rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(15,23,42,0.04);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .site-fp-features { grid-template-columns: 1fr; }
    .site-fp-nav-links { display: none; }
    .site-fp-hero { padding: 2rem 1.25rem; }
    .site-fp-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
    .site-fp-hero-actions { flex-direction: column; align-items: center; }
}

/* ─── DASHBOARD PREVIEW (Screen 7B) ─── */
.dash-preview {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: linear-gradient(180deg, #0a0f1a 0%, #0d1117 100%);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.04);
}
.dash-vehicle { font-size: 2rem; }

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(15,23,42,0.03);
    border-bottom: 1px solid rgba(15,23,42,0.04);
}
.dash-stat {
    padding: 1.25rem 0.75rem;
    text-align: center;
    background: var(--bg-surface);
}
.dash-stat-value {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.dash-stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-pipeline, .dash-roadmap, .dash-earnings {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.04);
}
.dash-section-title {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.dash-pipeline-bar {
    display: flex;
    gap: 4px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
}
.dash-pipe-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-pipe-fill {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    border-radius: 4px;
}
.dash-pipe-label {
    position: relative;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dash-milestone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.dash-milestone.dash-done {
    color: var(--text-secondary);
}
.dash-milestone.dash-active {
    color: var(--text-primary);
    font-weight: 600;
}
.dash-check {
    color: var(--accent-green);
    font-weight: 700;
    width: 18px;
    text-align: center;
}
.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: inline-block;
    margin: 0 5px;
}
.dash-milestone.dash-active .dash-dot {
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.dash-earnings-bar {
    height: 8px;
    background: rgba(15,23,42,0.04);
    border-radius: 4px;
    overflow: hidden;
}
.dash-earnings-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-primary));
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-header { padding: 1rem 1.25rem; }
    .dash-pipeline, .dash-roadmap, .dash-earnings { padding: 1rem 1.25rem; }
}

/* ─── "I'M READY" AURORA BUTTON (Screen 8 → Leap threshold) ─── */
.btn-ready-wrap {
    position: relative;
    display: inline-block;
}
.btn-ready-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    background: linear-gradient(135deg,
        rgba(56, 189, 248, 0.3),
        rgba(52, 211, 153, 0.3),
        rgba(167, 139, 250, 0.3),
        rgba(251, 191, 36, 0.2));
    filter: blur(8px);
    opacity: 0;
    animation: readyGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}
@media (hover: hover) {
    .btn-ready-wrap:hover::before { opacity: 1; }
}
@keyframes readyGlow {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.site-preview-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f1f3f5;
    border-bottom: 1px solid #e5e7eb;
}

.site-preview-dots { display: flex; gap: 6px; }
.site-preview-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}
.site-preview-dots span:first-child { background: #ff5f57; }
.site-preview-dots span:nth-child(2) { background: #ffbd2e; }
.site-preview-dots span:nth-child(3) { background: #28c840; }

.site-preview-url {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-preview-body {
    padding: 2rem;
    min-height: 260px;
}

.site-hero-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.site-hero-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.site-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.site-feature {
    background: rgba(15,23,42,0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1rem;
}

.site-feature-icon { font-size: 1.2rem; margin-bottom: 0.5rem; }
.site-feature-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; }
.site-feature-desc { font-size: 0.75rem; color: var(--text-dim); line-height: 1.4; }

/* ─── SALES PLAN (Screen 7) ─── */
.plan-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.plan-stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.plan-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-amber);
    margin-bottom: 0.15rem;
}

.plan-stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.plan-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.plan-phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.25rem;
}

.plan-phase-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-primary);
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.plan-phase-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-phase-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── CONTRACTING STEPS (Screen 8) ─── */
.contracting-steps {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.contracting-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.25rem;
}

.step-number {
    width: 36px; height: 36px; min-width: 36px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.step-content { flex: 1; }
.step-title { font-weight: 700; margin-bottom: 0.25rem; }
.step-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── THE LEAP (Screen 9) ─── */

/* Aurora background — the spectrum IS the portal */
/* NOTE: Do NOT set overflow:hidden on #screen-leap — it kills scrolling on smaller viewports.
   REG-13 CI test enforces this. Aurora bleed is contained by clip-path on .leap-aurora instead. */
#screen-leap {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.leap-aurora {
    position: fixed;
    clip-path: inset(0);
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 25% 45%, rgba(56, 189, 248, 0.5) 0%, transparent 50%),
                radial-gradient(ellipse at 75% 25%, rgba(167, 139, 250, 0.45) 0%, transparent 50%),
                radial-gradient(ellipse at 55% 85%, rgba(251, 113, 133, 0.4) 0%, transparent 45%),
                radial-gradient(ellipse at 15% 20%, rgba(52, 211, 153, 0.35) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 65%, rgba(251, 191, 36, 0.3) 0%, transparent 45%),
                radial-gradient(ellipse at 10% 75%, rgba(249, 115, 22, 0.25) 0%, transparent 40%),
                radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    filter: blur(50px);
    animation: auroraShift 12s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.leap-aurora.active {
    opacity: 1;
}

@keyframes auroraShift {
    0% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(2%, -1%); }
    66% { transform: scale(1.02) translate(-1%, 2%); }
    100% { transform: scale(1.08) translate(1%, -2%); }
}

/* Leap card — simplified (no backdrop-filter, no aurora overlays) */
.leap-card {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: rgba(13, 17, 23, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: cardReveal 0.8s ease forwards;
    animation-delay: 0.5s;
}

/* Geometric shapes floating in the aurora — hexagons, diamonds, circles */
.leap-shapes {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.leap-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: shapeFloat 20s ease-in-out infinite;
    opacity: 0;
    transition: opacity 2s ease;
}

.leap-shapes.active .leap-shape { opacity: 1; }

.leap-shape.hex {
    width: 80px; height: 92px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(167, 139, 250, 0.04);
    border: none;
}

.leap-shape.diamond {
    width: 50px; height: 50px;
    transform: rotate(45deg);
    background: rgba(56, 189, 248, 0.03);
}

.leap-shape.circle {
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.03);
}

.leap-shape.ring {
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

/* Individual shape positions — scattered, different sizes */
.leap-shape:nth-child(1) { width: 120px; height: 138px; top: 5%; left: 8%; animation-delay: 0s; animation-duration: 25s; }
.leap-shape:nth-child(2) { width: 40px; height: 40px; top: 15%; right: 12%; animation-delay: 2s; animation-duration: 18s; }
.leap-shape:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 15%; animation-delay: 4s; animation-duration: 22s; }
.leap-shape:nth-child(4) { width: 90px; height: 90px; top: 60%; right: 8%; animation-delay: 1s; animation-duration: 20s; }
.leap-shape:nth-child(5) { width: 35px; height: 35px; top: 30%; left: 5%; animation-delay: 3s; animation-duration: 16s; }
.leap-shape:nth-child(6) { width: 70px; height: 80px; bottom: 10%; right: 20%; animation-delay: 5s; animation-duration: 24s; }
.leap-shape:nth-child(7) { width: 100px; height: 100px; top: 8%; right: 30%; animation-delay: 2.5s; animation-duration: 28s; }
.leap-shape:nth-child(8) { width: 45px; height: 45px; bottom: 35%; left: 25%; animation-delay: 6s; animation-duration: 19s; }

@keyframes shapeFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 15px) rotate(-3deg); }
    75% { transform: translate(20px, 10px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

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

.leap-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    max-width: 360px;
    margin: 1.5rem auto;
}

.leap-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
    color: var(--accent-green);
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.12);
    border-radius: 8px;
}

.leap-box .check { font-weight: 700; font-size: 0.9rem; }

.leap-password-wrap {
    max-width: 320px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.leap-password-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.leap-password-input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}
.leap-password-input::placeholder { color: var(--text-dim); }

.leap-submit {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-green));
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    min-height: 48px;
    transition: transform 0.2s, box-shadow 0.3s;
}

@media (hover: hover) {
    .leap-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 40px rgba(52, 211, 153, 0.3);
    }
}

.leap-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.leap-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leap-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.leap-alt-links {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-top: 1.5rem;
}
.leap-alt-links a {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
@media (hover: hover) {
    .leap-alt-links a:hover { color: rgba(255,255,255,0.7); }
}

/* Responsive for v2 components now consolidated into main 640px breakpoint above */

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS FIXES (375px / 480px)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    /* ── 1. NEON SIGNS (hook screen) ── */
    .hook-neon-row {
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }
    .neon-block {
        padding: 0.25rem 0.5rem;
        font-size: 0.55rem !important;
    }
    .neon-block.neon-block-lg {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.7rem;
    }

    /* ── 2. EARNINGS REVEAL (year cards, math breakdown) ── */
    .reveal-year {
        padding: 1rem;
    }
    .reveal-amount {
        font-size: 1.8rem;
    }
    .reveal-amount-secondary {
        font-size: 1.2rem;
    }
    .reveal-detail {
        font-size: 0.78rem;
    }
    .reveal-range {
        font-size: 0.72rem;
    }
    .reveal-container {
        margin-top: 1rem;
    }

    /* ── 3. FULL-PAGE WEBSITE PREVIEW ── */
    .site-fullpage {
        border-radius: 10px;
    }
    .site-fp-nav {
        padding: 0.75rem 1rem;
    }
    .site-fp-hero {
        padding: 1.5rem 1rem;
    }
    .site-fp-hero-title {
        font-size: 1.15rem;
    }
    .site-fp-hero-sub {
        font-size: 0.85rem;
    }
    .site-fp-feature {
        padding: 1rem;
    }
    .site-fp-feature-icon {
        font-size: 1.5rem;
    }
    .site-fp-feature-title {
        font-size: 0.82rem;
    }
    .site-fp-feature-desc {
        font-size: 0.72rem;
    }
    .site-fp-trust {
        padding: 1rem;
        gap: 0.4rem;
    }
    .site-fp-trust-item {
        font-size: 0.72rem;
    }
    .site-fp-footer {
        font-size: 0.68rem;
        padding: 1rem;
    }
    .site-fp-btn-primary,
    .site-fp-btn-secondary {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
    .site-fp-logo {
        font-size: 0.95rem;
    }
    .site-fp-nav-cta {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }

    /* Old site preview features grid */
    .site-features {
        grid-template-columns: 1fr;
    }
    .site-preview-body {
        padding: 1.25rem;
        min-height: 200px;
    }
    .site-hero-name {
        font-size: 1.2rem;
    }
    .site-hero-tagline {
        font-size: 0.82rem;
    }

    /* ── 4. DASHBOARD PREVIEW ── */
    .dash-preview {
        border-radius: 12px;
    }
    .dash-stat {
        padding: 0.85rem 0.5rem;
    }
    .dash-stat-value {
        font-size: 1rem;
    }
    .dash-stat-label {
        font-size: 0.62rem;
    }
    .dash-pipeline-bar {
        height: 28px;
    }
    .dash-pipe-label {
        font-size: 0.62rem;
    }
    .dash-milestone {
        font-size: 0.78rem;
    }
    .dash-section-title {
        font-size: 0.65rem;
    }

    /* ── 5. VEHICLE REVEAL (stat badges wrap) ── */
    .vehicle-name {
        font-size: 1.2rem;
    }
    .vehicle-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.65rem;
    }

    /* ── 6. LEADERBOARD ── */
    .leaderboard-row {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    .lb-xp {
        font-size: 0.7rem;
    }
    .lb-vehicle {
        font-size: 1rem;
    }

    /* ── 8. PLAN STAT GRID ── */
    .plan-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .plan-stat {
        padding: 0.75rem;
    }
    .plan-stat-value {
        font-size: 1.1rem;
    }
    .plan-stat-label {
        font-size: 0.62rem;
    }
    .plan-phase-card {
        padding: 1rem;
    }
    .plan-timeline {
        grid-template-columns: 1fr;
    }

    /* ── 9. CONTRACTING STEPS ── */
    .contracting-step {
        padding: 0.85rem;
        gap: 0.75rem;
    }
    .step-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 0.8rem;
    }
    .step-title {
        font-size: 0.9rem;
    }
    .step-desc {
        font-size: 0.8rem;
    }

    /* ── LEAP CARD ── */
    .leap-card {
        padding: 1.75rem 1rem;
        margin: 0 0.25rem;
    }
    .leap-title {
        font-size: 1.3rem;
    }
    .leap-subtitle {
        font-size: 0.85rem;
    }
    .leap-box {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    /* ── GENERAL TIGHTENING ── */
    .screen-content {
        padding: 1rem;
    }
    .arlo-bubble {
        padding: 0.85rem;
        font-size: 0.85rem;
    }
    .arlo-inline-text {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    .mission-title {
        font-size: 1.1rem;
    }
    .mission-desc {
        font-size: 0.85rem;
    }
    .money-range {
        font-size: 1.25rem;
    }
    .money-card {
        padding: 1rem;
    }
    .money-tier {
        font-size: 0.65rem;
    }
    .money-detail {
        font-size: 0.75rem;
    }

    /* ── Tier preview ── */
    .tier-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .tier-emoji {
        font-size: 1.25rem;
    }
    .tier-name {
        font-size: 0.6rem;
    }

    /* ── XP Bar ── */
    .xp-bar {
        padding: 0.35rem 0.6rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    .xp-label {
        font-size: 0.6rem;
    }
    .xp-count {
        font-size: 0.8rem;
    }

    /* ── Portal container ── */
    .portal-container {
        padding: 0.4rem 0.6rem;
    }
    .portal-btn {
        width: 34px;
        height: 34px;
    }
    .portal-icon {
        font-size: 0.95rem;
    }

    /* ── INLINE-STYLED DYNAMIC CONTENT OVERRIDES ── */

    /* Avatar 2x2 grid — keep 2-col but tighten gap */
    #avatar-area > div > div[style*="grid-template-columns"] {
        gap: 0.5rem !important;
    }

    /* Leaderboard rows — allow streak text to wrap */
    #leaderboard-area div[style*="display:flex"][style*="border-radius:12px"] > div:last-child {
        white-space: normal !important;
        font-size: 0.68rem !important;
        text-align: right;
    }

    /* Launch checklist — action labels should wrap on small screens */
    #complete-area div[style*="white-space:nowrap"] {
        white-space: normal !important;
        font-size: 0.68rem !important;
        min-width: 0 !important;
    }

    /* Vehicle stat badges — allow wrapping */
    #vehicle-area div[style*="display:flex"][style*="justify-content:center"][style*="gap"] {
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
    }
    #vehicle-area div[style*="display:flex"][style*="justify-content:center"][style*="gap"] > span {
        font-size: 0.68rem !important;
    }

    /* Sales path cards — stack on mobile */
    .sales-path-cards { flex-direction: column !important; }
    .path-card { min-height: auto !important; }
    .path-daily { font-size: 0.78rem !important; }

    /* Dual-path earnings table — tighter on mobile */
    .dual-path-table { font-size: 0.85rem !important; }
    .dual-path-table td { padding: 0.4rem 0.5rem !important; }

    /* Team foundations — tighter on mobile */
    .team-card { padding: 0.6rem 0.7rem; gap: 0.6rem; }
    .team-stack { gap: 0.4rem; }

    /* Getting started — tighter steps */
    .gs-step { padding: 0.6rem !important; }
    .gs-carriers-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════
   NEW FLOW STYLES — Sales Path, Team, Getting Started, Capture
   ═══════════════════════════════════════════════════════════ */

/* ─── DUAL-PATH EARNINGS TABLE (Reveal screen) ─── */
.dual-path-table {
    width: 100%; border-collapse: collapse; margin-top: 1rem;
}
.dual-path-table th {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-dim); padding: 0 0.5rem 0.5rem; text-align: right;
}
.dual-path-table th:first-child { text-align: left; }
.dual-path-table td {
    padding: 0.5rem; border-top: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-mono); font-weight: 600; text-align: right;
}
.dual-path-table td:first-child {
    font-family: var(--font-primary); font-weight: 500; font-size: 0.8rem;
    color: var(--text-secondary); text-align: left;
}
.dual-path-table .col-base { color: var(--text-secondary); }
.dual-path-table .col-arlo { color: var(--accent-green); }
.dual-path-table .row-y1 .col-arlo {
    font-size: 1.15rem; font-weight: 800;
}

/* ─── COMMITMENT CARDS (replaces income-grid) ─── */
.commitment-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem; margin: 1.5rem 0;
}
@media (max-width: 480px) { .commitment-grid { grid-template-columns: 1fr; } }
.commitment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer; text-align: center;
    transition: all 0.2s;
}
@media (hover: hover) {
    .commitment-card:hover {
        border-color: var(--accent-primary);
        background: var(--bg-card-hover);
    }
}
.commitment-card.selected {
    border-color: var(--accent-green);
    background: rgba(52, 211, 153, 0.08);
}
.commitment-label {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 0.25rem;
}
.commitment-hours {
    font-size: 0.75rem; color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ─── ACTIVITY SIMULATOR TABLE (3-column reveal) ─── */
.activity-sim-table {
    width: 100%; border-collapse: collapse; margin-top: 0.75rem;
}
.activity-sim-table th {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--text-dim); padding: 0 0.35rem 0.5rem; text-align: right;
    vertical-align: bottom; line-height: 1.3;
}
.activity-sim-table th:first-child { text-align: left; }
.activity-sim-table th .col-desc {
    font-size: 0.55rem; text-transform: none; letter-spacing: 0;
    color: var(--text-dim); opacity: 0.7; font-weight: 400;
    display: block; margin-top: 0.15rem;
}
.activity-sim-table td {
    padding: 0.5rem 0.35rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-mono); font-weight: 600;
    text-align: right; font-size: 0.85rem;
}
.activity-sim-table td.row-label {
    font-family: var(--font-primary); font-weight: 500; font-size: 0.8rem;
    color: var(--text-secondary); text-align: left;
}
.activity-sim-table .col-typical { color: var(--text-dim); }
.activity-sim-table .col-contracts { color: var(--text-secondary); }
.activity-sim-table .col-system { color: var(--accent-green); }
.activity-sim-table .row-y1 .col-system {
    font-size: 1.1rem; font-weight: 800;
}
@media (max-width: 480px) {
    .activity-sim-table th { font-size: 0.58rem; padding: 0 0.25rem 0.4rem; }
    .activity-sim-table th .col-desc { display: none; }
    .activity-sim-table td { padding: 0.4rem 0.25rem; font-size: 0.8rem; }
    .activity-sim-table .row-y1 .col-system { font-size: 1rem; }
}

/* ─── INTERACTIVE SLIDER ─── */
.sim-slider {
    margin-top: 1.25rem; padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}
.sim-slider-label {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600;
}
.sim-slider-value {
    font-family: var(--font-mono); font-size: 1.1rem;
    font-weight: 800; color: var(--accent-green);
}
.sim-range-input {
    -webkit-appearance: none; width: 100%; height: 6px;
    border-radius: 3px; background: rgba(255,255,255,0.1); outline: none;
}
.sim-range-input::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px;
    border-radius: 50%; background: var(--accent-green);
    cursor: pointer; border: 2px solid rgba(0,0,0,0.3);
}
.sim-range-input::-moz-range-thumb {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent-green); cursor: pointer;
    border: 2px solid rgba(0,0,0,0.3);
}
.sim-slider-range {
    display: flex; justify-content: space-between;
    font-size: 0.65rem; color: var(--text-dim); margin-top: 0.25rem;
}

/* ─── SALES PATH CARDS ─── */
.sales-path-cards {
    display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem;
}
.path-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 1rem; cursor: pointer;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
@media (hover: hover) {
    .path-card:hover { border-color: rgba(255,255,255,0.15); }
}
.path-card.selected {
    border-color: var(--accent-green); background: rgba(52,211,153,0.06);
}
.path-card .path-header {
    display: flex; align-items: center; gap: 0.75rem;
}
.path-card .path-icon { font-size: 1.5rem; }
.path-icon-svg { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; }
.path-card .path-title { font-weight: 700; font-size: 1rem; }
.path-card .path-tagline {
    font-size: 0.8rem; color: var(--text-dim); margin-top: 0.15rem;
}
.path-daily {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0; margin-top: 0;
}
.path-card.selected .path-daily {
    max-height: 500px; opacity: 1; margin-top: 0.75rem;
}
.path-daily-item {
    display: flex; gap: 0.6rem; padding: 0.35rem 0;
    font-size: 0.82rem; color: var(--text-secondary);
}
.path-daily-time {
    font-weight: 600; color: var(--text-primary); min-width: 5rem;
    font-size: 0.75rem; text-transform: uppercase;
}
.path-leads {
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.path-leads-title {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-dim); margin-bottom: 0.4rem; font-weight: 600;
}
.path-leads-list {
    font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5;
}
.path-best-for {
    margin-top: 0.5rem; font-size: 0.78rem; color: var(--accent-primary);
    font-style: italic;
}

/* ─── TEAM FOUNDATIONS ─── */
.team-you-pill {
    display: flex; flex-direction: column; align-items: center; margin: 0.75rem 0 0;
}
.team-you-badge {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.25rem 1rem; border-radius: 20px; font-weight: 700; font-size: 0.8rem;
    color: var(--accent-green); border: 1.5px solid rgba(52,211,153,0.35);
    background: rgba(52,211,153,0.06); font-family: var(--font-mono);
}
.team-you-line {
    width: 1px; height: 18px; margin: 0.15rem 0;
    background: repeating-linear-gradient(to bottom, rgba(52,211,153,0.3) 0 3px, transparent 3px 6px);
}
.team-stack {
    display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0;
}
.team-card {
    display: flex; align-items: flex-start; gap: 0.75rem;
    border-radius: 12px; padding: 0.75rem 0.85rem;
    border-left: 3px solid; text-align: left;
}
.team-card-green { background: rgba(52,211,153,0.04); border-left-color: #34d399; }
.team-card-blue { background: rgba(56,189,248,0.04); border-left-color: #38bdf8; }
.team-card-purple { background: rgba(168,85,247,0.04); border-left-color: #a855f7; }
.team-card-amber { background: rgba(251,191,36,0.04); border-left-color: #fbbf24; }
.team-card-icon {
    flex-shrink: 0; margin-top: 0.1rem;
}
.team-card-body { flex: 1; min-width: 0; }
.team-card-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.15rem; }
.team-card-subtitle {
    font-size: 0.72rem; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.3;
}
.team-card-green .team-card-subtitle { color: #34d399; }
.team-card-blue .team-card-subtitle { color: #38bdf8; }
.team-card-purple .team-card-subtitle { color: #a855f7; }
.team-card-amber .team-card-subtitle { color: #fbbf24; }
.team-card-desc { font-size: 0.72rem; color: var(--text-secondary); line-height: 1.5; }
.team-sm-match {
    font-size: 0.82rem; color: var(--accent-green); font-weight: 600;
    text-align: center; margin-top: 0.75rem; padding: 0.5rem;
    background: rgba(52,211,153,0.04); border-radius: 10px;
    border: 1px solid rgba(52,211,153,0.12);
}

/* ─── GETTING STARTED STEPS ─── */
.gs-step {
    display: flex; gap: 0.75rem; padding: 0.75rem;
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px; margin-bottom: 0.5rem;
}
.gs-step-num {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: rgba(52,211,153,0.15); color: var(--accent-green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem;
}
.gs-step-title { font-weight: 600; font-size: 0.9rem; }
.gs-step-desc { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.15rem; }
.gs-time-compare {
    display: flex; gap: 0.5rem; margin-top: 1rem; text-align: center;
}
.gs-time-box {
    flex: 1; padding: 0.6rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700;
}
.gs-time-slow { background: rgba(239,68,68,0.1); color: #ef4444; }
.gs-time-fast { background: rgba(52,211,153,0.1); color: var(--accent-green); }
.gs-time-label { font-size: 0.65rem; font-weight: 400; color: var(--text-dim); display: block; margin-bottom: 0.2rem; }
.gs-carriers-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-top: 0.75rem;
}
.gs-carrier {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 0.5rem; text-align: center;
    font-size: 0.75rem; font-weight: 600;
}

/* ─── CAPTURE SCREEN ─── */
/* ─── VERTICAL TIMELINE (90-day plan) ─── */
.v-timeline { position: relative; padding-left: 2rem; }
.v-tl-item { position: relative; padding-bottom: 1.5rem; }
.v-tl-item.v-tl-last { padding-bottom: 0; }
.v-tl-line {
    position: absolute; left: -1.5rem; top: 0.5rem; bottom: 0;
    width: 2px; background: rgba(255,255,255,0.08);
}
.v-tl-last .v-tl-line { display: none; }
.v-tl-dot {
    position: absolute; left: -1.85rem; top: 0.35rem;
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.25);
    z-index: 1;
}
.v-tl-dot-gold {
    background: var(--accent-green); border-color: var(--accent-green);
    box-shadow: 0 0 8px rgba(52,211,153,0.4);
}
.v-tl-time {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--accent-primary); margin-bottom: 0.15rem;
}
.v-tl-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.v-tl-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.v-tl-marker {
    display: inline-block; margin-top: 0.4rem; padding: 0.2rem 0.6rem;
    background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.25);
    border-radius: 20px; font-size: 0.7rem; font-weight: 700;
    color: var(--accent-green); text-transform: uppercase; letter-spacing: 0.04em;
}

/* ─── CAPTURE SCREEN ─── */
.capture-recap {
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 0.75rem; margin-bottom: 1rem; text-align: center;
    justify-content: center; flex-wrap: wrap;
}
.capture-recap-base { color: var(--text-secondary); font-family: var(--font-mono); font-weight: 600; }
.capture-recap-arrow { color: var(--text-dim); }
.capture-recap-arlo { color: var(--accent-green); font-family: var(--font-mono); font-weight: 800; font-size: 1.1rem; }

/* ─── CAPTURE: BLURRED DASHBOARD + GLASS OVERLAY ─── */
#screen-capture .screen-content { max-width: 100%; padding: 0; position: relative; }
#capture-area { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; }

.capture-bg-screenshot {
    position: absolute; inset: 0; z-index: 0;
    background: url('../img/dashboard-preview.png') center top / cover no-repeat;
    filter: blur(6px) brightness(0.9);
    -webkit-filter: blur(6px) brightness(0.9);
    transform: scale(1.05);
    pointer-events: none;
}

/* Dashboard nav */
.cdash-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 1rem; margin-bottom: 1rem;
    background: #ffffff; border-radius: 10px;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cdash-logo { font-family: var(--font-mono); font-size: 0.75rem; color: #0891b2; font-weight: 700; }
.cdash-nav-links { display: flex; gap: 1rem; font-size: 0.7rem; color: rgba(15,23,42,0.4); }
.cdash-nav-active { color: #0f172a; font-weight: 600; }

/* Greeting */
.cdash-greeting {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem; padding: 0 0.25rem;
}
.cdash-streak {
    font-size: 0.75rem; color: var(--accent-amber);
    background: rgba(251,191,36,0.08); padding: 0.3rem 0.75rem; border-radius: 100px;
    border: 1px solid rgba(251,191,36,0.2);
}

/* Stat cards */
.cdash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.cdash-stat-card {
    background: #ffffff; border: 1px solid rgba(15,23,42,0.06);
    border-radius: 10px; padding: 0.75rem; text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cdash-stat-value { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 800; }
.cdash-stat-label { font-size: 0.65rem; color: rgba(15,23,42,0.45); margin-top: 0.15rem; }
.cdash-stat-trend { font-size: 0.6rem; color: rgba(15,23,42,0.3); margin-top: 0.15rem; }

/* Two-column grid */
.cdash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.cdash-col { display: flex; flex-direction: column; gap: 0.75rem; }
.cdash-card {
    background: #ffffff; border: 1px solid rgba(15,23,42,0.06);
    border-radius: 10px; padding: 0.85rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cdash-card-accent { border-color: rgba(8,145,178,0.15); background: rgba(8,145,178,0.02); }
.cdash-card-title {
    font-size: 0.75rem; font-weight: 700; color: rgba(15,23,42,0.55);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem;
}

/* Pipeline */
.cdash-pipeline { display: flex; flex-direction: column; gap: 0.4rem; }
.cdash-pipe-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(15,23,42,0.55); }
.cdash-pipe-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cdash-pipe-num { margin-left: auto; font-family: var(--font-mono); font-weight: 700; color: rgba(15,23,42,0.7); }

/* Earnings */
.cdash-earnings-row { display: flex; align-items: center; justify-content: space-between; }
.cdash-earnings-ring { flex-shrink: 0; }

/* Lead lab chips */
.cdash-lead-types { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cdash-lead-chip {
    font-size: 0.65rem; padding: 0.25rem 0.6rem; border-radius: 100px;
    background: rgba(15,23,42,0.03); border: 1px solid rgba(15,23,42,0.08);
    color: rgba(15,23,42,0.5);
}
.cdash-lead-active { border-color: rgba(8,145,178,0.3); color: #0891b2; background: rgba(8,145,178,0.06); }

/* SM card */
.cdash-sm-row { display: flex; align-items: center; gap: 0.75rem; }
.cdash-sm-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-violet));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: #fff;
}
.cdash-sm-info { flex: 1; min-width: 0; color: rgba(15,23,42,0.7); }

/* Training */
.cdash-training { display: flex; flex-direction: column; gap: 0.35rem; }
.cdash-train-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: rgba(15,23,42,0.55); }
.cdash-train-check { width: 16px; text-align: center; font-size: 0.7rem; }
.cdash-train-check.done { color: #0891b2; }
.cdash-train-time { margin-left: auto; font-size: 0.6rem; color: rgba(15,23,42,0.3); }

/* Roadmap strip */
.cdash-roadmap-strip {
    background: #ffffff; border: 1px solid rgba(15,23,42,0.06);
    border-radius: 10px; padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cdash-rm-title { font-size: 0.7rem; font-weight: 700; color: rgba(15,23,42,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.cdash-rm-steps { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.cdash-rm-step { display: flex; align-items: center; gap: 0.3rem; font-size: 0.65rem; color: rgba(15,23,42,0.35); }
.cdash-rm-step.done { color: #0891b2; }
.cdash-rm-step.active { color: #0891b2; }
.cdash-rm-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(15,23,42,0.08); flex-shrink: 0; }
.cdash-rm-dot.done { background: #0891b2; }
.cdash-rm-dot.active { background: #0891b2; box-shadow: 0 0 8px rgba(8,145,178,0.3); }

/* FROSTED GLASS OVERLAY */
.capture-glass-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    background: radial-gradient(ellipse at center, rgba(6,8,15,0.25) 0%, rgba(6,8,15,0.55) 100%);
}
.capture-glass-card {
    width: 100%; max-width: 420px;
    background: rgba(13,17,23,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 0 80px rgba(56,189,248,0.06), 0 0 160px rgba(52,211,153,0.04);
    animation: glassReveal 0.8s ease-out;
}
@keyframes glassReveal {
    0% { opacity: 0; transform: translateY(20px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.capture-glass-lock { font-size: 2rem; margin-bottom: 0.75rem; }
.capture-glass-badge {
    display: inline-block;
    font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
    color: var(--accent-green); letter-spacing: 0.03em;
    background: rgba(52,211,153,0.06);
    border: 1px solid rgba(52,211,153,0.2);
    border-radius: 100px; padding: 0.4rem 1rem;
    margin-bottom: 1rem;
}
.capture-glass-headline {
    font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #c8cdd3 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.capture-glass-sub {
    font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.75rem;
}
.capture-glass-trust {
    font-size: 0.75rem; color: var(--text-dim); margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

/* Mobile adjustments for capture dashboard */
@media (max-width: 640px) {
    .cdash-stats { grid-template-columns: repeat(2, 1fr); }
    .cdash-grid { grid-template-columns: 1fr; }
    .cdash-nav-links { display: none; }
    .cdash-rm-steps { flex-wrap: wrap; gap: 0.3rem; }
    .capture-glass-overlay { padding: 1rem; align-items: center; }
    .capture-glass-card { padding: 1.5rem 1.25rem; }
    .capture-glass-headline { font-size: 1.2rem; }
    .capture-glass-sub { font-size: 0.8rem; margin-bottom: 1.25rem; }
    .capture-dash-bg { filter: blur(5px) brightness(0.75); -webkit-filter: blur(5px) brightness(0.75); }
}
