/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Mealdrop Sans";
  src: url("/assets/fonts/sans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop Display";
  src: url("/assets/fonts/display.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop Hero";
  src: url("/assets/fonts/display-hero.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop CTA";
  src: url("/assets/fonts/display-cta.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop Stat";
  src: url("/assets/fonts/stat.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop Script";
  src: url("/assets/fonts/script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mealdrop Script Bold";
  src: url("/assets/fonts/script-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  --cream: #fbf4e6;
  --forest: #244b3b;
  --ink: #010101;
  --lime: #b9e087;
  --yellow: #ffd521;
  --stone: #bdb7ad;
  --muted: #7e7b74;
  --charcoal: #403e3a;
  --header: 92px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: "Mealdrop Sans", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

body.nav-lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }

section[id] { scroll-margin-top: 12px; }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- motion */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fx-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

html.motion .fx-layer { animation: fx-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
html.motion .art-bezel { animation-delay: 0.05s; }
html.motion .art-photo { animation-delay: 0.12s; }
html.motion .card-bell { animation-delay: 0.2s; }
html.motion .art-badges { animation-delay: 0.28s; }
html.motion .card-gray { animation-delay: 0.32s; }
html.motion .card-lime { animation-delay: 0.42s; }
html.motion .card-green { animation-delay: 0.5s; }

html.motion [data-in] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}

html.motion [data-in="left"] { transform: translateX(-40px); }
html.motion [data-in="zoom"] { transform: translateY(28px) scale(0.96); }

html.motion [data-in].is-in {
  opacity: 1;
  transform: none;
}

html.motion [data-words] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i) * 26ms);
}

html.motion [data-words].is-in .word {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title, .hero-lede, .fx-layer, .step-image, .download-bg, .hero-copy {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header);
  padding: 14px max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left));
  background: var(--cream);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-compact {
  --header: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 1px 0 rgba(1, 1, 1, 0.06);
}

.site-header.is-hidden { transform: translateY(-105%); }

.logo-link {
  display: block;
  flex: 0 0 auto;
  width: clamp(88px, 11vw, 120px);
  aspect-ratio: 127 / 90;
}

.logo-link img { width: 100%; height: 100%; object-fit: contain; }

.site-header.is-compact .logo-link { width: clamp(76px, 9vw, 96px); }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg { width: 32px; height: 32px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 44px);
}

.site-nav > a:not(.pill) {
  text-decoration: none;
  line-height: 1.2;
  padding: 10px 0;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--forest);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 40px;
  font-family: "Mealdrop Sans", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.pill-ink {
  background: var(--ink);
  color: var(--cream);
  min-height: 40px;
  padding: 8px 18px;
}

.pill-ink:hover { background: var(--cream); color: var(--ink); }

.pill-forest {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  font-family: "Mealdrop Stat", "Mealdrop Sans", sans-serif;
  min-height: 44px;
  padding: 10px 22px;
}

.pill-forest:hover { background: var(--cream); color: var(--forest); }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  z-index: 2;
  padding: clamp(4px, 1vw, 12px) var(--gutter) clamp(8px, 2vw, 28px);
  background: var(--cream);
  text-align: center;
}

.hero-copy {
  width: min(980px, 100%);
  margin: 0 auto;
}

.hero-title {
  font-family: "Mealdrop Hero", "Mealdrop Display", sans-serif;
  font-size: clamp(42px, 8vw, 100px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--forest);
  text-wrap: balance;
}

