.newsletter-section { margin-block: 56px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.newsletter-section[hidden] { display: none; }
.qr-landing .site-header, .qr-landing .qr-main { max-width: 720px; }
.qr-intro { padding-block: clamp(32px, 6vw, 64px) 0; }
.qr-intro h1 { font-size: clamp(2.8rem, 8vw, 4.8rem); line-height: 1.05; letter-spacing: -0.04em; margin: 20px 0; }
.qr-description { color: var(--muted); font-size: 1.15rem; line-height: 1.65; margin-bottom: 28px; }
.qr-android { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--surface-strong); }
.qr-android h2 { margin: 0 0 8px; font-size: 1.25rem; }
.qr-android p { margin: 0; color: var(--muted); }
.qr-landing .newsletter-section { margin-block: 32px 24px; }
.qr-landing .newsletter-section h2 { font-size: clamp(1.8rem, 5vw, 2.3rem); }
.qr-explore { margin-bottom: 32px; color: var(--muted); }
.qr-explore a { color: inherit; }
.newsletter-section h2 { margin: 8px 0 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
.newsletter-section p { max-width: 680px; }
.newsletter-form { max-width: 720px; margin-top: 24px; }
.newsletter-email-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.newsletter-email-row input { flex: 1 1 250px; min-width: 0; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--text); background: var(--bg); }
.newsletter-email-row button { cursor: pointer; }
.newsletter-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.newsletter-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); }
.newsletter-form button:disabled { opacity: .65; cursor: wait; }
.newsletter-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.newsletter-status { min-height: 1.6em; font-size: 1rem; }

