/* RideTalk marketing site
 *
 * Editorial layout: cream sections + forest sections, hairline rules,
 * Sora/Plus Jakarta/JetBrains-Mono — same families as the app so the
 * brand reads consistently across surfaces.
 *
 * Legal pages (privacy, agb) and deeplink pages (/u, /join) still use
 * the forest-dark base via the .legal and .deeplink classes below.
 * The new editorial styles only kick in for body.site (the homepage).
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* App-matched tokens (forest base) */
  --bg: #0d1814;
  --surface: #1a2e22;
  --surface-2: #22382c;
  --hero-card: #1c3528;
  --amber: #ffb84d;
  --amber-deep: #c9701c;
  --amber-ink: #1a0f00;
  --green: #6abb6e;
  --live-red: #cf3e3e;
  --text: #fff5dc;
  --text-muted: rgba(255, 245, 220, 0.65);
  --text-faint: rgba(255, 245, 220, 0.4);
  --border: rgba(255, 184, 77, 0.18);
  --border-strong: rgba(255, 184, 77, 0.4);
  --hairline-light: rgba(255, 245, 220, 0.12);

  /* Editorial tokens (cream base) */
  --cream: #fdf9ec;
  --cream-rule: rgba(26, 20, 16, 0.10);
  --ink: #1a1410;
  --ink-dim: #5a4e3c;
  --ink-mute: #9b8a70;
  --ember: #b85f12;        /* amber, on cream */
  --forest: #0d1814;
  --forest-el: #1a2e22;

  --font-display: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body.site {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fallback body color for legal/deeplink pages (no .site class) */
body:not(.site) {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.55;
}

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

/* =====================================================================
   SHARED EDITORIAL PRIMITIVES
   ===================================================================== */

.section-cream { background: var(--cream); color: var(--ink); }
.section-forest { background: var(--forest); color: var(--text); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ember);
}
.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow-amber { color: var(--amber); }

.accent { color: var(--ember); font-style: italic; font-weight: 600; }
.accent-amber { color: var(--amber); }
.accent-italic { color: var(--ember); font-style: italic; font-weight: 600; }
.section-forest .accent-italic { color: var(--amber); }

.section-title-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -1.6px;
  margin: 36px 0 64px;
  max-width: 820px;
  text-wrap: balance;
}
.section-title-lg.dark { color: var(--ink); }

.section-title-md {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-top: 20px;
  text-wrap: balance;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: translateY(1px); }

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 0 0 1px rgba(255, 184, 77, 0.4),
              0 16px 40px -10px rgba(255, 184, 77, 0.5);
}
.btn-lg {
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
}
.btn-xl {
  height: 64px;
  padding: 0 32px;
  font-size: 17px;
  font-weight: 700;
}

/* =====================================================================
   TOP BAR
   ===================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(253, 249, 236, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--cream-rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.wordmark-icon { color: currentColor; }
.wordmark-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
}
.wordmark-dot { color: var(--ember); }

.wordmark-light { color: var(--text); }
.wordmark-light .wordmark-dot { color: var(--amber); }

.topbar-nav {
  display: flex;
  gap: 34px;
}
.topbar-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.1px;
}
.topbar-nav a:hover { color: var(--ink); }

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

/* =====================================================================
   HERO
   ===================================================================== */

.hero {
  position: relative;
  padding: 60px clamp(20px, 4vw, 56px) 80px;
  overflow: hidden;
}
.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
}
.hero > .eyebrow,
.hero > .hero-grid { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  margin-top: 28px;
}
.hero-copy { padding-top: 4px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -2.5px;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-top: 28px;
  max-width: 460px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-cta-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 500;
}

.live-ticker {
  margin-top: 56px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--cream-rule);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--live-red);
  box-shadow: 0 0 0 4px rgba(207, 62, 62, 0.18);
  animation: rt-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}
.live-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.live-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--live-red);
}
.live-line {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.live-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
}
.live-bars span {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--ember);
  transform-origin: bottom;
  animation: rt-bar 0.9s ease-in-out infinite;
}
.live-bars span:nth-child(2) { animation-delay: 0.12s; }
.live-bars span:nth-child(3) { animation-delay: 0.24s; }
.live-bars span:nth-child(4) { animation-delay: 0.36s; }

@keyframes rt-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(207, 62, 62, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(207, 62, 62, 0.05); }
}
@keyframes rt-bar {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* Hero preview — real-looking iPhone with the live tour cockpit inside */
.hero-preview {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.phone-annotation {
  position: absolute;
  top: 6%;
  left: -20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-5deg);
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--ember);
  font-weight: 600;
  pointer-events: none;
}

