/* The public site in the app's new look (FinalAndyMax, 11-2026): the app
   icon's paper and ink, the onboarding's hand-drawn man, Vollkorn for what
   matters, Volkhov italic for the softer second line, SF for anything you
   tap or type, and green kept for one outlined pill. /admin keeps site.css. */

@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/Vollkorn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/Vollkorn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Volkhov";
  src: url("../fonts/Volkhov-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Volkhov";
  src: url("../fonts/Volkhov-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fdf8e9;        /* Color.paper, the app icon's page */
  --ink: #1f1f1c;          /* Color.ink */
  --ink-soft: rgba(31, 31, 28, 0.72);
  --ink-quiet: rgba(31, 31, 28, 0.6);
  --soft-line: #8a857a;    /* the App Store slides' grey italic, a step darker to read on paper */
  --hairline: rgba(31, 31, 28, 0.12);
  --field-edge: rgba(31, 31, 28, 0.32);
  --forest: #1f6b2e;       /* Color.forestGreen: green words on paper */
  --green: #229935;        /* Color.brandGreen */
  --loss: #cc211a;         /* Color.lossText by day */
  --serif: "Vollkorn", "New York", Georgia, serif;
  --serif-soft: "Volkhov", "Vollkorn", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --column: 34rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* ---------- Top bar: the icon and the name, as on the launch screen ---------- */

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 22.37%;
  box-shadow: 0 0 0 1px var(--hairline);
}

.site-brand span {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-quiet);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Home ---------- */

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 8px 16px 32px;
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* The man from the app's first page. The video is drawn on this paper, and
   its edges fade into the page (the ground line ends the way it does in the
   app, and a browser that tints video a shade off draws no box). Tap him to watch again. */
.hero-man {
  display: block;
  width: min(100%, 600px);
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  aspect-ratio: 1000 / 658;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent),
    linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
}

.hero-man:focus-visible {
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 12px;
}

.hero-man video,
.hero-man img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero-title {
  margin: clamp(28px, 6vh, 64px) 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 12.5vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title .soft {
  display: block;
  margin-top: 10px;
  font-family: var(--serif-soft);
  font-size: 0.5em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--soft-line);
}

.store {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 7vh, 64px);
}

.store-badge {
  display: block;
  border-radius: 12px;
  transition: transform 0.14s ease;
}

.store-badge:active {
  transform: scale(0.97);
}

.store-badge img {
  display: block;
  width: auto;
  height: 54px;
}

.store-note {
  margin: 0;
  max-width: 24rem;
  text-wrap: balance;
  color: var(--ink-quiet);
  font-size: 15px;
  line-height: 1.45;
}

.store-note strong {
  color: var(--ink);
  font-weight: 600;
}

/* The three steps. Each has a small picture of how it works, drawn in the
   app's pieces: the deposit picker's amounts with the lock, the man doing
   a rep over his phone while the count goes up, and the 30 days filling in
   before the money comes back. Under each, the line with an italic numeral.
   A picture plays once when it scrolls into view (steps.js adds .is-on);
   with Reduce Motion it shows its last state. */
.steps {
  width: min(100%, 26rem);
  margin: clamp(28px, 5vh, 48px) 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: step;
}

.step {
  padding: 22px 4px 18px;
  border-top: 1px solid var(--hairline);
  counter-increment: step;
}

.step:last-child {
  border-bottom: 1px solid var(--hairline);
}

.step-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 170px;
  margin-bottom: 14px;
}

