/* Page layouts shared by the app and the R&D mocks. Components live in
 * components.css; this file arranges them per page. */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.page > * {
  min-width: 0;
}

.page__lang {
  margin-top: 4px;
}

/* ---------------------------------------------------------------- parents' list */

.page__card {
  padding-top: 8px;
}

.tally {
  display: grid;
  gap: 8px;
}
.tally__count strong {
  font-family: var(--nl-font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.tally__left {
  font-size: 0.92rem;
  color: var(--nl-ink-soft);
}

.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--nl-stock-sunk);
  box-shadow: inset 0 0 0 1px var(--nl-stock-edge);
  font-size: 0.92rem;
  color: var(--nl-ink-soft);
}
.note veneer-icon {
  flex: none;
  margin-top: 2px;
}

/* A row that ends in a state keeps it beside the name: the label sits on
   one line while there is room ("Wordt gegeven" at 390 px) and only breaks
   when there is none (320 px), instead of a fixed width that broke it
   always, or the row wrapping and dropping the state under the name. */
.row:has(> .state) {
  flex-wrap: nowrap;
}
.row > .state {
  flex: 0 1 auto;
}
.state__text {
  line-height: 1.2;
  text-wrap: balance;
}

.arrived-link {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
}
.arrived-link__art {
  width: 26px;
}

/* The dock stays fixed at the bottom; focus and scrolling keep elements
   clear of it (WCAG 2.4.11), e.g. a confirm button just above it. */
:root:has(.dock) {
  scroll-padding-bottom: 112px;
}
.dock {
  position: fixed;
  inset: auto 0 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  background: linear-gradient(to top, var(--nl-stock) 70%, transparent);
}
.dock veneer-button {
  width: min(100%, 688px);
}

@media (min-width: 900px) {
  .page {
    max-width: 1080px;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: start;
    gap: 22px 48px;
    padding-top: 28px;
  }
  .page > * {
    grid-column: 2;
  }
  .page > .page__card {
    grid-column: 1;
    grid-row: 1 / span 6;
    position: sticky;
    top: 28px;
  }
  .page > .page__card .gcard {
    --tilt: -1.4deg;
  }
  .page .tabs {
    margin: 0;
    padding: 0;
  }
  .dock {
    position: static;
    background: none;
    padding: 0 16px 56px;
  }
}

/* ---------------------------------------------------------------- guest page */

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  padding: 14px 0 10px;
}
.welcome__text {
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}
.welcome__text h1 {
  font-size: clamp(1.7rem, 6.5vw, 2.4rem);
}
.welcome__text p {
  max-width: 44ch;
  color: var(--nl-ink-soft);
}
.welcome__left {
  font-weight: 600;
  color: var(--nl-ink) !important;
}

.group {
  display: grid;
}

.box__panel--plain {
  border-radius: 14px;
}

.page--guest .group-title {
  margin: 0;
  justify-self: start;
  font-size: 1rem;
  padding: 12px 18px 10px;
  border-radius: 12px 12px 0 0;
  background: var(--nl-stock-lift);
}
.page--guest .group .box__panel--plain {
  border-top-left-radius: 0;
}

.done__guest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  min-height: 44px;
}

.row__mine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  font-size: 0.875rem;
  color: var(--nl-ink-soft);
}
.row-extra {
  list-style: none;
}

.row__edit {
  justify-self: start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nl-ink-soft);
  font: 600 0.875rem/1.2 var(--nl-font-body);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.row__edit:hover {
  color: var(--nl-ink);
}
.row__shop {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  font-size: 0.86rem;
  font-weight: 500;
  min-height: 44px;
}

@media (min-width: 900px) {
  .page--guest {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }
  .page--guest > * {
    grid-column: 1;
  }
  .welcome {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    padding: 40px 0 24px;
  }
  .welcome__text {
    text-align: left;
    justify-items: start;
  }
}

/* ---------------------------------------------------------------- paused */

