/* ==========================================================================
   FlockTrot — site design system
   Single stylesheet for every page. No build step, no dependencies.

   Palette is the existing FlockTrot brand (cream / forest / amber) with two
   accessibility corrections carried over from the old inline styles:
     - #c98a3e amber only scored 2.92:1 on white, so it failed WCAG AA as a
       text or button colour. It is now DECORATIVE ONLY (sun, flame, rules).
       --amber-ink (#9C6318, 4.99:1 on white) is the token to use whenever
       amber has to carry text or sit under white text.
     - #9a917c small print scored 3.13:1. Dropped; --ink-muted is the floor.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;

  --cream:        #FAF3E7;
  --cream-deep:   #F4EADA;
  --surface:      #FFFFFF;
  --surface-alt:  #FBF7EE;

  --ink:          #2C3A2C;
  --ink-muted:    #6B6558;

  --forest-deep:  #33472F;
  --forest:       #4A6B47;
  --forest-soft:  #9FB495;
  --forest-pale:  #C9D6C2;
  /* Text/icon colour that sits ON a --forest or --amber-ink fill. It has to
     be a token, not a hardcoded #fff: in dark mode those fills become LIGHT
     greens/ambers, and white-on-them measured 1.83-1.86:1. */
  --on-accent:    #FFFFFF;

  --amber:        #C98A3E;   /* decorative fills only — fails AA as text */
  --amber-ink:    #9C6318;   /* AA-safe: 4.99:1 on white, 4.52:1 on cream */
  --amber-soft:   #F2E3CC;
  /* --amber-ink on --amber-soft is 3.95:1: fine for the 23px card icons
     (graphics need 3:1) but short of the 4.5:1 that the 11px BETA pill needs,
     so that pill gets its own darker ink at 4.96:1. */
  --amber-ink-on-soft: #8A5410;

  --border:       #E8E0CF;
  --border-soft:  #F0E9DA;

  --shadow-sm: 0 1px 2px rgba(51,71,47,.06), 0 2px 6px rgba(51,71,47,.05);
  --shadow-md: 0 2px 6px rgba(51,71,47,.06), 0 10px 26px rgba(51,71,47,.08);
  --shadow-lg: 0 6px 16px rgba(51,71,47,.08), 0 24px 56px rgba(51,71,47,.12);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  /* spacing scale — standard density (marketing site, not a dashboard) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;

  --header-h: 65px;

  --maxw: 1080px;
  --maxw-prose: 660px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream:       #14180F;
    --cream-deep:  #1A1F15;
    --surface:     #1E2419;
    --surface-alt: #232A1D;

    --ink:         #ECE6D8;
    --ink-muted:   #AEB0A0;

    --forest-deep: #CFE0C6;
    --forest:      #A6C79D;
    --forest-soft: #5E7C57;
    --forest-pale: #38492F;
    --on-accent:   #14180F;

    --amber:       #D9A054;
    --amber-ink:   #E7B871;
    --amber-soft:  #33280F;
    --amber-ink-on-soft: #E7B871;

    --border:      #333D2A;
    --border-soft: #2A3323;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 2px 6px rgba(0,0,0,.4), 0 10px 26px rgba(0,0,0,.35);
    --shadow-lg: 0 6px 16px rgba(0,0,0,.45), 0 24px 56px rgba(0,0,0,.4);
  }
}

:root[data-theme="dark"] {
  --cream:       #14180F;  --cream-deep:  #1A1F15;
  --surface:     #1E2419;  --surface-alt: #232A1D;
  --ink:         #ECE6D8;  --ink-muted:   #AEB0A0;
  --forest-deep: #CFE0C6;  --forest:      #A6C79D;
  --forest-soft: #5E7C57;  --forest-pale: #38492F;  --on-accent: #14180F;
  --amber:       #D9A054;  --amber-ink:   #E7B871;  --amber-soft: #33280F;  --amber-ink-on-soft: #E7B871;
  --border:      #333D2A;  --border-soft: #2A3323;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 2px 6px rgba(0,0,0,.4), 0 10px 26px rgba(0,0,0,.35);
  --shadow-lg: 0 6px 16px rgba(0,0,0,.45), 0 24px 56px rgba(0,0,0,.4);
}

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

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

/* The header is sticky and 65px tall, so an anchor whose target scrolls flush
   to y=0 lands UNDER it. Without this, "Get the app" hid the download buttons
   behind the header entirely and every section jump buried its own heading. */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
/* The hero is already at the top of the document, but the sticky header sits
   in flow above it, so the hero's own offset is --header-h. Matching that as
   scroll-margin cancels it out and lands the jump at scrollY 0 — the true top
   of the page — rather than 65px down it. */
