/* ============================================================
   RidePack — Shared Stylesheet
   Design tokens, reset, nav, hero, footer, and page components
   ============================================================ */

/* === WEBFONTS ===
   Self-hosted from _shared/fonts/ — no CDN dependency.
   Space Grotesk: SemiBold (500–600) + Bold (700–800).
   DM Sans: Regular (400), Medium (500), SemiBold (600), Bold (700). */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk-Bold.ttf') format('truetype');
  font-weight: 700 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

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

/* === SVG ICONS === */
.feature-icon svg, .card-icon svg { display: block; }
.feature-row-icon svg { display: block; margin: 0 auto; }
.summary-icon svg, .platform-icon svg { display: inline-block; vertical-align: -0.15em; }

/* === TOKENS === */
:root {
  /* Brand — one accent green, everywhere */
  --accent:           #16a34a;
  --accent-bright:    #22c55e;
  --accent-dim:       rgba(22,163,74,0.12);
  --accent-glow:      0 0 20px rgba(22,163,74,0.30);

  /* Avatar palette — per-rider colors, never the brand green */
  --avatar-pink:      #E8638F;
  --avatar-teal:      #2BA8A8;
  --avatar-amber:     #F0B429;
  --avatar-red:       #D9534F;
  --avatar-violet:    #8B6DD9;
  --avatar-blue:      #3B82C4;

  /* Light theme grounds */
  --bg:               #f4f4f7;
  --bg-app:           #ebecf3;
  --bg-card:          #ffffff;
  --bg-elevated:      #ebebef;
  --bg-elevated-app:  #f3f3f7;

  /* Text */
  --text:             #0f0f12;
  --text-sec:         rgba(15,15,18,0.50);
  --text-ter:         rgba(15,15,18,0.22);
  --text-inv:         #f0f0f5;
  --text-inv-sec:     rgba(240,240,245,0.55);

  /* Borders */
  --border:           rgba(0,0,0,0.08);
  --border-dark:      rgba(255,255,255,0.08);
  --border-app:       rgba(0,0,0,0.15);

  /* Semantic */
  --danger:           #e03030;

  /* Dark surfaces (appear even in light mode) */
  --bg-dark:          #0b0b0f;
  --bg-dark-card:     #14141a;

  /* Radii */
  --radius:           16px;
  --radius-sm:        10px;
  --radius-lg:        24px;
  --radius-phone:     44px;
  --radius-pill:      999px;

  /* Elevation */
  --shadow-sm:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-md:    0 16px 40px rgba(0,0,0,0.15);
  --shadow-lg:    0 32px 64px rgba(0,0,0,0.25);
  --shadow-phone: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  --glow-accent:  0 0 24px rgba(34,197,94,0.45);

  /* Type families */
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Display / heading scale */
  --h1-size: clamp(40px, 5vw, 62px);   --h1-weight: 800; --h1-track: -2px;   --h1-lh: 1.05;
  --h2-size: clamp(28px, 3.5vw, 42px); --h2-weight: 800; --h2-track: -1px;   --h2-lh: 1.1;
  --h3-size: clamp(22px, 3vw, 30px);   --h3-weight: 800; --h3-track: -0.5px; --h3-lh: 1.15;
  --h4-size: 17px;                      --h4-weight: 700; --h4-track: -0.3px; --h4-lh: 1.3;

  /* Body scale */
  --body-lg: 18px; --body-lg-lh: 1.65;
  --body:    16px; --body-lh:    1.75;
  --body-sm: 14px; --body-sm-lh: 1.65;
  --caption: 12px; --caption-lh: 1.5;

  /* Eyebrow / section label */
  --label-size: 11px; --label-track: 1.5px; --label-weight: 700;
}

/* === BASE === */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* === FOCUS === */
/* Consistent, high-visibility focus ring for all interactive elements */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Suppress default browser outline when :focus-visible is supported */
:focus:not(:focus-visible) { outline: none; }

