/* ============================================================
   Whimate — landing page styles
   Brand: warm cream, ink borders, hard offset shadows,
   coral + butter-yellow accents, JetBrains Mono + Caveat.
   Matches the real app UI (1.5px strokes, 2px offset shadows).
   ============================================================ */

/* Self-hosted latin subsets (see assets/fonts) — no third-party CSS round trip */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/home/assets/fonts/caveat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/home/assets/fonts/jetbrains-mono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #ee6c4d;        /* coral — primary action */
  --brand-dark: #d85535;
  --brand-text: #b23f20;   /* coral for small text on cream (>=4.5:1) */
  --brand-light: #fde2d9;

  --accent: #f4cf61;       /* app-icon yellow */
  --accent-light: #fbedb7;
  --green: #a4c9a7;        /* the wordmark's online dot */
  --mark-gray: #8c8c8c;

  --ink: #1a1714;          /* text + borders */
  --text-muted: #6b6258;

  --bg: #f4eddd;           /* warm cream */
  --surface: #ffffff;
  --surface-hover: #fbf6e9;
  --surface-muted: #f0e8d4;

  --on-dark: #f4eddd;
  --on-dark-soft: #beb5a6;

  /* the app's drawn-on-paper strokes */
  --stroke: 1.5px;
  --stroke-heavy: 2px;
  --shadow-hard: 0 2px 0 0 var(--ink);
  --shadow-card: 0 3px 0 0 var(--ink);
  --shadow-pop: 0 5px 0 0 var(--ink);

  --radius: 16px;
  --radius-lg: 22px;

  --font-display: "Caveat", "Bradley Hand", cursive;
  --font-body: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 0.68, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);

  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: inline-block; vertical-align: middle; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site-footer :focus-visible { outline-color: var(--accent); }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  padding: 10px 16px; font-weight: 700; font-size: 0.85rem;
  background: var(--surface); border: var(--stroke-heavy) solid var(--ink);
  border-radius: 999px; box-shadow: var(--shadow-hard);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.dot { margin: 0 8px; }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.container-narrow { width: min(720px, 92vw); }

.section { padding: clamp(72px, 10vw, 112px) 0; }

.section-tint {
  background: var(--surface-muted);
  border-top: var(--stroke-heavy) solid var(--ink);
  border-bottom: var(--stroke-heavy) solid var(--ink);
}

/* script accent — the app's handwritten voice. Never inherit the mono
   headline's negative tracking: it jams a connected hand. */
.grad-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3em;
  line-height: 0.85;
  letter-spacing: 0;
  color: var(--brand-dark);
  display: inline-block;
  padding-inline: 0.04em;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-text);
  margin-bottom: 14px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-hard);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

/* the press is the best micro-interaction on the page — it fires on touch too */
.btn:active { transform: translateY(2px); box-shadow: none; }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-primary { background: var(--brand); color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--ink); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 var(--ink); }
  .btn:active { transform: translateY(2px); box-shadow: none; }
  .btn-primary:hover { background: #f07a5e; }
  .btn-ghost:hover { background: var(--surface-hover); }
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 237, 221, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--stroke-heavy) solid var(--ink);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 3px 0 0 var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1;
}

.logo-dot, .app-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.logo-dot { align-self: flex-start; margin: 8px 0 0 -4px; }

/* a quiet ring pulse — "someone's around" */
.logo-dot::after, .app-dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: dot-ring 2.8s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

@keyframes dot-ring {
  0%        { scale: 0.6; opacity: 0.8; }
  70%, 100% { scale: 2.2; opacity: 0; }
}

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a:not(.btn) {
  position: relative;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  padding: 10px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* hand-drawn underline: draws on hover, stays on the section you're in */
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-dark);
  transform: scaleX(0) rotate(-1deg);
  transform-origin: 0 60%;
  transition: transform 0.25s var(--ease-snap);
}

.main-nav a[aria-current="true"]::after { transform: scaleX(1) rotate(-1deg); }

@media (hover: hover) {
  .main-nav a:not(.btn):hover { color: var(--brand-text); }
  .main-nav a:not(.btn):hover::after { transform: scaleX(1) rotate(-1deg); }
}

