/*
 * Pursue — "Lux Athletic" marketing + legal site.
 * Palette and type roles mirror native/src/theme/tokens.ts (dark mode).
 * Plain static CSS, mobile-first, no build step.
 */

:root {
  /* Surfaces — dark ink ladder (DARK_INK in tokens.ts) */
  --bg: #000;
  --surface: #0a0a0c;
  --surface-2: #101115;
  --surface-3: #15161a;

  /* Lines — hairline by default */
  --border-hairline: #23262c;
  --border: #1a1c20;

  /* Text */
  --fg: #e7e8ec;
  --fg-muted: #a4a8b1;
  /* Lifted from #6a6e76 to clear WCAG AA 4.5:1 on the small (11-13px) mono
     labels that use it (.eyebrow, .legal-meta, .track .num, footer copyright). */
  --fg-faint: #7c8089;

  /* Accent — monochrome platinum (buildAccent, dark: hsl 222 9%).
     Color is "earned"; surfaces stay neutral. */
  --accent: #d1d3d9;       /* brightest platinum */
  --accent-soft: #a4a8b1;  /* secondary */

  /* Radii — 8 / 16 / 24 / pill */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Soft, low-opacity elevation (elev[1] / elev[2]) */
  --elev-1: 0 2px 6px rgba(0, 0, 0, 0.20);
  --elev-2: 0 6px 16px rgba(0, 0, 0, 0.32);

  /* Type roles */
  --font-hero: "Bebas Neue", "Barlow Condensed", system-ui, sans-serif;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --gutter: 24px;
  --measure: 760px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Layout primitives ─────────────────────────────────────────── */

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

main {
  display: block;
}

/* ── Links ─────────────────────────────────────────────────────── */

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover {
  color: #fff;
}

a:focus-visible,
.eyebrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

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

/* ── Eyebrow / mono micro-labels ───────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0;
}

/* ── Visually hidden (a11y) ────────────────────────────────────── */

/* Off-screen but exposed to assistive tech. Used for the static
   screen-reader copy of the decorative marquee missions. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ── Skip link (a11y) ──────────────────────────────────────────── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}

.skip-link:focus {
  left: var(--gutter);
  top: 12px;
  padding: 10px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-sm);
  color: var(--fg);
}

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease,
    color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0c;
  padding: 11px 20px;
}

.btn-primary:hover {
  background: #fff;
  color: #0a0a0c;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-lg {
  font-size: 13px;
  padding: 15px 30px;
}

/* ── Sticky top nav ────────────────────────────────────────────── */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  /* Hairline only appears once content scrolls under it, via the
     translucent fill above; kept subtle to stay Lux. */
  transition: border-color 200ms ease, background-color 200ms ease;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 18px;
  color: var(--fg);
}

/* The "Momentum" brand mark, inlined (geometry mirrors Logo.tsx /
   assets/icon.svg). currentColor ties it to the wordmark, including hover. */
.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.topnav-brand:hover {
  color: #fff;
}

.topnav-links {
  display: flex;
  align-items: center;
  gap: 12px 26px;
}

.topnav-links > a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.topnav-links > a:not(.btn):hover {
  color: var(--fg);
}

/* ── Hero (landing) ────────────────────────────────────────────── */

.hero {
  padding: clamp(56px, 12vh, 120px) 0 clamp(40px, 8vh, 72px);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.hero .eyebrow {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 40px;
}

.wordmark {
  font-family: var(--font-hero);
  font-weight: 400;
  text-transform: uppercase;
  /* one hero moment per page — tall, condensed, commanding */
  font-size: clamp(88px, 26vw, 240px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
  /* Solid fallback: engines without background-clip:text keep a visible
     platinum heading instead of transparent (invisible) text. */
  color: var(--fg);
}

/* faint platinum sheen, not a rainbow gradient — only where clip-to-text works */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark {
    background: linear-gradient(180deg, #fdfdfe 0%, #cfd1d7 58%, #9a9da4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 4.4vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin: 24px 0 0;
  max-width: 30ch;
}

.lede {
  color: var(--fg-muted);
  font-size: clamp(17px, 2.4vw, 19px);
  margin: 28px 0 0;
  max-width: 56ch;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--elev-1);
}

.availability .dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(209, 211, 217, 0.10);
  flex: none;
}

.availability span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Marquee (colorful, CSS-only, seamless) ────────────────────── */

.marquee {
  margin-top: clamp(44px, 8vh, 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Fade both edges into the black background. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}

.marquee-row {
  display: flex;
  width: max-content;
  /* Two identical tracks sit side by side; shifting the pair by -50%
     lands the second copy exactly where the first began → seamless. */
  animation: marquee-scroll 46s linear infinite;
}

.marquee-row-reverse {
  animation-direction: reverse;
  animation-duration: 58s;
}

.marquee:hover .marquee-row {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0 7px;
  flex: none;
}

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

.m-card {
  --track-color: hsl(var(--track));
  position: relative;
  flex: none;
  width: 230px;
  padding: 18px 18px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

/* Track-colored top hairline. */
.m-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--track-color);
  opacity: 0.85;
}

.m-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--track-color);
}

