/* ============================================================================
   Challengger — shared design system for the public website (/site)
   ----------------------------------------------------------------------------
   One stylesheet for every page. Pages carry semantic markup and these classes;
   no page should redefine a token or restate a hex value.

   THE TWO ORANGES — the rule that matters most here:
     --brand      #F36914  every MARKETING surface (CTAs, eyebrows, links, FAQ
                           icons, footer accents). Company-facing.
     --ui-orange  #FF6B35  the IN-APP orange. Only ever used inside `.mock`
                           (the phone mockups), which are representations of the
                           app. Never a marketing fill.

   Fonts are loaded per page from Google Fonts:
     Inter 400/500/600/700  — body and UI
     Archivo (wdth 125)     — the display face. Google Fonts has no family
                              literally named "Archivo Expanded"; the expanded
                              cut is the Archivo variable font at width 125,
                              which is what --font-display + font-stretch select.
   ========================================================================== */

:root {
  /* ---- Brand: marketing surfaces ---- */
  --brand: #F36914;
  --brand-hover: #C9530D;
  --brand-light: #FB8B4A;          /* eyebrows + icons on dark backgrounds */
  --brand-tint: #FFF1EB;

  /* ---- Interface orange: inside .mock only ---- */
  --ui-orange: #FF6B35;
  --ui-orange-hover: #EA580C;

  /* ---- Neutrals: light sections ---- */
  --page: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --hairline: #F1F5F9;
  --text: #0F172A;
  --body: #475569;
  --muted: #64748B;
  --faint: #94A3B8;

  /* ---- Dark sections ---- */
  --dark: #0B1220;
  --dark-surface: #141C2B;
  --dark-divider: #1E293B;
  --dark-bezel: #334155;
  --dark-hover: #1B2536;
  --dark-heading: #F8FAFC;
  --dark-title: #F1F5F9;
  --dark-nav: #CBD5E1;

  /* ---- Semantic tint pairs (icon tiles, status pills) ---- */
  --blue-bg: #DBEAFE;   --blue-fg: #2563EB;   --blue-pill: #1E40AF;
  --orange-bg: #FFEDD5; --orange-fg: #EA580C;
  --green-bg: #DCFCE7;  --green-fg: #16A34A;  --green-pill: #166534;
  --indigo-bg: #E0E7FF; --indigo-fg: #4F46E5;
  --purple-bg: #F3E8FF; --purple-fg: #7E22CE; --purple-pill: #6B21A8;
  --red-bg: #FEE2E2;    --red-fg: #DC2626;
  --gray-bg: #F1F5F9;   --gray-fg: #475569;   --gray-pill: #334155;

  --success: #10B981;
  --success-bg: #F0FDF4; --success-border: #BBF7D0; --success-fg: #166534;
  --warn: #F59E0B;
  --amber-bg: #FFFBEB; --amber-border: #FDE68A; --amber-icon: #B45309; --amber-text: #92400E;
  --danger-bg: #FEF2F2; --danger-border: #FECACA; --danger-fg: #991B1B; --danger-icon: #DC2626;

  /* ---- Type ---- */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Archivo Expanded', 'Archivo', sans-serif;

  /* ---- Layout: 4px grid ---- */
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --gutter: clamp(20px, 3vw, 32px);
  --section-y: clamp(60px, 7vw, 96px);
  --header-h: 68px;

  /* ---- Radius ---- */
  --r-card: 12px;
  --r-panel: 16px;
  --r-band: 20px;
  --r-pill: 999px;

  /* ---- Elevation. Marketing cards use borders, not shadows. ---- */
  --shadow-mock-dark: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --shadow-mock-light: 0 34px 64px -26px rgba(15, 23, 42, .45);
  --shadow-in-mock: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-mock-cta: 0 8px 18px -6px rgba(255, 107, 53, .7);

  /* ---- Motion ---- */
  --dur: 200ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --press: .98;
}

/* ============================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header must not cover an anchored heading. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

/* Visible focus on everything interactive, on both light and dark. */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
.section-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--brand-light); }

[hidden] { display: none !important; }

/* Skip link — first tab stop on every page. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--r-card) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================================
   Typography
   ========================================================================== */

/* Display face: Archivo at width 125 = the "Expanded" cut. h1/h2 only. */
.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--dark-heading);
  margin: 0 0 22px;
}

