@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600");

:root {
    --bg: #050805;
    /* --text: #c7f7c2; */
    --text: #7fdc84;
    --highlight: #7fdc84;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--highlight);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.page {
    width: min(760px, 100vw - 48px);
    margin: 0 auto;
    padding: 56px 0 80px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 72px;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.nav__brand {
    color: var(--highlight);
    font-weight: 500;
}

.nav__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.section {
    margin-top: 72px;
}

h1, h2 {
    margin: 0 0 18px;
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(42px, 8vw, 68px);
    letter-spacing: -0.03em;
}

h2 {
    font-size: 28px;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 18px;
    max-width: 42rem;
    font-size: 18px;
}

.hero p {
    font-size: 22px;
    max-width: 34rem;
}

ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 16px;
    font-size: 18px;
}

li::before {
    content: ">";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--highlight);
    font-weight: 500;
}

.small {
    font-size: 16px;
}

.faq-item {
    margin-bottom: 32px;
}

.faq-question {
    margin-bottom: 10px;
    color: var(--highlight);
    font-weight: 500;
    font-size: 18px;
}

.footer {
    margin-top: 88px;
    padding-top: 24px;
    border-top: 1px solid rgba(127, 220, 132, 0.25);
    font-size: 16px;
}

@media (max-width: 640px) {
    .page {
        width: min(760px, 100vw - 32px);
        padding-top: 32px;
    }

    .nav {
        gap: 16px;
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 56px;
    }

    .nav__links {
        gap: 14px;
    }

    p,
    li {
        font-size: 17px;
    }

    .hero p {
        font-size: 20px;
    }
}