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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    background: var(--oy-bg);
    color: var(--oy-text);
    font-family: var(--oy-font-body);
    font-size: var(--oy-fs-md);
    font-weight: var(--oy-fw-regular);
    line-height: var(--oy-lh-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--oy-blue);
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

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

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1,
h2,
.display {
    font-family: var(--oy-font-display);
    font-weight: 400;
    letter-spacing: var(--oy-track-display);
    line-height: var(--oy-lh-display);
}

h1 {
    font-size: var(--oy-fs-4xl);
}

h2 {
    font-size: var(--oy-fs-3xl);
}

h3 {
    font-family: var(--oy-font-body);
    font-size: var(--oy-fs-lg);
    font-weight: var(--oy-fw-semibold);
    line-height: var(--oy-lh-snug);
}

p {
    color: var(--oy-text-soft);
}

:focus-visible {
    outline: 2px solid var(--oy-violet);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: 200;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    background: var(--oy-midnight);
    color: #fff;
    pointer-events: none;
}

.skip-link:focus {
    left: 1rem;
    top: 0.85rem;
    width: auto;
    height: auto;
    padding: 0.65rem 1rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: nowrap;
    border-radius: 10px;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
    pointer-events: auto;
}

.skip-link:focus-visible {
    left: 1rem;
    top: 0.85rem;
    width: auto;
    height: auto;
    padding: 0.65rem 1rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: nowrap;
    border-radius: 10px;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 2px;
    pointer-events: auto;
}

.skip-link:focus:not(:focus-visible) {
    left: -9999px;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    outline: none;
    pointer-events: none;
}

#main-content:focus,
#main-content:focus-visible {
    outline: none;
}

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

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--oy-violet);
    font-size: 0.78rem;
    font-weight: var(--oy-fw-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #c4b5fd;
}

.section-intro {
    max-width: 44rem;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-intro p:not(.eyebrow) {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.section-intro__copy {
    display: grid;
    gap: 1rem;
}

body.is-nav-open {
    overflow: hidden;
}
