*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body
{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
}
button, input
{
    font: inherit;
}
button, a, input
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
}
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible
{
    outline: 3px solid var(--teal);
    outline-offset: 5px;
}
a
{
    color: inherit;
    text-underline-offset: 5px;
}
button
{
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    min-height: 44px;
    padding: 10px 16px;
}
button:hover
{
    border-color: var(--teal);
}
h1, h2, h3, p, figure
{
    margin: 0;
}
h1, h2, h3
{
    font-weight: 400;
}
h1, h2
{
    font-family: var(--serif);
    line-height: 1.03;
    letter-spacing: -0.05em;
}
h2
{
    font-size: clamp(42px, 5vw, 64px);
}
p
{
    text-wrap: pretty;
}
svg, canvas
{
    display: block;
    width: 100%;
}
canvas
{
    touch-action: pan-y;
}
.wrap
{
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}
.eyebrow, .figure-number, .micro, .chapter-number
{
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.08em;
}
.eyebrow, .chapter-number
{
    color: var(--teal);
}
.caption
{
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}
.lede
{
    max-width: 580px;
    font-size: 18px;
    color: var(--muted);
    margin-top: 24px;
}
.legend
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 12px;
}
.legend span
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.legend i
{
    width: 18px;
    height: 2px;
    background: var(--ink);
}
.legend span:first-child i
{
    background: var(--teal);
}
.legend span:nth-child(2) i
{
    background: var(--coral);
}
.skip
{
    position: absolute;
    top: -100px;
    z-index: 10;
    background: var(--ink);
    color: white;
    padding: 12px;
}
.skip:focus
{
    top: 10px;
}
.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
}