.hero-lede {
  width: min(820px, 100%);
  margin: clamp(14px, 2vw, 28px) auto 0;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.stage {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 1100 / 868;
  margin: clamp(20px, 3.5vw, 48px) auto 0;
  container-type: inline-size;
  text-align: left;
}

.art {
  position: absolute;
  left: calc(var(--x) * 100cqi / 1100);
  top: calc(var(--y) * 100cqi / 1100);
  width: calc(var(--w) * 100cqi / 1100);
  height: calc(var(--h) * 100cqi / 1100);
}

/* Positions measured from the live site. --m* values are the 320-unit mobile stage. */
.pos-bezel { --x: 265.5; --y: 0; --w: 569; --h: 868; --mx: 60; --my: 0; --mw: 200; --mh: 305; }
.pos-photo { --x: 278.5; --y: 17; --w: 537; --h: 843; --mx: 68; --my: 8; --mw: 184; --mh: 298; }
.pos-badges { --x: 396.5; --y: 42; --w: 300; --h: 43; --mx: 88; --my: 16; --mw: 144; --mh: 43; }
.pos-bell { --x: 138; --y: 20; --w: 165; --h: 165; --mx: 9; --my: 22; --mw: 80; --mh: 82; }
.pos-bell-icon { --x: 72; --y: 49; --w: 21; --h: 21; --mx: 35; --my: 31; --mw: 10; --mh: 10; }
.pos-bell-lines { --x: 22; --y: 97; --w: 120; --h: 17; --mx: 10; --my: 54; --mw: 60; --mh: 9; }
.pos-gray { --x: 75.5; --y: 203; --w: 290; --h: 152; --mx: 9; --my: 119; --mw: 80; --mh: 120; }
.pos-gray-donut { --x: 30; --y: 34; --w: 84; --h: 84; --mx: 21; --my: 18; --mw: 37; --mh: 37; }
.pos-gray-bars { --x: 152; --y: 38; --w: 107; --h: 75; --mx: 18; --my: 69; --mw: 43; --mh: 30; }
.pos-lime { --x: 797.5; --y: 177; --w: 165; --h: 181; --mx: 230; --my: 107; --mw: 80; --mh: 135; }
.pos-stat-value { --x: 20; --y: 88; --w: 125; --h: 55; --mx: 11; --my: 32; --mw: 60; --mh: 26; }
.pos-stat-label { --x: 20; --y: 144; --w: 125; --h: 16; --mx: 11; --my: 85; --mw: 60; --mh: 28; }
.pos-green { --x: 696.5; --y: 379; --w: 327; --h: 163; --mx: 187; --my: 256; --mw: 123; --mh: 80; }
.pos-green-lines { --x: 33; --y: 42; --w: 108; --h: 79; --mx: 68; --my: 26; --mw: 37; --mh: 27; }
.pos-green-donut { --x: 186; --y: 28; --w: 108; --h: 106; --mx: 17; --my: 21; --mw: 37; --mh: 37; }

.art svg { display: block; width: 100%; height: 100%; }

.art-photo { overflow: hidden; border-radius: calc(84 * 100cqi / 1100) calc(84 * 100cqi / 1100) 0 0; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; }

.card, .art-bezel, .art-photo { pointer-events: none; }
.art-badges, .art-badges a { pointer-events: auto; }

.art-badges {
  display: flex;
  gap: calc(12 * 100cqi / 1100);
  align-items: flex-start;
  z-index: 2;
}

.art-badges a { display: block; flex: 0 0 auto; width: calc(144 * 100cqi / 1100); }
.art-badges img { width: 100%; height: auto; }

.card { border-radius: calc(20 * 100cqi / 1100); z-index: 3; }
.card-bell { background: var(--yellow); }
.card-gray { background: var(--stone); }
.card-lime { background: var(--lime); }
.card-green { background: var(--forest); }

.stat-value {
  font-family: "Mealdrop Stat", "Mealdrop Display", sans-serif;
  font-size: calc(50 * 100cqi / 1100);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--forest);
  white-space: nowrap;
}

.stat-label {
  font-size: calc(13 * 100cqi / 1100);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--forest);
}

/* ------------------------------------------------------------------ about */
.about {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  background: var(--forest);
  color: var(--cream);
}

.about-inner {
  width: min(940px, 100%);
  margin-left: auto;
}

@media (min-width: 1200px) {
  .about { padding-right: clamp(48px, 10vw, 170px); }
}

