:root {
    color-scheme: dark;
    --bg: #050505;
    --bg-soft: #0b0b0b;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: #a1a1aa;
    --gold: #fbc02d;
    --blue: #60a5fa;
    --emerald: #34d399;
    --red: #f87171;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.62);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(251, 192, 45, 0.12), transparent 25%),
        radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.12), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(239, 68, 68, 0.08), transparent 28%),
        linear-gradient(180deg, #040404 0%, #080808 100%);
    min-height: 100vh;
}

a {
    color: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(24px);
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner,
.page-shell,
.footer-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.brand span {
    color: var(--gold);
}

.topbar-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
}

.topbar-links a {
    text-decoration: none;
}

.topbar-links a:hover,
.related-links a:hover {
    color: var(--text);
}

.page-shell {
    padding: 72px 0 88px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 800;
}

.breadcrumbs {
    margin: 22px 0 26px;
    font-size: 0.92rem;
    color: var(--muted);
}

.breadcrumbs a {
    text-decoration: none;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    margin: 18px 0 18px;
}

.lead {
    font-size: 1.16rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 820px;
}

.lead strong {
    color: var(--text);
}

.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

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

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: #ffffff;
    color: #050505;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.section {
    margin-top: 60px;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 16px 0 18px;
}

.section p,
.section li {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.panel,
.card,
.faq-card,
.cta-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.panel,
.cta-panel {
    padding: 28px;
}

.cta-panel {
    margin-top: 48px;
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.12), rgba(255, 255, 255, 0.03));
}

.grid-2,
.grid-3,
.faq-grid,
.related-links {
    display: grid;
    gap: 20px;
}

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

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

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

.card,
.faq-card {
    padding: 26px;
}

.card h3,
.faq-card h3 {
    margin: 0 0 12px;
    font-size: 1.22rem;
    line-height: 1.35;
}

.card p:last-child,
.faq-card p:last-child {
    margin-bottom: 0;
}

.list {
    margin: 18px 0 0;
    padding-left: 20px;
}

.list li + li {
    margin-top: 12px;
}

.stat-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.stat-pill {
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

.stat-pill strong {
    color: var(--text);
}

.related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
}

.related-links a {
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: var(--muted);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.related-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.related-links strong {
    display: block;
    color: var(--text);
    margin-bottom: 8px;
}

.related-links span {
    display: block;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0 48px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .topbar-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-2,
    .faq-grid,
    .related-links {
        grid-template-columns: 1fr;
    }

    .page-shell {
        padding-top: 42px;
    }

    .panel,
    .card,
    .faq-card,
    .cta-panel {
        padding: 22px;
    }
}