.step-line {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 5.6vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.step-line::before {
  content: counter(step);
  flex: none;
  width: 1ch;
  font-family: var(--serif-soft);
  font-style: italic;
  font-weight: 400;
  color: var(--soft-line);
}

/* 1 · The deposit picker: $25 gets picked and locked. */
.chips {
  display: flex;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--field-edge);
  border-radius: 999px;
  color: var(--ink-quiet);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

/* The picked amount: full brand green with white on it (3.7:1, fine for
   24 px text, which needs 3:1). The green is its own layer (::before) so it
   can flood out from the middle; ::after is the ring that pulses once. */
.chip-picked {
  position: relative;
  isolation: isolate;
  border-color: var(--green);
  color: #fff;
}

.chip-picked::before,
.chip-picked::after {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.chip-picked::before {
  background: var(--green);
}

.lock {
  display: block;
  width: 15px;
  height: 18px;
  color: var(--ink);
}

.chip-picked .lock {
  color: #fff;
}

.lock-shackle {
  transform-box: fill-box;
  transform-origin: bottom;
}

/* The pick, once .is-on: the chip presses in, the green floods out from
   the middle as it springs back and the text turns white, a ring pulses
   out, then the lock drops in and snaps shut. */
.step-money .chip-picked { animation: chip-press 0.75s 0.35s cubic-bezier(0.3, 0.7, 0.4, 1) backwards paused; }
.step-money .chip-picked::before { animation: chip-flood 0.42s 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards paused; }
.step-money .chip-picked::after { animation: chip-ring 0.8s 0.6s ease-out backwards paused; }
.step-money .lock { animation: lock-in 0.3s 0.95s cubic-bezier(0.22, 1, 0.36, 1) backwards paused; }
.step-money .lock-shackle { animation: lock-shut 0.34s 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) backwards paused; }
.step-money.is-on .chip-picked,
.step-money.is-on .chip-picked::before,
.step-money.is-on .chip-picked::after,
.step-money.is-on .lock,
.step-money.is-on .lock-shackle { animation-play-state: running; }

@keyframes chip-press {
  0% { transform: scale(1); border-color: var(--field-edge); color: var(--ink-quiet); }
  20% { transform: scale(0.92); border-color: var(--field-edge); color: var(--ink-quiet); }
  50% { transform: scale(1.07); border-color: var(--green); color: #fff; }
  72% { transform: scale(0.985); }
  100% { transform: scale(1); }
}

@keyframes chip-flood {
  from { clip-path: circle(0% at 50% 50%); }
  to { clip-path: circle(75% at 50% 50%); }
}

@keyframes chip-ring {
  from { box-shadow: 0 0 0 0 rgba(34, 153, 53, 0.45); }
  to { box-shadow: 0 0 0 16px rgba(34, 153, 53, 0); }
}

@keyframes lock-in {
  from { opacity: 0; width: 0; margin-right: -7px; transform: translateY(-10px) scale(0.6); }
}

@keyframes lock-shut {
  from { transform: translateY(-5px); }
}

/* 2 · The count over the man and his phone. */
.count {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.count-of {
  color: var(--soft-line);
  font-family: var(--serif-soft);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
}

.count-n.is-tick {
  animation: count-tick 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes count-tick {
  from { color: var(--green); }
}

.rep {
  display: block;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 720 / 286;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 10%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

/* 3 · Thirty days fill in, ten to a row like the app's home, then the
   money comes back. */
.days {
  display: grid;
  grid-template-columns: repeat(10, 12px);
  gap: 8px;
}

.days i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  animation: day-done 0.24s cubic-bezier(0.22, 1, 0.36, 1) backwards paused;
}

.step-back.is-on .days i { animation-play-state: running; }

@keyframes day-done {
  from { background: transparent; box-shadow: inset 0 0 0 1px var(--field-edge); transform: scale(0.7); }
}

.back-pop {
  margin: 0 0 14px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  animation: back-pop 0.5s 1.35s cubic-bezier(0.34, 1.56, 0.64, 1) backwards paused;
}

.step-back.is-on .back-pop { animation-play-state: running; }

@keyframes back-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
}

/* The story at the top: the man puts up money, gets down to his phone and
   does his reps while it counts, then stands up as the 30 days fill in and
   the money comes back (assets/video/putup-story.mp4, synced by story.js).
   Under him, one step at a time: its line and its picture appear together
   and give way to the next. With Reduce Motion all three sit stacked in
   their finished state. Reuses the step pictures' pieces. */
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: clamp(4px, 2vh, 16px);
}

.story-steps {
  position: relative;
  width: min(100%, 28rem);
  height: 128px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.story-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  counter-increment: step;
  pointer-events: none;
}

.story[data-phase="money"] .step-money,
.story[data-phase="count"] .step-count,
.story[data-phase="back"] .step-back {
  opacity: 1;
  transform: none;
}

.story-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 26px);
  font-weight: 500;
  line-height: 1.25;
}

.story-line::before {
  content: counter(step);
  font-family: var(--serif-soft);
  font-style: italic;
  font-weight: 400;
  color: var(--soft-line);
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 60px;
}

.story .count {
  margin: 0;
  font-size: 40px;
}

.story .count-of {
  font-size: 26px;
}

.story .back-pop {
  margin: 0;
}

/* Reduce Motion: the three steps stacked, each in its finished state. */
.story.is-still .story-steps {
  display: grid;
  gap: 22px;
  height: auto;
}

.story.is-still .story-step {
  position: static;
  opacity: 1;
  transform: none;
}

/* The App Store badge pinned to the bottom of the screen while the one in
   the page is out of view (store-float.js adds .is-shown). The home gets
   room at the bottom so the footer can scroll clear of it. */
.store-float {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 31, 28, 0.22), 0 1px 3px rgba(31, 31, 28, 0.2);
  opacity: 0;
  transform: translate(-50%, 14px);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
}

.store-float.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.store-badge.is-behind {
  visibility: hidden;
}

.store-float img {
  display: block;
  width: auto;
  height: 52px;
}

.home-page {
  padding-bottom: 84px;
}