.main-nav .btn { white-space: nowrap; }

.nav-signin { opacity: 0.72; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px; min-height: 44px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* desktop: links centred on the page, CTA + sign-in anchoring the right edge */
@media (min-width: 881px) {
  .main-nav { flex: 1; justify-content: center; }
  .main-nav a:not(.btn):first-child { margin-left: auto; }
  .main-nav .nav-cta { margin-left: auto; }
  .nav-signin { margin-left: -8px; }
  .header-actions { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: min(100svh, 780px);
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 88px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

/* one butter-yellow wash — soft edge baked into the gradient (no filter cost) */
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: blob-in 1.4s ease-out both, blob-drift 24s ease-in-out 1.4s infinite alternate;
}

.blob-1 {
  width: 760px; height: 760px;
  top: -300px; left: -260px;
  opacity: 0.55;
  background: radial-gradient(closest-side, var(--accent) 0%, rgba(244, 207, 97, 0.45) 55%, transparent 100%);
}

@keyframes blob-in { from { opacity: 0; } }

@keyframes blob-drift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(50px, -30px); }
  100% { transform: translate(-30px, 40px); }
}

/* graph-paper dot grid — the sketchbook texture */
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image: radial-gradient(rgba(26, 23, 20, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

/* a flat torn-paper coral corner instead of a blurred pink stain */
.paper-corner {
  position: absolute;
  right: -70px; bottom: -50px;
  width: 280px; height: 130px;
  background: var(--brand-light);
  border: var(--stroke-heavy) solid var(--ink);
  border-radius: 60% 40% 55% 45%;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.hero-center {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.chip {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-hard);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 26px;
}

.hero h1 .grad-text { font-size: 1.42em; }

.whim-word { position: relative; display: inline-block; }

/* the one hand-drawn beat: an ink underline that draws itself after the headline lands */
.whim-underline {
  position: absolute;
  left: 2%; bottom: -0.08em;
  width: 96%; height: 0.2em;
  overflow: visible;
}

.whim-underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-line 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.95s forwards;
}

@keyframes draw-line { to { stroke-dashoffset: 0; } }

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 26px;
}

.btn-lg { padding: 18px 50px; font-size: 1.05rem; border-width: var(--stroke-heavy); }

.hero-alt-link {
  display: inline-block;
  padding: 10px 4px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

@media (hover: hover) { .hero-alt-link:hover { color: var(--brand-text); } }

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- scroll cue (retires once you've scrolled) --- */

.scroll-cue {
  position: absolute;
  bottom: 14px;
  left: 50%;
  translate: -50% 0;
  padding: 13px;              /* 44px hit area around a small glyph */
  opacity: 0.65;
  transition: opacity 0.3s ease, translate 0.3s ease;
}

.scroll-cue.gone { opacity: 0; translate: -50% 8px; pointer-events: none; }

@media (hover: hover) { .scroll-cue:hover { opacity: 1; } }

.mouse {
  display: block;
  width: 24px; height: 38px;
  border: var(--stroke-heavy) solid var(--ink);
  border-radius: 14px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 7px; left: 50%;
  translate: -50% 0;
  width: 3px; height: 7px;
  border-radius: 3px;
  background: var(--ink);
  animation: wheel-drop 1.8s ease-in-out infinite;
}

@keyframes wheel-drop {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-chevron {
  display: none;
  width: 18px; height: 18px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-radius: 2px;
  animation: chevron-bob 1.8s ease-in-out infinite;
}

@keyframes chevron-bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50%      { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

@media (max-width: 960px), (pointer: coarse) {
  .scroll-cue .mouse { display: none; }
  .scroll-chevron { display: block; }
}

/* --- hero entrance --- */

.js .anim-up {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.7s var(--ease-out) forwards;
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Ticker
   ============================================================ */

.ticker {
  position: relative;
  background: var(--surface-muted);
  border-top: var(--stroke-heavy) solid var(--ink);
  border-bottom: var(--stroke-heavy) solid var(--ink);
  padding: 30px 0 34px;
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

/* no flex gap: with margin-right on every item, translateX(-50%) lands
   exactly on the first clone, so the loop wraps without a visible snap */
.marquee-track {
  list-style: none;
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 36s linear infinite;
}

@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }

.marquee-track li {
  flex: 0 0 auto;
  margin-right: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-hard);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* paused / reduced motion: the strip becomes a static chip cloud — every whim readable */
body.motion-paused .marquee,
.reduce-motion .marquee {
  mask-image: none; -webkit-mask-image: none;
}
body.motion-paused .marquee-track,
.reduce-motion .marquee-track {
  width: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transform: none;
  animation: none;
}
body.motion-paused .marquee-track li,
.reduce-motion .marquee-track li { margin-right: 0; }
body.motion-paused .marquee-track [aria-hidden="true"],
.reduce-motion .marquee-track [aria-hidden="true"] { display: none; }

.ticker-controls {
  position: absolute;
  right: max(16px, 4vw);
  bottom: 6px;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: var(--stroke) solid transparent;
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 32px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.motion-toggle:focus-visible,
.motion-toggle[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

@media (hover: hover) {
  .motion-toggle:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
}

/* accessible pause for every infinite animation (WCAG 2.2.2) */
body.motion-paused .blob,
body.motion-paused .float-card,
body.motion-paused .phone-tilt,
body.motion-paused .logo-dot::after,
body.motion-paused .app-dot::after,
body.motion-paused .wheel,
body.motion-paused .scroll-chevron,
body.motion-paused .wi-caret,
body.motion-paused .chip-caret,
body.motion-paused .whim-card,
body.motion-paused .ma {
  animation-play-state: paused !important;
}

/* off-screen sections stop burning frames */
.offscreen .blob,
.offscreen .marquee-track,
.offscreen .float-card,
.offscreen .phone-tilt,
.offscreen .wi-caret,
.offscreen .wheel,
.offscreen .scroll-chevron {
  animation-play-state: paused;
}

/* ============================================================
   How it works
   ============================================================ */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step {
  position: relative;
  display: grid;
  grid-template-rows: auto 150px auto 1fr;
  background: var(--surface);
  border: var(--stroke-heavy) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 26px 30px;
  color: var(--ink);
}

/* a drawn number badge, not a floating label */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: var(--shadow-hard);
}

.step-art {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 16px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--text-muted); font-size: 0.88rem; }

.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-muted);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  padding: 11px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 42px;
}

.chip-caret {
  width: 2px; height: 15px;
  background: var(--brand-dark);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.match-avatars { position: relative; display: flex; align-items: center; }

.ma {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: var(--stroke) solid var(--ink);
  font-size: 1rem;
  color: var(--ink);
}

.ma + .ma { margin-left: -14px; }

.m1 { background: var(--accent); }
.m2 { background: var(--brand-light); }
.m3 { background: var(--green); }

/* story beats play when the card scrolls into view (JS adds .visible) */
.js .ma { transform: scale(0); }
.step.visible .m1 { animation: avatar-pop 0.5s var(--ease-spring) 0.3s both; }
.step.visible .m2 { animation: avatar-pop 0.5s var(--ease-spring) 0.45s both; }
.step.visible .m3 { animation: avatar-pop 0.5s var(--ease-spring) 0.6s both; }

@keyframes avatar-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.ma-badge {
  margin-left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--brand);
  color: var(--ink);
  border: var(--stroke) solid var(--ink);
  box-shadow: var(--shadow-hard);
  padding: 5px 13px;
  border-radius: 999px;
}

.js .ma-badge { opacity: 0; transform: translateX(-6px) rotate(-6deg); }
.step.visible .ma-badge {
  opacity: 1; transform: none;
  transition: opacity 0.3s ease 0.85s, transform 0.45s var(--ease-spring) 0.85s;
}

.mini-plan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-plan span {
  background: var(--surface-muted);
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  padding: 6px 12px;
}

.js .mini-plan span { opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.4s var(--ease-out); }
.step.visible .mini-plan span { opacity: 1; transform: none; }
.step.visible .mini-plan span:nth-child(1) { transition-delay: 0.3s; }
.step.visible .mini-plan span:nth-child(2) { transition-delay: 0.45s; }
.step.visible .mini-plan span:nth-child(3) { transition-delay: 0.6s; }

/* ============================================================
   Feature spotlights
   ============================================================ */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-top: clamp(60px, 8vw, 100px);
}

.section-head + .spotlight { margin-top: 0; }

.spotlight.flip .spot-copy { order: 2; }
.spotlight.flip .spot-media { order: 1; }

.spot-media {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
  padding-inline: 40px;
}

.spot-media .shot-frame { width: min(280px, 74vw); }

@media (hover: hover) { .spot-media:hover .shot-frame { transform: translateY(-6px) rotate(-1deg); } }

.spot-copy .kicker { margin-bottom: 10px; }

.spot-copy h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  margin: 2px 0 16px;
}

.spot-copy > p:not(.kicker) {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.spot-note {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  font-size: 0.88rem;
}

.mid-cta {
  text-align: center;
  margin-top: clamp(56px, 7vw, 88px);
}

.mid-cta p { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-muted); margin-bottom: 14px; }

/* --- safety pillars --- */

.pillar { display: flex; gap: 16px; align-items: flex-start; }

.pillar + .pillar { margin-top: 22px; }

.pillar-icon {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 12px;
  border: var(--stroke) solid var(--ink);
  background: var(--accent-light);
  box-shadow: var(--shadow-hard);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar h3 { font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -0.02em; }
.pillar p { color: var(--text-muted); font-size: 0.88rem; }

/* --- the CSS-built feed phone (same frame recipe as the real screenshots) --- */

.phone-tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out;
  will-change: transform;
  animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

.phone {
  width: min(290px, 74vw);
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow-pop);
  position: relative;
}

.phone-screen {
  height: 100%;
  border-radius: 27px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 12px;
  color: var(--ink);
  text-align: left;
}

.app-status {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 10px;
  padding-left: 6px;
}

.app-header { display: flex; align-items: baseline; gap: 4px; padding: 0 4px; }

.app-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

.app-dot { width: 7px; height: 7px; translate: 2px -8px; }

.app-tagline { font-size: 0.68rem; color: var(--text-muted); padding: 2px 4px 10px; }

.app-cta {
  background: var(--brand);
  color: var(--ink);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-hard);
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.whim-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.wi-icon { color: var(--brand-dark); }
.wi-text { white-space: nowrap; overflow: hidden; }

.wi-caret {
  width: 2px; height: 12px;
  background: var(--brand-dark);
  animation: caret-blink 1s steps(1) infinite;
}

.whim-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding-bottom: 6px;
  mask-image: linear-gradient(#000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(#000 72%, transparent 100%);
}

.whim-card {
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-hard);
  padding: 10px 12px;
  animation: card-in 0.45s var(--ease-out) both;
}

.whim-card.leaving { animation: card-out 0.4s ease both; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes card-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-16px) scale(0.96); }
}

