/* ==========================================================================
   BeatRun — 2026 Modern Athletic Design System
   Domain: beatrun.co.uk
   Palette: Obsidian #050505 | Surface #121212 | Electric Orange #FF3E00 | Cyber Cyan #00F2FF
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-obsidian: #050505;
  --bg-elevated: #0c0d10;
  --surface-card: rgba(18, 18, 18, 0.78);
  --surface-card-solid: #121212;
  --surface-card-hover: rgba(24, 25, 29, 0.88);
  --surface-inset: rgba(8, 9, 12, 0.86);

  /* Accents */
  --orange: #FF3E00;
  --orange-bright: #FF5722;
  --orange-soft: rgba(255, 62, 0, 0.14);
  --orange-glow: rgba(255, 62, 0, 0.36);
  --cyan: #00F2FF;
  --cyan-soft: rgba(0, 242, 255, 0.12);
  --cyan-glow: rgba(0, 242, 255, 0.3);
  --emerald: #22E58A;

  /* Text (WCAG AA/AAA High-Contrast Tokens) */
  --text-primary: #F7F8FA;
  --text-secondary: #C2C8D4;
  --text-muted: #9AA2B2;
  --orange-text: #FF6B3D;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-cyan: rgba(0, 242, 255, 0.34);
  --border-orange: rgba(255, 62, 0, 0.42);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Layout */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;
  --container-max: 1200px;
  --nav-height: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-med: 320ms var(--ease-out);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-obsidian);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient athletic grid & radial lighting */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 62, 0, 0.16), transparent 42%),
    radial-gradient(circle at 86% 18%, rgba(0, 242, 255, 0.11), transparent 40%),
    radial-gradient(circle at 50% 88%, rgba(255, 62, 0, 0.08), transparent 48%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 25%, transparent 80%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  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: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--orange);
  color: #050505;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 14px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* ==========================================================================
   Typography & Common Labels
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-header {
  max-width: 740px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 242, 255, 0.25);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2s infinite;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

.section-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.text-orange {
  color: var(--orange);
}

.text-cyan {
  color: var(--cyan);
}

.gradient-text {
  background: linear-gradient(100deg, #FFFFFF 10%, #FF6B3D 55%, #FF3E00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--orange);
  color: #050505;
  box-shadow: 0 8px 26px rgba(255, 62, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 62, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 242, 255, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.04rem;
}

.ios-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
}

.ios-badge svg {
  width: 15px;
  height: 15px;
  color: var(--text-primary);
  opacity: 0.85;
}

.ios-badge strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   Sticky Top Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-med), border-color var(--transition-med);
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #101115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.12);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-link:hover .brand-mark {
  transform: scale(1.05);
  border-color: var(--cyan);
}

