/*
 * Vegan Lens — veganlens.app
 *
 * One idea, told slowly. A single lens sits on the screen and changes state as you
 * scroll — camera, verdict, "not sure", the seven nutrients — with one sentence beside
 * each state and nothing else competing for the eye. The tokens are the app's own
 * (mobile/src/theme/tokens/colors.ts), so the page and the product read as one thing.
 *
 * Every rule here earns its place. If a section, a card or a badge could be removed
 * without the page saying less, it has been.
 */

/* ================================================================ tokens == */

:root {
  color-scheme: light dark;

  --brand: #43b77d;
  --brand-ink: #1f7a50;
  --brand-soft: #eaf6ee;
  --gold: #f2b23e;
  --gold-ink: #a8701c;
  --gold-soft: #fdf1da;
  --sky: #63b4e8;
  --map-bg: #e4f0de;
  --map-road: #fafdf7;
  --map-park: #cfe9c6;

  --bg: #f7faf5;
  --card: #ffffff;
  --line: rgba(36, 53, 43, 0.09);
  --ink: #22342a;
  --body: #5c7064;
  --sub: #8a9e90;
  --on-brand: #ffffff;

  --sh: 0 2px 6px rgba(24, 48, 33, 0.05), 0 24px 60px rgba(24, 48, 33, 0.12);
  --sh-lens: 0 10px 30px rgba(24, 48, 33, 0.1), 0 50px 120px rgba(24, 48, 33, 0.18);

  --e-out: cubic-bezier(0.22, 0.9, 0.32, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --gut: clamp(24px, 6vw, 72px);
  --lens: clamp(260px, 30vw, 420px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #61d096;
    --brand-ink: #9be9be;
    --brand-soft: #22332a;
    --gold: #f0b849;
    --gold-ink: #f5cb77;
    --gold-soft: #3d3520;
    --sky: #6fb8e8;
    --map-bg: #1d2b23;
    --map-road: #2a3b31;
    --map-park: #243a2b;

    --bg: #141c17;
    --card: #1c2620;
    --line: rgba(255, 255, 255, 0.08);
    --ink: #e9f4ec;
    --body: #b0c4b6;
    --sub: #7f958a;
    --on-brand: #08150e;

    --sh: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.4);
    --sh-lens: 0 10px 30px rgba(0, 0, 0, 0.4), 0 50px 120px rgba(0, 0, 0, 0.55);
  }
}

/* ================================================================= base == */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  /* clip, not hidden: `overflow-x: hidden` on an ancestor silently disables
     position: sticky, which the whole story section depends on. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Nunito', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  color: var(--ink);
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4.6vw, 58px);
}

p {
  margin: 0;
  text-wrap: pretty;
}

em {
  font-style: normal;
  color: var(--brand-ink);
}

a {
  color: var(--brand-ink);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--ink);
  padding: 12px 18px;
  z-index: 200;
}

.skip:focus {
  left: 0;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ================================================================== nav == */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s var(--e-soft), backdrop-filter 0.4s var(--e-soft);
}

.nav.stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.mark svg {
  width: 28px;
  height: 28px;
}

.mark span span {
  color: var(--brand-ink);
}

.nav-cta {
  color: var(--ink);
  font-weight: 800;
  font-size: 15.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--e-out);
}

.nav-cta:hover svg {
  transform: translateX(3px);
}

/* ================================================================= form == */

.signup {
  max-width: 460px;
}

.signup form {
  display: flex;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  box-shadow: var(--sh);
  transition: box-shadow 0.35s var(--e-out), border-color 0.35s var(--e-out);
}

.signup form:focus-within {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: var(--sh), 0 0 0 5px color-mix(in srgb, var(--brand) 14%, transparent);
}

.signup input[type='email'] {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0 8px 0 16px;
}

.signup input::placeholder {
  color: var(--sub);
  font-weight: 500;
}