/* Small colored dot before the track label. */
.m-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--track-color);
  box-shadow: 0 0 0 3px hsl(var(--track) / 0.16);
}

.m-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin-top: 12px;
}

.m-lvl {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-pill);
}

/* ── Value blurbs ──────────────────────────────────────────────── */

.ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  text-align: center;
  margin: 0 0 clamp(40px, 8vh, 72px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.ticker-sep {
  color: var(--accent);
  font-size: 11px;
}

.values {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.value-card {
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
}

.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
}

.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--fg);
  margin: 10px 0 0;
}

.value-body {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ── Tracks (six tracks) ──────────────────────────────────────── */

.section {
  padding: clamp(56px, 12vh, 96px) 0;
}

.section-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 0.01em;
  margin: 14px 0 0;
  color: var(--fg);
}

.section-sub {
  color: var(--fg-muted);
  margin: 12px 0 0;
  max-width: 56ch;
}

.tracks {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.track {
  --track-color: hsl(var(--track));
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 20px 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  box-shadow: var(--elev-1);
  overflow: hidden;
}

/* Track-colored left accent bar. */
.track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--track-color);
  opacity: 0.9;
}

.track .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-faint);
  flex: none;
  min-width: 2ch;
}

.track-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.track .name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--fg);
}

/* Track-colored dot beside the name. */
.track .name::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--track-color);
  box-shadow: 0 0 0 3px hsl(var(--track) / 0.16);
  flex: none;
}

.track .desc {
  color: var(--fg-muted);
  font-size: 16px;
}

/* Section that should not double its top padding (used between value
   blurbs and tracks, which already carry breathing room). */
.section-flush {
  padding-top: 0;
}

/* ── Get the app / QR block ────────────────────────────────────── */

.get {
  border-top: 1px solid var(--border-hairline);
}

.get-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.get .eyebrow,
.get .section-head {
  text-align: center;
}

.get-sub {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.qr-tile {
  margin-top: 36px;
  padding: 18px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--elev-2);
  line-height: 0;
}

.qr-tile img {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: var(--r-sm);
}

.qr-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 18px 0 0;
}

/* Neutral, non-interactive App Store badge — honest "coming soon". */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 20px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--r-md);
  background: var(--surface-2);
  box-shadow: var(--elev-1);
  cursor: default;
}

.store-badge-glyph {
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--fg-muted);
  /* Apple-logo silhouette, rendered as a mask so it inherits the
     muted neutral tone (no real brand asset, no store link). */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.365 1.43c0 1.14-.42 2.2-1.18 3.02-.83.9-2.2 1.6-3.32 1.5-.13-1.1.42-2.27 1.13-3.02.79-.86 2.2-1.5 3.37-1.5zM20.5 17.04c-.55 1.27-.82 1.84-1.53 2.96-1 1.57-2.4 3.52-4.14 3.53-1.55.02-1.95-1.01-4.05-1-2.1.01-2.54 1.02-4.09 1-1.74-.01-3.07-1.78-4.06-3.34C-.4 17.9-.7 13.2 1.55 10.7c1.02-1.16 2.62-1.9 4.1-1.9 1.5 0 2.45 1.02 3.7 1.02 1.2 0 1.93-1.02 3.67-1.02 1.3 0 2.68.71 3.66 1.94-3.22 1.76-2.7 6.36.82 7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.365 1.43c0 1.14-.42 2.2-1.18 3.02-.83.9-2.2 1.6-3.32 1.5-.13-1.1.42-2.27 1.13-3.02.79-.86 2.2-1.5 3.37-1.5zM20.5 17.04c-.55 1.27-.82 1.84-1.53 2.96-1 1.57-2.4 3.52-4.14 3.53-1.55.02-1.95-1.01-4.05-1-2.1.01-2.54 1.02-4.09 1-1.74-.01-3.07-1.78-4.06-3.34C-.4 17.9-.7 13.2 1.55 10.7c1.02-1.16 2.62-1.9 4.1-1.9 1.5 0 2.45 1.02 3.7 1.02 1.2 0 1.93-1.02 3.67-1.02 1.3 0 2.68.71 3.66 1.94-3.22 1.76-2.7 6.36.82 7.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-pre {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.store-badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--fg-muted);
}