.brand-wordmark span {
  color: var(--orange);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta-desktop {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 95;
  padding: 1.25rem 1.25rem 1.75rem;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.mobile-drawer-links a {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-drawer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-drawer .btn {
  width: 100%;
}

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

.hero {
  padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6.2rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.8rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.hero-pill .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

.hero-pill strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.55rem, 5.8vw, 4.55rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 1.3rem;
}

.hero-desc {
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  color: var(--text-secondary);
  margin: 0 0 2rem;
  max-width: 560px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.hero-roadmap-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-micro-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-stat-value .accent-bar {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--cyan);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hero Android Flagship Phone Mockup
   ========================================================================== */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.phone-aura {
  position: absolute;
  width: 340px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.2) 0%, rgba(0, 242, 255, 0.2) 48%, transparent 74%);
  filter: blur(44px);
  z-index: 0;
  pointer-events: none;
}

.android-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 326px);
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(155deg, #323640 0%, #15171c 45%, #232730 100%);
  box-shadow:
    0 34px 74px rgba(0, 0, 0, 0.84),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Android hardware side buttons */
.android-phone::before,
.android-phone::after {
  content: '';
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #3a3f4a;
}

.android-phone::before {
  top: 124px;
  height: 54px;
}

.android-phone::after {
  top: 192px;
  height: 34px;
}

.phone-screen {
  position: relative;
  border-radius: 35px;
  background: #070910;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-screen-beatrun {
  display: flex;
  flex-direction: column;
  height: 616px;
}

.phone-status-bar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #eef2f8;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.9), rgba(5, 7, 13, 0));
}

.phone-camera-punch {
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #020203;
  border: 1.5px solid #1e222b;
  box-shadow: inset 0 0 3px rgba(0, 242, 255, 0.25);
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.battery-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.battery-icon {
  position: relative;
  width: 11px;
  height: 14px;
  border-radius: 2.5px;
  border: 1.4px solid #f7d154;
  padding: 1.5px;
  display: flex;
  align-items: flex-end;
}

.battery-icon::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 2px;
  border-radius: 1px 1px 0 0;
  background: #f7d154;
}

.battery-icon span {
  width: 100%;
  height: 82%;
  border-radius: 1px;
  background: #f7d154;
}

/* Switchable Phone Views (Splash Modeled on 6884.png vs Live HUD) */
.phone-view {
  position: relative;
  flex: 1;
  display: none;
  flex-direction: column;
  min-height: 0;
}

.phone-view.active {
  display: flex;
}

/* ---- View 1: BeatRun 6884.png Splash Screen Model ---- */
.phone-splash-view {
  justify-content: space-between;
  padding: 6px 14px 14px;
  overflow: hidden;
}

.splash-backdrop-svg {
  position: absolute;
  inset: -38px 0 -36px;
  width: 100%;
  height: calc(100% + 74px);
  z-index: 0;
  pointer-events: none;
}

.splash-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.splash-keyless-pill {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #16DCFF;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 12, 22, 0.72);
  border: 1px solid rgba(0, 218, 255, 0.36);
  backdrop-filter: blur(8px);
}

.splash-skip-btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #C2FF00;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(12, 16, 14, 0.74);
  border: 1px solid rgba(194, 255, 0, 0.45);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.splash-skip-btn:hover {
  background: #C2FF00;
  color: #050505;
  transform: translateY(-1px);
}

.splash-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 26px;
  cursor: pointer;
}

.splash-emblem-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(145deg, #B8FF00 10%, #1ED8FF 88%);
  box-shadow:
    0 0 26px rgba(0, 232, 255, 0.28),
    0 0 18px rgba(184, 255, 0, 0.2);
  margin-bottom: 14px;
}

.splash-emblem-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #17273C 0%, #0A111D 76%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.wave-bar {
  width: 4.5px;
  border-radius: var(--radius-pill);
  animation: splashWave 1.6s ease-in-out infinite;
}

.wave-bar.lime {
  background: linear-gradient(180deg, #CCFF00, #9CE600);
}

.wave-bar.cyan {
  background: linear-gradient(180deg, #1EE8FF, #00B8E6);
}

.wave-bar.sm { height: 15px; animation-delay: 0.05s; }
.wave-bar.md { height: 26px; animation-delay: 0.25s; }
.wave-bar.lg { height: 34px; animation-delay: 0.45s; }
.wave-bar:nth-child(4) { animation-delay: 0.65s; }
.wave-bar:nth-child(5) { animation-delay: 0.85s; }

.splash-wordmark {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #F4F7FA;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
  margin-bottom: 9px;
}

.splash-wordmark span {
  color: #B5F200;
}

.splash-tagline {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #16D8FF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  margin-bottom: 14px;
}

.splash-feature-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.splash-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(8px);
  font-size: 0.61rem;
  font-weight: 600;
  color: #ECF2F8;
  white-space: nowrap;
}

.splash-chip.lime {
  border: 1px solid rgba(184, 255, 0, 0.45);
}

.splash-chip.lime svg {
  color: #B8FF00;
}

.splash-chip.cyan {
  border: 1px solid rgba(0, 224, 255, 0.45);
}

.splash-chip.cyan svg {
  color: #00E5FF;
}

.splash-chip.emerald {
  border: 1px solid rgba(16, 224, 140, 0.45);
}

.splash-chip.emerald svg {
  color: #1FE592;
}

.splash-loader {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
}

.splash-loader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.63rem;
}

.splash-loader-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DCE3EC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-wave {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  flex-shrink: 0;
}

.mini-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: #B8FF00;
}