.signup input:focus {
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  border: 0;
  padding: 0 22px;
  min-height: 48px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--e-out), background 0.25s var(--e-out);
}

.btn:hover {
  background: var(--brand-ink);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .signup form {
    flex-direction: column;
    border-radius: 28px;
    padding: 10px;
  }

  .signup input[type='email'] {
    padding: 8px 12px;
    text-align: center;
  }
}

.note {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--sub);
  line-height: 1.5;
}

.form-msg {
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 18px;
  padding: 13px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-msg svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.form-msg.ok {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.form-msg.bad {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.form-msg a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================ story == */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--gut);
  align-items: start;
}

/* Explicit rows, so the lens can span them. Children: hero, lens, then four steps. */
.story > :nth-child(1) { grid-row: 1; }
.story > :nth-child(3) { grid-row: 2; }
.story > :nth-child(4) { grid-row: 3; }
.story > :nth-child(5) { grid-row: 4; }
.story > :nth-child(6) { grid-row: 5; }
.story > :nth-child(7) { grid-row: 6; }

.lens-wrap {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: start;
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
}

.step {
  grid-column: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vh 0;
  max-width: 34rem;
}

.step p {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 30rem;
}

/* The lens brings each idea into focus: text arrives blurred and sharpens. */
.step h2,
.step p,
.step .signup,
.step .note {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
  transition: opacity 0.9s var(--e-out), filter 0.9s var(--e-out), transform 0.9s var(--e-out);
}

.step p {
  transition-delay: 0.12s;
}

.step .signup {
  transition-delay: 0.22s;
}

.step .note {
  transition-delay: 0.3s;
}

.step.on h2,
.step.on p,
.step.on .signup,
.step.on .note {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* --- hero step ---------------------------------------------------------- */

.hero h1 {
  font-size: clamp(64px, 9.5vw, 132px);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero .lede {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--body);
  max-width: 28rem;
}

.hero .signup {
  margin-top: 34px;
}

/* ================================================================= lens == */

.lens {
  --glow: var(--brand);
  position: relative;
  width: var(--lens);
  height: var(--lens);
  border-radius: 50%;
  box-shadow: var(--sh-lens);
  isolation: isolate;
}

.lens::before {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow) 30%, transparent) 0%, transparent 64%);
  z-index: -1;
  will-change: transform;
  animation: breathe 7s ease-in-out infinite alternate;
  transition: background 1s var(--e-soft);
}

@keyframes breathe {
  from {
    transform: scale(0.94);
    opacity: 0.75;
  }

  to {
    transform: scale(1.06);
    opacity: 1;
  }
}

.lens-in {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
}

.lens-in > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--e-soft);
}

.lay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s var(--e-soft), transform 0.7s var(--e-soft);
  pointer-events: none;
}

.lens[data-state='camera'] .lay-camera,
.lens[data-state='yes'] .lay-yes,
.lens[data-state='seven'] .lay-seven,
.lens[data-state='cook'] .lay-cook,
.lens[data-state='places'] .lay-places {
  opacity: 1;
  transform: none;
}

.lens[data-state='idle'] .lens-in > img {
  transform: scale(1.12);
}

.lens[data-state='yes'] .lens-in > img {
  transform: scale(1.12);
}

.lens[data-state='seven'] .lens-in > img,
.lens[data-state='cook'] .lens-in > img,
.lens[data-state='places'] .lens-in > img {
  transform: scale(1.18);
}

/* --- camera ------------------------------------------------------------- */

.lay-camera {
  padding: 0;
}

.finder {
  position: absolute;
  inset: 21%;
}

.finder i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 3px;
}

.finder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.finder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.finder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.finder i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.sweep {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff 30%, #fff 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 255, 255, 0.55), 0 0 40px 10px color-mix(in srgb, var(--brand) 55%, transparent);
  animation: sweep 3.2s var(--e-soft) infinite;
}

@keyframes sweep {
  0% { top: 16%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 84%; opacity: 0; }
}

