/* The space hero keeps its dark sky above the studio's light page. */
.zero-deep-space-site {
    background: #fff;
    color: #142432;
    font-family: Inter, system-ui, sans-serif;
}

.zero-deep-space-site .site-main {
    --space-dark: #f4f8fe;
    --space-mid: #edf5ff;
    --space-card: #fff;
    --space-border: #dce6ef;
    --purple: #0c57dc;
    --purple-dark: #073d9e;
    --purple-light: #1454a7;
    --blue: #1157c3;
    --green: #15633f;
    --amber: #8a4e08;
    --red: #a42952;
    --text-primary: #142432;
    --text-secondary: #4b5d6f;
    --text-muted: #53677e;
    --glow-purple: 0 10px 27px #163b6816;
    --glow-green: 0 10px 27px #163b6816;
    --glow-blue: 0 10px 27px #163b6816;
    --transition: border-color .18s, background-color .18s, color .18s, box-shadow .18s;
}

.zero-deep-space-site .site-main > section > .container {
    width: min(100% - 96px, 1200px);
    padding: 0;
}

.zero-deep-space-site .hero {
    --space-border: #5777a58c;
    --text-primary: #f6faff;
    --text-secondary: #d0e0f6;
    --text-muted: #bfdbfa;
    --purple-light: #b8d8ff;
    min-height: auto;
    padding-block: clamp(77px, 9vw, 131px) clamp(59px, 8vw, 100px);
    background: radial-gradient(ellipse at 86% 15%, #245290, transparent 55%), #102748;
    color: var(--text-primary);
}

.zero-deep-space-site .hero-bg { pointer-events: none; }
.zero-deep-space-site .hero-bg::after {
    position: absolute;
    top: -75%;
    left: calc(50% + 130px);
    width: clamp(300px, 56vw, 820px);
    aspect-ratio: 1;
    border: 1px solid #bddaff30;
    border-radius: 50%;
    box-shadow: 0 0 0 37px #c3d9ff11, 0 0 0 75px #c3d9ff0a;
    content: '';
}

.zero-deep-space-site .stars-layer { animation: none; opacity: .73; }
.zero-deep-space-site .hero-content { max-width: 840px; }
.zero-deep-space-site .hero-logo { gap: 10px; margin-bottom: 18px; }
.zero-deep-space-site .hero-logo-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid #a2c5fa6b;
    border-radius: 10px;
    background: #b1d4ff1a;
    font-size: 20px;
}

.zero-deep-space-site .hero-logo-text {
    color: #cae1ff;
    font: 700 13px/1.4 Inter, system-ui, sans-serif;
    letter-spacing: .12em;
}

.zero-deep-space-site .hero-title {
    max-width: 760px;
    margin: 0 auto 18px;
    font: 800 clamp(43px, 5.8vw, 76px)/1.035 Inter, system-ui, sans-serif;
    letter-spacing: -.068em;
    text-wrap: balance;
}

.zero-deep-space-site .hero-title .text-glow { color: var(--text-primary); }
.zero-deep-space-site .hero-subtitle { max-width: 630px; margin-bottom: 25px; font-size: clamp(16px, 1.65vw, 20px); line-height: 1.6; }
.zero-deep-space-site .hero-actions { gap: 12px; margin-bottom: 31px; }
.zero-deep-space-site .hero-stats { max-width: 670px; margin-inline: auto; padding-top: 20px; }
.zero-deep-space-site .hero-stat strong { font: 700 clamp(24px, 3vw, 30px)/1.15 Inter, system-ui, sans-serif; letter-spacing: -.04em; }
.zero-deep-space-site .hero-stat span { font-size: 12px; letter-spacing: .045em; }

.zero-deep-space-site .site-main .btn {
    min-height: 49px;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: 700 14px/1.4 Inter, system-ui, sans-serif;
}