.mini-wave i:nth-child(1),
.mini-wave i:nth-child(5) { height: 5px; }
.mini-wave i:nth-child(2),
.mini-wave i:nth-child(4) { height: 9px; background: #00E5FF; }
.mini-wave i:nth-child(3) { height: 12px; }

.splash-loader-pct {
  font-family: var(--font-display);
  font-weight: 700;
  color: #B8FF00;
  flex-shrink: 0;
}

.splash-progress-track {
  width: 100%;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.splash-progress-fill {
  width: 12%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #00E5FF, #B8FF00);
  box-shadow: 0 0 12px rgba(184, 255, 0, 0.55);
  transition: width 420ms var(--ease-out);
}

.splash-tap-hint {
  margin: 6px auto 0;
  padding: 6px 12px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(235, 240, 248, 0.92);
  transition: color var(--transition-fast);
}

.splash-tap-hint:hover {
  color: #ffffff;
}

/* ---- View 2: Live HUD (when tapped into from Splash) ---- */
.phone-hud-view {
  padding: 6px 14px 10px;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 242, 255, 0.12), transparent 46%),
    radial-gradient(circle at 18% 92%, rgba(255, 62, 0, 0.14), transparent 50%),
    #060709;
  justify-content: space-between;
}

.hud-back-splash {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #B8FF00;
  background: rgba(184, 255, 0, 0.1);
  border: 1px solid rgba(184, 255, 0, 0.34);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.hud-back-splash:hover {
  background: #B8FF00;
  color: #050505;
}

/* Android 3-Button Navigation Bar (matches 6884.png) */
.android-navbar {
  position: relative;
  z-index: 4;
  height: 36px;
  background: rgba(4, 6, 10, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 28px;
}

.nav-btn-back {
  width: 9px;
  height: 9px;
  border-left: 1.8px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1.8px solid rgba(255, 255, 255, 0.68);
  transform: rotate(45deg);
}

.nav-btn-home {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.8px solid rgba(255, 255, 255, 0.68);
}

.nav-btn-recents {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
}

.nav-btn-recents i {
  display: block;
  width: 1.8px;
  height: 11px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.68);
}

.floating-chip-icon.lime {
  background: rgba(184, 255, 0, 0.14);
  color: #B8FF00;
}

.gps-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 255, 0.12);
  border: 1px solid rgba(0, 242, 255, 0.35);
  color: var(--cyan);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.app-topbar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-topbar-title span {
  color: var(--orange);
}

.unit-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: var(--radius-pill);
  background: #14161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.unit-btn {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.unit-btn.active {
  background: var(--cyan);
  color: #050505;
}

/* Hero Speedometer Dial inside Phone */
.hud-speed-panel {
  position: relative;
  background: rgba(18, 20, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 14px 14px 12px;
  margin-bottom: 10px;
  text-align: center;
}

.hud-gauge-svg {
  width: 100%;
  max-width: 244px;
  margin: 0 auto -12px;
}

.hud-speed-readout {
  margin-top: -66px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.hud-speed-value {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hud-speed-unit {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-top: 4px;
}

.hud-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hud-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hud-metric-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hud-metric-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Interval Card inside Hero Phone */
.hud-interval-card {
  background: linear-gradient(135deg, rgba(255, 62, 0, 0.16), rgba(18, 19, 24, 0.92));
  border: 1px solid rgba(255, 62, 0, 0.34);
  border-radius: 18px;
  padding: 11px 13px;
  margin-bottom: 10px;
}

.hud-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.hud-tag-orange {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.hud-tts-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 600;
  color: #FFE4DA;
}

.hud-interval-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hud-interval-phase {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
}

.hud-interval-timer {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-bright);
}

.hud-progress-track {
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hud-progress-fill {
  width: 68%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--orange), #ff8a5c);
}

/* Live Radio Mini-Player inside Hero Phone */
.hud-radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(18, 20, 26, 0.92);
  border: 1px solid rgba(0, 242, 255, 0.24);
  border-radius: 18px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.hud-radio-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.radio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 22px;
  padding: 4px 6px;
  border-radius: 9px;
  background: rgba(0, 242, 255, 0.12);
  flex-shrink: 0;
}

.radio-eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--cyan);
  animation: eqBounce 1.1s ease-in-out infinite;
}

.radio-eq span:nth-child(1) { height: 7px; animation-delay: 0s; }
.radio-eq span:nth-child(2) { height: 14px; animation-delay: 0.18s; }
.radio-eq span:nth-child(3) { height: 10px; animation-delay: 0.35s; }
.radio-eq span:nth-child(4) { height: 13px; animation-delay: 0.52s; }

.hud-radio-meta {
  min-width: 0;
}