/* ── Footer (shared, multi-column) ─────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: clamp(40px, 7vh, 64px) 0 56px;
  margin-top: clamp(40px, 8vh, 80px);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  padding: 0;
}

.footer-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.footer-col ul {
  list-style: none;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--fg-muted);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(36px, 6vh, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-legal {
  color: var(--fg-faint);
  font-size: 13px;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ── Legal pages ───────────────────────────────────────────────── */

.legal-top {
  padding: 36px 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.back-link:hover {
  color: var(--fg);
}

.back-link .arrow {
  font-size: 13px;
  line-height: 1;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0 8px;
}

.legal h1 {
  font-family: var(--font-hero);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(46px, 12vw, 84px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 12px 0 0;
  color: var(--fg);
}

.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 18px 0 0;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3.6vw, 24px);
  letter-spacing: 0.01em;
  color: var(--fg);
  margin: 48px 0 0;
  padding-top: 8px;
}

.legal p {
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.72;
  margin: 18px 0 0;
}

.legal ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal li {
  position: relative;
  color: var(--fg-muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 12px 0 0;
  padding-left: 26px;
}

.legal li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
}

/* First block after the H1 is the meta caption — tighten it up.
   First paragraph reads slightly brighter as an intro. */
.legal h1 + .legal-meta {
  margin-top: 16px;
}

/* ── Responsive ────────────────────────────────────────────────── */

/* Mobile-first: hide the text anchors, keep wordmark + CTA. The
   in-page anchor targets remain reachable from the footer Explore
   column, so nothing is lost on small screens. */
@media (max-width: 559px) {
  .topnav-links > a:not(.btn) {
    display: none;
  }
}

@media (min-width: 560px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 680px) {
  .tracks {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .m-card {
    width: 250px;
  }
}

/* ── Desktop: scale horizontally instead of a narrow reading column ── */
/* Scoped to .landing so the legal pages keep their 720px reading measure. */
@media (min-width: 1024px) {
  .landing {
    --measure: 1180px;
    --gutter: 40px;
  }

  /* Hero → two-column masthead: a commanding wordmark across the top, then
     the tagline and lede side by side, then the CTA row underneath. */
  .hero .shell {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "eyebrow  eyebrow"
      "wordmark wordmark"
      "tagline  lede"
      "actions  actions";
    column-gap: clamp(40px, 5vw, 88px);
    row-gap: clamp(18px, 2.4vh, 32px);
    align-items: start;
  }
  .hero .eyebrow { grid-area: eyebrow; margin-bottom: 0; }
  .hero .wordmark {
    grid-area: wordmark;
    font-size: clamp(150px, 22vw, 300px);
  }
  .hero .tagline {
    grid-area: tagline;
    margin: 4px 0 0;
    max-width: none;
    font-size: clamp(24px, 2.1vw, 30px);
  }
  .hero .lede { grid-area: lede; margin: 6px 0 0; max-width: 52ch; }
  .hero .hero-actions { grid-area: actions; margin-top: 8px; }

  /* Sections spread across the wider container. */
  .values { grid-template-columns: repeat(4, 1fr); }
  .tracks { grid-template-columns: repeat(3, 1fr); }
  .section-sub { max-width: 64ch; }

  /* A touch more presence for the download block on big screens. */
  .qr-tile img { width: 300px; height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  /* Stop the marquee for users who request reduced motion. It becomes
     a static, slightly-overflowing row (edges still masked). */
  .marquee-row {
    animation: none;
  }
}