/* === SKIP LINK === */
.skip-link {
  position: absolute; top: -999px; left: 0;
  background: var(--accent); color: white;
  padding: 10px 20px; font-weight: 600;
  z-index: 9999; border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* === NAV === */
nav {
  position: sticky; top: 0;
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  background: rgba(244,244,247,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
@media (prefers-color-scheme: dark) {
  nav { background: rgba(11,11,15,0.88); }
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; height: 60px;
  padding: 0 32px;
}
.wordmark { display: flex; align-items: baseline; text-decoration: none; font-family: var(--font-head); letter-spacing: -0.5px; }
.word-ride { font-size: 22px; font-weight: 600; color: var(--accent); }
.word-pack { font-size: 22px; font-weight: 800; color: var(--text); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700 !important;
  box-shadow: var(--accent-glow);
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }
.nav-cta-soon { cursor: default; opacity: 0.65; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 36px;
  height: 36px;
  margin-right: -8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  color: white; padding: 80px 24px 72px; text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, oklch(72% 0.22 145 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}
@supports not (color: oklch(0% 0 0)) {
  .hero::before {
    background: radial-gradient(ellipse, rgba(34,197,94,0.1) 0%, transparent 70%);
  }
}
.hero-wordmark { display: inline-flex; align-items: baseline; margin-bottom: 16px; }
.hero .word-ride { font-size: 42px; font-weight: 600; color: oklch(72% 0.22 145); }
.hero .word-ride { color: #22c55e; }
.hero .word-pack { font-size: 42px; font-weight: 800; color: #fff; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #f0f0f5;
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 16px;
}
.hero p { font-size: 18px; color: rgba(240,240,245,0.6); max-width: 540px; margin: 0 auto; }
.hero .dates {
  display: inline-flex; gap: 24px; margin-top: 20px;
  font-size: 13px; opacity: 0.6;
}

/* === BADGE === */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}

/* === APP ICON === */
.app-icon {
  width: 120px; height: 120px;
  border-radius: 27px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.30);
  display: block; margin: 0 auto 28px;
}

/* === BUTTON === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: oklch(72% 0.22 145);
  color: #0b0b0f;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  border-radius: 50px; text-decoration: none;
  box-shadow: 0 0 20px oklch(72% 0.22 145 / 0.45);
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
@supports not (color: oklch(0% 0 0)) {
  .btn { background: #22c55e; box-shadow: 0 0 20px rgba(34,197,94,0.4); }
}
.hero-cta { margin-top: 32px; }

/* === CONTAINER === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.container--page { padding-top: 80px; padding-bottom: 104px; }

/* === PAGE SECTIONS === */
.page-section { padding: 80px 0; }
.page-section + .page-section { border-top: 1px solid var(--border); }

/* === SECTION LABEL === */
.section-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 8px;
}

/* === HEADINGS (used outside hero) === */
.page-section h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
  text-wrap: balance;
}
.page-section p { font-family: var(--font-body); color: var(--text-sec); margin-bottom: 16px; line-height: 1.75; }
.page-section h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.page-section ul, .page-section ol { padding-left: 20px; color: var(--text-sec); margin-bottom: 16px; }
.page-section li { margin-bottom: 6px; font-size: 16px; }
.page-section li strong { color: var(--text); }

/* === FEATURE GRID (home) === */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 64px 24px; max-width: 960px; margin: 0 auto;
}
.feature-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid oklch(55% 0.22 145 / 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 20px;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feature-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.65;
}

/* === FEATURE ROWS (features page) === */
.feature-rows { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.feature-row {
  display: flex; gap: 64px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.feature-row { gap: 80px; padding: 80px 0; }
.feature-row:last-child { border-bottom: none; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-row-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 64px;
  flex-shrink: 0;
}
.feature-row-text { flex: 1; }
.feature-row-text .section-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-row-text h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 16px;
  text-wrap: balance;
}
.feature-row-text p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 0;
}

