/* Middy marketing site, in the Coral Pop palette. */

:root {
  --ground: #FFF4EC;
  --ink: #17121F;
  --muted: #5A5363;
  --subtle: #6C6575;
  --coral: #FF4D2E;          /* icons, large type, the "y" */
  --coral-fill: #DB381B;     /* under white labels (AA 4.57:1) */
  --coral-ink: #C33118;      /* small coral text */
  --pink: #FF8FB1;
  --blue: #2F5BFF;
  --on-fill: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.60);
  --glass-thin: rgba(255, 255, 255, 0.50);
  --glass-stroke: rgba(255, 255, 255, 0.85);
  --separator: rgba(255, 255, 255, 0.85);
  --track: rgba(0, 0, 0, 0.05);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 8px 20px rgba(0, 0, 0, 0.16);
  --shadow-badge: 0 4px 10px rgba(0, 0, 0, 0.12);
  --shadow-bar: 0 12px 28px rgba(23, 18, 31, 0.16);
  --blob-coral: rgba(255, 77, 46, 0.34);
  --blob-coral-0: rgba(255, 77, 46, 0);
  --blob-pink: rgba(255, 143, 177, 0.5);
  --blob-pink-0: rgba(255, 143, 177, 0);
  --blob-blue: rgba(47, 91, 255, 0.24);
  --blob-blue-0: rgba(47, 91, 255, 0);
  --radius-card: 26px;
  --radius-pill: 999px;
  --gutter: 16px;
  --max: 1120px;
  --font-display: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* Dark mode is off for now: the site
   renders light whatever the OS asks for. The dark tokens and overrides are
   kept in blocks gated on `not all`, a media query that never matches. To
   bring dark back: replace `not all` in every block tagged DARK-OFF with
   the query named in its tag, set `color-scheme: light dark` on :root,
   and restore the dark theme-color / color-scheme metas in the HTML heads. */
@media not all /* DARK-OFF: (prefers-color-scheme: dark) */ {
  :root {
    --ground: #0E0A13;
    --ink: #F7F3F5;
    --muted: #AEA6B6;
    --subtle: #9A92A6;
    --coral-ink: #FF9077;
    --glass: rgba(40, 32, 54, 0.55);
    --glass-thin: rgba(255, 255, 255, 0.07);
    --glass-stroke: rgba(255, 255, 255, 0.16);
    --separator: rgba(255, 255, 255, 0.10);
    --track: rgba(0, 0, 0, 0.32);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.30);
    --shadow-button: 0 8px 24px rgba(219, 56, 27, 0.40), 0 2px 6px rgba(0, 0, 0, 0.35);
    --blob-coral: rgba(255, 77, 46, 0.18);
    --blob-pink: rgba(255, 143, 177, 0.15);
    --blob-blue: rgba(47, 91, 255, 0.30);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--ground);
  overflow-x: hidden;
}

/* The ambient ground: three static radial blobs on a fixed layer. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(420px 420px at 12% 6%, var(--blob-coral), var(--blob-coral-0) 70%),
    radial-gradient(520px 520px at 92% 28%, var(--blob-pink), var(--blob-pink-0) 70%),
    radial-gradient(460px 460px at 40% 100%, var(--blob-blue), var(--blob-blue-0) 70%),
    var(--ground);
}

@media (prefers-reduced-transparency: reduce) {
  body::before { background: var(--ground); }
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }
a:hover { color: var(--coral-ink); }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--coral-fill);
  color: var(--on-fill);
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-fill); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}
h2 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.3px; }
h3 { font-size: 27px; line-height: 30px; }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: 19px; color: var(--muted); max-width: 40em; }

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-size: 30px;
}
.wordmark .y {
  color: var(--coral);
  display: inline-block;
  transform: translateY(-0.08em) rotate(8deg);
}
.wordmark.tilted { transform: rotate(-3deg); transform-origin: left bottom; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-bar);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover { background: var(--glass-thin); }
.nav-toggle { display: none; }

@media (max-width: 859px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-stroke);
    background: var(--glass-thin);
    color: var(--ink);
    cursor: pointer;
  }
  .site-header .bar { flex-wrap: wrap; border-radius: var(--radius-card); }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .no-js .site-nav { display: block; }
  .no-js .nav-toggle { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 4px 0 8px; }
  .site-nav a { width: 100%; }
  .site-nav .btn { justify-content: center; margin-top: 6px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--coral-fill);
  color: var(--on-fill);
  box-shadow: var(--shadow-button);
}
.btn-primary:hover { color: var(--on-fill); background: #C33118; }
.btn-secondary {
  background: var(--glass);
  border-color: var(--glass-stroke);
  color: var(--ink);
}
.site-nav .btn-primary { color: var(--on-fill); padding: 0 20px; }
.site-nav .btn-primary:hover { background: #C33118; }

/* ---------- Glass ---------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .site-header .bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  :root { --glass: #FFFFFF; }
}
@media not all /* DARK-OFF: (prefers-reduced-transparency: reduce) and (prefers-color-scheme: dark) */ {
  :root { --glass: #1C1722; }
}

.badge {
  display: inline-block;
  transform: rotate(-3deg);
  font-size: 12px;
  font-weight: 700;
  color: var(--on-fill);
  background: var(--blue);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-badge);
  letter-spacing: 0.2px;
}
.badge.coral { background: var(--coral-fill); }
.badge.ink { background: #17121F; }

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

main > section { padding: 56px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 44em; }

/* Hero */
.hero { padding-top: 32px !important; }
.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
}
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 .wordmark { font-size: clamp(76px, 18vw, 136px); }
.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.15;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-note { font-size: 15px; color: var(--muted); }