/* --- verdicts ----------------------------------------------------------- */

.lay-yes {
  background: color-mix(in srgb, var(--brand-soft) 92%, transparent);
}

.lay-cook {
  background: color-mix(in srgb, var(--card) 93%, transparent);
}

.badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 12px;
}

.lay-yes .badge {
  background: var(--brand);
}

.lay-cook .badge {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.badge svg {
  width: 32px;
  height: 32px;
}

.word {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand-ink);
}

.lay-cook .word {
  color: var(--ink);
}

.rows {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}

.row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out);
  transition-delay: calc(0.25s + var(--i) * 0.12s);
}

.lay.on .row {
  opacity: 1;
  transform: none;
}

.row i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

/* "one thing to buy" — a count, not a tick */
.row.part i {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.row span {
  margin-left: auto;
  color: var(--sub);
  font-weight: 600;
  font-size: 12.5px;
}

/* --- the seven ---------------------------------------------------------- */

.lay-seven {
  background: color-mix(in srgb, var(--card) 95%, transparent);
  padding: 6%;
}

.lay-seven svg {
  width: 100%;
  height: 100%;
}

.seg-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 11;
  stroke-linecap: round;
}

.seg {
  fill: none;
  stroke: var(--brand);
  stroke-width: 11;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.3s var(--e-out);
  transition-delay: calc(0.2s + var(--i) * 0.1s);
}

.seg.low {
  stroke: var(--gold);
}

.lay.on .seg {
  stroke-dashoffset: var(--fill);
}

.seg-label {
  font-size: 12.5px;
  font-weight: 800;
  fill: var(--sub);
  letter-spacing: 0.01em;
}

.seven-centre {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.seven-centre b {
  display: block;
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.seven-centre span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sub);
}

/* --- places: a map, in the app's own map colours ------------------------- */

.lay-places {
  padding: 0;
  background: var(--map-bg);
}

.map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.road {
  stroke: var(--map-road);
  stroke-width: 13;
}

.road-thin {
  stroke: var(--map-road);
  stroke-width: 6;
}

.park {
  fill: var(--map-park);
}

.pin {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s var(--e-out), transform 0.6s var(--e-out);
  transition-delay: calc(0.3s + var(--i) * 0.16s);
}

.lay.on .pin {
  opacity: 1;
  transform: none;
}

.pin circle:first-child {
  fill: var(--brand);
}

.you {
  fill: var(--sky);
}

.you-halo {
  fill: var(--sky);
  opacity: 0.22;
}

.place-tag {
  position: absolute;
  left: 50%;
  bottom: 13%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--sh);
}

.place-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* --- everything in the app: a list, two columns when there is room ------ */

.all {
  list-style: none;
  padding: 36px 0 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(28px, 5vw, 64px);
  font-size: 17px;
}