/* === APP SCREENSHOTS === */
.screenshots-section {
  padding: 64px 24px 0;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.screenshot-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.screenshot-row img {
  width: 220px;
  border-radius: 40px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.25), 0 0 0 1px var(--border);
}

/* Feature row screenshot (replaces icon for select rows) */
.feature-row-screenshot {
  flex-shrink: 0;
  width: 200px;
  text-align: center;
}
.feature-row-screenshot img {
  border-radius: 40px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.2), 0 0 0 1px var(--border);
  width: 220px;
}

/* === CTA STRIP === */
.cta-strip {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 96px 32px; text-align: center; color: white;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, oklch(72% 0.22 145 / 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #f0f0f5;
  margin-bottom: 12px;
}
.cta-strip p { font-size: 18px; color: rgba(240,240,245,0.5); margin-bottom: 36px; }

/* === FAQ === */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-section-label { margin-bottom: 24px; }
.section-spacer { margin-top: 80px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  display: block; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 24px 0;
  font-size: 17px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron { font-size: 18px; transition: transform 0.2s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 0 24px;
  font-size: 16px; color: var(--text-sec); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* === PRESS KIT === */
.icon-downloads {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px;
}
.icon-download {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.icon-download img { width: 100px; height: 100px; border-radius: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.icon-download p { font-size: 14px; color: var(--text-sec); }
.download-link {
  display: inline-block; background: var(--accent); color: white;
  font-size: 14px; font-weight: 600; padding: 9px 22px;
  border-radius: 980px; text-decoration: none;
}
.download-link:hover { opacity: 0.88; }

.color-swatches { margin-bottom: 48px; }
.color-swatch {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.color-swatch:first-child { border-top: 1px solid var(--border); }
.swatch-dot { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.swatch-name { font-size: 15px; font-weight: 600; color: var(--text); flex: 1; }
.swatch-hex { font-size: 13px; color: var(--text-sec); font-family: monospace; }

.copy-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  font-size: 15px; color: var(--text-sec); line-height: 1.7;
  margin-bottom: 20px;
}
.copy-block strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

.press-contact {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px; text-align: center;
}
.press-contact h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.press-contact p { color: var(--text-sec); max-width: 440px; margin: 0 auto 24px; }
.icon-note { color: var(--text-sec); margin-bottom: 24px; }

/* === SUMMARY CARDS (privacy) === */
.summary {
  background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 56px 32px;
}
.summary-inner { max-width: 920px; margin: 0 auto; }
.summary > .summary-inner > h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.summary-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.summary-card {
  background: var(--bg-elevated); border-radius: 10px; padding: 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.summary-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.summary-label { font-size: 13px; font-weight: 600; color: var(--text); display: block; margin-bottom: 2px; }
.summary-desc { font-size: 12px; color: var(--text-sec); }

/* === LEGAL CONTENT === */
.legal-container { max-width: 920px; margin: 0 auto; padding: 64px 32px 104px; }
.legal-section { padding: 56px 0; }
.legal-section + .legal-section { border-top: 1px solid var(--border); }
.section-number {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 6px;
}
.legal-section h2 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.legal-section h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.legal-section p { color: var(--text-sec); margin-bottom: 16px; line-height: 1.75; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol { padding-left: 20px; color: var(--text-sec); margin-bottom: 16px; }
.legal-section li { margin-bottom: 6px; font-size: 16px; }
.legal-section li strong { color: var(--text); }

/* === DATA TABLE === */
.data-table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; font-size: 14px;
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-elevated); color: var(--text); padding: 12px 16px; text-align: left;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.data-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  color: var(--text-sec); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { color: var(--text); font-weight: 500; }
.data-table tr:hover td { background: var(--bg); }

/* === PILLS === */
.pill {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.pill-yes { background: var(--accent-dim); color: var(--accent); }
.pill-no  { background: #FFE5E5; color: #C0392B; }

/* === CALLOUT === */
.callout {
  background: var(--accent-dim); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
  font-size: 15px; color: var(--text);
}
.callout strong { display: block; margin-bottom: 4px; }

/* === CONTACT BOX === */
.contact-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px; text-align: center;
}
.contact-box h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.contact-box p { color: var(--text-sec); max-width: 440px; margin: 0 auto 24px; }
.contact-link {
  display: inline-block; background: var(--accent); color: white;
  font-size: 15px; font-weight: 600; padding: 12px 28px;
  border-radius: 980px; text-decoration: none;
}
.contact-link:hover { opacity: 0.88; }
.prose-link { color: var(--accent); text-decoration: underline; }
.prose-link:hover { color: var(--text); }

/* === FOOTER === */
footer {
  background: #0b0b0f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.4px;
  text-decoration: none;
}
.footer-wordmark .word-ride { color: #22c55e; font-weight: 600; }
.footer-wordmark .word-pack { color: rgba(240,240,245,0.9); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(240,240,245,0.4);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(240,240,245,0.8); }
.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(240,240,245,0.25);
}

/* === HOME LAYOUT REDESIGN === */
.hero-home { padding: 100px 32px 0; text-align: left; }
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: flex-end;
}
.hero-content { padding-bottom: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: oklch(72% 0.22 145 / 0.12);
  border: 1px solid oklch(72% 0.22 145 / 0.25);
  color: #22c55e;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.7);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-home h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: #f0f0f5;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-inv-sec);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: oklch(72% 0.22 145); color: #0b0b0f;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 50px;
  box-shadow: var(--accent-glow); transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-coming-soon { cursor: default; opacity: 0.65; pointer-events: none; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(240,240,245,0.6);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 4px; border-radius: 50px; transition: color 0.15s;
}
.btn-ghost:hover { color: #f0f0f5; }
.hero-phones {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0; position: relative;
}
.hero-phone {
  border-radius: 44px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden; flex-shrink: 0;
}
.hero-phone-main { width: 240px; z-index: 2; position: relative; transform: translateY(0); }
.hero-phone-secondary { width: 200px; z-index: 1; transform: translateY(40px) translateX(-20px); opacity: 0.75; }
.hero-phone-third { width: 200px; z-index: 1; transform: translateY(60px) translateX(-40px); opacity: 0.55; }
.hero-phone img { width: 100%; display: block; }

.home-section { padding: 96px 32px; }
.home-section-inner { max-width: 1120px; margin: 0 auto; }
.features-quick {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-quick .home-section-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fq-card { padding: 40px 32px; border-right: 1px solid var(--border); }
.fq-card:last-child { border-right: none; }
.fq-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-dim); border: 1px solid oklch(55% 0.22 145 / 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.fq-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px; letter-spacing: -0.3px;
}
.fq-desc { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

.home-feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.home-feature-row:last-child { border-bottom: none; }
.home-feature-row.reverse { direction: rtl; }
.home-feature-row.reverse > * { direction: ltr; }
.home-feature-row-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.home-feature-phone {
  width: 220px; border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.2), 0 0 0 1px var(--border);
}
.home-feature-phone img { width: 100%; display: block; }
.home-feature-row-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.home-feature-row-heading {
  font-family: var(--font-head); font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800; letter-spacing: -0.8px; line-height: 1.15;
  color: var(--text); margin-bottom: 16px; text-wrap: balance;
}
.home-feature-row-body { font-size: 16px; color: var(--text-sec); line-height: 1.75; }
.home-feature-row-body + .home-feature-row-body { margin-top: 12px; }

.pro-section {
  background: var(--bg-dark);
  padding: 96px 32px;
  position: relative; overflow: hidden;
}
.pro-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, oklch(72% 0.22 145 / 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.pro-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.pro-text-content .section-label { color: #22c55e; }
.pro-text-content h2 {
  font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.1;
  color: #f0f0f5; margin-bottom: 16px; text-wrap: balance;
}
.pro-text-content p { font-size: 16px; color: rgba(240,240,245,0.6); line-height: 1.7; margin-bottom: 12px; }
.pro-free-note {
  font-size: 14px;
  color: rgba(240,240,245,0.4);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.pro-card {
  background: var(--bg-dark-card); border: 1px solid var(--border-dark);
  border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
}
.pro-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(72% 0.22 145 / 0.5), transparent);
}
.pro-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: oklch(72% 0.22 145 / 0.15);
  border: 1px solid oklch(72% 0.22 145 / 0.3);
  color: #22c55e;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px; margin-bottom: 24px;
}
.pro-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pro-price-main { font-family: var(--font-head); font-size: 48px; font-weight: 800; color: #f0f0f5; letter-spacing: -2px; }
.pro-price-period { font-size: 16px; color: rgba(240,240,245,0.55); font-weight: 500; }
.pro-price-alt { font-size: 14px; color: rgba(240,240,245,0.45); margin-bottom: 26px; }
.pro-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.pro-features li { display: flex; align-items: center; gap: 12px; color: rgba(240,240,245,0.82); font-size: 15px; }
.pro-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: oklch(72% 0.22 145 / 0.2);
  border: 1px solid oklch(72% 0.22 145 / 0.4);
  color: #22c55e;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; font-size: 11px;
}
.btn-pro {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: #22c55e;
  color: #0b0b0f;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  text-align: center;
  box-shadow: 0 0 24px oklch(72% 0.22 145 / 0.5);
  transition: opacity 0.15s;
  display: block;
}
.btn-pro:hover { opacity: 0.88; }

.watch-section { background: var(--bg-elevated); }
.watch-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.section-heading {
  font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.1;
  color: var(--text); margin-bottom: 16px; text-wrap: balance;
}
.section-sub { font-size: 17px; color: var(--text-sec); max-width: 520px; line-height: 1.7; }
.watch-screens { display: flex; gap: 16px; justify-content: center; align-items: center; }
.watch-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.watch-img img { width: 140px; display: block; }

.cta-label { color: #22c55e; margin-bottom: 12px; }
.btn-primary-centered { display: inline-flex; margin: 0 auto; }
.cta-strip {
  padding: 100px 32px;
}
.cta-strip h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-strip p { margin-bottom: 36px; }

/* === ACCESSIBILITY PAGE === */
.page-section .section-sub { font-size: 16px; color: var(--text-sec); margin-bottom: 36px; }
.updated {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-sec); margin-top: 32px;
}

/* Platform cards (accessibility supported features) */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.platform-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.platform-header {
  background: var(--bg-elevated); color: var(--text); padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}
.platform-icon { font-size: 20px; }
.platform-name { font-size: 15px; font-weight: 600; letter-spacing: 0.2px; }
.platform-body { padding: 20px; }

/* Feature list rows (accessibility) */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.feature-text strong { color: var(--text); display: block; margin-bottom: 1px; }
.feature-text span { color: var(--text-sec); font-size: 14px; }

/* Status badges (accessibility) */
.badge-yes     { background: var(--accent-dim); color: var(--accent); }
.badge-no      { background: #FFE5E5; color: #C0392B; }
.badge-partial { background: #FFF3CD; color: #856404; }
.badge-yes, .badge-no, .badge-partial {
  flex-shrink: 0; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; margin-top: 1px;
}

/* Detail cards (accessibility what we've built) */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card-icon {
  width: 40px; height: 40px; background: var(--accent-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--text-sec); margin: 0; }

/* Known limitations list (accessibility) */
.limitations-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.limitation-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid #F5A623;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}
.limitation-item strong { display: block; color: var(--text); margin-bottom: 3px; font-size: 15px; }
.limitation-item span { color: var(--text-sec); font-size: 14px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container,
  .feature-rows { padding: 0 20px; }
  .container--page { padding-top: 64px; padding-bottom: 84px; }
  .page-section { padding: 64px 0; }
  .summary { padding: 40px 20px; }
  .legal-container { padding: 48px 20px 80px; }
  .legal-section { padding: 44px 0; }
  .contact-box,
  .press-contact { padding: 32px 24px; }
  .hero-home { padding: 72px 20px 0; }
  .hero-inner,
  .home-feature-row,
  .pro-inner,
  .watch-inner { grid-template-columns: 1fr; gap: 48px; }
  .home-feature-row.reverse { direction: ltr; }
  /* Hero device: center, fluid width, no clipping from stack transforms */
  .hero-phones {
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0 0 8px;
    overflow: visible;
  }
  .hero-inner { align-items: center; }
  .hero-content { text-align: center; padding-bottom: 40px; }
  .hero-sub { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-phone,
  .hero-phone-main { width: min(88vw, 280px); }
  .hero-phone-secondary,
  .hero-phone-third { width: min(60vw, 200px); }
  .hero-phone { transform: none; opacity: 1; }
  .home-feature-row { padding: 48px 0; gap: 32px; }
  .home-feature-row-visual { width: 100%; }
  .features-quick .home-section-inner { grid-template-columns: 1fr; }
  .fq-card { border-right: none; border-bottom: 1px solid var(--border); }
  .fq-card:last-child { border-bottom: none; }
  .home-section,
  .pro-section { padding: 72px 20px; }
  .watch-screens { justify-content: center; flex-wrap: wrap; }
  .screenshot-row { overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  .screenshot-row img { width: 160px; }
  .feature-row-screenshot { width: auto; }
  .feature-row-screenshot img { max-width: 180px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-row,
  .feature-row:nth-child(even) { flex-direction: column; gap: 32px; }
  /* Column layout defaults to align-items: stretch; center visuals only so icons
     aren’t full-bleed like phone screenshots, while copy stays full width. */
  .feature-row-icon {
    width: 108px;
    height: 108px;
    font-size: 50px;
    flex-shrink: 0;
    align-self: center;
  }
  .feature-row-screenshot { align-self: center; }
  .icon-downloads { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(244,244,247,0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 4px 0 12px;
    z-index: 99;
  }
  nav.nav-open .nav-links li { border-bottom: 1px solid var(--border); }
  nav.nav-open .nav-links a { display: block; padding: 14px 24px; font-size: 16px; color: var(--text); }
}

@media (max-width: 900px) {
  .hero-inner,
  .home-feature-row,
  .pro-inner,
  .watch-inner { grid-template-columns: 1fr; gap: 48px; }
  .home-feature-row.reverse { direction: ltr; }
  .hero-phones {
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0 0 8px;
    overflow: visible;
  }
  .hero-inner { align-items: center; }
  .hero-phone-secondary, .hero-phone-third { display: none; }
  .hero-phone-main { width: min(88vw, 280px); max-width: 100%; }
  .home-feature-row-visual { width: 100%; }
  .home-feature-phone {
    width: 100%;
    max-width: min(92vw, 260px);
    margin: 0 auto;
  }
  .watch-screens { flex-wrap: wrap; justify-content: center; }
  .watch-img { max-width: 100%; }
  .watch-img img { width: min(200px, 42vw); max-width: 100%; height: auto; }
  .features-quick .home-section-inner { grid-template-columns: 1fr 1fr; }
  .fq-card { border-right: none; border-bottom: 1px solid var(--border); }
  .fq-card:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .home-section,
  .pro-section { padding: 64px 20px; }
  .features-quick .home-section-inner { grid-template-columns: 1fr; }
  .hero-home { padding: 72px 20px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .watch-screens {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .watch-img img { width: min(180px, 72vw); }
}
@media (max-width: 480px) {
  .hero-home h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero-content { padding-bottom: 64px; }
  .pro-card { padding: 28px; }
  .hero { padding: 56px 20px 48px; }
  .hero-home { padding: 56px 20px 0; }
  .feature-grid { padding: 40px 20px; }
  .feature-rows { padding: 0 20px; }
  .data-table { overflow-x: auto; display: block; }
}

/* === DARK THEME ===
   Applied via [data-theme="dark"], .dark class, or prefers-color-scheme. */
:root[data-theme="dark"],
:root.dark {
  --accent:           #22c55e;
  --accent-dim:       rgba(34,197,94,0.15);
  --accent-glow:      0 0 24px rgba(34,197,94,0.45);

  --bg:               #0b0b0f;
  --bg-app:           #0b0b0f;
  --bg-card:          #14141a;
  --bg-elevated:      #1c1c24;
  --bg-elevated-app:  #1c1c24;

  --text:             #f0f0f5;
  --text-sec:         rgba(240,240,245,0.50);
  --text-ter:         rgba(240,240,245,0.22);
  --border:           rgba(255,255,255,0.08);
  --border-app:       rgba(255,255,255,0.07);
  --danger:           #ff4545;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent:           #22c55e;
    --accent-dim:       rgba(34,197,94,0.15);
    --accent-glow:      0 0 24px rgba(34,197,94,0.45);
    --bg:               #0b0b0f;
    --bg-app:           #0b0b0f;
    --bg-card:          #14141a;
    --bg-elevated:      #1c1c24;
    --bg-elevated-app:  #1c1c24;
    --text:             #f0f0f5;
    --text-sec:         rgba(240,240,245,0.50);
    --text-ter:         rgba(240,240,245,0.22);
    --border:           rgba(255,255,255,0.08);
    --border-app:       rgba(255,255,255,0.07);
    --danger:           #ff4545;
  }
  nav.nav-open .nav-links { background: rgba(11,11,15,0.97); }
  .pill-no,
  .badge-no      { background: rgba(255,59,48,0.15);  color: #FF6B6B; }
  .badge-partial { background: rgba(255,159,10,0.15); color: #FFB340; }
}

/* === SEMANTIC TYPE CLASSES === */
.rp-wordmark {
  font-family: var(--font-head);
  letter-spacing: -0.5px;
  display: inline-flex; align-items: baseline;
}
.rp-wordmark .ride { font-weight: 600; color: var(--accent); }
.rp-wordmark .pack { font-weight: 800; color: var(--text); }

.rp-h1 { font-family: var(--font-head); font-size: var(--h1-size); font-weight: var(--h1-weight); letter-spacing: var(--h1-track); line-height: var(--h1-lh); text-wrap: balance; }
.rp-h2 { font-family: var(--font-head); font-size: var(--h2-size); font-weight: var(--h2-weight); letter-spacing: var(--h2-track); line-height: var(--h2-lh); text-wrap: balance; }
.rp-h3 { font-family: var(--font-head); font-size: var(--h3-size); font-weight: var(--h3-weight); letter-spacing: var(--h3-track); line-height: var(--h3-lh); text-wrap: balance; }
.rp-h4 { font-family: var(--font-head); font-size: var(--h4-size); font-weight: var(--h4-weight); letter-spacing: var(--h4-track); line-height: var(--h4-lh); }

.rp-body-lg { font-family: var(--font-body); font-size: var(--body-lg); line-height: var(--body-lg-lh); }
.rp-body    { font-family: var(--font-body); font-size: var(--body); line-height: var(--body-lh); }
.rp-body-sm { font-family: var(--font-body); font-size: var(--body-sm); line-height: var(--body-sm-lh); }
.rp-caption { font-family: var(--font-body); font-size: var(--caption); line-height: var(--caption-lh); }

.rp-label {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: var(--accent);
}