.eyebrow { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; }

.script { font-family: "Mealdrop Script", serif; }
.script-bold { font-family: "Mealdrop Script Bold", serif; font-weight: 700; }

.statement {
  max-width: 16em;
  margin-top: clamp(16px, 2vw, 28px);
  font-size: clamp(32px, 5.2vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.statement .segment {
  display: block;
}

/* -------------------------------------------------------------------- how */
.how {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(36px, 5vw, 72px);
  background: var(--ink);
  color: var(--cream);
}

.how-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: var(--header) clamp(20px, 8vw, 120px) 48px clamp(16px, 2vw, 28px);
  text-align: left;
}

.how h2,
.step-title {
  font-family: "Mealdrop Display", sans-serif;
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.how h2 {
  color: var(--lime);
  font-size: clamp(48px, 8.5vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.how-intro p {
  width: min(34ch, 100%);
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.35;
}

.how-intro .pill { margin-top: clamp(22px, 3vw, 36px); }

.steps {
  width: 100%;
  margin: 0;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 46%);
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas:
    "num . media"
    "num title media"
    "num body media"
    "num . media";
  column-gap: clamp(16px, 2.4vw, 48px);
  row-gap: clamp(12px, 1.6vw, 20px);
  align-items: center;
  min-height: 100svh;
  padding: 0 0 0 clamp(16px, 2vw, 28px);
  border-top: 1px solid rgba(251, 244, 230, 0.85);
}

.step:last-child { border-bottom: 1px solid rgba(251, 244, 230, 0.85); }

.step-number { grid-area: num; align-self: center; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; }
.step-title { grid-area: title; max-width: 5.4em; }
.step-body {
  grid-area: body;
  max-width: 28ch;
  color: var(--cream);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.35;
}

.step-media {
  position: relative;
  grid-area: media;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.step-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.12 - var(--zoom, 0.35) * 0.12)) translateY(calc((0.5 - var(--zoom, 0.35)) * 7%));
}

/* --------------------------------------------------------------- download */
.download {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(640px, 125svh, 1200px);
  padding: clamp(72px, 12vh, 140px) var(--gutter);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
}

.download-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  will-change: transform;
}

.download-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.download-copy {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.download h2 {
  font-family: "Mealdrop CTA", "Mealdrop Display", sans-serif;
  font-size: clamp(40px, 7vw, 90px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.download p {
  width: min(28ch, 100%);
  margin: clamp(12px, 2vw, 20px) auto 0;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 36px);
}

.badges a { display: block; width: 144px; }
.badges img { width: 100%; height: auto; }

/* ------------------------------------------------------------- newsletter */
.newsletter {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 108px) var(--gutter) clamp(56px, 8vw, 96px);
  background: var(--yellow);
  text-align: center;
}

.newsletter h2 {
  font-family: "Mealdrop Display", sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.newsletter-lede {
  width: min(32ch, 100%);
  margin: clamp(16px, 3vw, 40px) auto 0;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
}

.subscribe {
  width: min(560px, 100%);
  margin: clamp(24px, 4vw, 40px) auto 0;
  text-align: left;
}

.subscribe-fields { width: 100%; }

.field-label {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: normal;
}

.field {
  margin-top: 8px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 60px;
}

.field input {
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 60px;
  background: transparent;
  font-size: 16px;
  letter-spacing: normal;
  outline: none;
}

.field:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }

.consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: normal;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
}

.consent-box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--ink);
}

.consent input:checked + .consent-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent input:focus-visible + .consent-box { outline: 2px solid var(--ink); outline-offset: 2px; }

.form-error {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: normal;
  color: #8a1f1f;
}

.submit {
  display: flex;
  width: min(200px, 100%);
  min-height: 48px;
  margin: 24px auto 0;
  padding: 0 20px;
  font-family: "Mealdrop Sans", sans-serif;
  letter-spacing: normal;
}