.wc-head { display: flex; align-items: center; gap: 8px; }

.wc-avatar {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  border: var(--stroke) solid var(--ink);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.wc-who { flex: 1; min-width: 0; line-height: 1.3; }
.wc-who b { display: block; font-size: 0.7rem; }
.wc-who i { font-style: normal; font-size: 0.58rem; color: var(--text-muted); }

.wc-left { font-size: 0.56rem; color: var(--text-muted); white-space: nowrap; }

.wc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  margin: 7px 0 6px;
}

.wc-chips { display: flex; flex-wrap: wrap; gap: 4px; }

.wc-chips span {
  font-size: 0.54rem;
  font-weight: 700;
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--surface-muted);
  white-space: nowrap;
}

.app-tabbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px 0;
  border-top: var(--stroke) solid var(--ink);
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tab svg { width: 18px; height: 18px; }
.tab small { font-size: 0.5rem; font-weight: 700; letter-spacing: 0; }
.tab.active { color: var(--ink); }

.tab.active .tab-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: var(--stroke) solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
}

/* --- floating sticker cards: on the bezel, never on the content --- */

.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.72rem;
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 9px 13px;
  white-space: nowrap;
  animation: float-bob 6s ease-in-out infinite;
}

.fc-emoji { font-size: 1rem; }

