/* Eding landing page. Colour values copied from design/web/tokens.css (light + dark follow the system). */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0178, U+02C6, U+02DA, U+02DC, U+1E9E, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0178, U+02C6, U+02DA, U+02DC, U+1E9E, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }

:root {
  --surface: #f2efea;
  --surface-raised: #faf8f5;
  --surface-sunken: #e8e3dc;
  --ink: #211d1a;
  --ink-muted: #625851;
  --ink-faint: #8a807a;
  --hairline: #d9d2c9;
  --clay: #a24a2b;
  --clay-strong: #8e3f23;
  --on-clay: #fff6f0;
  --clay-soft: #f1ddd2;
  --slate: #4e5c6b;
  --slate-soft: #dee3e8;
  --moss: #3f6e45;
  --moss-soft: #dce8da;
  --brick: #a3322a;
  --brick-soft: #f4d9d5;
  --focus: #4e5c6b;
  --bezel: #1f1b18;
  --shadow: 0 1px 2px rgba(33, 29, 26, 0.05), 0 12px 32px -12px rgba(33, 29, 26, 0.18);
  --shadow-phone: 0 40px 80px -30px rgba(73, 38, 20, 0.45), 0 18px 36px -18px rgba(33, 29, 26, 0.3);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23fff6f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-text: "Figtree", -apple-system, "SF Pro Text", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #171513;
    --surface-raised: #211e1b;
    --surface-sunken: #0f0d0c;
    --ink: #f1ece5;
    --ink-muted: #b0a69c;
    --ink-faint: #7a6f66;
    --hairline: #342f2a;
    --clay: #e0845e;
    --clay-strong: #ee9c7a;
    --on-clay: #2a1710;
    --clay-soft: #3b2419;
    --slate: #9eb0c2;
    --slate-soft: #242c34;
    --moss: #8dbb8e;
    --moss-soft: #1e2e20;
    --brick: #e88478;
    --brick-soft: #3a1e1b;
    --focus: #9eb0c2;
    --bezel: #2b2622;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px #3a332d;
    --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%232a1710' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 17px/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--clay-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); }
.skip:focus { top: 12px; }

.eyebrow { font: 600 12px/16px var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); margin-bottom: var(--space-3); }
.h2 { font: 400 32px/1.12 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.lead { margin-top: var(--space-4); color: var(--ink-muted); font-size: 18px; line-height: 1.55; max-width: 36em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-md);
  border: 1px solid transparent; background: transparent; color: var(--ink);
  font: 600 16px/22px var(--font-text); text-decoration: none; cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: var(--on-clay); }
.btn--primary:hover { background: var(--clay-strong); color: var(--on-clay); }
.btn--secondary { border-color: var(--hairline); background: var(--surface-raised); color: var(--ink); }
.btn--secondary:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn--large { min-height: 56px; padding: 0 var(--space-6); font-size: 17px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.8; cursor: progress; }
.btn:disabled { cursor: not-allowed; opacity: 0.6; }
.btn svg { flex: none; }

/* ---- Header ---- */
.top { padding: 14px 0; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark path { stroke: var(--clay); }
.brand__word { font: 500 26px/1 var(--font-display); letter-spacing: -0.01em; }
.langs { display: flex; align-items: center; gap: 2px; font: 600 13px/1 var(--font-text); letter-spacing: 0.06em; color: var(--ink-faint); }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 6px; border-radius: var(--radius-pill); color: var(--ink-muted); text-decoration: none; }
.langs a:hover { color: var(--ink); background: var(--surface-sunken); }
.langs a[aria-current="true"] { color: var(--ink); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline); }

/* ---- Hero ---- */
.hero { position: relative; padding: 24px 0 64px; overflow-x: clip; }
.hero__grid { position: relative; display: grid; gap: 56px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: var(--radius-pill);
  background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--hairline);
  font: 600 13px/18px var(--font-text); color: var(--ink-muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
.hero__title {
  margin-top: var(--space-5);
  font: 400 clamp(42px, 11.5vw, 72px)/1.02 var(--font-display); letter-spacing: -0.025em; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--clay); }