.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.06;
  max-width: 20ch;
  margin: 0 0 18px;
}
/* Headings that sit in their own intro block are already width-limited. */
.section-title.wide { max-width: none; }
.section-dark .section-title { color: var(--dark-heading); }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--brand-light); }

/* Hero eyebrow is a pill on the dark hero. */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  margin-bottom: 26px;
  border-radius: var(--r-pill);
  background: rgba(243, 105, 20, .14);
  border: 1px solid rgba(243, 105, 20, .34);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.eyebrow-pill i { font-size: 11px; }

.lede-dark {
  margin: 0 0 34px;
  max-width: 50ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--faint);
  text-wrap: pretty;
}
.lede {
  margin: 0 0 34px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}
.lede.flush { margin-bottom: 0; }
/* Runs the lede out to the right edge of the third tile in a 4-up .cards grid:
   with n columns and gap g, that edge sits at (3W - g)/4 = 75% - 5px at g=20px.
   The max() keeps the normal 52ch measure once the container is small enough
   that 75% would be narrower than the text wants — i.e. on tablet and phone,
   where the grid has already collapsed and there is no third tile to match. */
.lede.lede-3up { max-width: max(52ch, calc(75% - 5px)); }
.section-dark .lede { color: var(--faint); }

/* ============================================================================
   Sections
   ========================================================================== */

.section { padding: var(--section-y) var(--gutter); background: var(--page); }
.section-dark { background: var(--dark); }
.section-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-flush-top { padding-top: 0; }

.section-inner { max-width: var(--maxw); margin: 0 auto; }

/* Every multi-column layout collapses on its own via auto-fit — no media
   queries needed for the column behaviour.

   `min(Npx, 100%)` rather than a bare Npx floor: a bare floor is wider than the
   viewport once the gutters are taken off a 320px phone, which forces the whole
   page to scroll sideways. The min() caps the track at the space available. */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.split-tight { gap: clamp(32px, 4vw, 56px); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: 20px;
}
.intro-block { max-width: 56ch; margin-bottom: 48px; }
.intro-block.narrow { max-width: 54ch; margin-bottom: 44px; }
.mock-center { display: flex; justify-content: center; }

/* ============================================================================
   Header — dark, sticky
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--dark-divider);
}
.site-header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-title);
  flex: none;
}
.brand:hover { color: #fff; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 10px 0;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-nav);
}
.site-nav a:hover { color: #fff; }
.site-nav .btn-pill { color: #fff; }

/* ============================================================================
   Buttons
   ========================================================================== */

.btn,
.btn-pill,
.btn-store {
  font-family: inherit;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform 100ms var(--ease);
}
.btn:active,
.btn-pill:active,
.btn-store:active { transform: scale(var(--press)); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.btn-pill:hover { background: var(--brand-hover); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: none;
  border-radius: var(--r-card);
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.btn:hover { background: var(--brand-hover); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--hairline); color: var(--text); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost:hover { color: var(--text); }

/* Store buttons — identical in the hero and the CTA band. */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--r-card);
  border: 1px solid transparent;
  color: #fff;
}
.btn-store i { font-size: 26px; flex: none; }
.btn-store .fa-google-play { font-size: 22px; }
.btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.btn-store .s-top { font-size: 11px; opacity: .85; }
.btn-store .s-bot { font-size: 16px; font-weight: 700; }

.store-ios { background: var(--brand); }
.store-ios:hover { background: var(--brand-hover); color: #fff; }

/* Google Play sits on the dark hero… */
.store-android {
  background: var(--dark-surface);
  border-color: var(--dark-bezel);
  color: var(--dark-title);
}
.store-android:hover { background: var(--dark-hover); color: var(--dark-title); }
.store-android .s-top { color: var(--faint); opacity: 1; }

/* …and on the gradient CTA band, where it is translucent instead. */
.cta-band .store-android {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
}
.cta-band .store-android:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.cta-band .store-android .s-top { color: rgba(255, 255, 255, .75); }

/* --faint, not --muted: #64748B on the #0B1220 hero is only 3.9:1, below AA.
   #94A3B8 gets it to 7.3:1. Same reason on .foot-label and .foot-bottom. */
.reassure {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--faint);
}
.reassure i { color: var(--success); font-size: 12px; }

/* ============================================================================
   Cards + icon tiles
   ========================================================================== */

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.card-lg { padding: 30px; }
.card h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}
.card-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

