/* ==========================================================================
   LupoTrail Design System & Stylesheet
   Warm Canyon Charcoal & Terracotta Rust Theme with Glassmorphism
   Inspired by: LupoTrail App Design System (Canyon Clay & Earth Tones)
   ========================================================================== */

:root {
  /* ── Canyon Clay & Terracotta Hero Palette ── */
  --terracotta: #E06343;
  --terracotta-light: #F08B71;
  --terracotta-dark: #C84D2E;
  --terracotta-deep: #A3381B;

  --terracotta-glow: rgba(224, 99, 67, 0.22);
  --terracotta-glow-subtle: rgba(224, 99, 67, 0.10);
  --terracotta-border: rgba(224, 99, 67, 0.38);
  --terracotta-border-subtle: rgba(224, 99, 67, 0.20);
  --terracotta-highlight: rgba(224, 99, 67, 0.15);

  /* ── Natural Earth & Trail Accents ── */
  --sand-dune: #D8B48F;
  --sand-light: #E8D2BD;
  --earth-olive: #7C886B;
  --amber-warm: #E5A93C;
  --forest-green: #3FA66B;
  --danger-rust: #E04848;

  /* ── Warm Dark Earth Surfaces (Canyon Charcoal Theme) ── */
  --bg-darkest: #161413;
  --bg-primary: #191715;
  --bg-card: #221E1C;
  --bg-surface: #2C2724;
  --bg-surface-elevated: #36302C;

  /* ── Borders & Frames ── */
  --border-dark: #3E3733;
  --border-subtle: rgba(224, 99, 67, 0.14);
  --border-stone: #4A4542;
  --border-highlight: rgba(224, 99, 67, 0.45);

  /* ── Typography (Warm Linen & Stone) ── */
  --text-primary: #FAF7F4;
  --text-secondary: #C5B7A8;
  --text-muted: #8C827A;
  --text-light: #FFFDFB;

  /* ── Fonts ── */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ── Shadows & Radii ── */
  --shadow-glow: 0 12px 40px -10px rgba(224, 99, 67, 0.25);
  --shadow-card: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
  --shadow-hud: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(224, 99, 67, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 560px;
  background: radial-gradient(circle, rgba(224, 99, 67, 0.16) 0%, rgba(216, 180, 143, 0.08) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-secondary {
  position: absolute;
  top: 1300px;
  right: -200px;
  width: 760px;
  height: 640px;
  background: radial-gradient(circle, rgba(224, 99, 67, 0.12) 0%, rgba(124, 136, 107, 0.06) 55%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-tertiary {
  position: absolute;
  top: 2400px;
  left: -200px;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.10) 0%, rgba(224, 99, 67, 0.05) 50%, transparent 70%);
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Trail Heritage Backdrop (from App Opening Screen) ── */
.hero-trail-backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1260px;
  height: 650px;
  background-image: url('assets/trail-hero-bg.jpg');
  background-position: center 25%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.14;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 38%, rgba(0, 0, 0, 0.95) 12%, rgba(0, 0, 0, 0) 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, rgba(0, 0, 0, 0.95) 12%, rgba(0, 0, 0, 0) 72%);
  z-index: 0;
}

/* ── Trail Dividers with Trees & Signposts ── */
.trail-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 860px;
  margin: 20px auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.trail-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark) 45%, var(--terracotta-border-subtle) 90%);
}

.trail-divider-line.right {
  background: linear-gradient(90deg, var(--terracotta-border-subtle) 10%, var(--border-dark) 55%, transparent);
}

.trail-divider-cluster {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 6px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  color: var(--sand-dune);
}

.tree-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--earth-olive);
  transition: transform 0.25s ease, color 0.25s ease;
}

.tree-icon:hover {
  transform: translateY(-2px) scale(1.1);
  color: var(--terracotta-light);
}

.tree-small {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.tree-medium {
  width: 17px;
  height: 17px;
  opacity: 0.9;
}

.tree-large {
  width: 20px;
  height: 20px;
  color: var(--sand-dune);
}

.trail-sign-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--terracotta-light);
  margin: 0 2px;
  transition: transform 0.25s ease;
}