/* Feature split */
.feature h3 { font-size: 24px; line-height: 1.15; }
.feature p, .feature li { color: var(--muted); font-size: 16px; }
.split { display: grid; gap: 16px; }
@media (min-width: 760px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .split.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: 22px; display: grid; gap: 12px; align-content: start; }
.feature ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.feature .icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-thin); border: 1px solid var(--glass-stroke);
  color: var(--coral);
}
.feature .icon svg { width: 22px; height: 22px; }

/* Phone mockup: the home screen, pure HTML/CSS */
.phone-figure { margin: 0; display: grid; justify-items: center; }
.phone {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  border-radius: 48px;
  padding: 10px;
  background: #17121F;
  box-shadow: 0 30px 60px rgba(23, 18, 31, 0.25);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  aspect-ratio: 390 / 800;
  color: #17121F;
  background:
    radial-gradient(420px 420px at 12% 6%, rgba(255,77,46,.34), rgba(255,77,46,0) 70%),
    radial-gradient(520px 520px at 92% 28%, rgba(255,143,177,.5), rgba(255,143,177,0) 70%),
    radial-gradient(460px 460px at 40% 100%, rgba(47,91,255,.24), rgba(47,91,255,0) 70%),
    #FFF4EC;
  padding: 40px 14px 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; line-height: 1.35;
}
.phone-screen .p-glass {
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.p-top { display: flex; align-items: center; justify-content: space-between; }
.p-top .brand-mini { display: flex; align-items: center; gap: 8px; }
.p-top .brand-mini svg { width: 28px; height: 28px; }
.p-top .wordmark { font-size: 28px; color: #17121F; }
.p-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; }
.p-icon svg { width: 17px; height: 17px; }
.p-card { padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.p-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.p-sub { font-size: 12px; color: #5A5363; }
.p-seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.05); border: 1px solid rgba(255,255,255,.85); }
.p-seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; font-weight: 700; font-size: 12px; }
.p-seg .on { background: #DB381B; color: #FFFFFF; }
.p-who { display: flex; align-items: center; gap: 8px; }
.p-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.p-av.blue { background: #2F5BFF; color: #FFFFFF; }
.p-av.coral { background: #FF4D2E; color: #17121F; }
.p-av.pink { background: #FF8FB1; color: #17121F; }
.p-av.add { border: 2px dashed #5A5363; color: #5A5363; font-size: 18px; font-weight: 400; }
.p-who .hint { font-size: 11px; color: #5A5363; }
.p-btn { text-align: center; font-weight: 700; font-size: 14px; color: #FFFFFF; background: #DB381B; border-radius: 999px; padding: 11px; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.p-label { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 0; }
.p-label .sl { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #5A5363; }
.p-label .badge { font-size: 10px; padding: 4px 10px; }
.p-list { overflow: hidden; }
.p-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.p-row + .p-row { border-top: 1px solid rgba(255,255,255,.85); }
.p-row .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.p-row .name { font-weight: 700; font-size: 14px; }
.p-row .line { font-size: 11px; color: #5A5363; }
.p-tag { font-size: 10px; font-weight: 700; color: #C33118; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.85); }
.p-tabbar {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  height: 56px; border-radius: 28px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 28px rgba(23,18,31,.16), inset 0 1.5px 0 rgba(255,255,255,.95);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 0 4px;
}
.p-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; font-weight: 600; color: #17121F; padding: 5px 0; border-radius: 22px; }
.p-tab svg { width: 20px; height: 20px; }
.p-tab.on { color: #C33118; font-weight: 700; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35)), rgba(255,77,46,.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 4px 12px rgba(23,18,31,.10); }
.phone-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 4px 20px; }
.faq summary {
  min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer;
  font-weight: 700; font-size: 17px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--coral); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 16px; }

/* CTA band */
.cta-band { padding: 28px; display: grid; gap: 16px; justify-items: start; }
.cta-band .section-head { margin: 0; }
@media (min-width: 760px) {
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
}

/* Footer */
.site-footer { padding: 32px 0 48px; }
.site-footer .wrap { display: grid; gap: 16px; }
@media (min-width: 760px) {
  .site-footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 700; }
.site-footer small { color: var(--muted); font-size: 14px; }

/* Legal pages */
.doc { padding: 24px 0 56px; }
.doc article { padding: 24px; max-width: 820px; }
@media (min-width: 760px) { .doc article { padding: 40px 48px; } }
.doc h1 { font-size: clamp(36px, 7vw, 52px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 32px 0 10px; letter-spacing: 0; }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 10px 0 0; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc a { color: var(--coral-ink); font-weight: 700; }
.doc ol { padding-left: 1.2em; display: grid; gap: 6px; margin: 10px 0 0; }
.doc code { font: 500 0.92em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--track); padding: 1px 6px; border-radius: 6px; }
.doc pre { margin: 12px 0 0; padding: 14px 16px; overflow-x: auto; background: var(--ink); color: var(--ground); border-radius: 14px; }
.doc pre code { background: none; padding: 0; color: inherit; font-size: 14px; }
.review-note {
  margin-top: 16px; padding: 12px 16px;
  border-radius: 16px;
  border: 1px dashed var(--muted);
  font-size: 15px; color: var(--muted);
}

/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.lost .glass { padding: 32px 24px; display: grid; gap: 16px; justify-items: center; max-width: 520px; }

/* Motion (the clink mark, the CTA shine, scroll reveal, the banner strip)
   only for people who allow it; under reduced motion everything holds still. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Referral landing ---------- */
.invite .glass { max-width: 560px; }
.invite-code-block { display: grid; gap: 10px; justify-items: center; }
.invite-code-block[hidden], #no-code[hidden] { display: none; }
.invite-code-label { font-size: 13px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); margin: 0; }
.invite-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1.05;
  letter-spacing: 3px;
  color: var(--coral-ink);
  margin: 0;
  user-select: all;
  -webkit-user-select: all;
}
.invite-ctas { justify-content: center; }

/* ---------- Landing hero: kicker, animated clink mark, CTA block ---------- */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid rgba(255, 143, 177, 0.55);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.hero-mark { display: inline-flex; align-items: center; gap: clamp(6px, 1.5vw, 14px); }
.hero-mark .clink { width: clamp(68px, 15vw, 116px); height: auto; flex: none; color: var(--ink); overflow: visible; }

.tagline-pop {
  color: var(--coral-ink);
  white-space: nowrap;
  background: linear-gradient(transparent 72%, rgba(255, 143, 177, 0.55) 72% 92%, transparent 92%);
}

.hero-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 18px;
  margin-left: -18px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 77, 46, 0.16), rgba(255, 77, 46, 0) 60%),
    var(--glass-thin);
  border: 1px solid var(--glass-stroke);
}
@media (max-width: 520px) {
  .hero-cta { margin-left: 0; width: 100%; padding: 14px; }
  .hero-cta .cta-row, .hero-cta .btn-xl { width: 100%; }
}
.btn-xl { min-height: 56px; padding: 16px 26px; font-size: 18px; }
.btn-primary.btn-xl { box-shadow: 0 12px 28px rgba(219, 56, 27, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12); }
.btn-arrow { display: inline-block; font-weight: 800; }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.proof li { display: inline-flex; align-items: center; gap: 6px; }
.proof li::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  background: var(--coral-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The clink: both glasses tip in, touch, settle; the bubbles pop up. */
.clink-glass { transform-box: fill-box; transform-origin: 50% 100%; }
.clink .bubble { transform-box: fill-box; transform-origin: 50% 50%; }

@media (prefers-reduced-motion: no-preference) {
  .clink-left { animation: clink-left 3.6s cubic-bezier(.5, 0, .3, 1) infinite; }
  .clink-right { animation: clink-right 3.6s cubic-bezier(.5, 0, .3, 1) infinite; }
  .clink .bubble { animation: bubble 3.6s ease-out infinite; }
  .clink .b2 { animation-delay: .08s; }
  .clink .b3 { animation-delay: .16s; }
  .btn-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: shine 4.2s ease-in-out 1.2s infinite;
  }
  .btn .btn-arrow { transition: transform .2s ease; }
  .btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(4px); }
  .btn { transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
  .btn-primary:hover { transform: translateY(-1px); }
}
@keyframes clink-left {
  0%, 52%, 100% { transform: rotate(0); }
  62% { transform: rotate(16deg); }
  68% { transform: rotate(9deg); }
  74% { transform: rotate(13deg); }
  86% { transform: rotate(0); }
}
@keyframes clink-right {
  0%, 52%, 100% { transform: rotate(0); }
  62% { transform: rotate(-16deg); }
  68% { transform: rotate(-9deg); }
  74% { transform: rotate(-13deg); }
  86% { transform: rotate(0); }
}
@keyframes bubble {
  0%, 60% { transform: translateY(0) scale(1); opacity: 1; }
  64% { transform: translateY(2px) scale(.6); opacity: .6; }
  76% { transform: translateY(-5px) scale(1.25); opacity: 1; }
  90%, 100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes shine {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}

/* ---------- Hero banner strip (hidden until it has cards) ---------- */

.banner-strip[hidden] { display: none; }
main > section.banner-strip { padding: 4px 0 24px; }
.strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.strip-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  letter-spacing: 0;
}
.strip-mark { width: 28px; height: 28px; flex: none; }
.strip-controls { display: flex; gap: 8px; }
.strip-controls[hidden] { display: none; }
.strip-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-stroke);
  background: var(--glass);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-badge);
}
.strip-btn:hover { color: var(--coral-ink); }
.strip-btn .i-play { display: none; }
.is-paused .strip-btn .i-play { display: block; }
.is-paused .strip-btn .i-pause { display: none; }

.banner-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-card);
  /* Room for the cards' shadows and the focus ring inside the scroller. */
  padding: 6px 4px 18px;
  margin: -6px -4px -18px;
}
.banner-track::-webkit-scrollbar { display: none; }
.banner-track:focus-visible { outline-offset: -3px; }
.banner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 86%);
  gap: 14px;
}
@media (min-width: 700px) { .banner-list { grid-auto-columns: calc((100% - 14px) / 2); } }
@media (min-width: 1000px) { .banner-list { grid-auto-columns: calc((100% - 28px) / 3); } }