/* anchored to the bezel: a card's inner edge lands 20px inside the phone's edge */
.fc1 { top: 14%; right: calc(100% - 28px); animation-delay: -1s; }
.fc2 { bottom: 32%; left: calc(100% - 20px); animation-delay: -3s; }
.fc3 { bottom: 9%; right: calc(100% - 44px); animation-delay: -5s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* pop in with overshoot once the phone has landed (scale composes with float-bob's transform) */
.js .float-card { opacity: 0; scale: 0.6; transition: opacity 0.35s ease, scale 0.55s var(--ease-spring); }
.spot-media.visible .fc1 { opacity: 1; scale: 1; transition-delay: 0.7s; }
.spot-media.visible .fc2 { opacity: 1; scale: 1; transition-delay: 0.85s; }
.spot-media.visible .fc3 { opacity: 1; scale: 1; transition-delay: 1s; }

/* ============================================================
   Screenshot device frame
   ============================================================ */

.shot-frame {
  width: 240px;
  border: 3px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--ink);
  transition: transform 0.25s ease;
}

.shot-frame img { display: block; width: 100%; height: auto; }

/* the contact's ETA view is mostly empty screen — show the card, crop the rest */
.shot-frame.shot-crop { aspect-ratio: 9 / 14; }
.shot-frame.shot-crop img { height: 100%; object-fit: cover; object-position: top; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, translate 0.2s ease;
}

.faq-item.open { box-shadow: var(--shadow-card); translate: 0 -1px; }

@media (hover: hover) {
  .faq-item:hover { box-shadow: var(--shadow-hard); }
  .faq-q:hover { background: var(--surface-hover); }
}

.faq-h { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  padding: 20px 24px;
  transition: background 0.2s ease;
}

.faq-q:focus-visible { outline-offset: -5px; }

.faq-icon { position: relative; flex: 0 0 22px; width: 22px; height: 22px; }

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring);
}