.paused,
.auth {
  min-height: 70dvh;
  place-items: center;
  /* The card and the lines under it stay together in the middle; without
     this the rows shared the height and drifted apart on a tall screen. */
  align-content: center;
}
.paused > *,
.auth > * {
  grid-column: 1 / -1 !important;
}
.paused__card,
.auth__card {
  max-width: 420px;
  padding: 40px 28px;
  border-radius: 8px;
  /* The card's own stock and printed line, as on the geboortekaartje: on the
     table a lifted grey sheet (the paper scan greys it) hardly showed. */
  background-color: var(--nl-card);
  box-shadow: var(--nl-card-shadow);
  outline: 1px solid var(--nl-card-line);
  outline-offset: -10px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.paused__card h1,
.auth__card h1 {
  font-size: 1.6rem;
}
.paused__card p,
.auth__card p {
  color: var(--nl-ink-soft);
}
.paused__art {
  width: 84px;
}

/* ---------------------------------------------------------------- sign-in */

.auth__card {
  width: 100%;
  justify-items: stretch;
}
.auth__form {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  text-align: start;
}
.auth__hint {
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------- parents' home */

.home h1 {
  font-size: 1.6rem;
}
.lists {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.lists__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: var(--nl-stock);
}
.lists__item .gcard {
  max-width: 300px;
}
.lists__text {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.lists__text h2 {
  font-size: 1.15rem;
}
.lists__link {
  color: inherit;
  text-decoration-color: var(--nl-stock-edge);
  text-underline-offset: 0.2em;
}
.lists__link:hover {
  text-decoration-color: currentColor;
}
.lists__phase {
  color: var(--nl-ink-soft);
}

@media (min-width: 640px) {
  .lists__item {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

/* The home is one column at every width; the list page's two-column grid
   (card left, items right) does not apply to it. */
@media (min-width: 900px) {
  .page.home {
    max-width: 720px;
    grid-template-columns: minmax(0, 1fr);
  }
  .page.home > * {
    grid-column: auto;
  }
}

/* ---------------------------------------------------------------- onboarding */

.onb > * {
  min-width: 0;
}

.onb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4px 16px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.onb__stage {
  padding: 18px 8px 20px;
  display: grid;
  place-items: center;
  view-transition-name: onb-stage;
}

.onb__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-content: start;
  view-transition-name: onb-panel;
}

.onb__progress {
  display: flex;
  gap: 4px;
}
.onb__progress i {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.2;
}
.onb__progress i.is-on {
  opacity: 1;
}

.onb__art {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 72px;
}
.onb__art .art {
  height: 100%;
  width: auto;
}
.onb__art--pair .art:nth-child(2) {
  height: 86%;
  transform: rotate(8deg);
}
.onb--welcome .onb__art,
.onb--done .onb__art {
  display: none;
}

.onb__title {
  font-size: clamp(1.85rem, 7vw, 2.6rem);
}

.onb--welcome .onb__title {
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  overflow-wrap: anywhere;
}
.onb__lang {
  margin-top: 6px;
  /* Same left edge as the lead text above it. */
  justify-content: flex-start;
  margin-inline-start: -0.4rem;
}
.onb__lead {
  font-size: 1.08rem;
  max-width: 46ch;
  opacity: 0.85;
}
.onb__label {
  font-weight: 600;
  margin-bottom: 10px;
}
.onb__hint {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-top: 8px;
  max-width: 52ch;
}
.onb__name-fields {
  display: grid;
  gap: 10px;
}
.onb__name-fields--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.onb__name-fields veneer-text-input {
  min-width: 0;
}
.onb__name-fields veneer-text-input::part(wrapper),
.onb__name-fields veneer-text-input::part(input) {
  min-width: 0;
  width: 100%;
}
.onb__field {
  display: grid;
}
.onb__switch {
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, currentColor 18%, transparent);
}

.onb__actions {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--nl-table) 70%, transparent);
}
body:not(.on-table) .onb__actions {
  background: linear-gradient(to top, var(--nl-stock) 70%, transparent);
}
.onb__actions veneer-button:last-child {
  flex: 1;
}
.onb--done .onb__actions {
  flex-direction: column;
  align-items: stretch;
}
.onb--done .onb__actions veneer-button {
  max-width: none;
}

::view-transition-old(onb-panel) {
  animation: 220ms cubic-bezier(0.4, 0, 1, 1) both panel-out;
}
::view-transition-new(onb-panel) {
  animation: 420ms cubic-bezier(0.16, 1, 0.3, 1) both panel-in;
}
:root[data-direction='back']::view-transition-old(onb-panel) {
  animation-name: panel-out-back;
}
:root[data-direction='back']::view-transition-new(onb-panel) {
  animation-name: panel-in-back;
}
@keyframes panel-out { to { opacity: 0; transform: translateX(-24px); } }
@keyframes panel-in { from { opacity: 0; transform: translateX(32px); } }
@keyframes panel-out-back { to { opacity: 0; transform: translateX(24px); } }
@keyframes panel-in-back { from { opacity: 0; transform: translateX(-32px); } }

@media (min-width: 900px) {
  .onb {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: 56px;
    padding-top: 40px;
  }
  .onb__stage {
    position: sticky;
    top: 40px;
    min-height: 70vh;
  }
  .onb__stage .gcard {
    width: min(100%, 480px);
  }
  .onb__panel {
    padding-top: 24px;
  }
  .onb__actions {
    position: static;
    grid-column: 2;
    background: none;
    padding: 0;
    justify-content: flex-start;
  }
}

/* ---------------------------------------------------------------- add item */

.add__close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: inherit;
}
.add__title {
  font-size: 1.15rem;
  margin-right: auto;
  margin-left: 4px;
}
.add {
  max-width: 720px !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
.add > * {
  grid-column: 1 !important;
}
.slot {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--nl-stock-sunk);
}
.modes {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--nl-stock-sunk);
}
.modes__tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--nl-ink-soft);
  font: 600 0.9rem/1.15 var(--nl-font-body);
  cursor: pointer;
  padding: 6px 8px;
}
.modes__tab[aria-selected='true'] {
  background: var(--nl-stock-lift);
  color: var(--nl-ink);
  box-shadow: var(--nl-card-shadow);
}
.add__panel {
  display: grid;
  gap: 14px;
}
.add__count,
.add__hint {
  font-size: 0.88rem;
  color: var(--nl-ink-soft);
}
.found {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--nl-stock-lift);
}
.found__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}
.manual {
  display: grid;
  gap: 16px;
}
.manual__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.manual__pair > * {
  min-width: 0;
}
.manual__cats {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.manual__cats legend {
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0;
}
.chip--radio:has(input:checked) {
  box-shadow: inset 0 0 0 2px currentColor;
}
.chip--radio:has(input:focus-visible) {
  outline: 2px solid var(--nl-ink);
  outline-offset: 3px;
}
/* The category is a native radio group, so its error is drawn here in the
   same colour Veneer uses for field errors. */
.manual__error {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--vnr-color-error);
}
.manual__error:empty {
  display: none;
}

