*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 4px;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: var(--font-display);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.shell {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 20;
    background: var(--surface-inverse);
    color: white;
    padding: 0.75rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    text-decoration: none;
}

.text-link-label {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35em;
}

.text-link--pending .text-link-label {
    text-decoration: none;
}

.text-link::after {
    content: "\2192";
    font-size: 1.3em;
    text-decoration: none;
}

@media (max-width: 520px) {
    body {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