.faq-icon::before { width: 14px; height: 2.6px; }
.faq-icon::after { width: 2.6px; height: 14px; }

/* the plus spins into a minus */
.faq-item.open .faq-icon::before { transform: rotate(180deg); }
.faq-item.open .faq-icon::after { transform: rotate(270deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease-snap), visibility 0.4s;
}

.faq-a > p {
  overflow: hidden;
  min-height: 0;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-snap);
}

.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }
.faq-item.open .faq-a > p { padding-bottom: 22px; opacity: 1; transform: none; transition-delay: 0.08s; }

.faq-a a { color: var(--brand-text); font-weight: 700; text-decoration: underline; }

/* ============================================================
   Get the app — a sticker on the cream page, like every other card
   ============================================================ */

.download { padding-top: clamp(56px, 8vw, 88px); }

.download-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 52px) clamp(20px, 5vw, 40px) clamp(30px, 5vw, 40px);
  text-align: center;
  background: var(--accent);
  color: var(--ink);
  border: var(--stroke-heavy) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 0 0 var(--ink);
}

.download-card h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

/* the script accent sits on mustard here — ink keeps it legible */
.download-card .grad-text { color: var(--ink); }

.download-sub { color: var(--ink); opacity: 0.78; font-size: 0.95rem; margin-bottom: 28px; }

/* ============================================================
   Footer — brand + links on ink
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-soft);
  padding: clamp(44px, 6vw, 64px) 0 34px;
}

.download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badges.center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--on-dark);
  border: var(--stroke-heavy) solid var(--ink);
  border-radius: 14px;
  padding: 10px 22px 10px 16px;
  min-width: 176px;
  min-height: 56px;
  box-shadow: 0 3px 0 0 var(--accent);
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.store-badge:active { transform: translateY(2px); box-shadow: 0 1px 0 0 var(--accent); }

@media (hover: hover) {
  .store-badge:hover { transform: translateY(-2px); box-shadow: 0 5px 0 0 var(--accent); }
}

/* inside the mustard card the badge's mustard offset would vanish — use cream */
.download-card .store-badge { box-shadow: 0 3px 0 0 var(--surface); }
.download-card .store-badge:active { box-shadow: 0 1px 0 0 var(--surface); }
@media (hover: hover) {
  .download-card .store-badge:hover { box-shadow: 0 5px 0 0 var(--surface); }
}