.banner-card {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-height: 168px;
  padding: 22px;
  border-radius: var(--radius-card);
  color: #FFFFFF;
  box-shadow: 0 8px 16px rgba(23, 18, 31, 0.16);
  overflow: hidden;
  isolation: isolate;
}
/* A soft highlight blob in the corner, like the ambient ground. */
.banner-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px; height: 220px;
  right: -70px; top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.banner-card.accent-coral { background: linear-gradient(135deg, #C33118, #DB381B 55%, #E5502F); }
.banner-card.accent-blue { background: linear-gradient(135deg, #2347E0, #2F5BFF 60%, #4A70FF); }
.banner-card.accent-ink { background: linear-gradient(135deg, #17121F, #2C2236 60%, #3A2F45); }
.banner-card.accent-pink { background: linear-gradient(135deg, #FF8FB1, #FFA9C2); color: #17121F; }
.banner-body { display: grid; gap: 8px; align-content: start; min-width: 0; flex: 1; }
.banner-title { font-size: 26px; line-height: 1.08; }
.banner-blurb { font-size: 15px; line-height: 1.45; opacity: 0.95; }
.banner-cta {
  justify-self: start;
  align-self: end;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: #17121F;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.banner-cta:hover { color: #C33118; }
.banner-card.accent-pink .banner-cta { background: #17121F; color: #FFFFFF; }
.banner-card.accent-pink .banner-cta:hover { color: #FF8FB1; }
/* The whole card is the link's hit area; the button keeps the focus ring. */
.banner-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-card); }
.banner-cta:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.banner-card.accent-pink .banner-cta:focus-visible { outline-color: #17121F; }
.banner-img {
  flex: none;
  width: 92px; height: 92px;
  align-self: center;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  transform: rotate(4deg);
}
@media (prefers-reduced-motion: no-preference) {
  .banner-card { transition: transform .2s ease, box-shadow .2s ease; }
  .banner-card:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(23, 18, 31, 0.22); }
  .banner-strip:not([hidden]) { animation: strip-in .5s ease-out both; }
}
@keyframes strip-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Scroll reveal (visible without .reveal-ready) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- The closing CTA band ---------- */

.cta-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #FFFFFF;
  border-color: transparent;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #B42A13, #C33118 45%, #DB381B);
  box-shadow: 0 20px 44px rgba(195, 49, 24, 0.32);
}
.cta-final::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px; height: 360px;
  right: -120px; bottom: -200px;
  border-radius: 50%;
  background: rgba(255, 143, 177, 0.35);
}
.cta-final .lede { color: rgba(255, 255, 255, 0.92); }
.cta-final .clink-final { width: 76px; height: 76px; color: #17121F; overflow: visible; }
.cta-final .clink-final path[fill] { fill: #FFF4EC; }
@media (min-width: 760px) {
  .cta-band.cta-final { grid-template-columns: auto 1fr auto; }
}

/* ---------- Content pages ---------- */

.content-page .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.content-page .summary { font-size: 19px; color: var(--muted); margin-top: 8px; }
.content-page .hero-img { width: 100%; height: auto; border-radius: 20px; margin: 20px 0 4px; }
.content-page .body { margin-top: 20px; }
.content-page .body h2 { font-size: 28px; margin: 28px 0 10px; }
.content-page .body h3 { font-size: 22px; margin: 22px 0 8px; }
.content-page .body h4, .content-page .body h5, .content-page .body h6 { font-size: 18px; margin: 18px 0 6px; }
.content-page .body p + p, .content-page .body p + ul, .content-page .body ul + p, .content-page .body p + ol, .content-page .body ol + p { margin-top: 12px; }
.content-page .body img { max-width: 100%; height: auto; border-radius: 16px; margin: 12px 0; }
.content-page .body blockquote {
  margin: 16px 0;
  padding: 6px 0 6px 16px;
  border-left: 4px solid var(--coral);
  color: var(--muted);
}
.content-page .body hr { border: 0; border-top: 1px solid var(--glass-stroke); margin: 24px 0; }
.content-page .page-cta { margin-top: 28px; }
/* .doc a colours body links; the CTA buttons keep their own. */
.content-page .page-cta .btn { font-weight: 700; }
.content-page .page-cta .btn-primary { color: var(--on-fill); }
.content-page .page-cta .btn-secondary { color: var(--ink); }
.content-page [hidden] { display: none; }
.content-loading { color: var(--muted); }
.no-js .content-loading { display: none; }

/* ---------- Landing story: four drawn phone screens (inline SVG) ---------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.section-head.center { text-align: center; justify-items: center; margin-left: auto; margin-right: auto; }
.story {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 14px;
}
@media (min-width: 900px) { .story { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.story li { display: grid; gap: 14px; justify-items: center; align-content: start; text-align: center; }
.story h3 {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.25;
  max-width: 15em;
}
.story-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-right: 8px;
  vertical-align: 2px;
  border-radius: 50%;
  font-size: 16px; line-height: 1;
  color: var(--on-fill);
  background: var(--coral-fill);
}
.story li:nth-child(2) .story-num { background: var(--blue); }
.story li:nth-child(3) .story-num { background: #17121F; }
.story li:nth-child(4) .story-num { background: #B8306F; }
@media not all /* DARK-OFF: (prefers-color-scheme: dark) */ { .story li:nth-child(3) .story-num { background: #4A3F55; } }
.mini-phone {
  width: 100%;
  max-width: 250px;
  padding: 6px;
  border-radius: 32px;
  background: #17121F;
  box-shadow: 0 22px 44px rgba(23, 18, 31, 0.22);
}
@media not all /* DARK-OFF: (prefers-color-scheme: dark) */ {
  .mini-phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 22px 44px rgba(0, 0, 0, 0.45); }
}
.mini-screen {
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 240 / 440;
  background:
    radial-gradient(70% 40% at 10% 4%, rgba(255,77,46,.30), rgba(255,77,46,0) 70%),
    radial-gradient(80% 45% at 96% 34%, rgba(255,143,177,.45), rgba(255,143,177,0) 70%),
    radial-gradient(80% 40% at 40% 100%, rgba(47,91,255,.22), rgba(47,91,255,0) 70%),
    #FFF4EC;
}
.ms { width: 100%; height: 100%; font-family: var(--font-body); fill: #17121F; }
.ms .d { font-family: var(--font-display); font-weight: 800; }
.ms .b { font-weight: 700; }
.ms .m { fill: #5A5363; }
.ms .g { fill: rgba(255, 255, 255, 0.62); stroke: rgba(255, 255, 255, 0.9); }
@media (min-width: 900px) {
  .story li:nth-child(2) { transition-delay: .08s; }
  .story li:nth-child(3) { transition-delay: .16s; }
  .story li:nth-child(4) { transition-delay: .24s; }
}

/* Fairness illustration */
.fair-card { padding: 24px 20px; display: grid; gap: 20px; }
@media (min-width: 900px) {
  .fair-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; padding: 36px 40px; column-gap: 40px; }
  .fair-card .section-head { margin: 0; }
  .fair-key { grid-column: 1 / -1; }
}
.fair-card .section-head { margin-bottom: 0; }
.fair-art { width: 100%; height: auto; font-family: var(--font-body); }
.f-street { stroke: var(--ink); stroke-opacity: .06; }
.f-transit { stroke: #2F5BFF; }
.f-wheel { fill: var(--ink); }
.f-mid { stroke: var(--muted); }
.f-muted { fill: var(--muted); font-weight: 700; }
.f-ink { fill: var(--ink); font-weight: 700; }
.f-b { font-weight: 700; }
.f-pick { fill: var(--coral-ink); font-family: var(--font-display); font-weight: 800; }
@media not all /* DARK-OFF: (prefers-color-scheme: dark) */ { .f-transit { stroke: #7C97FF; } }
.fair-key {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 15px; font-weight: 700; color: var(--muted);
}
.fair-key li { display: inline-flex; align-items: center; gap: 8px; }
.fair-key .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot.blue { background: var(--blue); }
.dot.pink { background: var(--pink); }
.dot.coral { background: var(--coral); }

/* Privacy, as one illustrated line */
.privacy-line { padding: 20px; display: grid; gap: 14px; justify-items: start; }
.privacy-art { width: 76px; height: 76px; }
.privacy-copy { display: grid; gap: 6px; }
.privacy-copy h2 { font-size: clamp(26px, 4vw, 34px); }
.privacy-copy p { color: var(--muted); font-size: 17px; }
@media (min-width: 760px) {
  .privacy-line { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px 32px; }
}

/* Gentle life in the drawings, only for people who allow motion */
.ms .fuzz, .privacy-art .fuzz, .ring-pulse { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .ms .fuzz, .privacy-art .fuzz { animation: fuzz 4s ease-in-out infinite; }
  .ms .f2 { animation-delay: -1.3s; }
  .ms .f3 { animation-delay: -2.6s; }
  .ring-pulse { animation: ring 2.4s ease-in-out infinite; }
  .ms .route { animation: route 1.6s linear infinite; }
}
@keyframes fuzz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ring { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes route { to { stroke-dashoffset: -16; } }

/* ---------- Partners page ---------- */

.partners-hero { padding-top: 24px !important; }
.partners-hero .section-head { margin-bottom: 0; }
.partners-hero h1 { font-size: clamp(40px, 8vw, 64px); }
.partner-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner-card { padding: 24px; display: grid; gap: 14px; align-content: start; }
.partner-card h2 { font-size: clamp(26px, 4vw, 32px); }
.partner-card p { color: var(--muted); }
.partner-art { width: 100%; max-width: 320px; height: auto; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks li::before {
  content: "";
  width: 20px; height: 20px; flex: none; margin-top: 3px;
  border-radius: 50%;
  background: var(--coral-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.partner-card .btn { justify-self: start; }
.partner-card .text-link { color: var(--coral-ink); font-weight: 700; }