.hero__lead { margin-top: var(--space-5); font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 32em; }
.hero__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__actions .btn { width: 100%; }
.ticks { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 14px/20px var(--font-text); color: var(--ink-muted); }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--moss-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5' fill='none' stroke='%233f6e45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__visual::before { /* warm glow behind the phone, faded out well inside its own box */
  content: ""; position: absolute; top: 50%; left: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--clay-soft), transparent); opacity: 0.9; pointer-events: none; z-index: -1;
}
.halo { position: absolute; top: 50%; left: 50%; width: min(470px, 128vw); transform: translate(-50%, -50%) rotate(-12deg); pointer-events: none; z-index: -1; }
.halo path { stroke: var(--clay); stroke-width: 1.1; opacity: 0.3; }

/* ---- Phone frames ---- */
.phone {
  position: relative; width: min(290px, 76vw); padding: 9px; border-radius: 46px;
  background: var(--bezel); box-shadow: var(--shadow-phone);
}
.phone::before { /* the camera island */
  content: ""; position: absolute; top: 19px; left: 50%; width: 27%; height: 6.4%; max-height: 22px; transform: translateX(-50%);
  border-radius: 12px; background: #000; z-index: 1;
}
.phone img { display: block; width: 100%; border-radius: 37px; background: var(--surface); }
.phone--hero { transform: rotate(2deg); }
.phone--peek { padding-bottom: 0; border-radius: 46px 46px 0 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.phone--peek img { border-radius: 37px 37px 0 0; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section--tint { background: var(--surface-raised); border-block: 1px solid var(--hairline); }
.split { display: grid; gap: 48px; align-items: center; }
.split__visual { display: flex; justify-content: center; }
.intro-block { max-width: 640px; }

.steps { margin-top: var(--space-8); display: grid; gap: var(--space-6); counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: start; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--clay-soft); color: var(--clay-strong); font: 500 21px/1 var(--font-display);
}
.step__title { font: 600 19px/26px var(--font-text); margin: 8px 0 4px; }
.step p { color: var(--ink-muted); }

.features { margin-top: var(--space-10); display: grid; gap: var(--space-4); }
.feature {
  display: grid; grid-template-columns: 44px 1fr; column-gap: var(--space-4); align-content: start;
  padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--hairline);
}
.feature__icon {
  grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--clay-soft);
  fill: none; stroke: var(--clay-strong); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature__title { margin-top: 2px; font: 600 18px/25px var(--font-text); }
.feature p { margin-top: var(--space-2); color: var(--ink-muted); font-size: 16px; line-height: 1.55; }

/* ---- Cities ---- */
.card { background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: var(--space-6); }
.card--raised { box-shadow: var(--shadow); }
.cities { margin-top: var(--space-8); display: grid; gap: var(--space-6); }
.city__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-3); }
.city__name { font: 500 24px/1.1 var(--font-display); }
.city__state { font: 600 13px/18px var(--font-text); color: var(--clay-strong); text-align: right; }
.bar { height: 12px; border-radius: var(--radius-pill); background: var(--clay-soft); overflow: hidden; }
.bar__fill {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--clay-strong), var(--clay));
  transition: width 1.2s var(--ease);
}

