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

    color: #202124;
    background: #f5f6f7;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
}

.site-header {
    max-width: 980px;

    margin: 0 auto;
    padding: 28px 24px;

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

.brand {
    color: inherit;

    font-size: 20px;
    font-weight: 700;

    text-decoration: none;
}

nav {
    display: flex;
    gap: 22px;
}

nav a {
    color: #45515c;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 980px;

    margin: 0 auto;
    padding: 80px 24px;
}

.hero {
    max-width: 720px;
}

.page {
    max-width: 680px;
}

.eyebrow {
    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: .10em;
    text-transform: uppercase;

    opacity: .55;
}

h1 {
    margin: 18px 0;

    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;
}

.page h1 {
    font-size: clamp(40px, 6vw, 56px);
}

.lead {
    max-width: 620px;

    font-size: 20px;
    line-height: 1.6;

    opacity: .72;
}

.page > p:not(.eyebrow):not(.lead) {
    font-size: 17px;
    line-height: 1.65;
}

.grid {
    margin-top: 70px;

    display: grid;

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

    gap: 18px;
}

article {
    padding: 26px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .04);
}

article h2 {
    margin-top: 0;
}

article p {
    margin-bottom: 0;

    line-height: 1.55;
    opacity: .72;
}

a {
    color: #34495e;
}

footer {
    max-width: 980px;

    margin: 40px auto;
    padding: 24px;

    font-size: 14px;
    opacity: .5;
}

@media (max-width: 700px) {

    .site-header {
        align-items: flex-start;
        gap: 20px;
    }

    nav {
        gap: 14px;
    }

    main {
        padding-top: 55px;
    }

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