:root {
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;

    color: #171717;
    background: #fafafa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    border-bottom: 1px solid #e5e5e5;
    background: rgba(250, 250, 250, .9);
}

nav {
    max-width: 1100px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    font-size: 14px;
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 0 24px;
}

.hero {
    padding: 90px 0 70px;
    max-width: 800px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 700;
}

h1 {
    font-size: clamp(48px, 9vw, 96px);
    line-height: .95;
    margin: 15px 0 30px;
}

h2 {
    margin-top: 0;
}

.lead {
    font-size: 24px;
    color: #525252;
    max-width: 680px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.button {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    text-decoration: none;
    background: white;
}

.button.primary {
    background: #171717;
    color: white;
    border-color: #171717;
}

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

.grid article {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    background: white;
}

footer {
    border-top: 1px solid #e5e5e5;
    padding: 30px 24px;
    color: #737373;
    text-align: center;
}

/* Documentation pages */

.docs {
    padding-bottom: 80px;
}

.docs article {
    max-width: 820px;
}

.docs h2 {
    margin-top: 40px;
}

.docs ul,
.docs ol {
    padding-left: 24px;
}

.docs li {
    margin: 4px 0;
}

.docs a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

pre {
    background: #171717;
    color: #fafafa;
    padding: 16px 18px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92em;
}

p code,
li code {
    background: #efefef;
    border-radius: 5px;
    padding: 1px 5px;
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}
