:root {
    --cosmos: #05070b;
    --void: #0a0a0a;
    --sky-top: #0f2027;
    --sky-mid: #18303c;
    --sky-bottom: #030507;
    --starlight: rgba(255, 255, 255, 0.94);
    --text-soft: rgba(255, 255, 255, 0.76);
    --text-muted: rgba(255, 255, 255, 0.58);
    --gold: #d4af37;
    --amber: #ffb366;
    --azure: #66a3ff;
    --glass: rgba(15, 18, 28, 0.6);
    --glass-strong: rgba(12, 16, 24, 0.8);
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shell: min(1180px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
    color: var(--starlight);
    background:
        radial-gradient(circle at 14% 16%, rgba(255, 179, 102, 0.18), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(102, 163, 255, 0.16), transparent 24%),
        linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 36%, #091019 68%, var(--sky-bottom) 100%);
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes float-slow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-soft {
    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    opacity: 0.34;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px);
    background-size: 160px 160px, 240px 240px, 320px 320px;
    background-position: 0 0, 40px 80px, 120px 30px;
}

body::after {
    inset: auto 0 -16vh;
    height: 55vh;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 179, 102, 0.22), transparent 42%),
        linear-gradient(180deg, rgba(3, 5, 7, 0), rgba(3, 5, 7, 0.86) 40%, #020305 100%);
}

a {
    color: inherit;
}

p,
li {
    color: var(--text-soft);
}

strong {
    color: #fff;
}

.page {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page::before,
.page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.page::before {
    top: 80px;
    right: -160px;
    width: 320px;
    height: 320px;
    background: rgba(102, 163, 255, 0.2);
}

.page::after {
    top: 180px;
    left: -140px;
    width: 320px;
    height: 320px;
    background: rgba(255, 179, 102, 0.16);
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 24px 0 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0 7%, rgba(255, 179, 102, 0.95) 12%, rgba(255, 179, 102, 0.18) 28%, transparent 56%),
        linear-gradient(180deg, #172a3c 0%, #07090f 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(255, 179, 102, 0.2);
}

.brand-mark::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(102, 163, 255, 0.9);
    box-shadow: 0 0 20px rgba(102, 163, 255, 0.5);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-text strong {
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-text span {
    font-family: "Space Mono", monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-soft);
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    transform: translateY(-1px);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-links a.active {
    color: #fff;
    border-color: rgba(212, 175, 55, 0.28);
    background: rgba(212, 175, 55, 0.12);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.88);
    font-family: "Space Mono", monospace;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2rem;
    align-items: center;
    padding: 48px 0 32px;
}

.hero-copy {
    padding: 24px 0;
    animation: page-enter 0.9s ease both;
}

.hero-title {
    margin: 20px 0 18px;
    max-width: 8ch;
    font-size: clamp(3.2rem, 8vw, 5.9rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.hero-subtitle {
    max-width: 34rem;
    margin: 0;
    font-size: clamp(1.08rem, 2.4vw, 1.34rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #07090f;
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.22);
}

.button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.button-tertiary {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1px solid transparent;
    padding-inline: 0.3rem;
    min-height: auto;
}

.button-tertiary:hover,
.button-tertiary:focus-visible {
    transform: none;
    color: #fff;
}

.hero-note {
    max-width: 34rem;
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.stat-pill {
    padding: 0.9rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-soft);
    font-size: 0.98rem;
}

.orbit-panel,
.glass-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(16, 19, 29, 0.8) 0%, rgba(10, 13, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.orbit-panel::before,
.glass-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.orbit-panel {
    min-height: 540px;
    padding: 2rem;
    animation: page-enter 1s ease 0.12s both;
}

.sky-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(14px);
    animation: pulse-soft 8s ease-in-out infinite;
}

.sky-glow.is-amber {
    top: 56px;
    left: 56px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 179, 102, 0.65) 0%, rgba(255, 179, 102, 0) 70%);
}

.sky-glow.is-azure {
    top: 80px;
    right: 42px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 163, 255, 0.32) 0%, rgba(102, 163, 255, 0) 74%);
}

.orbit-system {
    position: absolute;
    inset: 0;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-ring.ring-one {
    width: 320px;
    height: 320px;
    top: 88px;
    right: 56px;
}

.orbit-ring.ring-two {
    width: 220px;
    height: 220px;
    top: 138px;
    right: 106px;
    border-color: rgba(102, 163, 255, 0.16);
}

.orbit-ring.ring-three {
    width: 420px;
    height: 420px;
    top: 36px;
    right: 6px;
    border-color: rgba(255, 179, 102, 0.12);
}

.celestial-body {
    position: absolute;
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite;
}

.celestial-body.is-amber {
    top: 118px;
    right: 156px;
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0 16%, var(--amber) 36%, rgba(255, 179, 102, 0.4) 66%, transparent 100%);
    box-shadow: 0 0 30px rgba(255, 179, 102, 0.38);
}

.celestial-body.is-azure {
    top: 244px;
    right: 250px;
    width: 34px;
    height: 34px;
    background: radial-gradient(circle at 38% 38%, rgba(255, 255, 255, 0.88) 0 18%, var(--azure) 46%, rgba(102, 163, 255, 0.22) 72%, transparent 100%);
    box-shadow: 0 0 24px rgba(102, 163, 255, 0.34);
    animation-delay: 1.2s;
}

.celestial-trail {
    position: absolute;
    top: 186px;
    right: 180px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border-top: 2px solid rgba(255, 179, 102, 0.5);
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-28deg);
}