/* ---- Form ---- */
.section--join { padding-top: 24px; padding-bottom: 88px; scroll-margin-top: 8px; outline: none; }
.join { max-width: 620px; margin: 0 auto; padding: 28px 20px; }
.join .lead { font-size: 17px; }
.form { margin-top: var(--space-8); display: grid; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; font: 600 14px/20px var(--font-text); color: var(--ink); }
.field__hint { font: 400 13px/19px var(--font-text); color: var(--ink-muted); }
.field__error { font: 500 14px/20px var(--font-text); color: var(--brick); }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px; appearance: none; -webkit-appearance: none;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  font: 400 17px/24px var(--font-text); color: var(--ink);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.input:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px var(--slate-soft); }
.input[aria-invalid="true"] { border-color: var(--brick); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--brick-soft); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: translateY(-70%) rotate(45deg);
}
.select { padding-right: 44px; cursor: pointer; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.choice {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; cursor: pointer; font-size: 16px; line-height: 22px;
  border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--surface);
  font-weight: 500; transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.choice:hover { border-color: var(--ink-faint); }
.choice:has(input:checked) { border-color: var(--clay); background: var(--clay-soft); color: var(--clay-strong); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 50%;
  border: 2px solid var(--ink-faint); background: var(--surface-raised); display: grid; place-items: center;
}
.choice input:checked { border-color: var(--clay); background: radial-gradient(var(--clay) 0 4.5px, var(--surface-raised) 5px); }
.choice input:focus-visible { outline: none; }
fieldset[aria-invalid="true"] .choice { border-color: var(--brick); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.consent input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; cursor: pointer;
  border: 2px solid var(--ink-faint); background: var(--surface);
}
.consent input:checked { border-color: var(--clay); background: var(--clay) var(--check) center / 18px no-repeat; }
.consent input[aria-invalid="true"] { border-color: var(--brick); }
.form__error { padding: 12px 16px; border-radius: var(--radius-md); background: var(--brick-soft); color: var(--brick); font-size: 15px; line-height: 22px; }
.form .btn--block { margin-top: var(--space-2); }

.done { text-align: center; padding: var(--space-6) 0 var(--space-2); }
.done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--clay-soft); }
.done__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--clay-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.done h2 { margin-top: var(--space-5); }
.done p { margin: var(--space-3) auto 0; max-width: 28em; color: var(--ink-muted); text-wrap: balance; }
.done .small { margin-top: var(--space-4); }
.done:focus { outline: none; }

