/*
  Notaste Games
  Black ground, the logo's red reserved for rejection (stamps and the NO button),
  paper white for the one calm section. Each game brings its own accent colour.
  Headlines: Notaste Display, drawn from the logo's letterforms (public/fonts, built by tools/build_font.py).
  Body: the device's own UI font, so the fake feed reads like a real one.
*/

@font-face {
  font-family: "Notaste Display";
  src: url("/fonts/notaste-display.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --red: #d7141a;
  --red-press: #a90f14;
  --smoke: #a6a6a6;      /* secondary text on black */
  --ash: #2a2a2a;        /* rules and edges on black */
  --grey: #5c5c5c;       /* secondary text on paper */
  --rule: #e2e2e2;       /* rules on paper */

  --display: "Notaste Display", Impact, "Arial Narrow Bold", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(2.6rem, 5vw + 1.2rem, 4.75rem);
  --step-3: clamp(4.2rem, 19vw, 9.5rem);

  --gutter: 16px;
  --max: 74rem;
  --measure: 34rem;

  /* worn ink: white speckle laid over stamps (they always sit on paper) */
  --worn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 9 0 0 0 -5.4'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  /* film grain for the black sections */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}

@media (min-width: 40rem) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--ink) var(--grain);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}
.skip:focus { left: var(--gutter); top: var(--gutter); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 4rem; }
.section-head { margin-bottom: 2rem; }
.section-note { margin: 0; color: var(--smoke); max-width: 30rem; }

.text-link { font-weight: 600; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem 0.8rem;
  background: var(--red);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 4px 0 var(--red-press);
  transition: transform 80ms ease, box-shadow 80ms ease;
}
@media (hover: hover) { .btn:hover { background: #e01b21; } }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-press); }

.btn--light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 0 var(--accent, var(--smoke));
}
@media (hover: hover) { .btn--light:hover { background: #f1f1f1; } }
.btn--light:active { box-shadow: 0 1px 0 var(--accent, var(--smoke)); }

/* Rubber-stamp label */
.stamp-label {
  display: inline-block;
  padding: 0.38em 0.6em 0.3em;
  border: 3px solid var(--red);
  outline: 1px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  position: relative;
  background: var(--paper);
  outline-offset: -8px;
  padding: 0.45em 0.75em 0.38em;
}
.stamp-label::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--worn);
  background-size: 140px 140px;
  pointer-events: none;
}

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  border-bottom: 1px solid var(--ash);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
}

.top-logo img { width: 8.5rem; }

.top-nav {
  display: flex;
  gap: 1.25rem;
  font-size: var(--step--1);
  font-weight: 600;
}
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--paper); }
.top-nav a:hover { text-decoration: underline; }

@media (max-width: 24rem) {
  .top-logo img { width: 7.25rem; }
  .top-nav { gap: 0.85rem; }
}

/* ---------- Hero ---------- */

.hero { padding-block: 1.5rem 3.5rem; overflow: hidden; }

.hero-inner {
  display: grid;
  gap: 1.75rem;
  grid-template-areas: "title" "reject" "more";
}
.hero-title { grid-area: title; }
.reject { grid-area: reject; }
.hero-more { grid-area: more; padding-top: 1rem; }

.hero-title {
  margin: 0;
  font-size: var(--step-3);
  line-height: 0.86;
}
.hero-title span { display: block; }

.hero-lede {
  margin: 0;
  max-width: 30rem;
  font-size: var(--step-1);
  line-height: 1.45;
  color: #dcdcdc;
}

.hero-links a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.25rem 0 0;
}

@media (min-width: 60rem) {
  .hero { padding-block: 4.5rem 6.5rem; }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "title reject" "more reject";
    column-gap: 4rem;
    row-gap: 1.75rem;
    align-items: start;
  }
  .hero-title { font-size: clamp(6rem, 9.5vw, 9.5rem); align-self: end; }
  .hero-more { padding-top: 0; }
  .reject { align-self: center; max-width: 30rem; }
}