/* Horizontal list card: icon tile + title + one-line description. */
.card-row {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
}
.card-row .rt { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.card-row p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* Dark stat cards (leaderboard section). */
.card-dark {
  padding: 22px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-divider);
  border-radius: var(--r-card);
}
.card-dark > i { font-size: 16px; color: var(--brand-light); margin-bottom: 14px; display: block; }
.card-dark .rt { font-size: 16px; font-weight: 600; color: var(--dark-title); margin-bottom: 6px; }
.card-dark p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; }

.icon-tile {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-card);
}
.icon-tile i { font-size: 18px; }
.card .icon-tile { margin-bottom: 18px; }
.card-lg .icon-tile { margin-bottom: 20px; }

.t-blue   { background: var(--blue-bg);   color: var(--blue-fg); }
.t-orange { background: var(--orange-bg); color: var(--orange-fg); }
.t-green  { background: var(--green-bg);  color: var(--green-fg); }
.t-indigo { background: var(--indigo-bg); color: var(--indigo-fg); }
.t-purple { background: var(--purple-bg); color: var(--purple-fg); }
.t-red    { background: var(--red-bg);    color: var(--red-fg); }
.t-gray   { background: var(--gray-bg);   color: var(--gray-fg); }
.t-brand  { background: var(--brand-tint); color: var(--orange-fg); }

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

.hero {
  position: relative;
  background: var(--dark);
  padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(64px, 7vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 460px at 18% 8%, rgba(243, 105, 20, .16), transparent 70%);
  pointer-events: none;
}
.hero .section-inner { position: relative; }
.hero .stores { margin-bottom: 18px; }

.hero-art {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ============================================================================
   Download CTA band — the one gradient on the page
   ========================================================================== */

.cta-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: var(--r-band);
  background: linear-gradient(120deg, #141C2B, #3B2A22);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.04;
  color: #fff;
  margin: 0 0 16px;
}
.cta-band .lede {
  color: rgba(255, 255, 255, .72);
  max-width: 44ch;
  margin-bottom: 32px;
}

.qr-panel {
  width: 100%;
  max-width: 236px;
  padding: 24px;
  border-radius: var(--r-panel);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  text-align: center;
}
.qr-panel .qr {
  width: 132px;
  height: 132px;
  margin: 0 auto 16px;
  padding: 6px;
  border-radius: var(--r-card);
  background: #fff;
}
.qr-panel .qr img { width: 100%; height: 100%; }
.qr-panel .qr-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.qr-panel p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .6); }

/* ============================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.newsletter h2 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 10px; }
.newsletter > div > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 48ch; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-row input {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--page);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
.nl-row input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 105, 20, .18);
}
.nl-row .btn { flex: none; padding: 13px 24px; font-size: 14px; }
/* --muted, not --faint: #94A3B8 on the white panel is only 2.6:1. */
.nl-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Success / error states for the newsletter. */
.nl-done {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--r-card);
  background: var(--success-bg);
  border: 1px solid var(--success-border);
}
.nl-done i { color: var(--green-fg); font-size: 14px; }
.nl-done span { font-size: 14px; font-weight: 600; color: var(--success-fg); }
.nl-error {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger-fg);
}

/* ============================================================================
   FAQ accordion — single-open, keyboard accessible
   ========================================================================== */

.faq-section { padding-bottom: clamp(64px, 7vw, 104px); }
.faq-inner { max-width: var(--maxw-narrow); margin: 0 auto; }

.faq-head { text-align: center; margin-bottom: 40px; }
.faq-head h2 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.08;
  margin: 0 0 12px;
  max-width: none;
}
.faq-head p { margin: 0; font-size: 16px; color: var(--body); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
/* The question is wrapped in a heading for screen-reader navigation; the
   heading itself carries no visual weight of its own. */
.faq-item h3 { margin: 0; font: inherit; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}
.faq-q span { flex: 1; font-size: 16px; font-weight: 600; }
.faq-q i { font-size: 13px; color: var(--brand); flex: none; }
.faq-q:hover span { color: var(--brand-hover); }
.faq-a {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  max-width: 74ch;
  text-wrap: pretty;
}

/* ============================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--dark);
  padding: clamp(44px, 5vw, 60px) var(--gutter) 32px;
}
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-divider);
}
.site-footer .brand { margin-bottom: 16px; }
.foot-tagline {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--faint);
  max-width: 44ch;
}
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-divider);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-nav);
  transition: background var(--dur) var(--ease);
}
.foot-social a:hover { background: var(--dark-hover); color: #fff; }
.foot-social i { font-size: 15px; }

.foot-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a { font-size: 14px; color: var(--dark-nav); }
.foot-links a:hover { color: #fff; }

.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-bottom span { font-size: 13px; color: var(--faint); }

/* ============================================================================
   Document pages — support, delete-account, privacy, terms
   ========================================================================== */

.dochead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 3vw, 36px);
}
.dochead h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  margin: 0;
  max-width: 22ch;
}
.dochead .updated { margin-top: 16px; font-size: 14px; color: var(--muted); }

