/* umsoyeah companion site.
   Colours and type follow the app (Apps/iOS/Theme/Theme.swift): ember for
   fillers and nudges, sea for words doing real work, amber for unsure. */

@font-face {
  /* Fallback for browsers without a rounded system face. Safari uses SF Rounded. */
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #edf0f4;
  --line: #dde2e9;
  --ink: #0b0d11;
  --ink-2: #454d5b;
  --ink-3: #636b79;

  --ember: #e4572e;
  --ember-ink: #b53c19;
  --ember-soft: #fbe4dc;
  --sea: #0f8b8d;
  --sea-ink: #0a6c6e;
  --sea-soft: #d8f0f0;
  --amber: #c99400;
  --amber-ink: #7d5c00;
  --amber-soft: #fbf0c8;

  --band-bg: #0b0d11;
  --band-line: transparent;

  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 132px);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --surface: #161a21;
    --surface-2: #1e232b;
    --line: #2a303a;
    --ink: #f2f4f7;
    --ink-2: #b1b8c4;
    --ink-3: #8a93a1;

    --ember: #ff6e45;
    --ember-ink: #ff825e;
    --ember-soft: #3a1f17;
    --sea: #2bb5b7;
    --sea-ink: #45c6c8;
    --sea-soft: #10302f;
    --amber: #f0b429;
    --amber-ink: #f0b429;
    --amber-soft: #3a2f10;

    --band-bg: #11151b;
    --band-line: #2a303a;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body); /* 17px, the iOS body size */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1rem + 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0; }
p + p { margin-top: 1em; }