/* ---------- Waitlist ---------- */

.waitlist {
  width: min(100%, 26rem);
  margin-top: clamp(56px, 9vh, 88px);
}

.waitlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.waitlist h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 5.6vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

.waitlist-mode {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

.waitlist-mode-option {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 999px;
  color: var(--ink-quiet);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.waitlist-mode-option svg {
  display: block;
  width: 16px;
  height: 16px;
}

.waitlist-mode-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-mode-option.is-active {
  background: var(--ink);
  color: var(--paper);
}

.waitlist-mode-option:focus-within {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.waitlist-entry {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 18px;
  border: 1px solid var(--field-edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.waitlist-entry:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 107, 46, 0.14);
}

.waitlist-entry input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.waitlist-entry input::placeholder {
  color: rgba(31, 31, 28, 0.5);
}

/* The onboarding's outlined green pill (OutlinedGreenPillStyle) as the App
   Store slides drew it on paper: a green rim, the faintest green inside, the
   label in Volkhov and ink. */
.pill {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 84px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: rgba(34, 153, 53, 0.06);
  color: var(--ink);
  font-family: var(--serif-soft);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.pill:hover { background: rgba(34, 153, 53, 0.12); }
.pill:active { transform: scale(0.97); background: rgba(34, 153, 53, 0.18); }
.pill:disabled { cursor: progress; }

.button-label {
  transition: opacity 0.16s ease;
}

.button-spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(31, 31, 28, 0.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
}

.pill.is-loading .button-label {
  visibility: hidden;
  opacity: 0;
}

.pill.is-loading .button-spinner {
  opacity: 1;
  animation: waitlist-spin 0.65s linear infinite;
}

@keyframes waitlist-spin {
  to { transform: rotate(1turn); }
}

.form-status { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4; text-align: left; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: var(--forest); background: rgba(31, 107, 46, 0.08); }
.form-status.is-error { color: var(--loss); background: rgba(204, 33, 26, 0.07); }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.signup-success {
  position: fixed;
  z-index: 99998;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.signup-success h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 15vw, 104px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* The closing line: Vollkorn, then the question in the soft italic. */
/* Kevvy 11-11: the first line on one line ("unwrap this"). It scales with
   the screen so it fits a phone; under ~340 px wide it may still wrap. */
.dare {
  max-width: 100%;
  margin: clamp(56px, 9vh, 88px) 0 0;
  font-family: var(--serif);
  font-size: clamp(17px, 4.9vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}

.dare strong {
  display: block;
  font-weight: 500;
}

.dare span {
  display: block;
  margin-top: 6px;
  font-family: var(--serif-soft);
  font-style: italic;
  font-weight: 400;
  color: var(--soft-line);
}

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

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  max-width: var(--column);
  margin: 0 auto;
  padding: 24px 16px max(28px, env(safe-area-inset-bottom));
  font-size: 14px;
  color: var(--ink-quiet);
}

.legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
}

.legal a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .dot {
  display: inline-flex;
  align-items: center;
  color: rgba(31, 31, 28, 0.3);
}

/* The email wraps to its own line on phones; don't leave a dot hanging. */
@media (max-width: 440px) {
  .legal .dot:last-of-type {
    display: none;
  }
}

/* ---------- Terms and privacy: the app's words on paper ---------- */

.doc {
  flex: 1;
  width: min(100% - 32px, 42rem);
  margin: 0 auto;
  padding: 8px 0 56px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.doc h1 {
  margin: 32px 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 8vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.doc .lead {
  font-size: 17px;
  color: var(--ink);
}

.doc h2 {
  margin: 34px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.doc h3 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

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

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

.doc li {
  margin-bottom: 6px;
}

.doc a {
  color: var(--forest);
  font-weight: 600;
  text-underline-offset: 3px;
}

.doc strong {
  color: var(--ink);
}

.doc .fine {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-quiet);
}

.doc .part {
  margin-top: 64px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.table-wrap {
  overflow-x: auto;
  margin: 8px 0 14px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.doc th,
.doc td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.doc th {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Wider screens ---------- */

@media (min-width: 820px) {
  .site-top {
    padding-top: max(28px, env(safe-area-inset-top));
  }

  .home {
    padding-top: 24px;
  }

  /* The three steps side by side. */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 36px;
    width: min(100%, 64rem);
  }

  .step,
  .step:last-child {
    border-bottom: 0;
  }

  .step-art {
    height: 180px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .pill, .store-badge { transition: none; }
  .step-money .chip-picked,
  .step-money .chip-picked::before,
  .step-money .chip-picked::after,
  .step-money .lock,
  .step-money .lock-shackle,
  .days i,
  .back-pop,
  .count-n.is-tick { animation: none; }
  .story-step { transition: none; }
  .store-float,
  .store-float.is-shown { transition: none; }
}