/* ---------- Reject the internet ---------- */

.reject { width: 100%; max-width: 27rem; justify-self: center; }

.hint-keys { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hint-keys { display: inline; }
  .hint-touch { display: none; }
}
.reject-intro {
  margin: 0 0 1rem;
  color: var(--smoke);
  font-size: var(--step--1);
  font-weight: 600;
}

.deck {
  position: relative;
  height: 13.75rem;
  touch-action: pan-y;
}

/* the two blank cards peeking out behind the top card */
.deck::before,
.deck::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #1c1c1c;
  border: 1px solid var(--ash);
}
.deck::before { transform: rotate(-4deg) translate(-6px, 8px); }
.deck::after  { display: none; }

.post {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: 16px;
  background: var(--paper);
  color: #0f1419;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  overflow: hidden;
  will-change: transform;
}
.post:active { cursor: grabbing; }

.post.is-under {
  z-index: 0;
  transform: translateY(10px) scale(0.96);
  filter: brightness(0.82);
  pointer-events: none;
  box-shadow: none;
}

/* faint stamp that firms up as you drag left */
.post::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 18%;
  width: 9.5rem;
  aspect-ratio: 183 / 166;
  background: url("/brand/mark-stamped.svg") center / contain no-repeat;
  transform: rotate(-12deg);
  opacity: calc(var(--nope, 0) * 0.6);
  pointer-events: none;
}

.post.is-short .post-text {
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.post-head { display: flex; align-items: center; gap: 0.7rem; }

.post-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--av, #888);
  color: var(--paper);
  font-weight: 800;
  font-size: 1.05rem;
}

