/* Bikeder — brand tokens from mobile app (src/constants) */
/* Fonts: Cormorant Garamond + Manrope — loaded via <link> in HTML */
:root {
  /* Palette from assets/favicon.svg */
  --brand: #7c3aed;
  --brand-wash: #ede9fe;
  --brand-white: #ffffff;
  --brand-deep: #5b21b6;
  --brand-darker: #4c1d95;
  --brand-tint: #f7f5ff;
  --brand-muted: color-mix(in srgb, var(--brand) 35%, var(--brand-wash));

  /* Aliases */
  --violet: var(--brand);
  --violet-dark: var(--brand-deep);
  --violet-deeper: var(--brand-darker);
  --violet-light: var(--brand-wash);
  --violet-muted: var(--brand-muted);
  --violet-wash: var(--brand-wash);
  --violet-tint: var(--brand-tint);
  --success: #10b981;
  --marker-trail: var(--brand-wash);
  --marker-event: var(--brand);
  --marker-parking: var(--brand-white);
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-tight: -0.025em;
  --tracking-wide: 0.14em;
  --leading-display: 1.08;
  --leading-body: 1.7;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-glow: 0 0 100px rgba(124, 58, 237, 0.45);
  --shadow-card: 0 24px 64px rgba(91, 33, 182, 0.15);
  --iphone-titanium: linear-gradient(
    155deg,
    #a8a8ad 0%,
    #636366 18%,
    #3a3a3c 42%,
    #1d1d1f 58%,
    #48484a 82%,
    #8e8e93 100%
  );
  --nav-height: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --section-pad-y: 3.5rem;
  --section-header-gap: 2rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: var(--leading-body);
  letter-spacing: 0.01em;
  color: var(--neutral-700);
  background: var(--white);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* Display type — luxury serif */
h1, h2, h3, h4,
.hero__title,
.section__title,
.feature-card h3,
.journey__step h3,
.pro__title,
.cta__title,
.stat__value,
.rewards__points,
.footer__brand,
.nav__brand,
.legal-page h1,
.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  background: var(--brand-white);
  box-shadow: 0 1px 0 rgba(124, 58, 237, 0.08);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: var(--brand-white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(91, 33, 182, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.nav__logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: visible;
  display: block;
}

/* Wheel spin via SVG animateTransform (see main.js for reduced-motion) */

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--neutral-600);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--violet);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: var(--brand-white);
  color: var(--brand) !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.12);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: var(--brand-wash);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
  color: var(--brand-deep) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--neutral-800);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn--primary {
  background: var(--brand-white);
  color: var(--brand);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn--primary:hover {
  background: var(--brand-wash);
  color: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--violet-wash);
}

.btn--outline:hover {
  border-color: var(--violet);
  background: var(--violet-tint);
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 2.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(165deg, var(--brand-darker) 0%, var(--brand-deep) 40%, var(--brand) 100%);
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero__mesh::before,
.hero__mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}

.hero__mesh::before {
  width: 600px;
  height: 600px;
  background: rgba(237, 233, 254, 0.35);
  top: -10%;
  right: -5%;
}

