:root {
    color-scheme: dark;

    --background: #08090b;
    --surface: #101216;
    --surface-hover: #15181d;
    --border: #242830;

    --text: #f4f5f6;
    --muted: #969ca6;

    --white: #ffffff;

    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

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

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;

    border-bottom: 1px solid var(--border);

    background: rgba(8, 9, 11, 0.85);

    backdrop-filter: blur(14px);
}

.nav {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: var(--white);
    color: #08090b;

    font-size: 17px;
    font-weight: 850;
}

nav {
    display: flex;
    gap: 28px;

    color: var(--muted);

    font-size: 14px;
}

nav a {
    transition: color 0.15s ease;
}

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

/* Hero */

.hero {
    padding: 140px 0 130px;

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

.eyebrow {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.18em;
}

h1 {
    margin: 0;

    max-width: 850px;

    font-size: clamp(48px, 8vw, 88px);
    line-height: 0.96;

    letter-spacing: -0.065em;
}

.intro {
    max-width: 620px;

    margin: 32px 0 0;

    color: var(--muted);

    font-size: 20px;
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 38px;
}

.button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 650;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

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

.primary {
    background: var(--white);
    color: #08090b;
}

.primary:hover {
    background: #dedfe1;
}

.secondary {
    border: 1px solid var(--border);

    background: var(--surface);
}

.secondary:hover {
    background: var(--surface-hover);
    border-color: #363b44;
}

/* About */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 50px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;

    letter-spacing: -0.045em;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    min-height: 270px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.card:hover {
    transform: translateY(-3px);

    background: var(--surface-hover);

    border-color: #333942;
}

.card-number {
    margin-bottom: 70px;

    color: #555c67;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 12px;
}

.card h3 {
    margin: 0 0 12px;

    font-size: 18px;
}

.card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}

.card-link {
    display: inline-block;

    margin-top: 20px;

    font-size: 14px;
    font-weight: 650;
}

/* Footer */

footer {
    margin-top: auto;

    border-top: 1px solid var(--border);
}

.footer {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--muted);

    font-size: 13px;
}

/* Mobile */

@media (max-width: 720px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        height: 62px;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 90px 0 80px;
    }

    h1 {
        font-size: 52px;
    }

    .intro {
        font-size: 17px;
    }

    .section {
        padding: 80px 0;
    }

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

    .card {
        min-height: auto;
    }

    .card-number {
        margin-bottom: 45px;
    }

    .footer {
        min-height: 80px;

        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
}