.post-who { display: grid; line-height: 1.2; min-width: 0; }
.post-name { font-weight: 700; font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-name .tick {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.25em;
  vertical-align: -0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231d9bf0'/%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post-handle { color: #536471; font-size: 0.9rem; }

.post-text {
  margin: 0.8rem 0 0;
  font-size: 1.12rem;
  line-height: 1.38;
  letter-spacing: -0.005em;
}

.post-stats {
  display: flex;
  gap: 1.1rem;
  margin: auto 0 0;
  padding-top: 0.75rem;
  color: #536471;
  font-size: 0.85rem;
  font-weight: 600;
}

/* the stamp that lands on a rejected post */
.post-stamp {
  position: absolute;
  z-index: 2;
  width: 9.5rem;
  pointer-events: none;
}

.post.is-end {
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: default;
  background: var(--paper);
}
.post.is-end h3 { margin: 0; font-size: 2.6rem; line-height: 0.9; color: var(--ink); }
.post.is-end p { margin: 0; color: #333; }
.end-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.post.is-end button.is-ghost { border-color: var(--rule); }
.post.is-end button {
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.reject-controls {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.no-btn {
  flex: none;
  width: 5.75rem;
  height: 5.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red-press);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.no-btn-face {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  text-transform: uppercase;
  padding-top: 0.08em;
  transform: translateY(-6px);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transition: transform 70ms ease;
}
@media (hover: hover) { .no-btn:hover .no-btn-face { background: #e01b21; } }
.no-btn:active .no-btn-face,
.no-btn.is-pressed .no-btn-face { transform: translateY(-1px); }
.no-btn:focus-visible { outline-offset: 5px; }

.reject-status { min-width: 0; }
.reject-count {
  margin: 0;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}
.reject-count span:first-child { color: var(--red); }
.reject-caption {
  margin: 0.35rem 0 0;
  color: var(--smoke);
  font-size: var(--step--1);
}

@media (prefers-reduced-motion: no-preference) {
  .post-stamp { animation: thunk 360ms cubic-bezier(0.2, 0.75, 0.3, 1) both; }
  .post.is-leaving { transition: transform 340ms cubic-bezier(0.45, 0, 0.85, 0.35), opacity 200ms ease 160ms; }
  .post.is-returning { transition: transform 260ms cubic-bezier(0.2, 0.8, 0.3, 1.2); }
  .post.is-arriving { animation: arrive 260ms ease-out backwards; }
  .deck.is-shaking { animation: shake 360ms ease both; }
}

.post.is-leaving { transition: opacity 150ms ease; }
@media (prefers-reduced-motion: no-preference) {
  .post.is-leaving { transition: transform 340ms cubic-bezier(0.45, 0, 0.85, 0.35), opacity 200ms ease 160ms; }
}

@keyframes thunk {
  0%   { opacity: 0; transform: var(--stamp-rot) scale(1.9); }
  60%  { opacity: 1; transform: var(--stamp-rot) scale(0.94); }
  100% { opacity: 1; transform: var(--stamp-rot) scale(1); }
}
@keyframes arrive {
  from { transform: translateY(10px) scale(0.97); opacity: 0.6; }
  to   { transform: none; opacity: 1; }
}
@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

@media (min-width: 60rem) {
  .deck { height: 17.5rem; }
  .post { padding: 1.4rem 1.5rem 1.2rem; }
  .post-text { font-size: 1.45rem; line-height: 1.32; }
  .post-name { font-size: 1.05rem; }
  .post-stamp { width: 11rem; }
  .no-btn { width: 6.5rem; height: 6.5rem; }
  .no-btn-face { font-size: 3rem; }
  .reject-count { font-size: 2.3rem; }
}

/* ---------- Tape ---------- */

.tape-wrap { overflow: hidden; padding-block: 1.25rem; margin-block: -1.25rem; position: relative; z-index: 2; }
.tape {
  position: relative;
  z-index: 2;
  margin: 0 -2rem;
  padding: 0.6rem 0 0.45rem;
  background: var(--red);
  transform: rotate(-2deg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.tape-track {
  display: flex;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .tape-track { animation: tape 48s linear infinite; }
}
@keyframes tape { to { transform: translateX(-50%); } }
.tape span {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
.tape span::after { content: "*"; color: var(--ink); }

/* ---------- Games ---------- */

.games { padding-block: 3.5rem 5rem; }

.games-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 2.25rem;
}
.games-head h2 { margin: 0; font-size: var(--step-2); }

.poster { position: relative; }

.poster-art {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  outline: 1px solid var(--ash);
}
.poster-art img { width: 100%; transition: transform 400ms ease; }

.poster-art .stamp-label {
  position: absolute;
  left: var(--sx, 50%);
  top: var(--sy, 50%);
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  transform: translate(-50%, -50%) rotate(var(--sr, -6deg));
}

/* the title sits on a black tag that bites into the bottom of the art */
.poster-body { position: relative; padding-top: 0; }

.poster-title {
  position: relative;
  display: inline-block;
  margin: -1.6rem 0 0 0.75rem;
  padding: 0.55rem 0.8rem 0.35rem;
  background: var(--ink);
  border-top: 5px solid var(--accent, var(--paper));
  font-size: clamp(2.5rem, 10vw, 3.4rem);
}
.poster-title a { text-decoration: none; }
.poster-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.poster-line {
  margin: 0.6rem 0 0;
  max-width: 30rem;
  font-size: var(--step-1);
  line-height: 1.4;
}

.poster-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  color: var(--smoke);
  font-size: var(--step--1);
  font-weight: 600;
}
.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent, var(--smoke));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #888) 25%, transparent);
}

.poster--feature .btn { margin-top: 1.5rem; }

.poster-pair {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}

@media (hover: hover) {
  .poster:hover .poster-art img { transform: scale(1.035); }
  .poster:hover .poster-title { border-top-width: 8px; }
}

@media (min-width: 48rem) {
  .poster-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (min-width: 60rem) {
  .poster--feature {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 2.75rem;
    align-items: center;
  }
  .poster--feature .poster-title {
    margin: 0;
    padding: 0.65rem 0 0;
    font-size: clamp(4.5rem, 6.5vw, 6.5rem);
  }
  .poster--feature .poster-title { display: block; background: none; }
  .poster-pair .poster-title { font-size: 3.2rem; }
}

/* ---------- About (paper) ---------- */

.about {
  background: var(--paper);
  color: var(--ink);
  padding-block: 4.5rem 5rem;
}

.about-title {
  margin: 0 0 2.5rem;
  max-width: 13ch;
  font-size: var(--step-2);
}

.about-grid { display: grid; gap: 2.25rem; }

.about-copy p { margin: 0 0 1rem; max-width: var(--measure); }
.about-copy p:first-child { font-size: var(--step-1); line-height: 1.45; }
.about-copy p:last-child { margin-bottom: 0; font-weight: 700; }

@media (min-width: 60rem) {
  .about-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 2.5rem; align-items: start; }
}

.warning {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--paper);
  color: var(--ink);
  border: 6px solid var(--ink);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
@media (hover: hover) { .warning:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); } }
.warning:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(1px, 1px); }

.warning-kicker {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--red);
  text-transform: uppercase;
}
.warning-text {
  display: block;
  min-height: 3.7em;
  margin-top: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.warning-hint { display: block; margin-top: 1rem; font-size: var(--step--1); color: var(--grey); }
.warning.is-swapping .warning-text { animation: swap 200ms ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.facts-panel { border: 2px solid var(--ink); padding: 1rem 1.1rem 0.4rem; }
.facts-title { margin: 0 0 0.6rem; padding-bottom: 0.5rem; border-bottom: 8px solid var(--ink); font-size: 1.9rem; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.facts li:last-child { border-bottom: 0; }
.facts li span:last-child { font-weight: 800; text-align: right; }

/* ---------- Follow ---------- */

.follow { padding-block: 4.5rem 5rem; }
.follow-inner { display: grid; gap: 2rem; }
.follow h2 { margin: 0 0 1rem; font-size: var(--step-2); }

.socials { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--paper); }
.socials li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ash);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}
.socials .pending { font-family: var(--body); font-size: var(--step--1); font-weight: 600; color: var(--smoke); text-transform: none; }

@media (min-width: 60rem) {
  .follow-inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

/* ---------- Footer ---------- */

.foot {
  border-top: 1px solid var(--ash);
  color: var(--smoke);
  font-size: var(--step--1);
  padding-block: 2.5rem 3rem;
}
.foot-inner { display: grid; gap: 1.25rem; }
@media (min-width: 44rem) {
  .foot-inner { grid-template-columns: auto 1fr; gap: 2rem; align-items: start; }
}
.foot-mark { width: 3.75rem; }
.foot p { margin: 0 0 0.5rem; max-width: 34rem; }
.foot a { color: var(--paper); }

/* ---------- 404 ---------- */

.lost {
  min-height: 80svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem var(--gutter);
}
.lost .stamp-label { font-size: clamp(2.4rem, 9vw, 4rem); transform: rotate(-6deg); }
.lost h1 { margin: 0; font-size: clamp(2.6rem, 10vw, 4.5rem); }
.lost p { margin: 0; color: #d0d0d0; max-width: 30rem; }

/* ---------- Text pages (privacy) ---------- */

.doc { padding-block: 3.5rem 5rem; }
.doc .stamp-label { font-size: clamp(1.5rem, 6vw, 2.2rem); transform: rotate(-5deg); margin: 0 0 1.75rem 0.25rem; }
.doc h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 10vw, 4.5rem); }
.doc h2 { margin: 2.75rem 0 0.75rem; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 0.95; }
.doc p, .doc li { max-width: var(--measure); }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.doc li { margin-bottom: 0.25rem; }
.doc-lede { font-size: var(--step-1); line-height: 1.4; }
.doc .doc-small { margin-top: 2.75rem; color: var(--smoke); font-size: var(--step--1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