.store-badge > span { display: flex; flex-direction: column; font-weight: 700; font-size: 1rem; line-height: 1.2; }

.store-badge small {
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.qr-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 260px;
}

.qr-wrap img {
  width: 84px; height: 84px;
  padding: 6px;
  background: var(--surface);
  border: var(--stroke) solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-hard);
}

.cta-note { margin-top: 22px; font-size: 0.8rem; color: var(--text-muted); }
.download-card .cta-note { color: var(--ink); opacity: 0.72; }
.download-card .qr-wrap { color: var(--ink); opacity: 0.85; }
.cta-note + .cta-note { margin-top: 10px; }

.signin-link {
  display: inline-block;
  padding: 10px 6px;
  margin: -10px -6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .logo-text { color: var(--on-dark); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(244, 237, 221, 0.16);
}

.footer-brand p { margin: 18px 0 22px; font-size: 0.85rem; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h3 { color: var(--on-dark); font-size: 0.85rem; margin-bottom: 6px; letter-spacing: 0; }

.footer-col a { font-size: 0.85rem; padding: 6px 0; transition: color 0.2s ease; }

@media (hover: hover) { .footer-col a:hover { color: var(--on-dark); } }

.footer-seo { padding-top: 38px; column-count: 2; column-gap: 48px; }

.footer-seo p { font-size: 0.76rem; line-height: 1.9; color: var(--on-dark-soft); opacity: 0.8; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 28px;
  font-size: 0.72rem;
}

/* ============================================================
   Sticky install bar (phones only)
   ============================================================ */

.sticky-cta { display: none; }

/* ============================================================
   Reveal on scroll (JS-gated: without the script everything is visible)
   ============================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.js .reveal.visible { opacity: 1; transform: none; }

/* media arrives like a sticker slapped on the page */
.js .spot-media.reveal { transform: translateY(30px) rotate(-2.5deg); transition-duration: 0.9s; transition-delay: 0.12s; }
.js .spot-media.reveal.visible { transform: none; }

.section-head.reveal + * .reveal { transition-delay: 0.08s; }

.faq-list .faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-list .faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-list .faq-item:nth-child(4) { transition-delay: 0.18s; }
.faq-list .faq-item:nth-child(5) { transition-delay: 0.24s; }
.faq-list .faq-item:nth-child(n+6) { transition-delay: 0.3s; }

@media (min-width: 961px) {
  .steps .reveal:nth-child(2) { transition-delay: 0.1s; }
  .steps .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  /* less room beside the phone: one card above, one on the right bezel */
  .fc1 { top: -5%; right: auto; left: -4%; }
  .fc2 { bottom: 32%; left: calc(100% - 44px); }
  .fc3 { display: none; }
}

@media (max-width: 960px) {
  .spotlight { grid-template-columns: 1fr; gap: 34px; }

  /* media on top when stacked, both directions… */
  .spotlight .spot-media,
  .spotlight.flip .spot-media { order: -1; }
  .spotlight.flip .spot-copy { order: 2; }

  /* …except Safety, where the four pillars are the point */
  .spotlight.flip.safety-spot .spot-media { order: 2; }
  .spotlight.flip.safety-spot .spot-copy { order: 1; }

  .spot-media { padding-inline: 20px; }
  .spot-media .shot-frame { width: min(240px, 62vw); }
  .shot-frame { max-height: 440px; }
  .shot-frame img { object-fit: cover; object-position: top; height: 100%; }
  .shot-frame:not(.shot-crop) { aspect-ratio: 9 / 16; }

  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-seo { column-count: 1; }
}

@media (max-width: 880px) {
  .header-inner { gap: 12px; }

  .header-cta {
    display: inline-flex;
    padding: 9px 14px;
    font-size: 0.78rem;
    min-height: 40px;
    white-space: nowrap;
  }

  .nav-toggle { display: flex; }

  /* full-height sheet, so the menu never stacks on the hero button */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: var(--stroke-heavy) solid var(--ink);
    padding: 12px 6vw 22px;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }

  .main-nav a:not(.btn) {
    padding: 16px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(26, 23, 20, 0.12);
    opacity: 0;
    translate: -8px 0;
    transition: opacity 0.3s ease, translate 0.35s var(--ease-out);
  }

  .main-nav a:not(.btn)::after { display: none; }

  .main-nav.open a:not(.btn) { opacity: 1; translate: 0 0; }
  .main-nav.open a:nth-child(1) { transition-delay: 0.05s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.1s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.15s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.2s; }
  .main-nav.open a:nth-child(6) { transition-delay: 0.25s; }

  .main-nav .nav-cta { display: none; }
  .nav-signin { border-bottom: 0 !important; opacity: 0.8; }

  html.nav-open { overflow: hidden; }

  /* the sticky install bar */
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 237, 221, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: var(--stroke) solid var(--ink);
    transform: translateY(110%);
    transition: transform 0.3s var(--ease-out);
    pointer-events: none;
  }

  .sticky-cta.show { transform: none; pointer-events: auto; }
  .sticky-cta .btn { width: 100%; min-height: 52px; }
  body.has-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .qr-wrap { display: none; }
}

