:root {
    --bg: #0d0f14;
    --panel: #151821;
    --text: #f4f5f7;
    --muted: #a7acb8;
    --line: #292e3a;
    --accent: #bda7ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(189,167,255,.12), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

.wrap {
    width: min(1080px, calc(100% - 40px));
    margin: auto;
}

header {
    border-bottom: 1px solid var(--line);
}

nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

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

.links {
    display: flex;
    gap: 26px;
    color: var(--muted);
    font-size: 14px;
}

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

.hero {
    padding: 120px 0 100px;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
}

h1 {
    font-size: clamp(44px, 7vw, 82px);
    line-height: 1.03;
    letter-spacing: -3px;
    max-width: 900px;
    margin: 18px 0 28px;
}

.lead {
    max-width: 670px;
    color: var(--muted);
    font-size: 19px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-bottom: 110px;
}

.card {
    border: 1px solid var(--line);
    background: rgba(21,24,33,.82);
    border-radius: 18px;
    padding: 28px;
}

.card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.card p {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.page {
    padding: 90px 0 130px;
    max-width: 760px;
}

.page h1 {
    font-size: 52px;
}

.page p {
    color: var(--muted);
}

footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.footer-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 720px) {
    .links {
        gap: 14px;
        font-size: 12px;
    }

    .hero {
        padding: 80px 0;
    }

    h1 {
        letter-spacing: -2px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }
}