.doc { padding: clamp(36px, 4vw, 56px) 0 clamp(60px, 7vw, 88px); }
.doc .intro { font-size: 18px; line-height: 1.7; color: var(--body); text-wrap: pretty; }
.doc h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 44px 0 14px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.doc h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 26px 0 8px; }
.doc p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 14px 0; text-wrap: pretty; }
.doc ul, .doc ol { margin: 14px 0; padding-left: 22px; }
.doc li { margin: 8px 0; font-size: 16px; line-height: 1.7; color: var(--body); }
.doc strong { color: var(--text); font-weight: 600; }
.doc hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
/* Long URLs and email addresses must not push the page sideways on mobile. */
.doc a { overflow-wrap: anywhere; }

/* Data tables (the privacy policy's lawful-basis table). The table keeps its
   readable minimum width and scrolls inside its own container rather than
   pushing the page sideways on a phone. */
.tablewrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  -webkit-overflow-scrolling: touch;
}
.doc table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.doc th {
  text-align: left;
  background: var(--page);
  color: var(--text);
  font-weight: 600;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.doc td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--body);
  line-height: 1.6;
  vertical-align: top;
}
.doc tr:last-child td { border-bottom: none; }
.doc td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }

/* Callout */
.note {
  display: flex;
  gap: 14px;
  background: var(--brand-tint);
  border: 1px solid var(--orange-bg);
  border-radius: var(--r-card);
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.note i { color: var(--brand); font-size: 17px; margin-top: 3px; flex: none; }
.note strong { color: var(--text); }

/* ============================================================================
   Forms
   ========================================================================== */

.form { margin: 26px 0 8px; }
.field { margin: 0 0 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.field .req { color: var(--brand); }
.field .opt { color: var(--muted); font-weight: 500; }
.field input[type=text],
.field input[type=email],
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(243, 105, 20, .18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--danger-icon); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 4px 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}
.check input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: var(--brand);
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Honeypot — off-screen for people, filled only by bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alerts. Hidden until the page shows them; `display:flex` when revealed. */
.msg {
  display: none;
  gap: 14px;
  border-radius: var(--r-card);
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 15px;
  line-height: 1.6;
}
.msg i { font-size: 18px; margin-top: 2px; flex: none; }
.msg.ok { background: var(--success-bg); border: 1px solid var(--success-border); color: var(--success-fg); }
.msg.ok i { color: var(--green-fg); }
.msg.bad { background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger-fg); }
.msg.bad i { color: var(--danger-icon); }
.msg a { color: inherit; text-decoration: underline; }

/* ============================================================================
   Centred single-card pages — open, verify-email, challenge
   ========================================================================== */

.center-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.page-flex { min-height: 100vh; display: flex; flex-direction: column; }

.panel {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 40px);
  text-align: center;
}
.panel-wide { max-width: 560px; }
.panel h1 {
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.1;
  margin: 14px 0 10px;
}
.panel > p { font-size: 16px; line-height: 1.65; color: var(--body); margin: 0 auto; max-width: 44ch; }
.panel .btn { margin-top: 26px; }
.panel .fallback { margin-top: 18px; font-size: 13px; color: var(--muted); }

.panel-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: var(--r-panel);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.panel-icon.is-success { background: var(--success-bg); color: var(--green-fg); }
.panel-icon.is-error { background: var(--danger-bg); color: var(--danger-icon); }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-tint);
  color: var(--brand-hover);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}

/* Small store links (open.html) */
.store-links { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.store-links a:hover { border-color: var(--brand); color: var(--brand); }

.spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 4px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inline-toggled panel states. These pages flip `style.display` directly, so
   the default must be `none` and the revealed value is set by their script. */
.panel-error {
  display: none;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--danger-fg);
}
.panel-success { display: none; margin-top: 24px; }
.panel-success .ok-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--green-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.panel-success h2 { font-size: 18px; font-weight: 700; }
.panel-success p { margin-top: 6px; font-size: 15px; color: var(--body); }
.panel .nl-row { margin-top: 32px; }
.panel .nl-fine { text-align: center; }

