/* ── 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 mock chrome ───────────────────────────────────────────────────────
   These styles are shared between the hero phone and the story phone.       */
.phone {
  position: relative;
  overflow: hidden;
  border: 1px solid #dcb89e;
  border-radius: 38px;
  background: #fcf3ed;
}

.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: 900;
}

/* Map background */
.map, .mini-map {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(194,65,12,.05) 25%, transparent 25% 50%,
      rgba(194,65,12,.05) 50% 75%, transparent 75%),
    #f5e7dd;
  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: #c2410c;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 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: #fff;
  font-style: normal;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 16px rgba(88,42,18,.2);
}
.map i.current {
  background: #c2410c;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(194,65,12,.13), 0 8px 18px rgba(88,42,18,.24);
}

/* Bottom sheet */
.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  border-top: 1px solid #ead5c2;
  border-radius: 26px 26px 0 0;
  background: #fcf3ed;
  box-shadow: 0 -24px 44px rgba(88,42,18,.12);
}
.sheet p  { margin: 0 0 8px; color: #c2410c; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.sheet h2 { margin: 0 0 6px; font-size: 26px; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.sheet span { display: block; color: #6b4937; }
.sheet span b { color: #1a0e08; }
.sheet button {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #c2410c;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* ── 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;
  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 */
.logo { display: block; margin-bottom: 22px; font-weight: 900; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.logo b { color: #c2410c; }
.screen h3 { margin: 0 0 4px; font-size: 26px; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.screen p  { margin: 0 0 14px; color: #6b4937; font-size: 13px; }
.eyebrow-sm { color: #c2410c; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 8px; }

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 18px 0;
  padding: 4px;
  border-radius: 12px;
  background: #f5e7dd;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}
.tabs span { padding: 8px 5px; border-radius: 9px; }
.tabs span:first-child { background: #fff; }

.card { margin-bottom: 10px; padding: 15px; border: 1px solid #ead5c2; border-radius: 14px; background: #fff; }
.card.hot { border-color: #c2410c; }
.card h4  { margin: 6px 0 4px; font-size: 18px; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.card small { color: #c2410c; font-weight: 900; font-size: 11px; }
.card p   { margin: 0; font-size: 12px; }

.mini-map { height: 160px; margin: -16px -16px 16px; }

.stops { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.stops li, .picked span {
  padding: 10px 12px;
  border: 1px solid #ead5c2;
  border-radius: 11px;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}
.picked { display: grid; gap: 8px; margin-top: 16px; }

/* ── 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: .95; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.legal h2 { margin: 34px 0 8px; font-size: 1.45rem; font-family: "Arial Rounded MT Bold", Inter, sans-serif; }
.legal p  { color: #6b4937; font-size: 1.05rem; line-height: 1.7; }
.legal a  { color: #c2410c; font-weight: 900; }
.legal .eyebrow { color: #c2410c; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