.orbit-caption {
    position: relative;
    z-index: 1;
    width: min(280px, 100%);
    padding: 1.2rem 1.25rem;
    border-radius: 24px;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-caption h2 {
    margin: 0.9rem 0 0.7rem;
    font-size: 1.6rem;
    line-height: 1.1;
}

.orbit-caption p {
    margin: 0;
    line-height: 1.7;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
}

.spark.one {
    top: 80px;
    right: 104px;
}

.spark.two {
    top: 146px;
    right: 300px;
}

.spark.three {
    top: 256px;
    right: 52px;
}

.landscape {
    position: absolute;
    inset: auto -2rem -1rem -2rem;
    height: 220px;
}

.landscape-layer {
    position: absolute;
    inset-inline: 0;
    clip-path: polygon(0 100%, 0 56%, 12% 68%, 24% 44%, 36% 65%, 51% 40%, 66% 70%, 78% 47%, 100% 66%, 100% 100%);
}

.landscape-layer.back {
    bottom: 84px;
    height: 120px;
    background: linear-gradient(180deg, #34495e 0%, #1c2634 100%);
}

.landscape-layer.mid {
    bottom: 38px;
    height: 146px;
    background: linear-gradient(180deg, #222f3e 0%, #10161f 100%);
}

.landscape-layer.front {
    bottom: 0;
    height: 170px;
    background: linear-gradient(180deg, #080b11 0%, #020305 100%);
}

.section {
    padding: 28px 0 48px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.section-header h2 {
    margin: 0.8rem 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.section-header p {
    max-width: 34rem;
    margin: 0;
    line-height: 1.8;
}

.feature-grid,
.tone-grid {
    display: grid;
    gap: 1.2rem;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.tone-card {
    padding: 1.6rem;
}

.feature-grid .feature-card:nth-child(1),
.tone-grid .tone-card:nth-child(1) {
    animation: page-enter 0.8s ease 0.08s both;
}

.feature-grid .feature-card:nth-child(2),
.tone-grid .tone-card:nth-child(2) {
    animation: page-enter 0.8s ease 0.16s both;
}

.feature-grid .feature-card:nth-child(3),
.tone-grid .tone-card:nth-child(3) {
    animation: page-enter 0.8s ease 0.24s both;
}

.feature-grid .feature-card:nth-child(4),
.tone-grid .tone-card:nth-child(4) {
    animation: page-enter 0.8s ease 0.32s both;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 1rem;
    font-family: "Space Mono", monospace;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon.is-amber {
    background: rgba(212, 175, 55, 0.14);
    border-color: rgba(212, 175, 55, 0.22);
}

.feature-icon.is-azure {
    background: rgba(102, 163, 255, 0.14);
    border-color: rgba(102, 163, 255, 0.22);
}

.feature-card h3,
.tone-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.15rem;
}

.feature-card p,
.tone-card p {
    margin: 0;
    line-height: 1.75;
}

.band-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    animation: page-enter 0.95s ease 0.18s both;
}

.band-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 1.4rem;
    align-items: start;
}

.band-copy h2 {
    margin: 1rem 0 0.9rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.band-copy p {
    max-width: 40rem;
    margin: 0;
    line-height: 1.8;
}

.tone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tone-card {
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tone-card .eyebrow {
    margin-bottom: 1rem;
}

.legal-hero {
    padding: clamp(1.7rem, 4vw, 2.8rem);
    margin-top: 12px;
    animation: page-enter 0.85s ease both;
}

.legal-hero .hero-title {
    max-width: 12ch;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.legal-hero .hero-subtitle {
    max-width: 40rem;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.text-link {
    text-decoration: none;
    color: var(--text-soft);
}

.text-link:hover,
.text-link:focus-visible {
    color: #fff;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.4rem;
    padding: 24px 0 56px;
}

.legal-summary {
    padding: 1.4rem;
    height: fit-content;
    position: sticky;
    top: 20px;
    animation: page-enter 0.85s ease 0.1s both;
}

.legal-summary h2 {
    margin: 0 0 0.9rem;
    font-size: 1.08rem;
}

.summary-list,
.legal-article ul {
    margin: 0;
    padding-left: 1.1rem;
}

.summary-list {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.summary-list li {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
}

.legal-article {
    padding: clamp(1.6rem, 3vw, 2.7rem);
    animation: page-enter 0.85s ease 0.18s both;
}

.legal-article h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.legal-article section + section {
    margin-top: 2rem;
}

.legal-article p,
.legal-article li {
    margin: 0 0 0.85rem;
    line-height: 1.9;
}

.summary-list a,
.legal-article a {
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 179, 102, 0.3);
}

.summary-list a:hover,
.summary-list a:focus-visible,
.legal-article a:hover,
.legal-article a:focus-visible {
    color: #ffd2a5;
    border-bottom-color: rgba(255, 210, 165, 0.55);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 24px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.site-footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}

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

    .band-grid,
    .hero,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .topbar {
        justify-content: center;
    }

    .hero-title {
        max-width: none;
    }

    .orbit-panel {
        min-height: 500px;
    }

    .orbit-ring.ring-one {
        width: 250px;
        height: 250px;
        top: 112px;
        right: 32px;
    }

    .orbit-ring.ring-two {
        width: 170px;
        height: 170px;
        top: 152px;
        right: 72px;
    }

    .orbit-ring.ring-three {
        width: 320px;
        height: 320px;
        top: 78px;
        right: -8px;
    }

    .celestial-body.is-amber {
        top: 136px;
        right: 116px;
    }

    .celestial-body.is-azure {
        top: 244px;
        right: 190px;
    }

    .celestial-trail {
        right: 136px;
    }

    .feature-grid,
    .tone-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-bottom: 28px;
    }
}
