/* =========================================================
   Motoguru website — shared styles
   Editorial moto-magazine aesthetic. Brand: #D85A30 on #0E0F10.
   ========================================================= */

:root {
  /* Brand */
  --brand: #D85A30;
  --brand-dark: #993C1D;
  --brand-light: #F0997B;
  --brand-glow: rgba(216, 90, 48, 0.35);

  /* Backgrounds */
  --bg: #0E0F10;
  --bg-elevated: #17191B;
  --bg-card: #1F2123;
  --bg-card-light: #2A2C2F;

  /* Text */
  --text: #FFFFFF;
  --text-muted: #B6B7B9;
  --text-faint: #7F8082;

  /* Lines */
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  /* Semantic */
  --success: #2DBE7C;
  --warning: #F2A623;
  --danger: #E24B4A;

  /* Type */
  --display: 'Antonio', 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

/* =========== Reset =========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01' on, 'cv11' on;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

/* =========== Typography =========== */
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-transform: uppercase;
}
h1, h2, h3, h4, h5 { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--brand);
}

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 60ch;
}

/* =========== Layout =========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-tight { padding: clamp(48px, 8vw, 96px) 0; }

.divider {
  height: 1px;
  background: var(--hairline);
  border: 0;
}
.divider-brand {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand) 30%, var(--brand) 70%, transparent);
  border: 0;
}

/* =========== Nav =========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 16, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.logo .o { color: var(--brand); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 20px -8px var(--brand-glow);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--brand-glow);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; font-size: 22px; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
}

/* =========== Hero =========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(14,15,16,0.35) 0%, rgba(14,15,16,0.75) 65%, var(--bg) 100%),
    url('https://images.unsplash.com/photo-1568772585407-9361f9bf3a87?w=2400&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(115%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, transparent 0%, rgba(14,15,16,0.4) 80%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-content { width: 100%; }
.hero-headline {
  font-size: clamp(56px, 11vw, 168px);
  margin: 24px 0 32px;
  max-width: 14ch;
}
.hero-headline em {
  font-style: normal;
  color: var(--brand);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 40px;
  line-height: 1.45;
}

.store-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #fff;
  color: #0E0F10;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s;
  min-width: 200px;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .store-text small {
  font-size: 11px;
  font-weight: 500;
  color: #5F5E5A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.store-btn .store-text strong { font-size: 17px; font-weight: 700; }

.hero-marquee {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  background: rgba(14, 15, 16, 0.5);
  backdrop-filter: blur(8px);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-item::after {
  content: '◇';
  color: var(--brand);
  font-size: 10px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========== Featured rides =========== */
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(40px, 6vw, 80px);
  max-width: 16ch;
}
.section-title em {
  color: var(--brand);
  font-style: normal;
}

.routes-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
  min-height: 520px;
}
@media (max-width: 900px) {
  .routes-grid { grid-template-columns: 1fr; min-height: 0; }
}
.route-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  isolation: isolate;
  transition: transform 0.3s;
  min-height: 320px;
}
.route-card:hover { transform: translateY(-4px); }
.route-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}
.route-card:hover img { transform: scale(1.05); }
.route-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(14,15,16,0.85) 100%);
}
.route-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}
.route-meta {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 10px;
}
.route-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.route-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.route-stats strong { color: var(--text); font-weight: 600; }

/* =========== Features section =========== */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature {
  grid-column: span 4;
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.feature:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-4px);
}
.feature-wide { grid-column: span 8; }
.feature-tall { grid-row: span 2; }
@media (max-width: 1000px) {
  .feature, .feature-wide { grid-column: span 12; }
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(216, 90, 48, 0.12);
  border: 1px solid rgba(216, 90, 48, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.feature h3 {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.feature-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--brand);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--brand);
  border-radius: 999px;
}

/* =========== Phase-2 / device showcase =========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 900px) { .split.reverse > div:first-child { order: 0; } }

.split h3 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  margin: 16px 0 20px;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.split p { color: var(--text-muted); margin: 0 0 16px; font-size: 17px; }
.split ul { margin: 24px 0 0; padding: 0; list-style: none; }
.split ul li {
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 16px;
  font-size: 15px;
}
.split ul li:last-child { border-bottom: 1px solid var(--hairline); }
.split ul li::before {
  content: '→';
  color: var(--brand);
  font-weight: 700;
}

/* phone mockup */
.phone {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  border: 1px solid var(--hairline-strong);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 0 1px rgba(0,0,0,0.5);
  margin: 0 auto;
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 10;
}

