:root {
    color-scheme: dark;
    --bg: #07111c;
    --bg-deep: #091523;
    --surface: rgba(10, 18, 31, 0.84);
    --surface-strong: rgba(12, 24, 40, 0.94);
    --surface-soft: rgba(120, 186, 242, 0.08);
    --line: rgba(122, 181, 236, 0.18);
    --line-strong: rgba(122, 181, 236, 0.28);
    --text: #eef5fb;
    --muted: #92a7bc;
    --accent: #8bcaf6;
    --accent-strong: #4f8fcf;
    --accent-deep: #1d4d7f;
    --accent-glow: rgba(93, 151, 215, 0.32);
    --ok: #78d7ba;
    --shadow: 0 18px 60px rgba(3, 8, 16, 0.42);
    --max: 1200px;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background:
        radial-gradient(circle at 14% 10%, rgba(129, 195, 248, 0.14) 0%, transparent 26%),
        radial-gradient(circle at 82% 8%, rgba(63, 116, 184, 0.18) 0%, transparent 22%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 15, 26, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 18px;
    z-index: 50;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(8, 20, 34, 0.42);
}

.brand-mark {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 0.9rem;
    flex-wrap: nowrap;
    justify-content: center;
    min-width: 0;
}

.topnav a {
    position: relative;
    padding-bottom: 4px;
}

.topnav a:hover {
    color: var(--accent);
}

.topnav a.is-active {
    color: var(--text);
}

.topnav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(139, 202, 246, 0) 0%, rgba(139, 202, 246, 1) 50%, rgba(139, 202, 246, 0) 100%);
}

.mini-cta,
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    transition: transform 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out, box-shadow 180ms ease-out;
}

.mini-cta,
.button-primary {
    background: linear-gradient(135deg, #89caf6 0%, #4d89c6 46%, #17375d 100%);
    color: #f7fbff;
    box-shadow: 0 14px 36px rgba(63, 121, 188, 0.28);
}

.mini-cta {
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
}

.button-primary,
.button-secondary {
    padding: 15px 22px;
    font-weight: 700;
}

.button-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(9, 18, 30, 0.46);
    color: var(--accent);
}

.mini-cta:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.page-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    padding: 56px 0 28px;
    align-items: stretch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(10, 19, 31, 0.56);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--ok);
    box-shadow: 0 0 0 8px rgba(120, 215, 186, 0.08);
}

.hero-copy h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.hero-copy p {
    margin: 20px 0 0;
    max-width: 60ch;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.cta-row,
.tag-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-row {
    margin-top: 28px;
}

.tag-row {
    margin-top: 22px;
}

.tag {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(9, 18, 30, 0.42);
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-card,
.panel,
.metric,
.callout,
.timeline-step,
.faq-item,
.price-card,
.legal-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(10, 19, 31, 0.92) 0%, rgba(7, 13, 22, 0.96) 100%);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(129, 195, 248, 0.22) 0%, transparent 68%);
    pointer-events: none;
}

.hero-card h2,
.panel h2,
.section-head h2,
.price-card h2,
.legal-card h2 {
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.hero-card p,
.panel p,
.section-head p,
.metric p,
.callout p,
.timeline-step p,
.faq-item p,
.price-card p,
.legal-card p {
    color: var(--muted);
    line-height: 1.68;
}

.section {
    padding: 24px 0 12px;
}

.section-head {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: end;
    margin-bottom: 18px;
}

.section-head p {
    margin: 0;
}

.panel-grid,
.metric-grid,
.price-grid,
.legal-grid {
    display: grid;
    gap: 18px;
}

.panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-grid,
.price-grid,
.legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.metric,
.callout,
.timeline-step,
.faq-item,
.price-card,
.legal-card {
    padding: 24px;
}

.panel strong,
.metric strong,
.price-card strong,
.legal-card strong,
.timeline-step strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.04rem;
    letter-spacing: -0.02em;
}

.metric-value,
.price-value {
    margin: 14px 0 8px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.price-kicker {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.price-list,
.copy-list,
.route-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.price-list li,
.copy-list li,
.route-list li {
    position: relative;
    padding-left: 18px;
}

.price-list li::before,
.copy-list li::before,
.route-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(139, 202, 246, 0.9);
}

.price-list a,
.copy-list a,
.route-list a {
    color: var(--text);
}

.price-list a:hover,
.copy-list a:hover,
.route-list a:hover {
    color: var(--accent);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.timeline-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(139, 202, 246, 0.12);
    border: 1px solid rgba(139, 202, 246, 0.26);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
}

.callout {
    margin-top: 18px;
    background: linear-gradient(180deg, rgba(15, 34, 54, 0.95) 0%, rgba(9, 18, 30, 0.96) 100%);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.footer {
    margin-top: 34px;
    padding: 28px 0 12px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    color: var(--muted);
}

.footer small {
    display: block;
    margin-top: 8px;
}

@media (max-width: 1080px) {
    .topbar,
    .section-head,
    .page-hero,
    .panel-grid,
    .metric-grid,
    .price-grid,
    .legal-grid,
    .timeline,
    .footer {
        grid-template-columns: 1fr;
    }

    .topbar {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 28px;
        padding: 18px;
    }

    .topnav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-copy h1 {
        max-width: 14ch;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--max));
        padding-top: 14px;
    }

    .topbar {
        position: static;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }

    .button-primary,
    .button-secondary,
    .mini-cta {
        width: 100%;
    }

    .cta-row > * {
        flex: 1 1 100%;
    }
}