/* Three-up "how it works" steps (challenge.html) */
.steps { display: flex; gap: 18px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.step { flex: 1; min-width: 130px; max-width: 170px; text-align: center; }
.step .s-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--r-card);
  background: var(--page);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--brand);
  font-size: 18px;
}
.step p { font-size: 13px; line-height: 1.45; color: var(--body); }

/* ============================================================================
   Phone mockups
   ----------------------------------------------------------------------------
   Everything below is a representation of the app, so it uses --ui-orange and
   app-scale type (9–17px). Do not normalise these to the marketing scale.
   ========================================================================== */

.mock {
  border-radius: 34px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-bezel);
  padding: 9px;
  box-shadow: var(--shadow-mock-dark);
}
.mock-screen { border-radius: 26px; overflow: hidden; background: var(--page); }

/* On light sections the bezel is dark navy with a softer shadow. */
.mock-on-light {
  background: var(--dark);
  border: none;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-mock-light);
}
.mock-on-light .mock-screen { border-radius: 28px; }

.mock-hero-1 { width: clamp(220px, 22vw, 262px); flex: 0 1 262px; }
.mock-hero-2 {
  width: clamp(156px, 16vw, 186px);
  flex: 0 1 186px;
  margin-top: clamp(0px, 5vw, 64px);
  border-radius: 28px;
  padding: 7px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .65);
}
.mock-hero-2 .mock-screen { border-radius: 22px; }

/* A frame holding a real device capture instead of rebuilt markup. The screen
   is sized by the shot, so height must be auto — width alone would leave the
   markup height attribute in play as a presentation hint and stretch it. */
.mock-shot .mock-screen img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mock-wizard { width: clamp(240px, 26vw, 290px); }
.mock-leader {
  width: 100%;
  max-width: 300px;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 34px 64px -24px rgba(0, 0, 0, .7);
}
.mock-leader .mock-screen { border-radius: 28px; }

.mock-status {
  background: #fff;
  padding: 9px 16px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}
.mock-status span:last-child { display: flex; gap: 5px; }
.mock-wizard .mock-status,
.mock-leader .mock-status { padding: 12px 18px 0; }

.mock-head {
  background: #fff;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--hairline);
}
.mock-wizard .mock-head,
.mock-leader .mock-head { padding: 12px 18px 14px; }
.mock-wizard .mock-back { margin-bottom: 12px; }
.mock-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.mock-back { display: flex; align-items: center; gap: 10px; }
.mock-back i { font-size: 12px; color: var(--body); }
.mock-back span { font-size: 15px; font-weight: 600; }
.mock-hero-2 .mock-head { padding: 8px 12px 10px; }
.mock-hero-2 .mock-back { gap: 8px; margin-bottom: 9px; }
.mock-hero-2 .mock-back i { font-size: 10px; }
.mock-hero-2 .mock-back span { font-size: 12px; }

.mock-tabs { display: flex; gap: 6px; background: var(--hairline); border-radius: var(--r-pill); padding: 3px; }
.mock-tabs span {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-pill);
}
.mock-tabs span.on { background: #fff; font-weight: 600; color: var(--ui-orange); }

.mock-steps { display: flex; gap: 5px; }
.mock-steps span { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--border); }
.mock-steps span.on { background: var(--ui-orange); }
.mock-hero-2 .mock-steps { gap: 4px; }
.mock-hero-2 .mock-steps span { height: 3px; }

/* In-mockup step question + helper line */
.mock-q { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.mock-qs { font-size: 12px; color: var(--muted); }
.mock-hero-2 .mock-q { font-size: 12px; margin-bottom: 2px; }
.mock-hero-2 .mock-qs { font-size: 9px; }

.mock-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mock-wizard .mock-body { padding: 18px; gap: 12px; }
.mock-hero-2 .mock-body { padding: 12px; gap: 9px; }

.mock-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 13px;
  box-shadow: var(--shadow-in-mock);
}
.mock-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 9px;
}
.mock-card .nm { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mock-tags { display: flex; gap: 5px; margin-bottom: 10px; }
.mock-tag { padding: 3px 9px; border-radius: var(--r-pill); font-size: 9px; font-weight: 600; }
/* Status pills use the darker "pill text" half of each tint pair. */
.p-blue   { background: var(--blue-bg);   color: var(--blue-pill); }
.p-gray   { background: var(--gray-bg);   color: var(--gray-pill); }
.p-green  { background: var(--green-bg);  color: var(--green-pill); }
.p-purple { background: var(--purple-bg); color: var(--purple-pill); }
.mock-badge {
  flex: none;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.mock-badge.ok { background: var(--success); }
.mock-badge.behind { background: var(--warn); }

.mock-prog-lab {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.mock-prog-lab b { font-weight: 600; color: var(--text); }
.mock-bar {
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--border);
  overflow: hidden;
  margin-bottom: 7px;
}
.mock-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ui-orange); }
.mock-meta { display: flex; justify-content: space-between; font-size: 9px; color: var(--faint); }