.zero-deep-space-site .site-main .btn-primary:hover { transform: none; }
.zero-deep-space-site .site-main .btn-glow { animation: none; box-shadow: none; }
.zero-deep-space-site .site-main .btn-glow:hover { box-shadow: none; }
.zero-deep-space-site .hero .btn-primary { background: #e5f0ff; color: #163761; }
.zero-deep-space-site .hero .btn-primary:hover { background: white; }
.zero-deep-space-site .hero .btn-secondary { border-color: #8fb6e97f; background: #a3c8ff12; color: var(--text-primary); }
.zero-deep-space-site .hero .btn-secondary:hover { border-color: #b8d8ff; background: #a3c8ff2b; }
.zero-deep-space-site .site-main .btn:focus-visible { outline: 3px solid #3378db; outline-offset: 4px; }
.zero-deep-space-site .hero .btn:focus-visible { outline-color: #a6cdff; }

.zero-deep-space-site .section { padding-block: clamp(45px, 6.5vw, 84px); }
.zero-deep-space-site .section-alt { border-block: 1px solid #e4edf8; }
.zero-deep-space-site .section-header { margin-bottom: 32px; }
.zero-deep-space-site .section-header h2 {
    margin-bottom: 12px;
    font: 750 clamp(29px, 4.2vw, 48px)/1.13 Inter, system-ui, sans-serif;
    letter-spacing: -.06em;
    text-wrap: balance;
}
.zero-deep-space-site .section-header p { font-size: 16px; }
.zero-deep-space-site .text-glow { color: var(--purple); background: none; -webkit-text-fill-color: currentColor; filter: none; }

.zero-deep-space-site .game-loop-title,
.zero-deep-space-site .concept-why h3,
.zero-deep-space-site .brain-elo-box h3,
.zero-deep-space-site .brain-not-trivia,
.zero-deep-space-site .strategy-card-header h3,
.zero-deep-space-site .galaxy-total,
.zero-deep-space-site .strategy-combat h3,
.zero-deep-space-site .strategy-missions h3,
.zero-deep-space-site .rank-elo,
.zero-deep-space-site .coming-status h3,
.zero-deep-space-site .coming-form-wrap h3 { font-family: Inter, system-ui, sans-serif; }

.zero-deep-space-site .concept-why,
.zero-deep-space-site .brain-elo-box,
.zero-deep-space-site .coming-form-wrap { border-color: #cfe2fa; background: #edf5ff; }

.zero-deep-space-site .brain-elo-box h3,
.zero-deep-space-site .brain-not-trivia,
.zero-deep-space-site .galaxy-total { color: #1454a7; }

.zero-deep-space-site .galaxy-total { border-color: #cfe2fa; background: #edf5ff; }
.zero-deep-space-site .tech-branch--utility { color: #156273; }
.zero-deep-space-site .status-badge--progress { border-color: #bdd4f6; background: #e8f2ff; }
.zero-deep-space-site .coming-form-wrap > .btn { margin-top: 16px; }
.zero-deep-space-site .form-group input:focus { box-shadow: 0 0 0 3px #0c57dc1f; }

/* Early-version label in the hero */
.zero-deep-space-site .early-pill {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
    padding: 6px 14px; border: 1px solid #b8d8ff55; border-radius: 999px;
    background: #ffffff14; color: #d0e0f6; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
}

/* Play section — the early web version in a wide frame with a full-screen button (desktop) or a full-screen link (phones) */
.zero-deep-space-site .play-section {
    --text-primary: #f6faff;
    --text-secondary: #d0e0f6;
    --text-muted: #bfdbfa;
    background: radial-gradient(ellipse at 15% 20%, #1d3f73, transparent 60%), #0d2140;
    color: var(--text-primary);
}
.zero-deep-space-site .play-screen {
    height: clamp(480px, calc(100vh - 290px), 820px);
    border-radius: 20px;
    overflow: hidden;
    background: #05050f;
    box-shadow: 0 24px 60px #00000066, inset 0 0 0 1px #2c3d63;
}
.zero-deep-space-site .play-screen:fullscreen { height: 100vh; border-radius: 0; box-shadow: none; }
.zero-deep-space-site .play-frame { display: block; width: 100%; height: 100%; border: 0; background: #05050f; }
.zero-deep-space-site .play-toolbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0 12px; }
.zero-deep-space-site .play-keys-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin: 0 auto 36px; max-width: 640px; }
.zero-deep-space-site .play-aside { max-width: 760px; margin-inline: auto; }
.zero-deep-space-site .play-header { text-align: center; margin-bottom: 28px; }
.zero-deep-space-site .play-header h2 { color: var(--text-primary); }
.zero-deep-space-site .play-header .text-glow { color: #8ec5ff; }
.zero-deep-space-site .play-header p { margin-inline: auto; color: var(--text-secondary); }
.zero-deep-space-site .play-mobile { display: none; }
.zero-deep-space-site .play-section .form-note { color: var(--text-muted); }
.zero-deep-space-site .play-cta {
    border: 1px solid #5777a58c; border-radius: 16px; padding: 22px; margin-bottom: 14px;
    background: #ffffff0d; transition: border-color .25s, box-shadow .25s;
}
.zero-deep-space-site .play-cta__title { font-size: 1.15rem; margin: 0 0 6px; color: var(--text-primary); }
.zero-deep-space-site .play-cta__text { color: var(--text-secondary); margin: 0 0 16px; }
.zero-deep-space-site .play-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.zero-deep-space-site .play-cta.is-done { border-color: #b8d8ff; box-shadow: 0 0 0 4px #b8d8ff26; }

/* Update signup + feedback forms */
.zero-deep-space-site .form-lead { margin: -4px 0 18px; color: var(--text-secondary); }
.zero-deep-space-site .form-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--text-secondary); cursor: pointer; }
.zero-deep-space-site .form-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--purple); }
.zero-deep-space-site .feedback-wrap { margin-top: 24px; }
.zero-deep-space-site .form-group textarea {
    padding: 14px 16px; background: var(--space-mid); border: 1px solid var(--space-border); border-radius: 10px;
    color: var(--text-primary); font: inherit; font-size: .95rem; resize: vertical; min-height: 120px;
}
.zero-deep-space-site .form-group textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px #0c57dc1f; }

.zero-deep-space-site .rank-card--1 :is(.rank-name, .rank-elo) { color: #526174; }
.zero-deep-space-site .rank-card--2 :is(.rank-name, .rank-elo) { color: #217044; }
.zero-deep-space-site .rank-card--7 :is(.rank-name, .rank-elo),
.zero-deep-space-site .rank-card--8 :is(.rank-name, .rank-elo) { color: #835418; }
.zero-deep-space-site .rank-card--8 { border-color: #e7d5b1; background: #fdf9f0; }

.zero-deep-space-site .flow-step:hover,
.zero-deep-space-site .brain-card:hover,
.zero-deep-space-site .rank-card:hover,
.zero-deep-space-site .why-card:hover,
.zero-deep-space-site .feature-card:hover { transform: none; }

@media (max-width: 1030px) {
    .zero-deep-space-site .site-main > section > .container { width: calc(100% - 64px); }
}

@media (max-width: 760px) {
    .zero-deep-space-site .play-device { display: none; }
    .zero-deep-space-site .play-mobile { display: block; margin-bottom: 20px; }
    .zero-deep-space-site .play-mobile .form-note { margin-top: 8px; }
}

@media (max-width: 590px) {
    .zero-deep-space-site .site-main > section > .container { width: calc(100% - 40px); }
    .zero-deep-space-site .hero { padding-block: 60px 49px; }
    .zero-deep-space-site .hero-title { font-size: clamp(36px, 10vw, 51px); }
    .zero-deep-space-site .hero-actions { flex-direction: column; align-items: center; }
    .zero-deep-space-site .hero-actions .btn { width: min(100%, 340px); }
    .zero-deep-space-site .section-header { margin-bottom: 23px; }
    .zero-deep-space-site .status-badge { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .zero-deep-space-site .site-main *, .zero-deep-space-site .site-main *::after { transition: none; }
}
