:root,
[data-theme="light"] {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --surface-alt: #e8eeee;
  --card: #ffffff;
  --line: #d5dede;
  --line-2: #c5d0d0;
  --brand: #1bfdd2;
  --brand-soft: rgba(27, 253, 210, 0.22);
  --on-brand: #040f0f;
  --text: #040f0f;
  --text-2: #3d4848;
  --muted: #7e8484;
  --faint: #7e8484;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --phone-bezel: #111111;
  --phone-screen: #f4f7f7;
  --map-ink: #c8d2d2;
  --map-land: #dde8e8;
  --shadow: 0 24px 48px rgba(4, 15, 15, 0.08);
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Gajraj One", "Sora", sans-serif;
  --num: "Anton SC", "Anton", sans-serif;
  --max: 1120px;
}

[data-theme="dark"] {
  --bg: #040f0f;
  --surface: #0e1818;
  --surface-alt: #152222;
  --card: #0e1818;
  --line: #2a3838;
  --line-2: #2a3838;
  --brand: #1bfdd2;
  --brand-soft: rgba(27, 253, 210, 0.18);
  --on-brand: #040f0f;
  --text: #ffffff;
  --text-2: #b8c0c0;
  --muted: #7e8484;
  --faint: #7e8484;
  --nav-bg: rgba(4, 15, 15, 0.88);
  --phone-bezel: #000000;
  --phone-screen: #040f0f;
  --map-ink: #2a3535;
  --map-land: #152020;
  --shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-padding-top: 80px;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.018;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: var(--radius-md);
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(4, 15, 15, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

[data-theme="dark"] .store-badge {
  border-color: rgba(255, 255, 255, 0.16);
}

.store-badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

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

.store-badge-text small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.store-badge-text strong {
  font-size: 15px;
  font-weight: 600;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.brand-logo {
  height: 40px;
  width: auto;
  aspect-ratio: 1;
  display: block;
  color: var(--text);
}

.brand-logo-lg {
  height: 64px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--text);
}

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

.nav .btn {
  height: 40px;
  font-size: 13px;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  bottom: 15px;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 88px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: 8%;
  top: -80px;
  background: radial-gradient(circle, var(--brand-soft), transparent 68%);
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.live-dot,
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.lede {
  color: var(--muted);
  font-weight: 300;
  font-size: 16px;
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.hero-stats dt {
  font-size: 11px;
  color: var(--muted);
}

.hero-stats dd {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

/* Phone */
.phone {
  width: 300px;
  height: 620px;
  margin-inline: auto;
  background: var(--phone-bezel);
  border-radius: 40px;
  padding: 10px;
  border: 2px solid #222;
  box-shadow: var(--shadow);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 16px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  background: var(--phone-screen);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px 0;
  font-size: 11px;
  font-weight: 600;
}

.status-icons {
  opacity: 0.7;
  font-weight: 400;
}

.run-top {
  padding: 8px 12px 12px;
  background: linear-gradient(var(--surface), transparent);
}

.icon-btn {
  width: 28px;
  height: 28px;
  color: var(--muted);
}

.run-distance {
  text-align: center;
}

.run-area {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.run-km {
  display: block;
  font-family: var(--display);
  font-size: 54px;
  line-height: 1;
  font-weight: 400;
}

.run-label {
  color: var(--muted);
  font-size: 12px;
}

.phone-map {
  flex: 1;
  position: relative;
  min-height: 0;
}

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

.map-fab {
  position: absolute;
  right: 12px;
  top: 42%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-fab span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  display: grid;
  place-items: center;
}

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

[data-theme="dark"] .noise {
  opacity: 0.04;
  mix-blend-mode: overlay;
}

.lede,
.story-copy p,
.section-head p,
.panel p {
  color: var(--text-2);
}

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

.run-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 16px 16px 22px;
  background: linear-gradient(transparent, var(--surface) 36%, var(--surface));
}

.run-bottom .stat {
  text-align: center;
}

.run-bottom .stat span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 300;
}

.run-bottom .stat strong {
  font-size: 16px;
  font-weight: 800;
}

.start-wrap {
  display: flex;
  justify-content: center;
}

.start-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 0 8px var(--brand-soft),
    0 0 0 16px rgba(27, 253, 210, 0.1);
  display: grid;
  place-items: center;
}

.start-btn img {
  width: 32px;
  height: 32px;
  filter: brightness(0);
}

.hero-device {
  justify-self: center;
}

.story-stage {
  min-width: 0;
}

/* Story */
.story {
  height: 240vh;
  border-top: 1px solid var(--line);
}

.story-sticky {
  position: sticky;
  top: 72px;
  width: 100%;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: var(--bg);
}

.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.story-copy h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.story-copy p {
  color: var(--muted);
  font-weight: 300;
}

.story-steps {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-steps li {
  color: var(--faint);
  font-size: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.story-steps li.is-active {
  color: var(--text);
  border-left-color: var(--brand);
}

.map-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
}

.map-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.map-meta strong {
  color: var(--brand);
  font-family: var(--num);
  font-size: 22px;
  font-weight: 400;
}

.map-meta .btn {
  margin-left: auto;
  height: 40px;
  font-size: 13px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 540px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.section-head p {
  color: var(--muted);
  font-weight: 300;
}

.steps-grid,
.rivalry-grid {
  display: grid;
  gap: 16px;
}

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

.rivalry-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.section-alt .panel {
  background: var(--bg);
}

.step-num {
  display: block;
  font-family: var(--num);
  color: var(--brand);
  font-size: 28px;
  margin-bottom: 14px;
}

.panel h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.panel p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

.map-mini svg {
  width: 100%;
  border-radius: var(--radius);
}

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.swatch.you {
  background: var(--brand);
}
.swatch.blue {
  background: #5ba3c9;
}
.swatch.orange {
  background: #e07a45;
}

.lb-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lb-head span {
  color: var(--muted);
  font-size: 12px;
}

.lb-list {
  list-style: none;
}

.lb-list li {
  display: grid;
  grid-template-columns: 28px 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.lb-list li:last-child {
  border-bottom: 0;
}

.rank {
  font-family: var(--num);
  font-size: 20px;
  color: var(--brand);
}

.rank.dim {
  color: var(--faint);
}

.lb-list img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
}

.lb-list strong {
  display: block;
  font-size: 12px;
}

.lb-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 300;
}

.lb-list em {
  font-style: normal;
  color: var(--brand);
  font-size: 11px;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  margin: 16px 0 24px;
  max-width: 36ch;
}

.store-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer h4 {
  font-size: 13px;
  margin-bottom: 16px;
}

.footer a:not(.store-badge) {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer a:not(.store-badge):hover {
  color: var(--brand);
}

.footer a[aria-current="page"] {
  color: var(--text);
}

.socials {
  display: flex;
  flex-wrap: wrap;
}

.socials a {
  display: inline-block;
  margin-right: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

@media (max-width: 960px) {
  .hero-grid,
  .story-layout,
  .steps-grid,
  .rivalry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story {
    height: auto;
  }

  .story-sticky {
    position: relative;
    top: 0;
    min-height: 0;
    padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 72px 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-device {
    order: -1;
  }

  .phone {
    width: 250px;
    height: 520px;
  }

  .run-km {
    font-size: 44px;
  }

  .map-meta .btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* Privacy / legal */
.legal {
  padding: 48px 0 96px;
}

.legal-hero {
  margin-bottom: 48px;
  max-width: 46ch;
}

.legal-hero .eyebrow {
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-hero h1 em {
  font-style: normal;
  color: var(--brand);
}

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

.legal-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
}

.legal-toc p {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  color: var(--text-2);
  font-size: 13px;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--line);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--text);
  border-left-color: var(--brand);
}

.legal-doc {
  max-width: 68ch;
  overflow-x: auto;
}

.legal-doc h2 {
  font-size: 1.15rem;
  margin: 40px 0 12px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}

.legal-doc h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--brand);
  margin-bottom: 14px;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 12px;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.legal-doc li + li {
  margin-top: 6px;
}

.legal-doc strong {
  color: var(--text);
  font-weight: 600;
}

.legal-doc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc a:hover {
  color: var(--brand);
}

.data-legend {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: 13px;
}

.data-legend th,
.data-legend td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.data-legend th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface-alt);
}

.data-legend td {
  color: var(--text-2);
  font-weight: 300;
}

.data-legend td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .legal-toc p {
    width: 100%;
  }

  .legal-toc a {
    border-left: 0;
    padding: 6px 0;
  }

  .data-legend td:first-child {
    white-space: normal;
  }
}

/* Support page specific styles */
.support-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.support-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.support-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.support-card p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.45;
}

.support-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-banner {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 24px 0 36px;
}

.contact-banner h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-banner p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
}

.contact-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.faq-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.faq-box h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;

}

.faq-box p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 0;
  line-height: 1.55;
}