.iphone {
  position: relative;
  width: 340px;
  height: 720px;
  border-radius: 48px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px -10px rgba(0, 0, 0, 0.32),
              0 0 0 1px rgba(0, 0, 0, 0.12);
  transform: rotate(2.5deg);
  flex-shrink: 0;
}
.iphone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 32px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}
.iphone-screen {
  position: absolute;
  inset: 0;
  background: var(--forest);
  color: var(--text);
  font-family: var(--font-body);
}

.ios-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 20;
  padding: 16px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: -apple-system, system-ui, sans-serif;
  color: var(--text);
}
.ios-time {
  font-size: 15px;
  font-weight: 600;
}
.ios-icons { display: inline-flex; color: var(--text); }

.ios-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.7);
  z-index: 60;
}

/* Map portion of the phone screen — gradient ground + crew pins */
.phone-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background:
    radial-gradient(circle at 30% 40%, #2a4d3a 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, #2f5340 0%, transparent 55%),
    linear-gradient(135deg, #1f3b2c 0%, #1a2e22 100%);
  z-index: 1;
}
.phone-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255, 245, 220, 0.07) 49%, rgba(255, 245, 220, 0.07) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 245, 220, 0.05) 49%, rgba(255, 245, 220, 0.05) 51%, transparent 52%);
  background-size: 80px 80px, 60px 60px;
  opacity: 0.6;
}
.phone-map::after {
  content: '';
  position: absolute;
  top: 60%;
  left: -10%;
  right: -10%;
  height: 80px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 245, 220, 0.18) 30%, rgba(255, 245, 220, 0.18) 70%, transparent);
  clip-path: polygon(0 40%, 30% 30%, 60% 50%, 100% 30%, 100% 60%, 60% 80%, 30% 60%, 0 70%);
  opacity: 0.55;
}

.phone-pill {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 24, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 245, 220, 0.12);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text);
}
.phone-pill-amber { top: 60px; left: 14px; }
.phone-pill-live { top: 60px; right: 14px; }
.phone-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Place name labels on the fake map — Apple-Maps-style:
   dark stroke + cream fill so they read on the forest-green map */
.phone-place {
  position: absolute;
  z-index: 6;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--text);
  text-shadow:
    0 0 3px rgba(13, 24, 20, 0.9),
    0 1px 2px rgba(13, 24, 20, 0.7);
  pointer-events: none;
}
.phone-place-1 { top: 110px; left: 105px; }
.phone-place-2 { top: 218px; left: 36px; font-size: 11px; opacity: 0.75; }

.phone-pin {
  position: absolute;
  z-index: 8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c);
  border: 2.5px solid rgba(255, 245, 220, 0.85);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.18),
              0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: rgba(13, 24, 20, 0.85);
}
.phone-pin::after { content: attr(data-i); }
.pin-1 { top: 145px; left: 75px; }
.pin-2 { top: 195px; left: 200px; }
.pin-3 { top: 165px; left: 145px; }
.pin-speaking {
  box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.32),
              0 0 24px rgba(255, 184, 77, 0.55);
  animation: rt-pulse-amber 1.6s ease-out infinite;
}
@keyframes rt-pulse-amber {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.32), 0 0 24px rgba(255, 184, 77, 0.55); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 184, 77, 0.1), 0 0 16px rgba(255, 184, 77, 0.4); }
}

/* Bottom-sheet drawer inside the phone */
.phone-sheet {
  position: absolute;
  top: 248px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--forest);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -16px 32px rgba(0, 0, 0, 0.45);
  z-index: 20;
  padding: 8px 14px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.phone-grabber {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 245, 220, 0.22);
  margin: 0 auto 4px;
}

.phone-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 6px;
}
.phone-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.phone-stat-row { display: flex; align-items: baseline; gap: 3px; }
.phone-stat-row strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.phone-stat-row em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-faint);
}
.phone-stat-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.phone-stat-divider {
  width: 1px;
  height: 24px;
  background: var(--hairline-light);
}

.phone-crewstrip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--hairline-light);
  border-radius: 14px;
}
.phone-avatars { display: flex; align-items: center; }
.phone-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  color: rgba(13, 24, 20, 0.85);
  margin-left: -8px;
}
.phone-av:first-child { margin-left: 0; }
.phone-av-speaking {
  box-shadow: 0 0 0 2px var(--amber);
}
.phone-crewmeta { flex: 1; min-width: 0; }
.phone-crewline {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text);
}
.phone-crewsub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 1px;
}
.phone-crewcta {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--amber);
}

