* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-paper);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    width: 100%;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    color: inherit;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.35rem, 4.8vw, 4.85rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 3.25rem);
}

h3 {
    font-size: 1.12rem;
}

::selection {
    color: var(--color-ink);
    background: var(--color-cyan);
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    background: var(--color-blue);
    border-radius: var(--radius-sm);
    transform: translateY(-150%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(56, 215, 255, 0.8);
    outline-offset: 3px;
}

.section {
    padding: var(--section-y) 0;
}

.section-light {
    background: var(--color-paper);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-blue);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 1px;
    background: currentColor;
}

.section-heading {
    max-width: 780px;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading p:not(.eyebrow) {
    color: var(--color-muted);
    font-size: 1.06rem;
}

.section-heading.invert {
    color: var(--color-white);
}

.section-heading.invert p:not(.eyebrow) {
    color: rgba(239, 246, 255, 0.75);
}

.section-heading.compact {
    margin-bottom: 0;
}

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    max-width: none;
}
