:root {
    color-scheme: dark;
    --background: #0b1120;
    --background-elevated: rgba(15, 23, 42, 0.72);
    --border: rgba(148, 163, 184, 0.2);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #60a5fa;
    --accent-strong: #2563eb;
    --shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.22), transparent 35%),
        linear-gradient(180deg, #020617 0%, #0f172a 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(20px);
    background: rgba(2, 6, 23, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
}

.nav a:hover,
.site-footer a:hover,
.footer-links a:hover {
    color: var(--text);
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid,
.stats-grid,
.card-grid,
.steps,
.resource-list {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.75rem;
}

.lead,
.feature-card p,
.step-card p,
.resource-card span,
.preview-list,
.stat-card span,
.site-footer,
.nav {
    font-size: 1rem;
    line-height: 1.7;
}

.lead,
.preview-list,
.feature-card p,
.step-card p,
.resource-card span,
.stat-card span,
.site-footer p {
    color: var(--muted);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #eff6ff;
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.45);
}

.preview-card,
.stat-card,
.feature-card,
.step-card,
.resource-card {
    border: 1px solid var(--border);
    background: var(--background-elevated);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.preview-card {
    padding: 1.75rem;
}

.preview-label {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.preview-list {
    margin: 0;
    padding-left: 1.2rem;
}

.section {
    padding: 2.5rem 0;
}

.section-muted {
    background: rgba(15, 23, 42, 0.35);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.stats-grid,
.card-grid,
.steps,
.resource-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.step-card,
.resource-card {
    padding: 1.5rem;
}

.stat-card strong,
.resource-card strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.feature-card h3,
.step-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.18);
    color: #bfdbfe;
    font-weight: 700;
}

.resource-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.45);
}

.site-footer {
    padding: 2rem 0 3rem;
    color: var(--muted);
}

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

.legal-page {
    max-width: 860px;
}

.legal-page h1 {
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-page p,
.legal-page li {
    color: var(--muted);
    line-height: 1.8;
}

.legal-page ul {
    padding-left: 1.3rem;
}

.legal-page a {
    color: #bfdbfe;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.legal-meta {
    margin-bottom: 2rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero-grid,
    .stats-grid,
    .card-grid,
    .steps,
    .resource-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-row,
    .footer-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        padding-top: 4rem;
    }
}