.phone-ptt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 2px;
}
.phone-mic {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(106, 187, 110, 0.16);
  border: 2px solid var(--green);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 0 0 28px;
  box-shadow: 0 0 32px rgba(106, 187, 110, 0.32);
}
.phone-mic span {
  display: block;
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--green);
  transform-origin: bottom;
  animation: rt-bar 0.9s ease-in-out infinite;
}
.phone-mic span:nth-child(2) { animation-delay: 0.08s; }
.phone-mic span:nth-child(3) { animation-delay: 0.16s; }
.phone-mic span:nth-child(4) { animation-delay: 0.24s; }
.phone-mic span:nth-child(5) { animation-delay: 0.32s; }
.phone-mic span:nth-child(6) { animation-delay: 0.40s; }
.phone-mic span:nth-child(7) { animation-delay: 0.48s; }

.phone-volume {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: rgba(255, 184, 77, 0.08);
  color: var(--amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.phone-volume span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  margin-top: -2px;
}

.phone-ptt-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 16px;
  margin-top: 2px;
}
.phone-ptt-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.phone-ptt-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 1px;
}

.phone-codemin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 6px;
  border-radius: 10px;
  background: rgba(255, 184, 77, 0.05);
  border: 1px solid var(--border);
}
.phone-codemin-eyebrow {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--amber);
}
.phone-codemin-value {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--text);
}
.phone-codemin-share {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--amber);
}

.phone-tabs {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
  z-index: 30;
}
.phone-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-faint);
  position: relative;
  padding-bottom: 6px;
}
.phone-tab-active {
  color: var(--amber);
}
.phone-tab-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */

.how {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 56px);
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--hairline-light);
  margin-top: 24px;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 32px;
}
.step-middle {
  border-left: 1px solid var(--hairline-light);
  border-right: 1px solid var(--hairline-light);
}
.step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 1px;
}
.step-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-faint);
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.8px;
  line-height: 1.05;
  color: var(--text);
}
.step-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--amber);
  margin-top: 6px;
}
.step-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 18px 0 28px;
  max-width: 340px;
  text-wrap: pretty;
}
.step-snippet { width: 100%; }

/* Code card mini (Step 1) */
.code-card-mini {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 184, 77, 0.10), rgba(255, 184, 77, 0.02));
  border: 1px solid var(--border-strong);
}
.code-card-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.code-value-lg {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.code-share-circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Join snippet (Step 2) */
.join-snippet {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.join-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 245, 220, 0.04);
  border: 1px solid var(--hairline-light);
}
.join-row-live {
  background: rgba(255, 184, 77, 0.08);
  border-color: rgba(255, 184, 77, 0.22);
}
.join-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  flex-shrink: 0;
}
.join-avatar[data-c="1"] { background: #3d6f4f; }
.join-avatar[data-c="2"] { background: #7a5230; }
.join-avatar[data-c="3"] { background: #5d4a8a; }
.join-text { flex: 1; min-width: 0; }
.join-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.join-msg {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-muted);
}
.join-msg-live { color: var(--amber); }
.join-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(106, 187, 110, 0.22);
  animation: rt-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

/* PTT snippet (Step 3) */
.ptt-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--hairline-light);
}
.ptt-mic-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--amber-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.18),
              0 0 40px rgba(255, 184, 77, 0.35);
  flex-shrink: 0;
}
.ptt-snippet-meta { flex: 1; }
.ptt-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}
.ptt-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  margin-top: 6px;
}
.ptt-bars span {
  width: 3px;
  height: 14px;
  border-radius: 1.5px;
  background: var(--amber);
  transform-origin: bottom;
  animation: rt-bar 0.9s ease-in-out infinite;
}
.ptt-bars span:nth-child(2) { animation-delay: 0.08s; }
.ptt-bars span:nth-child(3) { animation-delay: 0.16s; }
.ptt-bars span:nth-child(4) { animation-delay: 0.24s; }
.ptt-bars span:nth-child(5) { animation-delay: 0.32s; }
.ptt-bars span:nth-child(6) { animation-delay: 0.40s; }
.ptt-bars span:nth-child(7) { animation-delay: 0.48s; }
.ptt-bars span:nth-child(8) { animation-delay: 0.56s; }

/* =====================================================================
   ROUTE STORY
   ===================================================================== */

