html {
    scroll-behavior: smooth;
}

body {
    color: #020617;
}

.landing-punchline {
    scroll-margin-top: 185px;
}

::selection {
    color: #f8fafc;
    background-color: #020617;
}

a {
    color: #334155;
}

header a,
footer a {
    text-decoration: inherit;
    color: inherit;
}

footer menu,
footer ol,
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

header>nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    letter-spacing: -0.025em;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.logo>a>span,
.landing-punchline>h1>span {
    color: #dc2626;
}

nav>.links {
    display: flex;
    flex-grow: 1;
    width: auto;
    font-size: 14px;
    font-weight: bold;
    height: 100%;
    vertical-align: middle;
}

.nav-link.block {
    display: inline-block;
    margin-left: 1.75rem;
    vertical-align: middle;
}

.flex-grow {
    flex-grow: 1;
}

.nav-link {
    display: inline-block;
    color: #434a53;
}

.nav-link:hover,
.nav-link.active {
    color: #020617;
}

section {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    max-width: 64rem;
}

footer {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding: 1rem;
    background-color: #f2f4f7;
}

footer>div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

footer h2 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1.5rem;
}

footer ul a {
    font-weight: 500;
    color: #334155;
}

footer ul>li {
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.landing-section {
    text-align: center;
    min-height: 45rem;
    vertical-align: middle;
}

.landing-punchline>h1 {
    font-size: 3.75rem;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.landing-section>p {
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin-top: 1.5rem;
    color: #334155;
}

.landing-section h2 {
    font-size: 3.75rem;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 800;
}

.landing-div {
    margin-top: 5rem;
    scroll-margin-top: 80px;
}

.landing-specs h2 {
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 2.5rem;
    letter-spacing: -0.025em;
}


.code-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
}


.code-section>h2 {
    font-weight: 800;
    font-size: 3rem;
    line-height: 2.5rem;
    letter-spacing: -0.025em;
}

.action-button {
    display: inline-block;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #020617;
    color: #f8fafc;
    border-radius: 0.5rem;
    border: 0;
    text-decoration: inherit;
}

.action-button-small {
    display: inline-block;
    padding: 0.6rem;
    background-color: #020617;
    color: #f8fafc;
    border-radius: 0.5rem;
    border: 0;
    text-decoration: inherit;
}

.landing-specs {
    display: grid;
    gap: 4rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.landing-specs p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-top: 1.5rem;
    color: #334155;
}

.landing-specs img, .landing-points img {
    max-width: 90%;
    width: 200px;
    height: auto;
}

.landing-points {
    display: grid;
}

.landing-points > div {
    display: inline-block;
    width: 50%;
}

.code-language-buttons {
    margin-top: 2rem;
    margin-bottom: -10px;
}

.code-language-buttons button {
    font-size: 1.25rem;
    border-bottom: 0;
    background-color: #fff;
    color: #020617;
    border: 0;
    cursor: pointer;
    margin: 5px;
    font-weight: bold;
}

.code-language-buttons button.active {
    color: #dc2626;
}

.landing-code {
    text-align: left;
}

.landing-foot-note {
    text-align: right;
}

.small-screen {
    display: none !important;
}

@media screen and (max-width: 65rem) {
    .landing-punchline {
        scroll-margin-top: 130px;
    }

    .landing-div {
        scroll-margin-top: 110px;
    }

    header>nav {
        padding-left: 0;
        padding-right: 5px;
    }

    .links {
        overflow: auto;
        white-space: nowrap;
    }

    section {
        margin-top: 80px;
    }

    footer>div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .landing-specs {
        gap: 2rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .landing-punchline>h1,
    .landing-punchline>h2 {
        font-size: 2.5rem !important;
    }

    .landing-div>h2 {
        font-size: 2rem;
    }

    .code-section>h2 {
        font-size: 2.25rem;
    }


    section {
        padding: 1rem;
    }

    .landing-section {
        padding-top: 0rem;
    }

    .small-screen {
        display: inline-block !important;
    }

    .large-screen {
        display: none !important;
    }

    .logo {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}