.analytics-consent {
  position: fixed;
  z-index: 50;
  inset: auto 16px 16px;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.analytics-consent p { margin: 0 0 16px; font-size: 1rem; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-consent button { cursor: pointer; }

@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --canvas: #f5f5f2;
  --surface: #ffffff;
  --surface-strong: #eeeeea;
  --icon-container: #2e2e2e;
  --text: #000000;
  --muted: #34343a;
  --subtle: #66666e;
  --line: rgba(0, 0, 0, 0.05);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #ffd60a;
  --accent-soft: #fff5b3;
  --danger: #ff453a;
  --shadow: 0 28px 80px rgba(24, 24, 20, 0.1);
  --max: 1180px;
  --radius: 28px;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1a18;
  --canvas: #141412;
  --surface: #2c2c2a;
  --surface-strong: #383836;
  --icon-container: #525250;
  --text: #f0edd8;
  --muted: #d6d3c8;
  --subtle: #aaa79d;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent-soft: #4a4315;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1a18;
    --canvas: #141412;
    --surface: #2c2c2a;
    --surface-strong: #383836;
    --icon-container: #525250;
    --text: #f0edd8;
    --muted: #d6d3c8;
    --subtle: #aaa79d;
    --line: rgba(255, 255, 255, 0.06);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent-soft: #4a4315;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
button { font: inherit; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 12px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 12px auto 0;
  padding: 8px 12px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
}

.brand-logo img,
.hero-logo img,
.cta-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.logo-dark { opacity: 0; }
:root[data-theme="dark"] .logo-light { opacity: 0; }
:root[data-theme="dark"] .logo-dark { opacity: 1; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { opacity: 0; }
  :root:not([data-theme="light"]) .logo-dark { opacity: 1; }
}

.header-actions,
.site-header nav,
.site-footer nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible { color: var(--text); }

.site-header nav a[aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.theme-toggle {
  min-width: 68px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.theme-toggle[hidden] { display: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 0.9rem; font-weight: 800; cursor: pointer; }
.menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; }

.site-header nav { flex-wrap: wrap; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
#newsletter { scroll-margin-top: 190px; }

.theme-toggle:hover { border-color: var(--accent); }

.hero {
  min-height: 690px;
  padding: 66px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  align-items: center;
  gap: 52px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
  font-weight: 800;
}

h1 span {
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.07em;
}

.hero-lede {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible,
a:focus-visible,
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.button-primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 12px 28px rgba(255, 214, 10, 0.22);
}

.button-primary:hover { background: #ffdf3d; }

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover { border-color: var(--text); }

.availability {
  margin-top: 16px;
  color: var(--subtle);
  font-size: 0.78rem;
}

.hero-art {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 42px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(125deg, transparent 0 42px, color-mix(in srgb, var(--accent) 14%, transparent) 42px 44px),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.92;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(72%, 420px);
  aspect-ratio: 1;
}

.metric {
  position: absolute;
  z-index: 3;
  min-width: 118px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.metric strong, .metric span { display: block; }
.metric strong { font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.metric span { color: var(--subtle); font-size: 0.69rem; text-transform: uppercase; letter-spacing: 0.1em; }
.metric-left { left: 5%; bottom: 12%; }
.metric-right { right: 5%; top: 18%; }

.invitation {
  margin-bottom: 72px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--accent-soft);
}

.invitation[hidden] { display: none; }
.invitation h2 { margin: 0 0 5px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.invitation p { margin: 0; color: var(--muted); }

.proof-strip {
  border-block: 1px solid var(--line);
  background: var(--bg);
}

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid p { margin: 0; padding: 28px 26px; border-right: 1px solid var(--line); }
.proof-grid p:first-child { border-left: 1px solid var(--line); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: 1.02rem; }
.proof-grid span { color: var(--subtle); font-size: 0.76rem; }

.section { padding-block: 96px; }
.section + .section { padding-top: 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.052em;
  font-weight: 800;
}

.section-heading > p:last-child,
.watch-copy > p,
.privacy-callout p,
.cta > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.feature-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.04);
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.feature-number {
  position: absolute;
  right: 30px;
  top: 25px;
  color: var(--subtle);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 { margin: 0 0 12px; font-size: 1.55rem; letter-spacing: -0.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.watch-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 10vw, 130px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.watch-visual { display: grid; place-items: center; }

.watch-face {
  position: relative;
  width: 260px;
  aspect-ratio: 0.86;
  border: 14px solid var(--icon-container);
  border-radius: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0b0b0a;
  color: #f0edd8;
  box-shadow: inset 0 0 0 2px #000000, 0 35px 70px rgba(0, 0, 0, 0.24);
}

.watch-face::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 74px;
  width: 10px;
  height: 50px;
  border-radius: 0 7px 7px 0;
  background: var(--icon-container);
}

.watch-face strong { font-size: 3.35rem; line-height: 1; letter-spacing: -0.06em; }
.watch-face > span:not(.watch-label) { color: #d6d3c8; font-size: 0.8rem; }
.watch-label { margin-bottom: 30px; color: var(--accent); font-size: 0.64rem; letter-spacing: 0.18em; }
.watch-bars { display: flex; align-items: end; gap: 5px; height: 34px; margin-top: 26px; }
.watch-bars i { width: 9px; border-radius: 4px; background: var(--accent); }
.watch-bars i:nth-child(1) { height: 13px; }
.watch-bars i:nth-child(2) { height: 21px; }
.watch-bars i:nth-child(3) { height: 30px; }
.watch-bars i:nth-child(4) { height: 23px; }
.watch-bars i:nth-child(5) { height: 17px; }
.watch-copy { max-width: 650px; }
.watch-copy h2 { margin-bottom: 25px; }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 13px 0; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.strava-section { border-top: 1px solid var(--line); }
.strava-section .section-heading { margin-inline: auto; }
.strava-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; gap: 16px; align-items: start; }
.strava-card { min-width: 0; padding: 24px; border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); }
.strava-card-heading { margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--accent); }
.strava-card-heading .eyebrow { margin-bottom: 8px; }
.strava-card-heading h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.03em; }
.strava-widget { display: block; width: 300px; max-width: 100%; margin-inline: auto; border: 0; border-radius: 12px; background: white; color-scheme: light; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); }
.strava-widget-summary { height: 160px; }
.strava-widget-rides { height: 454px; }
.strava-disclosure { max-width: 760px; margin: 20px auto 0; color: var(--subtle); font-size: 0.78rem; }
.strava-disclosure a { color: var(--muted); font-weight: 800; }

.privacy-callout {
  margin-bottom: 96px;
  padding: 54px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--accent-soft);
}

.privacy-callout h2 { font-size: clamp(2.25rem, 4vw, 3.8rem); }
.text-link { display: inline-block; margin-top: 12px; color: var(--text); font-weight: 800; text-decoration-thickness: 2px; }

.cta {
  margin-bottom: 96px;
  padding: 78px 36px;
  border: 1px solid var(--line);
  border-radius: 36px;
  text-align: center;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-logo { position: relative; width: 112px; aspect-ratio: 1; margin: 0 auto 22px; }
.cta h2 { margin-inline: auto; max-width: 800px; }
.cta > p:not(.eyebrow) { max-width: 620px; margin: 22px auto 28px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 44px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
.footer-brand > p { margin: 9px 0 0; color: var(--subtle); font-size: 0.82rem; }
.site-footer .footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .footer-grid nav h2 { margin: 0 0 6px; font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 0.76rem; }

/* Legal and support pages */
main.shell > nav[aria-label="Breadcrumb"] { margin-top: 24px; }
.document-hero { padding: 72px 0 48px; max-width: 860px; }
.document-hero h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.document-hero > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.document-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 70px; padding-bottom: 120px; }
.document-nav { position: sticky; top: 104px; align-self: start; padding: 18px 0; }
.document-nav a { display: block; padding: 7px 0; color: var(--subtle); font-size: 0.82rem; text-decoration: none; }
.document-nav a:hover { color: var(--text); }
.document { min-width: 0; }
.document section { padding: 35px 0; border-top: 1px solid var(--line-strong); scroll-margin-top: 112px; }
.document h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.04em; }
.document h3 { margin-top: 28px; font-size: 1.1rem; }
.document p, .document li { color: var(--muted); }
.document li { margin: 9px 0; }
.document strong { color: var(--text); }
.document a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.legal-note { padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: var(--muted); }
.effective { color: var(--subtle); font-size: 0.78rem; }

.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 70px; }
main.shell > .support-card + .support-grid { margin-top: 48px; }
.faq + .cta { margin-top: 70px; }
.support-card { min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.support-card::before { content: ""; display: block; width: 44px; height: 6px; margin-bottom: 22px; border-radius: 99px; background: var(--accent); }
.support-card h2 { font-size: 1.45rem; }
.support-card p { color: var(--muted); font-size: 0.92rem; }
.support-card a { color: var(--text); font-weight: 800; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 22px 4px; font-weight: 800; }
.faq details p { margin: -5px 4px 24px; max-width: 720px; color: var(--muted); }

.not-found { min-height: calc(100vh - 180px); display: grid; place-items: center; text-align: center; }
.not-found h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); }
.not-found p { color: var(--muted); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art { min-height: 470px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .watch-section { grid-template-columns: 1fr; }
  .strava-grid { grid-template-columns: 1fr; }
  .privacy-callout { grid-template-columns: 1fr; gap: 26px; }
  .document-layout { grid-template-columns: 1fr; gap: 10px; }
  .document-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .shell, .site-header { width: min(calc(100% - 28px), var(--max)); }
  .site-header { top: 8px; margin-top: 8px; min-height: 66px; padding: 6px 8px 6px 12px; }
  .brand-logo { width: 64px; height: 64px; }
  .brand-logo img { width: 64px; height: 64px; }
  .site-header { position: sticky; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 54px; gap: 0 12px; align-items: center; }
  .header-actions { grid-column: 1 / -1; width: 100%; min-width: 0; gap: 8px; }
  .site-header nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; width: 100%; gap: 0 18px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .site-header[data-menu-ready]:not([data-menu-open]) nav,
  .site-header[data-menu-ready]:not([data-menu-open]) .header-actions { display: none; }
  .site-header[data-menu-open] nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-header nav a { font-size: 0.95rem; padding: 10px 8px; }

  #newsletter { scroll-margin-top: 90px; }
  .theme-toggle { min-width: 58px; padding-inline: 11px; }
  .hero { min-height: auto; padding: 54px 0 44px; gap: 30px; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.6rem); }
  .hero-lede { margin-top: 23px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; border-radius: 30px; }
  .metric { min-width: 98px; padding: 10px 12px; }
  .metric-left { left: 4%; bottom: 8%; }
  .metric-right { right: 4%; top: 12%; }
  .invitation { flex-direction: column; align-items: stretch; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid p { border-bottom: 1px solid var(--line); }
  .section { padding-block: 72px; }
  .feature-card { padding: 24px; }
  .strava-card { padding: 18px; }
  .watch-face { width: 220px; }
  .privacy-callout { margin-bottom: 72px; padding: 34px 24px; }
  .cta { margin-bottom: 72px; padding: 58px 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer nav { flex-wrap: wrap; }
  .document-hero { padding-top: 72px; }
  .support-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  main.shell > .support-card + .support-grid { margin-top: 32px; }
  .faq + .cta { margin-top: 48px; }
}

@media (max-width: 560px) {
  .hero-art { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Illustrated homepage: the artwork moves gently inside stationary frames. */
.parallax-frame { overflow: hidden; isolation: isolate; }
.parallax-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: center; margin: 76px 0 120px; }
.story-row:nth-of-type(even) .story-art { order: 2; }
.story-art { height: 620px; border-radius: 32px; background: #eee; box-shadow: var(--shadow); }
.story-art img { object-position: center 65%; }
.story-copy h3 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.035em; line-height: 1.08; margin: 16px 0 24px; }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 20px; line-height: 1.65; margin-bottom: 28px; }
.pro-section { padding: 96px 0; background: var(--surface-strong); }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pro-card { overflow: hidden; border-radius: 28px; background: var(--surface); border: 1px solid var(--line-strong); }
.pro-card .parallax-frame { aspect-ratio: 1; }
.pro-copy { padding: 28px; }
.pro-copy h3 { font-size: 28px; margin: 0 0 10px; }
.pro-copy p { color: var(--muted); margin: 0; line-height: 1.6; }
.artwork-note { color: var(--subtle); font-size: 14px; margin: 26px 0 0; }
@media (max-width: 760px) {
  .story-row { grid-template-columns: 1fr; gap: 28px; margin: 48px 0 80px; }
  .story-row:nth-of-type(even) .story-art { order: 0; }
  .story-art { height: 520px; }
  .story-copy > p:not(.eyebrow) { font-size: 18px; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-frame img { transform: none; }
}

.app-store-banner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 12px 20px; background: #ffd60a; color: #161616; text-align: center; font-size: 15px; text-decoration: none; }
.app-store-banner strong { text-decoration: underline; text-underline-offset: 3px; }
.app-store-banner:focus-visible { outline: 3px solid #161616; outline-offset: -4px; }