.hero__mesh::after {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.55);
  bottom: 10%;
  left: -10%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-wash);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero__title {
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: var(--leading-display);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(90deg, var(--brand-wash), var(--brand-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  background: var(--brand-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  color: var(--neutral-900);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  background: var(--brand-wash);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.18);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

/* iPhone mockup — device showcase */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1600px;
  padding: 1rem 0 2rem;
}

.iphone-17 {
  position: relative;
  width: min(300px, 82vw);
  padding-bottom: 1rem;
}

.iphone-17__ambient {
  position: absolute;
  inset: -15% -25%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 40%, rgba(237, 233, 254, 0.22), transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 85%, rgba(124, 58, 237, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.iphone-17__shadow {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}

.iphone-17__device {
  position: relative;
  z-index: 1;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: iphoneIn 1.2s var(--ease-out) 0.2s both, iphoneFloat 7s ease-in-out 1.4s infinite;
}

@keyframes iphoneIn {
  from {
    opacity: 0;
    transform: rotateY(-8deg) rotateX(4deg) translateY(40px) scale(0.94);
  }
}

@keyframes iphoneFloat {
  0%, 100% {
    transform: rotateY(-8deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: rotateY(-6deg) rotateX(5deg) translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iphone-17__device {
    animation: iphoneIn 1.2s var(--ease-out) 0.2s both;
  }
}

/* Titanium outer shell */
.iphone-17__frame {
  position: relative;
  padding: 2px;
  border-radius: 54px;
  background: linear-gradient(
    145deg,
    #d4d4d8 0%,
    #8e8e93 12%,
    #48484a 38%,
    #1c1c1e 52%,
    #636366 78%,
    #aeaeb2 100%
  );
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.25) inset,
    0 -3px 12px rgba(0, 0, 0, 0.5) inset,
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(124, 58, 237, 0.25);
}

/* Black inner bezel */
.iphone-17__bezel {
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-17__btn {
  position: absolute;
  background: linear-gradient(180deg, #6e6e73 0%, #3a3a3c 50%, #2c2c2e 100%);
  border-radius: 2px;
  z-index: 5;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

.iphone-17__btn--vol-up {
  left: -2px;
  top: 18%;
  width: 2px;
  height: 28px;
}

.iphone-17__btn--vol-down {
  left: -2px;
  top: 23%;
  width: 2px;
  height: 28px;
}

.iphone-17__btn--action {
  left: -2px;
  top: 30%;
  width: 2px;
  height: 44px;
}

.iphone-17__btn--power {
  right: -2px;
  top: 26%;
  width: 2px;
  height: 64px;
}

.iphone-17__screen {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1320 / 2679;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 2px 20px rgba(0, 0, 0, 0.6);
}

.iphone-17__screen-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.iphone-17__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: scale(1.015);
  filter: contrast(1.03) saturate(1.06);
}

.iphone-17__dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  min-width: 100px;
  max-width: 118px;
  height: 32px;
  background: #000;
  border-radius: 18px;
  z-index: 12;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.iphone-17__dynamic-island::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.iphone-17__dynamic-island::after {
  content: "";
  position: absolute;
  right: 24%;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2a3a, #050508 70%);
  box-shadow: inset 0 0 3px rgba(80, 80, 120, 0.4);
}

/* Glass reflection */
.iphone-17__glare {
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 16%,
    transparent 38%,
    transparent 62%,
    rgba(255, 255, 255, 0.03) 82%,
    rgba(255, 255, 255, 0.08) 100%
  );
  mix-blend-mode: soft-light;
}

/* Edge depth / OLED vignette */
.iphone-17__vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

/* ─── Stats bar ──────────────────────────────────────────── */
.stats {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  padding-bottom: 2.5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--neutral-200);
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-top: 0.25rem;
}

/* ─── Sections shared ────────────────────────────────────── */
.section {
  padding: var(--section-pad-y) 0;
}

.section--tint {
  background: var(--violet-tint);
}

.section--dark {
  background: linear-gradient(180deg, var(--brand-darker) 0%, var(--brand-deep) 100%);
  color: var(--brand-white);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--violet);
  margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
  color: var(--violet-muted);
}

.section__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  line-height: var(--leading-display);
}

.section--dark .section__title {
  color: var(--white);
}

.section__lead {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--neutral-600);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.section__header {
  text-align: center;
  margin-bottom: var(--section-header-gap);
  color: var(--brand);
}

.section--dark .section__header {
  color: var(--brand-wash);
}

.section__header .section__lead {
  margin-inline: auto;
  margin-bottom: 0;
}

/* Cyclist silhouette rides along the section road line */
.section__biker {
  width: min(320px, 90%);
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--brand);
}

.section__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Road line scrolling backward = forward motion feel */
.section__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 10px,
    transparent 10px 22px
  );
  opacity: 0.22;
  animation: sectionRoadScroll 0.9s linear infinite;
}

@keyframes sectionRoadScroll {
  to {
    transform: translateX(-22px);
  }
}