.trail-sign-marker:hover {
  transform: rotate(-6deg) scale(1.15);
}

.section-tag-tree,
.section-tag-sign {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 20, 19, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--terracotta-glow);
  padding: 8px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--terracotta-highlight);
  color: var(--terracotta-light);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--terracotta-border-subtle);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: #FAF7F4;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--terracotta-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 99, 67, 0.45);
  background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 39, 36, 0.7);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--terracotta-border-subtle);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 85px 0 75px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 99, 67, 0.12);
  border: 1px solid var(--terracotta-border);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta-light);
  margin-bottom: 24px;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--terracotta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 99, 67, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(224, 99, 67, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 99, 67, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 45%, var(--sand-dune) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-store-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-store-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Sport Mode Switcher on Hero Phone Preview */
.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 16px;
}

.sport-tabs-bar {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sport-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
}

.sport-tab-btn:hover {
  color: var(--text-primary);
}

.sport-tab-btn.active {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: #FAF7F4;
  box-shadow: 0 2px 10px var(--terracotta-glow);
}

/* Phone Mockup HUD Preview */
.phone-frame {
  width: 340px;
  background: #110F0E;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-hud);
  border: 4px solid var(--border-stone);
  position: relative;
}

.phone-screen {
  background: var(--bg-darkest);
  border-radius: 34px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid #2A2522;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.hud-gps-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-gps-indicator::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--forest-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--forest-green);
}

.hud-radar-banner {
  background: rgba(224, 99, 67, 0.14);
  border: 1px solid var(--terracotta-border);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--sand-light);
  transition: all 0.3s ease;
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hud-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 12px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hud-card-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--sand-dune);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hud-card-val {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.1;
  margin-top: 4px;
}

.hud-card-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.hud-elevation-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hud-elevation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--sand-dune);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hud-elevation-svg {
  width: 100%;
  height: 48px;
}

.hud-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
}

/* Feature Showcase Sections */
.features-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-tag {
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  background: var(--terracotta-highlight);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--terracotta-border-subtle);
}

.section-tag.biking {
  color: var(--amber-warm);
  background: rgba(229, 169, 60, 0.12);
  border-color: rgba(229, 169, 60, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-light);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta-border);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dedicated Biking Spotlight Section */
.biking-spotlight-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(22, 20, 19, 0.6) 0%, rgba(34, 30, 28, 0.75) 50%, rgba(22, 20, 19, 0.6) 100%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

.biking-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--bg-card);
  border: 1px solid var(--terracotta-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin-bottom: 40px;
}

.biking-hero-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biking-hero-tag {
  color: var(--amber-warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.biking-hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}

.biking-hero-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.biking-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.biking-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sand-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.biking-hero-visual {
  background: linear-gradient(135deg, #1C1917, #26211E);
  border-left: 1px solid var(--border-dark);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(22, 20, 19, 0.7);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}

.telemetry-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.telemetry-val {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--terracotta-light);
}

/* Open Standards & Hardware Independence Section */
.standards-section {
  padding: 85px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.standard-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.standard-item:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta-border-subtle);
}

.standard-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.standard-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.standard-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
  padding: 95px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #221E1C, #2A2522);
  border: 1px solid var(--terracotta-border);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, var(--terracotta-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--text-light);
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Legal & Policy Pages (Privacy, Support, Deletion) */
.legal-content-wrapper {
  padding: 80px 0 120px;
  max-width: 840px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-light);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 16px;
  color: var(--terracotta-light);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 8px;
}

.legal-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.legal-body ul, .legal-body ol {
  color: var(--text-secondary);
  margin-left: 24px;
  margin-bottom: 22px;
}

.legal-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.legal-body code {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--sand-dune);
}

.legal-callout {
  background: rgba(224, 99, 67, 0.10);
  border-left: 4px solid var(--terracotta);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  color: var(--text-primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-dark);
  padding: 60px 0 40px;
  background: #110F0E;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 34px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-store-badges {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .biking-hero-card {
    grid-template-columns: 1fr;
  }
  .biking-hero-visual {
    border-left: none;
    border-top: 1px solid var(--border-dark);
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 38px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