.wrap {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.lede {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}

h2 + .lede { margin-top: 20px; }

.kicker {
  font-family: var(--body);
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.num { font-variant-numeric: tabular-nums; }

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

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}

.wordmark {
  font: 800 1.5rem/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark b { font-weight: inherit; color: var(--ember); }

.site-nav { display: flex; gap: clamp(16px, 2.4vw, 30px); }
.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 6px;
}
.site-nav a:hover { color: var(--ink); }

@media (max-width: 620px) {
  .site-nav .wide { display: none; }
}

/* ---------- Phone ---------- */

.phone {
  --phone: 280px;
  container-type: inline-size;
  width: var(--phone);
  max-width: 100%;
  margin: 0;
  flex: none;
}

.phone-body {
  position: relative;
  padding: 3.1cqw;
  border-radius: 15.6cqw;
  background: #07080b;
  box-shadow:
    0 0 0 1px #2a303a,
    0 1px 0 1px rgba(255, 255, 255, 0.06) inset,
    0 34px 60px -34px rgba(11, 13, 17, 0.55);
}

.phone-body::before { /* the iPhone 13 notch */
  content: "";
  position: absolute;
  z-index: 1;
  top: 3cqw;
  left: 50%;
  width: 38.5cqw;
  height: 7.4cqw;
  translate: -50% 0;
  background: #07080b;
  border-radius: 0 0 4.8cqw 4.8cqw;
}

.phone img {
  width: 100%;
  border-radius: 12.6cqw;
  background: #0b0d11;
}

@media (prefers-color-scheme: dark) {
  .phone-body { box-shadow: 0 0 0 1px #343b47, 0 1px 0 1px rgba(255, 255, 255, 0.06) inset; }
}

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

.hero { padding-top: clamp(28px, 5vw, 64px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.hero-copy { padding-bottom: clamp(48px, 7vw, 96px); }
.hero-copy h1 { margin-top: 18px; }
.hero-copy h1 em { font-style: normal; color: var(--ember); }
.hero-copy .lede { margin-top: 26px; }

.hero-phone {
  --phone: clamp(260px, 27vw, 340px);
  align-self: end;
  position: relative;
  z-index: 2;
  margin-bottom: calc(-1 * clamp(120px, 14vw, 190px)); /* hangs into the band below */
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 14px; height: 14px; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
}
.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
}

.tally-block { margin-top: clamp(40px, 6vw, 68px); }
.tally-block p { font-size: 0.875rem; color: var(--ink-3); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 7px 13px;
  background: var(--surface-2);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.chips li span { color: var(--ember-ink); font-variant-numeric: tabular-nums; }

/* ---------- Dark bands ---------- */

.band {
  --ink: #f2f4f7;
  --ink-2: #b1b8c4;
  --ink-3: #8a93a1;
  --line: #2a303a;
  --surface: #161a21;
  --surface-2: #1e232b;
  --ember: #ff6e45;
  --ember-ink: #ff825e;
  --sea: #2bb5b7;
  --sea-ink: #45c6c8;
  --amber: #f0b429;
  --amber-ink: #f0b429;
  background: var(--band-bg);
  border-block: 1px solid var(--band-line);
  color: var(--ink);
}

.heard { padding-block: clamp(56px, 8vw, 104px); }

.heard-grid {
  display: grid;
  /* The second column is the hero phone's footprint, kept clear of text. */
  grid-template-columns: minmax(0, 1fr) clamp(260px, 27vw, 340px);
  gap: clamp(24px, 4vw, 64px);
}
.heard-grid > div:first-child { max-width: 44rem; }

.heard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
}

.transcript {
  margin: 26px 0 0;
  padding: 0;
  font-size: clamp(1.3125rem, 0.95rem + 1.55vw, 2.0625rem);
  line-height: 1.34;
  letter-spacing: -0.012em;
  font-weight: 500;
}
.transcript p + p { margin-top: 0.62em; }

.w-filler { color: var(--ember); font-weight: 700; }
.w-real { color: var(--sea); }
.w-unsure { color: var(--amber); }

.heard-note {
  margin-top: 30px;
  max-width: 36em;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

.section-head { max-width: 46rem; }
.section-head .lede { margin-top: 20px; }

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step { counter-increment: step; }
.step .phone { --phone: 100%; }

.step h3 { margin-top: 24px; }
.step h3::before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  font: 800 0.9375rem/1 var(--display);
  color: var(--ember-ink);
  font-variant-numeric: tabular-nums;
}
.step p { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-2); }

/* What counts */

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.words { margin-top: 36px; }
.words h3 { font: 600 0.9375rem/1.3 var(--body); letter-spacing: 0; }
.words h3 + .wordlist { margin-top: 12px; }
.words .wordlist + h3 { margin-top: 28px; }

.wordlist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wordlist li {
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.wordlist.always li { background: var(--ember-soft); color: var(--ember-ink); }
.wordlist.depends li { background: var(--amber-soft); color: var(--amber-ink); }

.pair {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.pair li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.pair q { quotes: "\201C" "\201D"; font-size: 1.125rem; }
.pair .verdict { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.pair .w-filler { color: var(--ember-ink); }
.pair .w-real { color: var(--sea-ink); font-weight: 700; }
.pair .is-filler { color: var(--ember-ink); }
.pair .is-real { color: var(--sea-ink); }

.aside-note {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 34em;
}

/* Try it */

.try {
  padding: clamp(20px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.try label {
  display: block;
  font: 800 1.25rem/1.2 var(--display);
  letter-spacing: -0.01em;
}
.try .hint { margin-top: 6px; font-size: 0.875rem; color: var(--ink-3); }

.try textarea {
  display: block;
  width: 100%;
  min-height: 7.2em;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}
.try textarea:focus-visible { outline-offset: 0; border-color: transparent; }

.try-out {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.try-text { min-height: 3em; font-size: 1.125rem; line-height: 1.5; overflow-wrap: anywhere; }
.try-text .w-filler { color: var(--ember-ink); }
.try-text .w-ask {
  color: var(--amber-ink);
  text-decoration: underline dashed 1.5px;
  text-underline-offset: 0.22em;
}
.try-text:empty::before { content: "Nothing to count yet."; color: var(--ink-3); }

.try-count {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}
.try-count div { padding: 12px 14px; background: var(--bg); border-radius: 12px; }
.try-count dt { font-size: 0.8125rem; color: var(--ink-3); }
.try-count dd { margin: 2px 0 0; font: 800 1.75rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.try-count .hard dd { color: var(--ember-ink); }
.try-count .ask dd { color: var(--amber-ink); }

.try-rate { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-2); }
.try-rate strong { color: var(--ink); }
.try-rate .over { color: var(--ember-ink); }
.try-rate .under { color: var(--sea-ink); }

/* Nudges */

.nudge-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.duo { position: relative; display: flex; justify-content: flex-start; padding-bottom: 12%; }
.duo .phone { --phone: 58%; }
.duo .phone + .phone { position: absolute; right: 0; bottom: 0; }

.specs { margin: 36px 0 0; border-top: 1px solid var(--line); }
.specs div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.specs dt { font-weight: 600; }
.specs dd { margin: 0; color: var(--ink-2); }

.pro {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ember-ink);
  vertical-align: 0.12em;
}

.modes { margin-top: clamp(48px, 7vw, 88px); }
.modes h3 { font-size: 1.5rem; }
.modes > p { margin-top: 8px; color: var(--ink-2); max-width: 38em; }

.table-scroll { margin-top: 24px; overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
th, td {
  padding: 14px 20px 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead th {
  padding-block: 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3);
}
tbody th { font: 800 1.125rem/1.3 var(--display); white-space: nowrap; }
tbody td { color: var(--ink-2); }
tbody td.num { color: var(--ink); font-weight: 600; white-space: nowrap; }

@media (max-width: 640px) {
  /* Each mode becomes its own block; the header row is replaced by labels. */
  .modes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .modes tr { display: block; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .modes th, .modes td { display: block; padding: 0; border: 0; }
  .modes td { margin-top: 4px; }
  .modes td::before { content: attr(data-label) ": "; color: var(--ink-3); font-weight: 400; }
}

/* Privacy band */

.leaves { padding-block: var(--section); }

.leaves-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.leaves .lede { margin-top: 20px; }
.leaves .more { margin-top: 28px; font-size: 0.9375rem; }
.leaves .more a { color: var(--ink); font-weight: 600; }
.leaves-phone { --phone: 250px; margin-top: clamp(40px, 5vw, 64px); }

.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ledger dd { margin: 8px 0 0; color: var(--ink-2); }
.ledger dd strong {
  display: block;
  margin-bottom: 4px;
  font: 800 clamp(1.375rem, 1.1rem + 1vw, 1.75rem)/1.15 var(--display);
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
}

.plan {
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan.is-pro { box-shadow: inset 0 3px 0 var(--ember); }

.plan h3 { font-size: 1.5rem; }
.plan .price { margin-top: 10px; font: 800 clamp(2rem, 1.5rem + 1.8vw, 2.75rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 1rem/1.3 var(--body); letter-spacing: 0; color: var(--ink-2); }
.plan .terms { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-2); min-height: 3em; }

.plan dl { margin: 22px 0 0; border-top: 1px solid var(--line); }
.plan dl div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.plan dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.plan dt { color: var(--ink-3); }
.plan dd { margin: 0; }

.fineprint { margin-top: 20px; font-size: 0.8125rem; color: var(--ink-3); max-width: 52em; }

/* Questions */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-block: 18px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font: 500 1.5rem/1 var(--display);
  color: var(--ink-3);
  transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details > p { padding: 0 2.5rem 20px 0; color: var(--ink-2); max-width: 40em; }
.faq details > p + p { margin-top: -8px; }

/* Sign-off and footer */

.signoff { padding-block: 0 var(--section); }
.signoff-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.signoff p.big {
  font: 800 clamp(2.5rem, 1.4rem + 5.4vw, 5rem)/0.98 var(--display);
  letter-spacing: -0.03em;
}
.signoff p.big b { font-weight: inherit; color: var(--ember); }
.signoff .soon { padding-bottom: 0.6em; }

.site-foot {
  padding-block: 28px 44px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-3);
}
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-row a { color: var(--ink-2); text-decoration: none; }
.foot-row a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .legal { margin-top: 14px; max-width: 60em; }

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

.page { padding-block: clamp(32px, 6vw, 72px) var(--section); }
.page-head { max-width: 44rem; }
.page-head h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4rem); margin-top: 14px; }
.page-head .lede { margin-top: 20px; }

.prose { max-width: 41rem; margin-top: clamp(40px, 6vw, 64px); }
.prose h2 { font-size: 1.625rem; margin-top: 2.2em; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font: 600 1.0625rem/1.4 var(--body); letter-spacing: 0; }
.prose p, .prose ul, .prose ol { margin: 0.8em 0 0; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); }
.prose .callout {
  margin-top: 1.6em;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prose .callout p:first-child { margin-top: 0; }

/* ---------- Narrower screens ---------- */

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step .phone { --phone: min(100%, 260px); }
  .split, .nudge-grid, .leaves-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .duo { max-width: 440px; }
  .leaves-phone { display: none; } /* the list beside it says the same thing */
}

@media (max-width: 820px) {
  .hero-grid, .heard-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 44px; }
  .hero-phone {
    --phone: min(270px, 72vw);
    justify-self: center;
    margin-bottom: -120px;
  }
  .heard { padding-top: 164px; }
  .heard-grid > .spacer { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan .terms { min-height: 0; }
}

@media (max-width: 560px) {
  /* The four steps become a row you swipe through. */
  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(62vw, 250px);
    gap: 20px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }
  .step { scroll-snap-align: start; }
  .step .phone { --phone: 100%; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .try-count dd { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary::after { transition: none; }
}

@media print {
  .site-nav, .skip, .try textarea { display: none; }
  .band { background: none; color: #000; }
}