.section-bike {
  position: absolute;
  bottom: 0;
  left: -28%;
  width: 118px;
  height: 40px;
  display: block;
  background-color: currentColor;
  -webkit-mask-image: url("../assets/bikers.png");
  mask-image: url("../assets/bikers.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  animation: sectionBikeRide 8s linear infinite;
}

@keyframes sectionBikeRide {
  0% {
    left: -28%;
    transform: translateY(0);
  }
  12.5% {
    transform: translateY(-3px);
  }
  25% {
    left: 12%;
    transform: translateY(0);
  }
  37.5% {
    transform: translateY(-3px);
  }
  50% {
    left: 42%;
    transform: translateY(0);
  }
  62.5% {
    transform: translateY(-3px);
  }
  75% {
    left: 72%;
    transform: translateY(0);
  }
  87.5% {
    transform: translateY(-3px);
  }
  100% {
    left: 108%;
    transform: translateY(0);
  }
}

.section--dark .section__biker {
  color: var(--brand-wash);
}

.cta__box .section__biker {
  margin-bottom: 1.25rem;
  color: var(--brand-wash);
}

.cta__box .section__track::before {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .section-bike,
  .section__track::before {
    animation: none;
  }

  .section-bike {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ─── Features ─────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

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

.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--violet-wash);
  border-radius: var(--radius-md);
  color: var(--violet);
  margin-bottom: 1.25rem;
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.feature-card p {
  font-size: 0.975rem;
  color: var(--neutral-600);
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  background: var(--violet-wash);
  color: var(--violet-dark);
  border-radius: 999px;
}

.feature-card__visual {
  background: linear-gradient(135deg, var(--violet-wash), var(--violet-tint));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-legend {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.map-legend__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.map-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.map-legend__dot--parking { background: var(--brand-white); box-shadow: inset 0 0 0 1px var(--brand); }
.map-legend__dot--trail { background: var(--brand-wash); }
.map-legend__dot--event { background: var(--brand); }
/* ─── Journey / How it works ─────────────────────────────── */
.journey__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.journey__step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--neutral-200);
  text-align: center;
}

.journey__step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--violet-wash);
  line-height: 1;
  margin-bottom: 1rem;
}

.journey__step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.journey__step p {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

/* ─── Pro ────────────────────────────────────────────────── */
.pro__card {
  max-width: 720px;
  margin-inline: auto;
  padding: 3rem;
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 60%, var(--brand-deep) 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pro__card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -100px;
  right: -80px;
}

.pro__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.pro__title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
}

.pro__subtitle {
  opacity: 0.85;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.pro__price {
  text-align: right;
}

.pro__price strong {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.pro__price span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.pro__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.pro__feature {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.pro__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.95;
}

.pro__note {
  font-size: 0.8125rem;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* ─── Rewards ────────────────────────────────────────────── */
.rewards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.rewards__points {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}

.rewards__points span {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--neutral-500);
  display: block;
  margin-top: 0.75rem;
}

.rewards__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--neutral-200);
  font-size: 0.975rem;
}

.rewards__list li:last-child {
  border-bottom: none;
}

.rewards__list svg {
  width: 22px;
  height: 22px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Riding levels (profile → posts) ────────────────────── */
.levels-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 920px;
  margin-inline: auto;
}

.levels-showcase__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--neutral-500);
  margin-bottom: 1rem;
}

.levels__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.levels__list li {
  list-style: none;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-wash);
  border: 1px solid var(--brand);
  border-radius: 999px;
}

.level-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2'%3E%3Ccircle cx='5.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='17.5' r='3.5'/%3E%3Cpath d='M9 17.5h6M5.5 14l3-7h5l3 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.levels-post-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--brand-white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.levels-post-card__thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  border-radius: var(--radius-md);
  color: var(--brand);
}

.levels-post-card__thumb svg {
  width: 28px;
  height: 28px;
}

.levels-post-card__title {
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.levels-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.levels-post-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600);
}

.level-badge--on-card {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
}

.levels-post-card__hint {
  font-size: 0.8125rem;
  color: var(--neutral-500);
  line-height: 1.5;
}

/* ─── CTA ────────────────────────────────────────────────── */
.cta {
  text-align: center;
  padding: var(--section-pad-y) 0;
}

.cta__box {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--brand-darker), var(--brand-deep));
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(237, 233, 254, 0.2), transparent 60%);
}

.cta__box > * {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: var(--leading-display);
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  padding: 3rem 0 2rem;
  background: var(--neutral-900);
  color: var(--neutral-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--neutral-500);
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

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

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-800);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* ─── Legal pages ────────────────────────────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
}

.legal-page h1 {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: var(--leading-display);
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--neutral-500);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  margin-bottom: 1rem;
  color: var(--neutral-600);
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stores {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .iphone-17 {
    width: min(268px, 75vw);
  }

  .iphone-17__device {
    transform: none;
    animation: iphoneIn 1.2s var(--ease-out) 0.2s both;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .journey__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rewards__grid {
    grid-template-columns: 1fr;
  }

  .levels-showcase {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--neutral-200);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
  }

  .journey__steps {
    grid-template-columns: 1fr;
  }

  .pro__features {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

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

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