.hud-radio-station {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-radio-sub {
  font-size: 0.66rem;
  color: var(--cyan);
}

.hud-radio-pill {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.hud-controls-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hud-ctrl-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 8px;
  border-radius: 12px;
  text-align: center;
}

.hud-pause-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #050505;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(255, 62, 0, 0.45);
}

.android-gesture-bar {
  width: 96px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto;
}

/* Floating Telemetry Callouts around Hero Phone (Desktop) */
.floating-chip {
  display: none;
  position: absolute;
  z-index: 3;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  border-radius: 16px;
  background: rgba(16, 17, 21, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
}

.floating-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.floating-chip-icon.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.floating-chip-icon.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.floating-chip-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.floating-chip-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.floating-chip.top-left {
  top: 56px;
  left: -18px;
}

.floating-chip.bottom-right {
  bottom: 72px;
  right: -20px;
}

/* ==========================================================================
   Bento-Grid Features Section
   ========================================================================== */

/* Performance: defer rendering cost of below-the-fold sections */
.features-section,
.steps-section,
.roadmap-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.features-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med), background-color var(--transition-med);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.055), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: var(--surface-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55);
}

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

.bento-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bento-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.bento-icon.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.bento-icon.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.bento-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bento-title {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--text-primary);
}

.bento-desc {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Mini Android UI Frames inside Bento Cards */
.ui-mockup-frame {
  border-radius: 20px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  position: relative;
  overflow: hidden;
}

/* 1. Safe-Route Map Generator UI */
.route-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.route-pills {
  display: inline-flex;
  gap: 6px;
}

.route-pill {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.route-pill:hover {
  border-color: var(--cyan);
  color: var(--text-primary);
}

.route-pill.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #050505;
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.35);
}

.safety-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(34, 229, 138, 0.1);
  border: 1px solid rgba(34, 229, 138, 0.25);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.route-map-canvas {
  position: relative;
  border-radius: 14px;
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
}

.route-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.route-path {
  transition: opacity 280ms ease, stroke-dashoffset 500ms var(--ease-out);
}

.route-path:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.route-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 10px;
}

.mini-stat-label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.mini-stat-value {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* 2. Free Legal Radio Player UI */
.radio-genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.genre-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.genre-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.genre-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #050505;
  font-weight: 700;
}

.radio-deck {
  background: #0d1016;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 10px;
}

.radio-deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.radio-now-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.radio-now-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.radio-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  padding: 4px 0;
}

.waveform-bars span {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 242, 255, 0.25));
  transform-origin: bottom;
  will-change: transform;
  transition: transform 240ms ease, opacity 240ms ease;
  animation: wavePulse 1.3s ease-in-out infinite;
}

.waveform-bars.ducked span {
  opacity: 0.34;
  animation-play-state: paused;
  transform: scaleY(0.28);
}

.waveform-bars span:nth-child(odd) { animation-duration: 1.05s; }
.waveform-bars span:nth-child(3n) { animation-delay: 0.25s; }
.waveform-bars span:nth-child(4n) { animation-delay: 0.45s; }

.ducking-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 62, 0, 0.1);
  border: 1px solid rgba(255, 62, 0, 0.28);
  font-size: 0.75rem;
}

.ducking-toggle-btn {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all var(--transition-fast);
}

.ducking-toggle-btn:hover,
.ducking-toggle-btn.active {
  background: var(--orange);
  color: #050505;
  border-color: var(--orange);
}

/* 3. Interval & Voice Coach UI */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.plan-btn {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.plan-btn.active {
  background: rgba(0, 242, 255, 0.14);
  color: var(--cyan);
  border-color: rgba(0, 242, 255, 0.4);
}

.interval-blocks {
  display: flex;
  gap: 4px;
  height: 36px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.interval-seg {
  flex: 1;
  border-radius: 6px;
  transition: height var(--transition-med), background-color var(--transition-med);
}

.interval-seg.warm { background: rgba(255, 255, 255, 0.16); height: 42%; }
.interval-seg.work { background: linear-gradient(180deg, var(--orange), #b82d00); height: 96%; }
.interval-seg.rest { background: rgba(0, 242, 255, 0.32); height: 55%; }

.voice-cue-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: #0e1015;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.voice-cue-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.voice-cue-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-text);
  font-weight: 700;
}

.voice-cue-quote {
  font-size: 0.82rem;
  color: var(--text-primary);
  margin: 2px 0 0;
  line-height: 1.4;
}

.coach-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* 4. GPS Speedometer HUD & Milestones UI */
.telemetry-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.speed-tile {
  background: #0c0e13;
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 15px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speed-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.speed-big-num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.speed-big-unit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 4px;
}

.privacy-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.milestone-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.milestone-badge.unlocked {
  border-color: rgba(0, 242, 255, 0.28);
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.08), rgba(18, 18, 18, 0.6));
}

.milestone-badge:hover {
  transform: translateY(-2px);
}

.milestone-medal {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.milestone-medal.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.milestone-medal.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.milestone-medal.locked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.milestone-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.milestone-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ==========================================================================
   How to Download & Use on Android (3-Step Visual Guide)
   ========================================================================== */

.steps-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: transform var(--transition-med), border-color var(--transition-med);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange-text);
  background: var(--orange-soft);
  border: 1px solid rgba(255, 62, 0, 0.34);
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
}

