/* ── Base ──────────────────────────────────────────────────────────────────────
   Only styles that Tailwind doesn't cover: phone mock chrome, scroll
   animation, legal pages, and honeypot. Everything else is in index.html
   via Tailwind utility classes.
   ──────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }

/* ── Phone glow wrapper ───────────────────────────────────────────────────────
   Warm ambient glow beneath the dark phone frame.                             */
.phone-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-glow::before {
  content: '';
  position: absolute;
  inset: -20% -15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(251,146,60,0.22) 0%, rgba(194,65,12,0.10) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
}
.phone-glow > * {
  position: relative;
  z-index: 1;
}

/* ── Phone mock chrome — dark Ember interior ──────────────────────────────────
   Shared between the hero phone and the story phone.                          */
.phone {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: #150a07;
  border: 1px solid rgba(90,58,40,0.55);
}

/* Status bar */
.status {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  height: 30px;
  padding: 0 22px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #fbece2;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  letter-spacing: 0;
}

/* Map background — dark grid with orange tint */
.map, .mini-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(251,146,60,.07) 25%, transparent 25% 50%,
      rgba(251,146,60,.07) 50% 75%, transparent 75%),
    #1c1008;
  background-size: 42px 42px;
}
.map {
  position: absolute;
  inset: 30px 0 0;
}
.map svg, .mini-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}
.map path, .mini-map path {
  stroke: #fb923c;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 7;
  opacity: 0.7;
}

/* Stop pins */
.map i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #311e16;
  color: #bfa494;
  border: 1px solid #5a3a28;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.map i.current {
  background: #fb923c;
  color: #1a0a04;
  border-color: #fb923c;
  box-shadow: 0 0 0 8px rgba(251,146,60,.18), 0 8px 18px rgba(0,0,0,0.4);
}

/* Bottom sheet */
.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  border-top: 1px solid #382318;
  border-radius: 26px 26px 0 0;
  background: rgba(35,21,16,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -20px 40px rgba(0,0,0,0.4);
}
.sheet p  { margin: 0 0 8px; color: #fb923c; font-size: 10px; font-weight: 600; letter-spacing: .1em; font-family: "JetBrains Mono", monospace; text-transform: uppercase; }
.sheet h2 { margin: 0 0 6px; font-size: 24px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.025em; color: #fbece2; }
.sheet span { display: block; color: #bfa494; font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 13px; }
.sheet span b { color: #fbece2; }
.sheet button {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #fb923c;
  color: #1a0a04;
  font-weight: 700;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  cursor: pointer;
  font-size: 14px;
}

/* ── Story phone screens (scroll-driven) ─────────────────────────────────── */
.story-phone {
  transform: translateY(0) rotate(-2deg);
  transition: transform 120ms linear;
  will-change: transform;
  border-radius: 30px;
}

.screen {
  position: absolute;
  inset: 30px 0 0;
  padding: 16px;
  background: #150a07;
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity .42s ease, transform .52s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.screen.is-active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* In-phone typography — Bricolage + Hanken + dark Ember colors */
.logo {
  display: block;
  margin-bottom: 20px;
  font-weight: 800;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-size: 18px;
  color: #fbece2;
}
.logo b { color: #fb923c; }

.screen h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fbece2;
}
.screen p { margin: 0 0 14px; color: #bfa494; font-size: 13px; font-family: "Hanken Grotesk", system-ui, sans-serif; }

.eyebrow-sm {
  display: block;
  margin-bottom: 8px;
  color: #fb923c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
}

/* Segmented tabs */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 16px 0;
  padding: 3px;
  border-radius: 12px;
  background: #311e16;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: #bfa494;
}
.tabs span { padding: 7px 4px; border-radius: 9px; }
.tabs span:first-child { background: #3f291d; color: #fbece2; }

/* Cards inside phone */
.card {
  margin-bottom: 8px;
  padding: 13px;
  border: 1px solid #382318;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card.hot { border-color: rgba(251,146,60,0.5); }
.card h4 { margin: 5px 0 4px; font-size: 16px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; color: #fbece2; }
.card small { color: #fb923c; font-weight: 600; font-size: 10px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.card p { margin: 0; font-size: 12px; color: #bfa494; font-family: "Hanken Grotesk", system-ui, sans-serif; }

/* Mini map (screen 1) */
.mini-map { height: 150px; margin: -16px -16px 14px; }

/* Stop list */
.stops { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.stops li, .picked span {
  padding: 9px 11px;
  border: 1px solid #382318;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 12px;
  color: #fbece2;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}
.picked { display: grid; gap: 6px; margin-top: 14px; }

/* ── Honeypot ─────────────────────────────────────────────────────────────── */
.honeypot { position: absolute; left: -9999px; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal { max-width: 860px; margin: 0 auto; padding: 70px 16px 110px; }
.legal h1 { margin: 0 0 24px; font-size: clamp(2.8rem, 8vw, 5rem); line-height: .94; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.025em; }
.legal h2 { margin: 34px 0 8px; font-size: 1.45rem; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.legal p  { color: #6b4937; font-size: 1.05rem; line-height: 1.7; font-family: "Hanken Grotesk", system-ui, sans-serif; }
.legal a  { color: #c2410c; font-weight: 600; }
.legal .eyebrow { color: #c2410c; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-family: "JetBrains Mono", monospace; }