.hero { scroll-margin-top: var(--header-h); }
#top { scroll-margin-top: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-deep);
  line-height: 1.18;
  margin: 0 0 var(--space-4);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 600; }
p  { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }

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

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

::selection { background: var(--forest-pale); color: var(--forest-deep); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
.wrap--prose { max-width: var(--maxw-prose); }
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section--deep { background: var(--cream-deep); border-block: 1px solid var(--border-soft); }

.center { text-align: center; }
.section__head { max-width: 620px; margin: 0 auto var(--space-7); text-align: center; }
.section__head p { color: var(--ink-muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: var(--space-3);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: var(--space-4); top: -100px;
  z-index: 200; padding: 12px 20px;
  background: var(--forest-deep); color: var(--on-accent);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: var(--space-4); color: var(--on-accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--border); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  color: var(--forest-deep); letter-spacing: -.01em;
}
.site-nav { display: flex; align-items: center; gap: var(--space-1); }
.site-nav a {
  color: var(--ink-muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 10px 12px; border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--forest-deep); background: color-mix(in srgb, var(--forest-pale) 45%, transparent); }
/* `.site-nav a` (0,1,1) outranks `.btn--primary` (0,1,0), so without these the
   header CTA inherits --ink-muted and renders grey-on-green. Keep them. */
.site-nav a.btn { margin-left: var(--space-2); }
.site-nav a.btn--primary { color: var(--on-accent); background: var(--forest); }
.site-nav a.btn--primary:hover { color: var(--on-accent); background: var(--forest-deep); }
@media (max-width: 720px) { .site-nav a.nav-hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--forest); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-deep); color: var(--on-accent); box-shadow: var(--shadow-md); }

.btn--amber { background: var(--amber-ink); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--amber:hover { background: color-mix(in srgb, var(--amber-ink) 82%, #000); color: var(--on-accent); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--forest-deep); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); color: var(--forest-deep); border-color: var(--forest-soft); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; border-radius: var(--radius-sm); }

/* ---------- store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.stores--center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 56px; padding: 10px 22px 10px 18px;
  background: #101410; color: #fff; text-decoration: none;
  border: 1px solid #101410; border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { background: #2A322A; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-badge svg { flex-shrink: 0; fill: currentColor; }
.store-badge__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-badge__text small { font-size: .68rem; font-weight: 500; opacity: .85; letter-spacing: .02em; }
.store-badge__text strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .store-badge {
    background: #F2EFE6; color: #14180F; border-color: #F2EFE6;
  }
  :root:not([data-theme="light"]) .store-badge:hover { background: #fff; color: #14180F; }
}
:root[data-theme="dark"] .store-badge { background: #F2EFE6; color: #14180F; border-color: #F2EFE6; }
:root[data-theme="dark"] .store-badge:hover { background: #fff; color: #14180F; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: var(--space-8) var(--space-7); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--space-8); align-items: center;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero__lede { font-size: 1.16rem; color: var(--ink-muted); max-width: 30em; margin-bottom: var(--space-6); }
.hero__note { margin-top: var(--space-5); font-size: .9rem; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { flex-shrink: 0; color: var(--forest); }

/* decorative ridgeline behind the hero */
.ridge { position: absolute; inset: auto 0 0 0; z-index: 0; pointer-events: none; opacity: .5; }
.ridge svg { width: 100%; height: auto; display: block; }
.hero .wrap { position: relative; z-index: 1; }

/* phone cluster */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.phone {
  position: relative; border-radius: 30px; background: #12160F;
  padding: 7px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.phone img { border-radius: 24px; display: block; width: 100%; }
.phone--lead { width: 246px; z-index: 2; }
.phone--back { width: 200px; margin-left: -54px; margin-bottom: 42px; transform: rotate(4deg); z-index: 1; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero .stores { justify-content: center; }
  .hero__note { justify-content: center; }
  .phone--lead { width: 216px; }
  .phone--back { width: 176px; }
}
@media (max-width: 420px) {
  .phone--lead { width: 190px; }
  .phone--back { width: 152px; margin-left: -46px; }
}

/* ---------- trust strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5); border-block: 1px solid var(--border-soft);
  background: var(--surface-alt);
}
.trust__item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .92rem; font-weight: 500; color: var(--ink-muted);
}
.trust__item svg { color: var(--forest); flex-shrink: 0; }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--forest-soft); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--ink-muted); font-size: .97rem; margin: 0; }

.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: var(--space-4);
  border-radius: var(--radius); background: var(--amber-soft); color: var(--amber-ink);
}
.card__icon--forest { background: color-mix(in srgb, var(--forest-pale) 55%, transparent); color: var(--forest-deep); }
.card__icon svg { width: 23px; height: 23px; }

.card__tag {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink-on-soft);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- alternating showcase rows ---------- */
.showcase { display: grid; gap: var(--space-9); }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.show-row--flip .show-row__media { order: -1; }
.show-row__media { display: flex; justify-content: center; gap: var(--space-4); }
.show-row h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.show-row p { color: var(--ink-muted); }
.show-row .phone { width: 238px; }
@media (max-width: 860px) {
  .show-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .show-row--flip .show-row__media { order: 0; }
}
@media (max-width: 420px) { .show-row .phone { width: 200px; } }

.checklist { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; color: var(--ink-muted); }
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--forest); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step__num {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: var(--space-4);
  border-radius: 50%; background: var(--forest); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--ink-muted); font-size: .97rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--space-3); max-width: var(--maxw-prose); margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--forest-soft); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); min-height: 56px;
  font-weight: 600; font-size: 1rem; color: var(--forest-deep);
  cursor: pointer; list-style: none;
  transition: background var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-alt); }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 2.2px solid var(--forest); border-bottom: 2.2px solid var(--forest);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq__body { padding: 0 var(--space-5) var(--space-5); color: var(--ink-muted); font-size: .97rem; }