.all b {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 720px) {
  .all {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- mobile: the lens sits above the words and stays there -------------- */

@media (max-width: 860px) {
  :root {
    /* never taller than the box it sits in, whatever the phone */
    --lens: min(62vw, 250px, calc(44svh - 76px));
  }

  /* No blur on phones: it is the expensive part of the reveal, and iOS can leave text
     looking soft after a filter transition. Opacity and position still animate. */
  .step h2,
  .step p,
  .step .signup,
  .step .note {
    filter: none;
  }

  #get {
    scroll-margin-top: 96px;
  }

  /* The verdict rows sit in the lower, narrower part of the circle; on a phone the
     circle is small enough that they need to be, too. */
  .badge {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
  }

  .badge svg {
    width: 26px;
    height: 26px;
  }

  .word {
    font-size: 24px;
  }

  .rows {
    max-width: 192px;
    gap: 6px;
    margin-top: 12px;
  }

  .row {
    font-size: 13px;
  }

  .row span {
    font-size: 11.5px;
  }


  .seven-centre b {
    font-size: 26px;
  }

  .seven-centre span {
    font-size: 11px;
  }

  .story {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .step {
    grid-column: 1;
  }

  /* The lens lives in the story rows only. It scrolls up in flow behind the hero, then
     sticks at the top while the four steps pass beneath it. */
  .lens-wrap {
    grid-column: 1;
    grid-row: 2 / span 5;
    height: 44svh;
    padding-top: 64px;
    z-index: 2;
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 86%, transparent 100%);
  }

  .step {
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }

  /* The hero is a normal block above the lens: headline, sentence, form, first screen. */
  .step.hero {
    min-height: 0;
    padding: 104px 0 6vh;
    justify-content: flex-start;
  }

  /* Each sentence gets the region under the lens (56svh) and no more, so the next one
     enters from the bottom as the last slides under the lens — no empty stretch with
     a verdict and no words. Only the first story step pads for the lens itself,
     because that is where the lens is still in flow. */
  .step:not(.hero) {
    min-height: 56svh;
    padding: 4vh 0;
  }

  .story > :nth-child(3) {
    min-height: 100svh;
    padding-top: 46svh;
  }

  .hero h1 {
    font-size: clamp(48px, 14.5vw, 84px);
  }

  .hero .lede {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero .signup {
    margin-top: 24px;
  }

  .rows {
    max-width: min(192px, 80%);
  }

  .hero .lede,
  .step p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Short phones get a small lens. The right-hand "plant" column is a nicety; the tick
   and the name are the information, so the column goes before anything clips. */
@media (max-width: 860px) and (max-height: 720px) {
  .row span {
    display: none;
  }

  .rows {
    max-width: 150px;
  }

  .badge {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  .badge svg {
    width: 22px;
    height: 22px;
  }

  .word {
    font-size: 21px;
  }

}

/* ============================================================ quiet ====== */

.quiet {
  padding: clamp(96px, 16vh, 180px) 0;
}

.quiet .wrap {
  max-width: 900px;
}

.quiet h2 {
  max-width: 22ch;
}

.quiet > .wrap > p {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 34rem;
}

.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
}

.rv.on {
  opacity: 1;
  transform: none;
}

/* --- pricing: two columns of plain text ---------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

.plan h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan .price {
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan .price small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0;
  margin-left: 4px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 8px;
  font-size: 17px;
}

.plan li b {
  color: var(--ink);
  font-weight: 800;
}

.fine {
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--sub);
}

/* --- link with an arrow --------------------------------------------------- */

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 3px;
}

.arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--e-out);
}

.arrow:hover svg {
  transform: translateX(4px);
}

/* ============================================================== footer === */

.foot {
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--sub);
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot a {
  color: var(--body);
  font-weight: 600;
}

.foot a:hover {
  color: var(--brand-ink);
}

/* ============================================================== motion === */

@media (prefers-reduced-motion: reduce) {
  .step h2,
  .step p,
  .step .signup,
  .step .note,
  .rv,
  .row {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .lens::before,
  .sweep {
    animation: none;
  }

  .seg {
    transition: none;
  }

  .lay,
  .lens-in > img {
    transition: opacity 0.3s;
  }
}

/* ============================================================== testers === */

.page {
  padding: clamp(120px, 20vh, 200px) 0 clamp(80px, 12vh, 140px);
}

.page .wrap {
  max-width: 760px;
}

.page h1 {
  font-size: clamp(46px, 7vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.page .lede {
  margin-top: 26px;
  font-size: clamp(18px, 1.8vw, 22px);
  max-width: 32rem;
}

.page .signup {
  margin-top: 34px;
}

.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: n;
  display: grid;
  gap: clamp(28px, 4vh, 40px);
}

.numbered li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}

.numbered li::before {
  content: counter(n, decimal-leading-zero);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-ink);
}

.numbered b {
  display: block;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.qa {
  display: grid;
  gap: 26px;
  margin: 0;
}

.qa dt {
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
}

.qa dd {
  margin: 6px 0 0;
  max-width: 34rem;
}