/* ---- Notices (confirm / leave links from the emails) ---- */
#notice-slot:empty { display: none; }
.notice {
  position: relative; margin: 8px 0 24px; padding: 28px 22px; border-radius: var(--radius-lg);
  background: var(--surface-raised); border: 1px solid var(--hairline); box-shadow: var(--shadow); overflow: hidden;
}
.notice--welcome { background: linear-gradient(160deg, var(--clay-soft), var(--surface-raised) 65%); border-color: transparent; }
.notice__mark { position: absolute; right: -64px; top: -64px; width: 190px; height: 190px; pointer-events: none; }
.notice__mark path { stroke: var(--clay); stroke-width: 5; opacity: 0.12; }
.notice h2:focus { outline: none; }
.notice .h2 { position: relative; font-size: 30px; max-width: 16em; text-wrap: balance; }
.notice p { position: relative; margin-top: var(--space-3); color: var(--ink-muted); max-width: 34em; }
.notice__actions { position: relative; margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.notice__actions .btn { flex: 1 1 200px; }
.share { position: relative; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--hairline); }
.share__label { font: 600 15px/22px var(--font-text); color: var(--ink); }
.share__url {
  margin-top: var(--space-3); width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-md);
  border: 1px dashed var(--ink-faint); background: var(--surface); color: var(--ink);
  font: 500 15px/22px var(--font-text); text-overflow: ellipsis;
}
.wa { color: #1f8f4e; }
@media (prefers-color-scheme: dark) { .wa { color: #4cc37a; } }
.copied { position: relative; margin-top: var(--space-3); min-height: 20px; font: 500 14px/20px var(--font-text); color: var(--moss); }
.copied:empty { margin: 0; min-height: 0; }
.spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--clay-soft); border-top-color: var(--clay); vertical-align: -3px; margin-right: 8px; }
@media (prefers-reduced-motion: no-preference) { .spinner { animation: spin 0.9s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--hairline); padding: 32px 0 40px; font-size: 15px; color: var(--ink-muted); }
.foot__inner { display: grid; gap: var(--space-5); }
.brand--small { gap: 8px; color: var(--ink-muted); font-weight: 500; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__links a { color: var(--ink-muted); min-height: 32px; display: inline-flex; align-items: center; }
.foot__links a:hover { color: var(--ink); }

/* ---- Larger screens ---- */
@media (min-width: 600px) {
  .wrap { padding: 0 32px; }
  .hero__actions .btn { width: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature:last-child { grid-column: 1 / -1; }
  .join { padding: 44px 48px; }
  .notice { padding: 36px 40px; }
  .notice .h2 { font-size: 36px; }
  .h2 { font-size: 38px; }
}
@media (min-width: 960px) {
  .top { padding: 22px 0; }
  .hero { padding: 32px 0 48px; }
  .halo { width: 560px; }
  .feature { display: block; padding: var(--space-6); }
  .feature__title { margin-top: var(--space-4); }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; }
  .hero__lead { font-size: 20px; }
  .phone { width: 300px; }
  .phone--hero { width: 318px; }
  .section { padding: 96px 0; }
  .section--join { padding-top: 40px; padding-bottom: 120px; }
  .h2 { font-size: 46px; }
  .lead { font-size: 19px; }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .split--reverse .split__visual { order: -1; }
  .features { grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }
  .features .feature { grid-column: span 2; }
  .features .feature:nth-child(n+4) { grid-column: span 3; }
  .foot__inner { grid-template-columns: auto 1fr; align-items: center; }
  .foot__links { justify-content: flex-end; }
}

/* ---- Motion: small, calm, and none at all for "reduce motion" ----
   The logo draws itself and turns on hover; the hero comes in line by line; the phone floats; the halo turns very
   slowly; sections rise in as they scroll into view (landing.js marks them with data-reveal, only when motion is
   allowed, so without JS everything is simply there). Only opacity and transform: no layout work, cheap on old
   phones. */
.hero__title > * { display: inline-block; }
.pill__dot { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .top .brand__mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease) 100ms forwards; }
  .top .brand__mark path + path { animation-delay: 320ms; }
  .brand__mark { transition: transform 900ms var(--ease); transform-origin: 50% 50%; }
  .brand:hover .brand__mark, .brand:focus-visible .brand__mark { transform: rotate(180deg); }

  .halo { animation: halo-turn 90s linear infinite; }
  .halo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1800ms var(--ease) 500ms forwards; }

  .hero__text > * { animation: rise 750ms var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 90ms; }
  .hero__text > :nth-child(3) { animation-delay: 200ms; }
  .hero__text > :nth-child(4) { animation-delay: 300ms; }
  .hero__text > :nth-child(5) { animation-delay: 380ms; }
  .hero__title > * { animation: rise 800ms var(--ease) both; }
  .hero__title > :nth-child(2) { animation-delay: 160ms; }

  .phone--hero { animation: phone-in 1000ms var(--ease) 250ms both, float 7s ease-in-out 1300ms infinite; }

  .pill__dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--clay);
    animation: pulse 2.4s ease-out 1.2s infinite;
  }

  .btn--primary { transition: background 160ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px var(--clay); }
  .btn--primary:active { transform: translateY(0); }

  .motion [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }
  /* The bars fill from empty once their card is on screen. */
  .motion .cities[data-reveal]:not(.is-in) .bar__fill { width: 0 !important; }
  .motion .step[data-reveal] .step__num { transition: transform 500ms var(--ease) calc(var(--i, 0) * 90ms + 250ms); transform: scale(0.6); }
  .motion .step[data-reveal].is-in .step__num { transform: none; }

  /* Confirmed: the welcome panel rises in and the logo turns once, the two arcs meeting. */
  .notice--welcome { animation: rise 700ms var(--ease) both; }
  body:has(.notice--welcome) .top .brand__mark { animation: celebrate 1400ms var(--ease) 400ms both; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(6deg); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes float { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1.4deg) translateY(-10px); } }
@keyframes halo-turn { from { transform: translate(-50%, -50%) rotate(-12deg); } to { transform: translate(-50%, -50%) rotate(348deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes celebrate { 0% { transform: rotate(0); } 60% { transform: rotate(380deg) scale(1.15); } 100% { transform: rotate(360deg); } }