/* Selectable option rows inside the create wizard. */
.mock-opt {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-card);
  padding: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mock-opt.sel { background: var(--brand-tint); border-color: var(--ui-orange); }
.mock-opt .tile {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-opt .tile i { font-size: 14px; }
.mock-opt .ot { display: block; font-size: 13px; font-weight: 600; }
.mock-opt .os { display: block; font-size: 11px; color: var(--muted); }
.mock-hero-2 .mock-opt { padding: 10px; gap: 9px; border-radius: 11px; }
.mock-hero-2 .mock-opt .tile { width: 30px; height: 30px; border-radius: 9px; }
.mock-hero-2 .mock-opt .tile i { font-size: 12px; }
.mock-hero-2 .mock-opt .ot { font-size: 11px; }
.mock-hero-2 .mock-opt .os { font-size: 9px; }

.mock-callout {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r-card);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  align-items: flex-start;
}
.mock-callout i { font-size: 11px; color: var(--amber-icon); margin-top: 2px; }
.mock-callout p { margin: 0; font-size: 10px; line-height: 1.5; color: var(--amber-text); }

.mock-cta {
  padding: 13px;
  border-radius: var(--r-card);
  background: var(--ui-orange);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.mock-cta.floating { margin-top: 2px; padding: 11px; font-size: 12px; box-shadow: var(--shadow-mock-cta); }
.mock-hero-2 .mock-cta { margin-top: 2px; padding: 10px; border-radius: 11px; font-size: 11px; }

.mock-nav {
  background: #fff;
  border-top: 1px solid var(--hairline);
  padding: 9px 12px 12px;
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 9px;
  text-align: center;
}
.mock-nav span { flex: 1; }
.mock-nav span.on { color: var(--ui-orange); }
.mock-nav i { display: block; font-size: 13px; margin-bottom: 3px; }

/* Leaderboard rows */
.mock-lb { padding: 18px; }
.mock-lb-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.mock-lb-sub { font-size: 11px; color: var(--muted); }
.mock-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.mock-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--hairline);
}
.mock-row .rk { flex: none; width: 20px; text-align: center; font-size: 12px; font-weight: 700; color: var(--faint); }
.mock-row .rk i { font-size: 12px; }
.mock-row .av { width: 30px; height: 30px; border-radius: var(--r-pill); flex: none; background: var(--border); }
.mock-row .who { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row .km { font-size: 13px; font-weight: 700; }
.mock-row.lead {
  background: linear-gradient(90deg, #FEF3C7, #fff);
  border-color: var(--amber-border);
}
.mock-row.lead .rk { color: var(--amber-icon); }
.mock-row.lead .who { font-weight: 600; }
.mock-row.me { background: var(--brand-tint); border-color: var(--ui-orange); }
.mock-row.me .rk { color: var(--ui-orange-hover); }
.mock-row.me .who,
.mock-row.me .km { font-weight: 700; color: #9A3412; }

/* ============================================================================
   QR download modal (desktop store-button behaviour)
   ========================================================================== */

.qrm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.qrm-overlay { position: absolute; inset: 0; background: rgba(11, 18, 32, .6); backdrop-filter: blur(3px); }
.qrm-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--r-band);
  padding: 38px 32px 30px;
  width: min(380px, 100%);
  text-align: center;
}
.qrm-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--hairline);
  border-radius: 9px;
  color: var(--body);
  font-size: 15px;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.qrm-x:hover { background: var(--border); }
.qrm-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--r-panel);
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 18px;
}
.qrm-card h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.qrm-card p { font-size: 14px; color: var(--muted); margin: 8px auto 22px; max-width: 26em; line-height: 1.5; }
.qrm-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
}
.qrm-qr img, .qrm-qr canvas { width: 100% !important; height: 100% !important; }
.qrm-link { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; }