.phone-content {
  padding: 56px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.mini-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--hairline);
}
.mini-card-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
}
.mini-card-sub {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

/* SOS phone */
.phone-sos {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(226, 75, 74, 0.15) 100%);
}
.sos-orb {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--danger);
  border: 4px solid #fff;
  margin: 60px auto 28px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-family: var(--display);
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow:
    0 0 0 0 rgba(226, 75, 74, 0.4),
    0 24px 60px -16px rgba(226, 75, 74, 0.5);
  animation: pulse 2.4s ease-in-out infinite;
}
.sos-orb small { font-size: 12px; letter-spacing: 0.1em; opacity: 0.9; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,75,74,0.4), 0 24px 60px -16px rgba(226,75,74,0.5); }
  50% { box-shadow: 0 0 0 18px rgba(226,75,74,0), 0 28px 70px -16px rgba(226,75,74,0.6); }
}

/* Group ride phone — riders on a fake map */
.phone-map {
  background:
    radial-gradient(circle at 30% 20%, rgba(216,90,48,0.08), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(59,139,212,0.08), transparent 50%),
    var(--bg);
  position: relative;
  height: 100%;
}
.phone-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.rider-pin {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  font-family: var(--body);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px -4px rgba(0,0,0,0.6);
}
.rider-pin.blue { background: #3B8BD4; }
.rider-pin.green { background: var(--success); }
.rider-pin-trail {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: pulseTrail 2s ease-out infinite;
}
@keyframes pulseTrail {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

/* Garage phone — bike spotlight */
.phone-garage {
  padding: 50px 16px 16px;
}
.bike-spotlight {
  height: 200px;
  border-radius: 14px;
  background-image:
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8)),
    url('https://images.unsplash.com/photo-1568772585407-9361f9bf3a87?w=600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 14px;
  margin-bottom: 12px;
}
.bike-spotlight .eyebrow-mini {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.bike-spotlight .bike-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.bike-spotlight .bike-sub {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 2px;
}

.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-tile {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--hairline);
}
.mini-tile-num {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}
.mini-tile-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* =========== Pricing =========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(216,90,48,0.06), transparent);
}
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px; left: 50%; transform: translate(-50%, -50%);
  background: var(--brand);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-name {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.price-tag {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin: 12px 0 4px;
}
.price-period {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}
.price-card ul li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card ul li.muted { color: var(--text-faint); }
.price-card ul li.muted::before { content: '–'; color: var(--text-faint); }
.price-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  background: var(--bg-card-light);
  color: var(--text);
  border: 1px solid var(--hairline);
  transition: background 0.2s;
}
.price-btn:hover { background: var(--bg-card); }
.price-card.featured .price-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.price-card.featured .price-btn:hover { background: var(--brand-dark); }

/* =========== Dealers / business =========== */
.dealers {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(216,90,48,0.10), transparent 60%),
    var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--hairline);
}
.dealers-header { max-width: 720px; }
.dealers-header h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 16px 0 16px;
}
.dealers-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 900px) { .dealers-tiers { grid-template-columns: 1fr; } }
.tier {
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.tier-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.tier-price {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.tier-price small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.tier-desc { color: var(--text-muted); font-size: 14px; margin: 16px 0 0; }

/* =========== Final CTA =========== */
.final-cta {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
  background:
    radial-gradient(ellipse at center, rgba(216,90,48,0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.final-cta .display {
  font-size: clamp(56px, 9vw, 144px);
  margin-bottom: 32px;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .lede {
  margin: 0 auto 40px;
  text-align: center;
}
.final-cta .store-row { justify-content: center; }

/* =========== Footer =========== */
.footer {
  background: var(--bg);
  padding: 64px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: var(--text);
  font-size: 14px;
  transition: color 0.15s;
}
.footer ul li a:hover { color: var(--brand); }
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 0;
  max-width: 40ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* =========== Long-form pages (privacy, terms) =========== */
.longform {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0;
}
.longform h1 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 80px);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 0.95;
}
.longform .updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 56px;
}
.longform h2 {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
}
.longform h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}
.longform p, .longform li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}
.longform a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.longform a.price-btn,
.longform a.nav-cta,
.longform a.store-btn { text-decoration: none; }
.longform ul { padding-left: 20px; }
.longform li { margin-bottom: 8px; }
.longform strong { color: var(--text); font-weight: 600; }

/* =========== Support page =========== */
.faq {
  border-top: 1px solid var(--hairline);
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--brand);
  font-size: 28px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--text-muted);
  padding: 0 0 24px;
  margin: 0;
  font-size: 16px;
  max-width: 70ch;
}

/* =========== Reveal on scroll (only when JS is running) =========== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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