@media (max-width: 760px) {
  .float-card { font-size: 0.66rem; padding: 8px 11px; max-width: 78vw; white-space: normal; }
  .fc1 { top: -6%; left: 2%; right: auto; }
  .fc2 { bottom: -5%; right: 2%; left: auto; }
  .fc3 { display: none; }
  .paper-corner { width: 200px; height: 96px; right: -60px; bottom: -40px; }
}

/* --- small phones: tighter rhythm, right-sized type, thumb-friendly CTAs --- */
@media (max-width: 560px) {
  :root { --header-h: 62px; }

  .section { padding: 56px 0; }

  /* the hero owns the whole first screen on a phone — the ticker waits below the fold */
  .hero { min-height: 100svh; align-items: flex-start; padding: calc(var(--header-h) + 56px) 0 76px; }
  .scroll-cue { bottom: 10px; }
  .blob-1 { opacity: 0.4; }

  .hero-launch { margin-bottom: 18px; }

  .hero h1 {
    /* keeps "It starts with" on one line down to 320px */
    font-size: clamp(2.05rem, 11.5vw, 3rem);
    margin-bottom: 20px;
  }

  .hero h1 .grad-text { font-size: 1.38em; }

  .hero-sub { font-size: 0.92rem; margin-bottom: 28px; }

  .hero-actions { flex-direction: column; gap: 16px; margin-bottom: 22px; }

  .btn-lg { width: min(100%, 320px); padding: 15px 36px; font-size: 1rem; }

  .hero-proof { font-size: 0.78rem; }

  .ticker { padding: 26px 0 40px; }
  .ticker-controls { position: static; text-align: right; margin-top: 10px; padding-right: 4vw; }

  .section-head { margin-bottom: 32px; }

  .steps { gap: 16px; }

  /* number beside the heading, art and copy full-width beneath */
  .step {
    padding: 20px 18px 22px;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    align-items: center;
  }

  .step-num { grid-column: 1; grid-row: 1; }
  .step h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .step-art { grid-column: 1 / -1; grid-row: 2; height: auto; min-height: 0; margin: 16px 0 14px; justify-content: flex-start; }
  .step p { grid-column: 1 / -1; grid-row: 3; }
  .mini-plan { font-size: 0.68rem; gap: 6px; }

  .spotlight { margin-top: 52px; }

  .faq-q { padding: 18px 18px; font-size: 0.9rem; }
  .faq-a > p { padding: 0 18px; }
  .faq-item.open .faq-a > p { padding-bottom: 20px; }

  .footer-download { margin-top: -56px; padding: 34px 20px 30px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .store-badge { flex: 1 1 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .anim-up, .js .reveal, .js .spot-media.reveal,
  .js .float-card, .js .ma, .js .ma-badge, .js .mini-plan span {
    opacity: 1 !important;
    transform: none !important;
    scale: 1 !important;
  }

  .whim-underline path { stroke-dashoffset: 0; }

  /* the strip becomes a static, fully readable chip cloud (also without JS) */
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 10px; transform: none; animation: none !important; }
  .marquee-track li { margin-right: 0; }
  .marquee-track [aria-hidden="true"] { display: none; }
}