/* ============================================================================
   Responsive + motion
   ========================================================================== */

/* Columns collapse on their own (auto-fit). These handle the pieces that
   cannot: the header lockup and the widest in-mockup content. */
@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .foot-bottom { gap: 10px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 15px; }
  .site-nav { width: 100%; justify-content: flex-start; }
  .btn-store { padding: 13px 18px; }
  .stores { width: 100%; }
  .btn-store { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .btn:active, .btn-pill:active, .btn-store:active { transform: none; }
}

/* ============================================================================
   Campaign pages — /welcome
   ----------------------------------------------------------------------------
   Reusable pieces for a promotional landing page: the announcement ticker, the
   stat strip, the countdown band, numbered steps, and the prize gallery. Every
   value below comes from the tokens above; nothing here restates a brand hex.
   ========================================================================== */

:root {
  /* The supplied shoe photography is not a cut-out — each PNG carries this
     light-grey studio backdrop. The media panel matches it so the photo blends
     into the card instead of sitting on it as a grey rectangle. */
  --shoe-media: #EAEEEF;

  /* The darker "pill text" half of the brand tint pair, completing the set
     alongside --blue-pill / --green-pill / --purple-pill / --gray-pill.
     --brand-hover on --brand-tint is only 4.03:1; this is 6.62:1. */
  --brand-pill: #9A3412;
}

/* ---- Announcement ticker -------------------------------------------------- */

.ticker {
  background: var(--dark-surface);
  border-bottom: 1px solid var(--dark-divider);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.ticker-item i { font-size: 10px; }

/* Two identical halves, so -50% lands exactly on the seam. */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Stat strip ----------------------------------------------------------- */

.statstrip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.statstrip .section-inner {
  padding: 26px var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 20px;
  text-align: center;
}
.stat-n {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-n.is-brand { color: var(--brand); }
.stat-l {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--body);
}

/* ---- Promo band + countdown ----------------------------------------------- */

.promo-band {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 56px);
  border-radius: var(--r-band);
  background: linear-gradient(120deg, #141C2B, #3B2A22);
  text-align: center;
}
.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.promo-pill i { font-size: 11px; color: var(--brand-light); }
.promo-band h2 {
  margin: 22px auto 14px;
  max-width: 26ch;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.04;
  color: #fff;
}
.promo-band .lede {
  margin: 0 auto 40px;
  max-width: 56ch;
  color: rgba(255, 255, 255, .72);
}
.promo-band .lede strong { color: #fff; font-weight: 600; }
.promo-foot { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .6); }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 20px);
  max-width: 660px;
  margin: 0 auto;
}
.cd-cell {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-card);
  padding: clamp(16px, 2.4vw, 26px) 6px;
}
.cd-n {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(26px, 5.4vw, 58px);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cd-l {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

/* ---- Numbered steps ------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}
.step-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  text-align: center;
}
.step-card img { height: 158px; width: auto; margin: 0 auto; }
.step-n {
  width: 32px;
  height: 32px;
  margin: 18px auto 12px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }

/* ---- Mo quote panel ------------------------------------------------------- */

/* A compact horizontal callout: Mo on the left, quote centred against him. The
   panel is sized by its content — no fixed height. */
.mo-quote {
  margin-top: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--brand-tint);
  border: 1px solid rgba(243, 105, 20, .28);
  border-radius: var(--r-card);
}
/* mo-thumbsup.png is natively 140x250 (portrait, ratio 0.56). Height drives the
   size and width stays auto, so the ratio is preserved; without the explicit
   width:auto the height="250" attribute is kept as a presentation hint and Mo
   renders squeezed into 76x250. object-fit is belt-and-braces against that. */
.mo-quote img {
  flex: 0 0 auto;
  width: auto;
  height: clamp(150px, 13vw, 170px);
  object-fit: contain;
}
/* The panel spans the full section width, so the quote takes a wider measure to
   fill it rather than leaving a lopsided gap on the right. */
.mo-quote blockquote {
  margin: 0;
  flex: 1 1 auto;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text);
  text-wrap: pretty;
}
.mo-quote cite { color: var(--body); font-weight: 400; font-style: normal; }

/* ---- Download strip ------------------------------------------------------- */

