/* SynStrategy - synstrategy.org */

:root {
  /* Neutrals */
  --paper: #fafaf7;
  --paper-2: #f1f0e8;
  --paper-3: #eae9df;
  --ink: #14231e;
  --ink-2: #47554f;
  --ink-3: #6b776f;
  --line: #e3e2d7;
  --line-2: #d5d4c7;

  /* Brand — from the icon */
  --teal: #0e8c7c;
  --teal-deep: #0a6156;
  --teal-ink: #073029;      /* dark sections */
  --teal-ink-2: #0a3f36;
  --green: #2fb24a;
  --green-600: #1f9c3b;
  --green-700: #17862f;
  --amber: #f2b01e;
  --orange: #f2701b;
  --crimson: #c21a4a;
  --indigo: #1a1546;

  --spectrum: linear-gradient(90deg, #2fb24a 0%, #8cc63f 26%, #f2b01e 52%, #f2701b 74%, #c21a4a 100%);
  --spectrum-soft: linear-gradient(90deg, #2fb24a22, #f2b01e22, #c21a4a22);

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 30, .05), 0 2px 8px rgba(20, 35, 30, .04);
  --shadow-md: 0 6px 20px rgba(20, 35, 30, .08), 0 2px 6px rgba(20, 35, 30, .05);
  --shadow-lg: 0 24px 60px rgba(10, 60, 52, .16), 0 8px 24px rgba(20, 35, 30, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

/* ---------- Eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--spectrum);
  border-radius: 2px;
}
.eyebrow .idx { color: var(--crimson); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(31, 156, 59, .28); }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px 10px 16px;
  border-radius: 13px;
  border: 1px solid var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s;
  min-width: 168px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge svg { flex: none; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge .st small { font-size: 10.5px; letter-spacing: .04em; opacity: .82; font-weight: 400; }
.store-badge .st strong { font-size: 17px; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; }
.store-badge.soon { opacity: .78; }
.store-badge.soon .tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em;
  background: var(--amber); color: #3a2b00; padding: 2px 6px; border-radius: 5px; margin-left: 2px;
}
/* on-dark inversion */
.on-dark .store-badge { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(20,35,30,.04); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.005em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand .tm { font-size: 0.82em; vertical-align: super; color: currentColor; opacity: .65; font-family: inherit; margin-left: -0.55em; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; margin-right: -6px; }
.nav-toggle .i-close { display: none; }
.nav-toggle.is-open .i-menu { display: none; }
.nav-toggle.is-open .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin: 22px 0 0;
}
.hero h1 .accent {
  background: var(--spectrum);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-2);
}
.hero-stats b { color: var(--ink); font-weight: 600; }
.hero-stats .dot { color: var(--line-2); }

/* Hero visual: phone + spectrum glow + route chips */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.glow {
  position: absolute; inset: 0; margin: auto;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #f2701b55, #f2b01e33 34%, #2fb24a22 55%, transparent 70%);
  filter: blur(18px); z-index: 0;
  animation: pulse 7s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.9;} 50%{ transform: scale(1.06); opacity:1;} }

.route-chip {
  position: absolute; z-index: 3;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,.9); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.route-chip i { font-style: normal; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.rc1 { top: 6%; left: -4%; } .rc1 i { background: var(--green); }
.rc2 { top: 30%; right: -6%; } .rc2 i { background: var(--amber); }
.rc3 { bottom: 20%; left: -6%; } .rc3 i { background: var(--orange); }
.rc4 { bottom: 2%; right: 2%; } .rc4 i { background: var(--crimson); }

/* ---------- Device / screenshot frame ----------
   The screenshots already include the status bar + dynamic island,
   so we don't add a fake bezel — just a clean rounded screen with a
   hairline edge and shadow. */
.device {
  position: relative; z-index: 2;
  width: min(300px, 74vw);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.device img { display: block; width: 100%; height: auto; border-radius: inherit; background: #fff; }
.device.tilt { transform: rotate(-2deg); }

/* ---------- Section rhythm ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.section-head .sub { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin-top: 18px; }
.band-tint { background: var(--paper-2); border-block: 1px solid var(--line); }

/* ---------- The approach / convergence ---------- */
.approach-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: 46px; }
.converge { width: 100%; height: auto; overflow: visible; }
.converge .flow { fill: none; stroke-width: 2.4; stroke-linecap: round; opacity: .95; }
/* Each line is dashed to its own measured length by script, which is what hides
   it before the draw. No script means no dash, so the lines simply show. */
.converge .flow.animate { animation: draw .85s var(--ease) forwards; }
.converge .flow.f2.animate { animation-delay: .12s; }
.converge .flow.f3.animate { animation-delay: .24s; }
.converge .flow.f4.animate { animation-delay: .36s; }
.converge .flow.f5.animate { animation-delay: .48s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.converge .r-label { font-family: var(--font-mono); font-size: 17px; font-weight: 500; fill: var(--ink); }
.converge .target-ring { fill: #fff; stroke: var(--crimson); stroke-width: 2.5; }
.converge .target-oh { font-family: var(--font-display); font-weight: 600; font-size: 26px; fill: var(--crimson); }
.converge .target-cap { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-3); letter-spacing: .08em; }
.approach-note { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.approach-note strong { color: var(--ink); font-weight: 600; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--spectrum);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card:hover::after { transform: scaleX(1); }
.card .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--paper-2); margin-bottom: 18px; color: var(--teal-deep); }
.card h3 { font-size: 20px; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-top: 10px; }
.card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--crimson); margin-top: 14px; letter-spacing: .04em; }

/* ---------- Study split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { display: flex; gap: 20px; justify-content: center; }
.split-media .device { width: min(240px, 60vw); }
.split-media .device:nth-child(2) { margin-top: 44px; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checklist svg { flex: none; margin-top: 3px; color: var(--green-600); }
.checklist b { color: var(--ink); font-weight: 600; }

/* ---------- Features (alternating rows) ---------- */
.features-rows { display: grid; gap: clamp(56px, 9vw, 108px); margin-top: 58px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.frow-media { order: 2; display: flex; justify-content: center; position: relative; }
.frow:nth-child(even) .frow-media { order: 0; }
.frow-media::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 80%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--glow, #2fb24a) 0%, transparent 66%);
  filter: blur(52px); opacity: .34; pointer-events: none;
}
.frow:nth-child(1) .frow-media { --glow: #2fb24a; }
.frow:nth-child(2) .frow-media { --glow: #7cc23f; }
.frow:nth-child(3) .frow-media { --glow: #f2b01e; }
.frow:nth-child(4) .frow-media { --glow: #f2851b; }
.frow:nth-child(5) .frow-media { --glow: #ef5f2a; }
.frow:nth-child(6) .frow-media { --glow: #c21a4a; }
.frow-media .device { width: min(250px, 72vw); position: relative; z-index: 1; }
.frow-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--teal-deep);
  letter-spacing: .12em; display: inline-flex; align-items: center; gap: 10px;
}
.frow-num::before { content: ""; width: 22px; height: 2px; background: var(--spectrum); border-radius: 2px; }
.frow-text h3 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -.01em; margin-top: 16px; }
.frow-text p { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); margin-top: 16px; max-width: 34em; }
.frow-text .meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--crimson); margin-top: 18px; letter-spacing: .04em; }

/* multi-screenshot rows: staggered phones with breathing room */
.frow-media.shots-2, .frow-media.shots-3 { align-items: flex-start; }
.frow-media.shots-2 { gap: 26px; }
.frow-media.shots-2 .device { width: min(220px, 42vw); }
.frow-media.shots-2 .device:nth-child(2) { margin-top: 46px; }
.frow-media.shots-3 { gap: 20px; }
.frow-media.shots-3 .device { width: min(152px, 27vw); }
.frow-media.shots-3 .device:nth-child(2) { margin-top: 32px; }
.frow-media.shots-3 .device:nth-child(3) { margin-top: 64px; }
.frow-study .checklist { margin-top: 22px; }

@media (max-width: 820px) {
  .frow { grid-template-columns: 1fr; gap: 22px; }
  /* single column: heading + text first, screenshot below */
  .frow-media, .frow:nth-child(even) .frow-media { order: 2; }
  .frow-media { justify-content: center; }
  .frow-media .device { width: min(208px, 56vw); }
  .frow-text { text-align: left; }
  .frow-media.shots-2 { gap: 16px; }
  .frow-media.shots-2 .device { width: min(168px, 42vw); }
  .frow-media.shots-2 .device:nth-child(2) { margin-top: 28px; }
  .frow-media.shots-3 { gap: 11px; }
  .frow-media.shots-3 .device { width: min(124px, 27vw); }
  .frow-media.shots-3 .device:nth-child(2) { margin-top: 20px; }
  .frow-media.shots-3 .device:nth-child(3) { margin-top: 40px; }
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--teal-ink); color: #eef6f3; }
.stats-band .container { padding-block: clamp(52px, 7vw, 84px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.03em; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat .l { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: #a9c6bd; margin-top: 6px; text-transform: uppercase; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); text-align: center; }
.about-card .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: block; object-fit: cover; background: var(--paper-2); }
.about-card .who { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.about-card .role { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); margin-top: 6px; letter-spacing: .03em; }
.about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.about-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--teal-deep);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px;
  transition: border-color .15s, background .15s, color .15s;
}
.about-links a:hover { border-color: var(--teal); background: var(--paper-2); }
.about-links a svg { flex: none; }
.about-body p { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); text-align: justify; hyphens: auto; }
.about-body p + p { margin-top: 18px; }
.nw { white-space: nowrap; }
.about-body strong { color: var(--ink); font-weight: 600; }
.about-body .cite { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); margin-top: 22px; padding-left: 16px; border-left: 2px solid; border-image: var(--spectrum) 1; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-weight: 500; font-size: 18.5px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--teal-deep); font-family: var(--font-body); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); font-size: 16px; padding: 0 20px 24px 0; margin-top: -4px; max-width: 72ch; }
.faq details p a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-ink); color: #fff; overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 80%; background: radial-gradient(ellipse at 50% 100%, #f2701b33, transparent 62%); pointer-events: none; }
.cta-inner { text-align: center; padding-block: clamp(60px, 8vw, 100px); position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(30px, 4.5vw, 50px); }
.cta-inner p { color: #bcd6cd; margin: 18px auto 0; max-width: 40em; font-size: 18px; }
.cta-inner .stores { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
/* Links under the download buttons */
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 30px; }
.cta-links a { font-size: 15px; color: #bcd6cd; transition: color .15s; }
.cta-links a:hover { color: #fff; }

.site-footer { background: var(--teal-ink-2); color: #cfe0da; padding: 46px 0 44px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-inner .brand { color: #fff; }
.footer-copy { font-family: var(--font-mono); font-size: 13px; color: #8fb3a8; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow { animation: none !important; }
  /* The diagram's script is skipped entirely under reduced motion, so its
     lines are never dashed and never animate. Nothing to override here. */
}

/* ---------- Legal / support page ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 90px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); }
.legal .updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal h3 { font-size: 18px; margin-top: 28px; }
.legal h2 + p, .legal h3 + p { margin-top: 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal .backlink { font-family: var(--font-mono); font-size: 13px; display: inline-flex; gap: 8px; margin-bottom: 30px; color: var(--teal-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  /* Single column: headline and buttons first, then the screenshot,
     with the stat line last. Flattening .hero-copy lets its children be
     ordered against the screenshot, which is a sibling of it. */
  .hero { padding-top: 26px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-copy { display: contents; }
  /* The hero is the first thing on screen, so nothing in it should wait for
     a scroll to appear. In one column the screenshot sits below the fold and
     would otherwise stay blank until the page is nudged. */
  .hero-copy.reveal, .hero-visual.reveal { opacity: 1; transform: none; }
  .hero h1 { order: 1; margin-top: 0; font-size: clamp(42px, 11vw, 52px); }
  .hero .lede { order: 2; }
  /* Centre the copy as a block while keeping the text left aligned, so the
     headline and lede share a left edge instead of the headline hugging the
     window on wide single-column layouts. */
  .hero h1, .hero .lede { max-width: 560px; margin-inline: auto; }
  .hero-actions { order: 3; }
  .hero-visual {
    order: 4; min-height: 360px;
    margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line);
  }
  .hero-stats { order: 5; margin-top: 28px; }
  /* Single column leaves less room beside the phone, so pull the reaction
     labels further out and nudge them off the tiles they were covering. */
  .route-chip { padding: 5px 10px; }
  /* Sit them just outside the phone, but never past the window edge on very
     narrow screens. The max() floor is what stops them being clipped. */
  .rc1 { top: 11%; left: max(-16px, calc(50% - 178px)); }
  .rc2 { top: 27.5%; right: max(-16px, calc(50% - 178px)); }
  .rc3 { bottom: 22%; left: max(-16px, calc(50% - 178px)); }
  .rc4 { bottom: 2%; right: max(-16px, calc(50% - 178px)); }
  .approach-grid { grid-template-columns: 1fr; }
  /* The diagram scales with its container, so an unbounded width blows the
     labels up on wide single-column windows. Cap it near its natural size. */
  .converge { max-width: 560px; margin-inline: auto; display: block; }
  .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { max-width: 300px; justify-self: center; }
  /* single column: centre the download buttons and the stat line */
  .hero-actions { justify-content: center; }
  .hero-actions .stores { justify-content: center; }
  .hero-stats { justify-content: center; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  /* keep the store button on phones, slightly compact */
  .nav-cta { gap: 8px; }
  .nav-cta .btn-ghost { padding: 10px 15px; font-size: 15px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 30px; height: 30px; }
  .features { grid-template-columns: 1fr; }
  .footer-cols { gap: 36px; }
  .hero-stats { font-size: 12.5px; gap: 6px 18px; }
  .route-chip { font-size: 11px; }
  /* narrow column: drop justification and word-breaking hyphens */
  .about-body p { text-align: left; hyphens: none; -webkit-hyphens: none; }
}
@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .stores { gap: 10px; }
  .store-badge { min-width: 0; flex: 1 1 auto; justify-content: center; }
}

/* mobile nav sheet */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 92px 24px 32px; overflow-y: auto; }
.mobile-menu > a { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .stores { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
.mobile-menu .store-badge { display: flex; justify-content: center; width: 100%; min-width: 0; flex: none; }
