@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --background: #050505;
    --text: #f7f2ea;
    --text-soft: #d8d0c5;
    --muted: #9b948a;
    --muted-dark: #6f6961;
    --border: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.18);
    --radius-md: 24px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(255, 255, 255, 0.08),
            transparent 28rem
        ),
        radial-gradient(
            circle at 90% 8%,
            rgba(255, 255, 255, 0.04),
            transparent 24rem
        ),
        linear-gradient(180deg, #070707 0%, #030303 100%);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

p {
    color: var(--muted);
    line-height: 1.65;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.055em;
}

h1 {
    max-width: 900px;
    font-size: clamp(3.6rem, 7.4vw, 6.9rem);
    line-height: 0.92;
}

/* Header */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 26px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logo {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.site-nav,
.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav {
    flex-shrink: 0;
}

.site-nav a,
.site-footer a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

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

/* Home page */

.hero {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 96px 24px 76px;
}

.hero-copy {
    max-width: 900px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--muted-dark);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy > p {
    max-width: 620px;
    margin: 28px 0 0;
    color: var(--text-soft);
    font-size: 1.12rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0 24px 96px;
}

.feature-list article {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        ),
        rgba(255, 255, 255, 0.02);
}

.feature-number {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--muted-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.feature-list h2,
.text-page h2 {
    font-size: 1.25rem;
    line-height: 1.08;
}

.feature-list p {
    margin: 14px 0 0;
}

/* Footer */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 30px 24px 42px;
    border-top: 1px solid var(--border);
}

.site-footer p {
    margin: 0;
}

/* Text pages */

.text-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 84px 24px 120px;
}

.text-page h1 {
    margin-bottom: 44px;
    font-size: clamp(3.3rem, 8vw, 6.2rem);
}

.text-page section {
    padding: 26px 0;
    border-top: 1px solid var(--border);
}

.text-page section:first-of-type {
    border-top: 0;
}

.text-page p {
    margin-bottom: 0;
}

.text-page a {
    border-bottom: 1px solid var(--border-strong);
}

.support-page > p {
    max-width: 560px;
    margin-bottom: 42px;
    font-size: 1.1rem;
}

/* Responsive */

@media (max-width: 980px) {
    .hero {
        padding-top: 72px;
        padding-bottom: 64px;
    }

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

@media (max-width: 620px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        gap: 16px;
    }

    .site-nav {
        gap: 14px;
    }

    .site-nav a {
        font-size: 0.88rem;
    }

    .hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

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

    .feature-list article {
        min-height: auto;
    }

    .feature-number {
        margin-bottom: 24px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 3.25rem;
    }
}
