:root {
    color-scheme: dark;
    --bg: #080d18;
    --surface: #0f1728;
    --surface-strong: #151f34;
    --line: rgba(255, 255, 255, .1);
    --text: #f7f9fc;
    --muted: #a8b2c5;
    --brand: #8a63ff;
    --brand-bright: #b29cff;
    --success: #43d7a0;
    --shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(138, 99, 255, .2), transparent 32rem),
        radial-gradient(circle at 90% 20%, rgba(67, 215, 160, .1), transparent 28rem),
        var(--bg);
    line-height: 1.65;
}

a { color: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 13, 24, .78);
    backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .94rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 94px 0 64px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-bright); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 18px var(--success); }
h1 { max-width: 850px; margin: 20px auto 18px; font-size: clamp(2.55rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 750; border: 1px solid var(--line); background: var(--surface); }
.button.primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--brand), #6841ec); box-shadow: 0 14px 35px rgba(138, 99, 255, .28); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 38px 0 88px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(21, 31, 52, .86), rgba(15, 23, 40, .72)); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 13px; background: rgba(138, 99, 255, .16); color: var(--brand-bright); font-weight: 900; }
.card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.page { padding: 76px 0 100px; }
.page-header { max-width: 760px; margin-bottom: 42px; }
.page h1 { margin: 14px 0 16px; font-size: clamp(2.4rem, 6vw, 4.3rem); }
.page-header p, .updated { color: var(--muted); }
.legal { max-width: 850px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: rgba(15, 23, 40, .82); box-shadow: var(--shadow); }
.legal h2 { margin: 34px 0 8px; font-size: 1.25rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.steps { counter-reset: steps; display: grid; gap: 14px; margin: 24px 0; padding: 0; list-style: none; }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(steps); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: var(--brand); font-weight: 800; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }

@media (max-width: 760px) {
    .shell { width: min(100% - 28px, 1120px); }
    .nav-links { display: none; }
    .hero { padding-top: 70px; }
    .feature-grid { grid-template-columns: 1fr; }
    .legal { padding: 24px 20px; }
    .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; }
}