/* A parent's note to guests on an item, as written. */
.row__note {
  font-size: 0.875rem;
  color: var(--nl-ink-soft);
  white-space: pre-line;
}

/* ---------------------------------------------------------------- manage the list */

.manage {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: var(--nl-stock);
  box-shadow: inset 0 0 0 1px var(--nl-stock-edge);
}
.manage__title {
  font-size: 1.15rem;
}
.manage__phase {
  font-weight: 600;
}
.manage__step {
  display: grid;
  gap: 6px;
}
.manage__hint {
  font-size: 0.875rem;
  color: var(--nl-ink-soft);
}
/* The invite link itself, so it can be copied by hand when sharing fails. */
.members__link {
  font-size: 0.8125rem;
  color: var(--nl-ink-soft);
  overflow-wrap: anywhere;
  user-select: all;
}


/* How many babies: a small counter that names the number ("3, een drieling").
   Round buttons the size of a fingertip, styled like the chips around it. */
.count {
  display: grid;
  gap: 2px;
}
.count[hidden] {
  display: none;
}
.count__row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.count__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: inherit;
  background: light-dark(color-mix(in oklch, var(--nl-table) 60%, white), color-mix(in oklch, var(--nl-table-ink) 9%, var(--nl-table)));
  box-shadow: inset 0 0 0 1.5px color-mix(in oklch, var(--nl-table-ink) 18%, transparent);
  cursor: pointer;
}
.count__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.count__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 9.5em;
}
.count__number {
  font-family: var(--nl-font-display);
  font-size: 1.9rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count__word {
  font-family: var(--nl-font-hand);
  font-size: 1.35rem;
}

/* Guests: keeping claims across devices, offered at the foot of the list. */
.keep {
  margin: 28px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.85;
}
.keep a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Private print preview: the parents' real card opens a quiet, branded list. */
.print__controls { max-width: 760px; margin: 24px auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.print__lang { margin: 0; }
.print__controls { flex-wrap: wrap; }
.print__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.print { box-sizing: border-box; max-width: 760px; margin: 0 auto 40px; padding: 26px 38px 32px; background: var(--nl-stock-lift); color: var(--nl-ink); }
.print__brand { margin: 0 0 16px; text-align: center; font: 700 0.92rem/1.2 var(--nl-font-display); letter-spacing: 0.1em; }
.print__card .gcard { --tilt: 0deg; max-width: none; aspect-ratio: auto; min-height: 208px; padding: 0 32px 24px; }
.print__card .gcard__emblem.art--dodo-nest { --emblem-w: 52px; margin-top: 14px; }
.print__card .gcard__names { font-size: clamp(2rem, 5vw, 2.75rem); margin-block: 2px 12px; }
.print__card .gcard__frame { inset: 9px; }
.print__intro { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 23px 0 12px; border-bottom: 1px solid var(--nl-card-line); }
.print__intro h1 { font: 650 1.45rem/1.2 var(--nl-font-display); margin: 0; }
.print__intro p { font-size: 0.85rem; color: var(--nl-ink-soft); margin: 0; text-align: right; }
.print__section { margin: 21px 0 24px; }
.print__section h2 { font: 650 1rem/1.2 var(--nl-font-display); margin: 0 0 4px; break-after: avoid; }
.print__items { list-style: none; margin: 0; padding: 0; }
.print__item { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--nl-stock-edge); break-inside: avoid; }
.print__item > div { flex: 1; min-width: 0; }
.print__item img { object-fit: cover; border-radius: 3px; flex: none; }
.print__item strong, .print__detail, .print__note { display: block; overflow-wrap: anywhere; }
.print__item strong { font-weight: 600; }
.print__detail, .print__note { font-size: 0.82rem; line-height: 1.45; color: var(--nl-ink-soft); }
.print__status { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 108px; margin-top: 1px; white-space: nowrap; font: 500 0.78rem/1.2 var(--nl-font-body); color: var(--nl-ink-soft); }
.print__status-mark { display: inline-grid; place-items: center; box-sizing: border-box; width: 20px; height: 20px; border: 1.5px solid var(--nl-ink-soft); border-radius: 50%; }
.print__status--have { color: var(--nl-ink); font-weight: 650; }
.print__status--have .print__status-mark { background: var(--nl-paint-deep); border-color: var(--nl-paint-deep); }
.print__status--have svg { width: 17px; height: 17px; fill: none; stroke: white; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.print__status--partial .print__status-mark { background: linear-gradient(90deg, var(--nl-paint-deep) 50%, transparent 50%); }
.print__status--reserved .print__status-mark { box-shadow: inset 0 0 0 3px var(--nl-paint-deep); }
/* French status labels are longer; keep them inside the page without moving the column for Dutch lists. */
html[lang='fr'] .print__status { flex-basis: 138px; }
/* The reply card with the QR code (dp-2026-10-14-nidodo-qr-plaatsing C): a
   second, smaller paper card in the list's stock, tilted the other way; the
   code stays dark on near-white in every theme, since that is what every
   scanner reads, and its quiet zone is in the viewBox. */
.print__qr { position: relative; display: flex; align-items: center; gap: 18px; max-width: 460px; margin: 30px auto 0; padding: 18px 22px 18px 20px; border-radius: 6px; background-color: var(--nl-card); color: var(--nl-ink); box-shadow: var(--nl-card-shadow); transform: rotate(1.1deg); break-inside: avoid;
  background-image: url('../../vendor/textures/paper-tooth.webp'), url('../../vendor/textures/paper-wash.webp'); background-size: 512px auto, 640px 640px; background-blend-mode: multiply; }
.print__qr::after { content: ''; position: absolute; inset: 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--nl-card-line); pointer-events: none; }
.print__qr svg { flex: none; width: 104px; height: 104px; border-radius: 5px; background: oklch(0.99 0.004 75); box-shadow: inset 0 0 0 1px var(--nl-stock-edge); }
.print__qr path { fill: oklch(0.3 0.035 50); }
.print__qr figcaption { display: grid; gap: 4px; min-width: 0; }
.print__qr strong { font: 400 1.55rem/1.1 var(--nl-font-hand); }
.print__qr-body { font-size: 0.88rem; line-height: 1.4; }
.print__qr-link { font-size: 0.8rem; color: var(--nl-ink-soft); overflow-wrap: anywhere; }
@media print { .print__qr { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.print__footer { margin-top: 30px; padding-top: 9px; border-top: 1px solid var(--nl-card-line); text-align: center; font: 500 0.78rem/1.4 var(--nl-font-body); color: var(--nl-ink-soft); }
@media (max-width: 580px) {
  .print { padding: 22px 18px; }
  .print__intro { display: block; }
  .print__intro p { text-align: left; margin-top: 6px; }
  .print__card .gcard { min-height: 210px; }
  .print__controls { padding-inline: 14px; flex-wrap: wrap; }
}
@media print {
  @page { size: A4; margin: 14mm 17mm; }
  html, body { background: white !important; color: var(--nl-ink) !important; }
  .print__controls { display: none !important; }
  .print { max-width: none; margin: 0; padding: 0; background: white; }
  .print__brand { margin-bottom: 9px; }
  .print__card .gcard { min-height: 158px; padding-bottom: 12px; box-shadow: none; background-color: oklch(var(--nl-card-l) var(--nl-c) var(--nl-h)) !important; background-image: linear-gradient(oklch(var(--nl-card-l) var(--nl-c) var(--nl-h)), oklch(var(--nl-card-l) var(--nl-c) var(--nl-h))); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print__card .gcard__emblem.art--dodo-nest { --emblem-w: 42px; margin-top: 10px; }
  .print__card .gcard__names { font-size: 2.1rem; margin-block: 0 5px; }
  .print__intro { padding: 14px 0 8px; }
  .print__section { margin: 13px 0 15px; }
  .print__item { padding: 3px 0; font-size: 0.88rem; line-height: 1.3; }
  .print__detail, .print__note { font-size: 0.76rem; line-height: 1.25; }
  .print__footer { margin-top: 19px; }
  .print__card, .print__intro, .print__item, .print__status-mark, .print__footer { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .print__section { break-inside: avoid; }
  .print__section h2 { break-after: avoid; }
  .print__footer { break-inside: avoid; }
}

/* ---------------------------------------------------------------- reading pages (privacy) */

.prose {
  max-width: 640px;
  gap: 14px;
  line-height: 1.6;
}

.prose h1 {
  font-family: var(--nl-font-display);
  margin: 16px 0 0;
}

.prose h2 {
  font-family: var(--nl-font-display);
  font-size: 1.15rem;
  margin: 18px 0 4px;
}

.prose p,
.prose ul {
  margin: 0 0 10px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 4px;
}

.prose a {
  color: var(--nl-ink);
  text-underline-offset: 2px;
}

.prose__meta {
  color: var(--nl-ink-soft);
  font-size: 0.9rem;
}

.prose__lead {
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .page.prose {
    max-width: 640px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .page.prose > * {
    grid-column: 1;
  }
}