.submit:hover { text-decoration: underline; }
.submit:disabled { opacity: 0.6; cursor: default; }

.form-success {
  padding: 28px 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  text-align: center;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo logo"
    "social app"
    "legal legal";
  gap: 28px clamp(16px, 4vw, 48px);
  align-items: end;
  padding: clamp(48px, 8vw, 96px) max(var(--gutter), env(safe-area-inset-right)) 28px max(var(--gutter), env(safe-area-inset-left));
  background: var(--cream);
}

.footer-logo {
  grid-area: logo;
  width: min(480px, 72vw);
  height: auto;
  margin: 0 auto 8px;
}

.footer-social { grid-area: social; }
.social-label { line-height: 1.2; }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  line-height: 1.3;
}

.social-links a { text-decoration: none; }
.social-links a:hover { text-decoration: underline; }

.footer-app {
  grid-area: app;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.qr {
  width: 90px;
  height: 90px;
  background: #fff;
}

.store-stack { display: flex; flex-direction: column; gap: 6px; }
.store-stack a { display: block; width: 144px; }
.store-stack img { width: 100%; height: auto; }

.copyright {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  margin: 0;
  line-height: 1.4;
}

.legal-links { display: inline-flex; gap: 16px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ legal pages */
.legal {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px) var(--gutter) clamp(64px, 8vw, 96px);
}

.legal h1 {
  margin: 0 0 36px;
  color: var(--forest);
  font-family: "Mealdrop Hero", "Mealdrop Display", sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 36px 0 12px;
  font-family: "Mealdrop Display", sans-serif;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal p { margin: 0 0 16px; line-height: 1.5; }

/* --------------------------------------------------------------- compact */
@media (max-width: 900px) {
  .step {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "num title"
      "body body"
      "media media";
    row-gap: 14px;
    align-items: start;
    min-height: 0;
    padding: clamp(28px, 6vw, 48px) 0 0;
  }

  .step-title { max-width: 12em; }
  .step-body { max-width: none; }
  .step-number,
  .step-title,
  .step-body {
    margin-left: var(--gutter);
    margin-right: var(--gutter);
  }
  .step-number { margin-top: 0.35em; }

  .step-media {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    margin-top: clamp(12px, 3vw, 24px);
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; }

  .site-nav {
    position: absolute;
    top: calc(100% - 3px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid rgba(1, 1, 1, 0.08);
    box-shadow: 0 16px 36px rgba(1, 1, 1, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-header.menu-open { transform: none; }
  .site-header.menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav > a:not(.pill) {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(1, 1, 1, 0.08);
  }

  .site-nav .pill { width: 100%; margin-top: 16px; min-height: 48px; }

  .stage { aspect-ratio: 320 / 336; }

  .art {
    left: calc(var(--mx) * 100cqi / 320);
    top: calc(var(--my) * 100cqi / 320);
    width: calc(var(--mw) * 100cqi / 320);
    height: calc(var(--mh) * 100cqi / 320);
  }

  .art-photo { border-radius: calc(27 * 100cqi / 320) calc(27 * 100cqi / 320) 0 0; }
  .art-badges { gap: 0; }
  .art-badges a { width: calc(144 * 100cqi / 320); }
  .card { border-radius: calc(20 * 100cqi / 320); }
  .stat-value { font-size: calc(23 * 100cqi / 320); letter-spacing: -0.04em; }
  .stat-label { font-size: calc(11 * 100cqi / 320); line-height: 1.2; }

  html[data-os="android"] .badge-apple,
  html:not([data-os="android"]) .badge-google { display: none; }

  .about-inner { margin-left: 0; }
  .statement { max-width: 18em; }

  .submit { width: 100%; }
  .qr { display: none; }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "social"
      "app"
      "legal";
    align-items: start;
  }

  .footer-logo { margin-left: 0; width: min(260px, 68vw); }
}

@media (prefers-reduced-motion: reduce) {
  .step-image { transform: none; }
}