.step-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--cyan);
  display: grid;
  place-items: center;
}

.step-title {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
}

.step-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

.step-visual-strip {
  margin-top: auto;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--surface-inset);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.step-note-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.step-note-row svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   Download & Platform Roadmap Banner
   ========================================================================== */

.roadmap-section {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.roadmap-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 62, 0, 0.22), transparent 48%),
    radial-gradient(circle at 88% 85%, rgba(0, 242, 255, 0.16), transparent 50%),
    #101114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.roadmap-android {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.38rem 0.88rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-pill.live {
  background: rgba(34, 229, 138, 0.14);
  border: 1px solid rgba(34, 229, 138, 0.35);
  color: var(--emerald);
}

.platform-pill.soon {
  background: rgba(0, 242, 255, 0.12);
  border: 1px solid rgba(0, 242, 255, 0.32);
  color: var(--cyan);
}

.roadmap-title {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700;
}

.roadmap-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 540px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.download-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.roadmap-ios-card {
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.roadmap-ios-card h3 {
  font-size: 1.32rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.roadmap-ios-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.roadmap-progress-wrap {
  margin-top: 0.2rem;
}

.roadmap-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.roadmap-progress-bar {
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.roadmap-progress-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--cyan), #69f7ff);
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 8, 10, 0.92);
  padding: 3rem 0 2.25rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0.35rem 0.2rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.credit-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.credit-link:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Lightweight Modal (Install / APK Note)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: grid;
}

.modal-dialog {
  width: min(100%, 480px);
  background: #121317;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.modal-dialog h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  padding-right: 2rem;
}

.modal-dialog p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-list {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tester-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

.optional-tag {
  font-weight: 400;
  color: var(--text-muted);
}

.form-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #090a0d;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-field input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.2);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.form-feedback {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.84rem;
  color: var(--cyan);
}

/* ==========================================================================
   Scroll Reveal & Keyframes
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.45); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.28); }
  50% { transform: scaleY(0.96); }
}

@keyframes splashWave {
  0%, 100% { transform: scaleY(0.84); opacity: 0.88; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First)
   ========================================================================== */

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .telemetry-split {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }

  .nav-cta-desktop {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .bento-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bento-span-7 {
    grid-column: span 7;
  }

  .bento-span-5 {
    grid-column: span 5;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roadmap-banner {
    grid-template-columns: 1.25fr 0.85fr;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1080px) {
  .floating-chip {
    display: flex;
  }
}

/* ==========================================================================
   Privacy Policy Page Layout Helpers
   ========================================================================== */

.legal-main {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.legal-card {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
}

.legal-card h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.legal-card h2 {
  font-size: 1.32rem;
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--cyan);
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84em;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  padding: 0.12rem 0.42rem;
  border-radius: 6px;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.legal-meta a {
  color: var(--cyan);
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-toc a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.42rem 0.82rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.legal-toc a:hover {
  border-color: var(--cyan);
  color: var(--text-primary);
}

.legal-callout {
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 255, 0.06);
  border: 1px solid rgba(0, 242, 255, 0.28);
}

.legal-callout.warning {
  background: rgba(255, 62, 0, 0.08);
  border-color: rgba(255, 62, 0, 0.36);
}

.legal-callout strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.15rem 0 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(8, 9, 12, 0.72);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.03);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td {
  color: var(--text-secondary);
}

.data-table td strong {
  color: var(--text-primary);
}

.support-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.72);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.2rem;
}

.faq-item[open] {
  border-color: rgba(0, 242, 255, 0.3);
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--orange);
}

.faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.93rem;
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
