/* Base styles, taken from the mockups in docs/maquettes/. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*
 * The font sizes are in rem (plan 09, task 3): the px of the mockups divided by 16, the same at
 * the browser's default size, and they follow the text size chosen on the phone. The sides keep
 * clear of the notch of a phone held sideways (viewport-fit=cover, base.html.twig): 0 elsewhere.
 */
body {
    margin: 0;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    font: 0.9375rem/1.45 var(--ui);
    color: var(--ink);
    background: var(--bg);
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

/* Read by screen readers, not shown: the list a card's button acts on, for instance. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Page header: eyebrow tag, display title, muted lead. */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

header.page h1 {
    font: 650 clamp(1.625rem, 4vw, 2.375rem)/1.1 var(--display);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

header.page p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    font-size: 1rem;
}