.faq__body p { color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--forest-deep); color: #F3EFE4;
  padding-block: var(--space-9);
}
:root[data-theme="dark"] .cta-band,
.cta-band { background: #33472F; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(243,239,228,.86); font-size: 1.08rem; max-width: 44ch; margin-inline: auto; }
.cta-band .store-badge { background: #F3EFE4; color: #14180F; border-color: #F3EFE4; }
.cta-band .store-badge:hover { background: #fff; color: #14180F; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band__ridge { position: absolute; inset: auto 0 0 0; opacity: .14; pointer-events: none; z-index: 0; }

/* ---------- panels ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.panel--inset { background: var(--surface-alt); }
.panel h3 { margin-bottom: var(--space-2); }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
@media (max-width: 760px) { .support-grid { grid-template-columns: 1fr; } }

/* ---------- divider ---------- */
.rule { display: flex; align-items: center; gap: var(--space-4); max-width: 340px; margin: var(--space-6) auto; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.rule svg { flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--cream-deep); border-top: 1px solid var(--border);
  padding-block: var(--space-7) var(--space-6);
}
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-6); }
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer h4 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
/* These are navigation links, not links inside a sentence, so WCAG 2.5.8's
   inline exception does not cover them — they need a 24px minimum target.
   Unpadded they measured 18px tall. */
.site-footer ul a,
.site-footer nav a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--ink); text-decoration: none; font-size: .95rem;
}
.site-footer ul a:hover,
.site-footer nav a:hover { color: var(--forest); text-decoration: underline; }
.site-footer__brand p { font-size: .92rem; color: var(--ink-muted); max-width: 34ch; margin-top: var(--space-3); }
.site-footer__legal {
  border-top: 1px solid var(--border); padding-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center;
}
.site-footer__legal p { font-size: .82rem; color: var(--ink-muted); margin: 0; max-width: 62ch; line-height: 1.6; }

/* ---------- utility pages (legal, invite, delete-account) ---------- */
.page-head { padding-block: var(--space-8) var(--space-6); text-align: center; }
.page-head p { color: var(--ink-muted); max-width: 52ch; margin-inline: auto; }
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: var(--space-7); }
.prose h3 { font-size: 1.1rem; margin-top: var(--space-5); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: var(--space-2); color: var(--ink-muted); }
.prose p { color: var(--ink-muted); }
.prose strong { color: var(--ink); }

/* centred single-purpose pages */
.stage {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-7) var(--space-5);
}

.code-row { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-2); }
.code-box {
  flex: 1; min-width: 0; background: var(--surface-alt); border: 1px dashed var(--forest-soft);
  border-radius: var(--radius-sm); padding: 11px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem;
  color: var(--ink); overflow-x: auto; white-space: nowrap;
}

/* ---------- motion ---------- */
/* Gated behind .js, which a tiny inline script sets on <html> before paint.
   Without it these rows would start at opacity:0 and stay there for anyone
   whose JS failed to run — four sections of real content, invisible, on a
   page whose whole job is being read. Default state is therefore visible. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 620ms var(--ease), transform 620ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .store-badge:hover { transform: none; }
}

@media print {
  .site-header, .cta-band, .stores, .ridge { display: none !important; }
  body { background: #fff; color: #000; }
}