.download-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px);
  background: var(--brand-tint);
  border: 1px solid rgba(243, 105, 20, .28);
  border-radius: var(--r-panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.download-strip p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  max-width: 30ch;
}
/* On the light tint the Play button reads as the secondary, bordered button. */
.download-strip .store-android {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.download-strip .store-android:hover { background: var(--hairline); color: var(--text); }
.download-strip .store-android .s-top { color: var(--muted); }

/* ---- Prize gallery -------------------------------------------------------- */

.prize-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.prize-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
}
.prize-pill i { font-size: 11px; }
.prize-pill.p-brand { background: var(--brand-tint); color: var(--brand-pill); }

.shoe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 16px;
}
.shoe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 14px;
}
.shoe-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: bottom;
  background: var(--shoe-media);
  border-radius: 8px;
}
.shoe-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
}
.shoe-tag.p-blue { background: var(--blue-bg); color: var(--blue-pill); }
.shoe-tag.p-gray { background: var(--gray-bg); color: var(--gray-pill); }

/* Closing tile that finishes the gallery row. */
.shoe-card.is-endcap {
  background: var(--dark);
  border-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  padding: 20px;
}
.shoe-card.is-endcap p {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--dark-heading);
}

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

/* The hero's secondary action sits on the dark hero, so it takes the same
   treatment as the Google Play button there rather than the white .btn-secondary. */
.btn-on-dark {
  background: var(--dark-surface);
  border: 1px solid var(--dark-bezel);
  color: var(--dark-title);
}
.btn-on-dark:hover { background: var(--dark-hover); color: var(--dark-title); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-actions .btn { padding: 15px 26px; font-size: 16px; }
.hero-actions .btn i { font-size: 13px; }

/* ---- Campaign artwork ------------------------------------------------------ */

/* Mo is the subject of the hero's second column, not a decorative flourish, so
   he scales with the viewport the way the phone mockups do on other pages. */
.hero-mo {
  display: flex;
  justify-content: center;
}
.hero-mo img { width: min(300px, 62vw); height: auto; }

.closing { text-align: center; max-width: 760px; margin: 0 auto; }
/* mo-run.png is natively 186x259 (ratio 0.718). Sizing by height with width
   auto keeps that ratio; setting width alone leaves the height="259" attribute
   in play as a presentation hint and squeezes Mo to 110x259. */
.closing img {
  width: auto;
  height: 155px;
  object-fit: contain;
  margin: 0 auto 18px;
}
/* .display carries no colour of its own and .section-dark only lightens
   .section-title, so this heading would inherit the near-black body colour and
   all but vanish against the dark band. */
.closing h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  color: var(--dark-heading);
}
.closing .lede { margin: 0 auto 32px; max-width: 48ch; }
.closing .stores { justify-content: center; }

/* The closing band carries the same radial wash as the hero, mirrored. */
.section-dark.has-glow { position: relative; overflow: hidden; }
.section-dark.has-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 78% 92%, rgba(243, 105, 20, .16), transparent 70%);
  pointer-events: none;
}
.section-dark.has-glow > .section-inner { position: relative; }

/* ---- Campaign legal note (footer) ----------------------------------------- */

.legal-note {
  margin: 0 0 24px;
  max-width: 88ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--faint);
  text-wrap: pretty;
}

/* ---- Campaign responsive + motion ----------------------------------------- */

/* Side by side stops being comfortable once the quote column drops below about
   20ch, so the callout stacks: Mo centred above a centred quote. */
@media (max-width: 640px) {
  .mo-quote {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
    text-align: center;
  }
  .mo-quote img { height: clamp(120px, 34vw, 140px); }
  .mo-quote blockquote { max-width: 40ch; }
}

/* The countdown keeps four columns down to 320px; only the cell padding and
   digit size shrink, which the clamps above already handle. */
@media (max-width: 420px) {
  .cd-cell { padding: 14px 2px; }
  .cd-l { font-size: 9px; letter-spacing: .06em; }
  .promo-band { padding-left: 16px; padding-right: 16px; }
}

/* The global reduce block zeroes animation-duration, which would freeze the
   ticker mid-scroll at translateX(-50%). Stop it properly instead: one static,
   centred, wrapping message. Declared after the global block so it wins. */
@media (prefers-reduced-motion: reduce) {
  .ticker { white-space: normal; }
  .ticker-track {
    animation: none !important;
    transform: none !important;
    display: flex;
    justify-content: center;
  }
  .ticker-item { white-space: normal; text-align: center; }
  .ticker-item + .ticker-item { display: none; }
}