.route-story {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 56px);
  position: relative;
}
.route-stage {
  position: relative;
  min-height: 540px;
  margin-top: 24px;
}
.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 540px;
}
.route-stop circle:first-child { fill: var(--ember); }
.route-stop-ring { fill: none; stroke: var(--ember); stroke-width: 1.2; opacity: 0.4; }
.route-stop text {
  fill: var(--ink);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.callout {
  position: absolute;
  max-width: 320px;
  padding: 18px 20px 16px;
  background: #fff;
  border: 1px solid var(--cream-rule);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.callout-1 { left: 6%; top: 48%; transform: rotate(-0.8deg); }
.callout-2 { left: 56%; top: 12%; transform: rotate(1.5deg); }

.callout blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.callout figcaption {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
}

/* =====================================================================
   FAQ
   ===================================================================== */

.faq {
  padding: clamp(80px, 11vw, 110px) clamp(20px, 4vw, 56px);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 80px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}
.faq-aside {
  position: sticky;
  top: 100px;
}
.faq-aside-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink-dim);
  margin-top: 20px;
  max-width: 380px;
  line-height: 1.5;
}
.faq-aside-body a { color: var(--ember); font-weight: 600; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--cream-rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--cream-rule); }

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ink);
  max-width: 85%;
}
.faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.faq-item p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 12px 0 0;
  max-width: 580px;
  text-wrap: pretty;
}

/* =====================================================================
   BIG CTA + FOOTER
   ===================================================================== */

.big-cta {
  padding: clamp(80px, 11vw, 140px) clamp(20px, 4vw, 56px) 60px;
  position: relative;
  overflow: hidden;
}
.big-cta-motif {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  opacity: 0.06;
  pointer-events: none;
}
.big-cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.big-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -2.5px;
  color: var(--text);
  max-width: 1100px;
  text-wrap: balance;
}
.big-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.big-cta-secondary {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
.big-cta-secondary:hover { color: var(--text); }

.site-footer {
  margin-top: 140px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline-light);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col-brand { max-width: 320px; }
.footer-tag {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 14px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.footer-col a:hover { color: var(--amber); }
.footer-dim {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-faint);
}

.footer-meta-row {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.4px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 960px) {
  .topbar-nav { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-preview { justify-content: center; }
  .cockpit-card { transform: rotate(0); }

  .step-grid { grid-template-columns: 1fr; }
  .step-middle { border-left: none; border-right: none;
    border-top: 1px solid var(--hairline-light);
    border-bottom: 1px solid var(--hairline-light); }
  .step { padding: 32px 0; }

  .route-stage { min-height: auto; }
  .route-svg { position: static; height: 280px; }
  .callout { position: static; transform: none; max-width: 100%; margin-top: 16px; }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-aside { position: static; }
}

@media (max-width: 560px) {
  .topbar { padding: 14px 20px; }
  .wordmark-text { font-size: 18px; }
  .topbar-actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }

  .hero { padding: 40px 20px 60px; }
  .hero-title { letter-spacing: -1.5px; }
  .hero-lead { font-size: 17px; }
  .live-ticker { flex-wrap: wrap; gap: 10px; }

  .cockpit-card { max-width: 100%; padding: 18px; border-radius: 22px; }
  .cockpit-stats { flex-wrap: wrap; gap: 12px; }

  .section-title-lg { font-size: 36px; letter-spacing: -1px; margin: 24px 0 36px; }
  .step-title { font-size: 26px; }

  .big-cta-title { font-size: 40px; letter-spacing: -1.2px; }
  .btn-xl { height: 56px; padding: 0 24px; font-size: 15px; }

  .site-footer { gap: 28px; }
}

/* =====================================================================
   LEGAL PAGES (privacy / agb) — forest-dark base
   ===================================================================== */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  color: var(--text);
}
.legal .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.legal .brand-mark { width: 36px; height: 36px; border-radius: 8px; }
.legal .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal p, .legal li {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; }
.legal a {
  text-decoration: underline;
  color: var(--amber);
}
.legal .updated {
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* =====================================================================
   DEEPLINK PAGES (/u, /join) — forest-dark base
   ===================================================================== */

.deeplink {
  max-width: 520px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
  color: var(--text);
}
.deeplink .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
}
.deeplink .brand-mark { width: 36px; height: 36px; border-radius: 8px; }
.deeplink .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}
.deeplink h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  color: var(--text);
}
.deeplink p {
  color: var(--text-muted);
  margin-bottom: 32px;
}
.deeplink .cta,
.deeplink .cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 28px rgba(255, 184, 77, 0.35);
}
