/* FoodTruckFound — design tokens & shared styles
   Palette: road-sign marigold, asphalt ink, lane-line white, live green */
:root {
  --marigold: #F5B301;
  --marigold-deep: #C98F00;
  --asphalt: #1E1B16;
  --asphalt-soft: #35312A;
  --paper: #F6F5F1;
  --lane: #FFFFFF;
  --live: #1D9E75;
  --live-tint: #E1F5EE;
  --live-ink: #085041;
  --muted: #6E6A61;
  --hairline: #E3E1DA;
  --radius: 10px;
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--asphalt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; }

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Signature: the painted lane line */
.lane-divider {
  border: 0;
  height: 4px;
  background-image: linear-gradient(90deg, var(--asphalt) 0 40px, transparent 40px 64px);
  background-size: 64px 4px;
  background-repeat: repeat-x;
  margin: 0;
}
.lane-divider.on-dark {
  background-image: linear-gradient(90deg, var(--marigold) 0 40px, transparent 40px 64px);
}
@media (prefers-reduced-motion: no-preference) {
  .lane-divider.moving { animation: lane-move 1.6s linear infinite; }
  @keyframes lane-move { to { background-position-x: 64px; } }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--asphalt);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--marigold-deep); outline-offset: 2px; }
.btn-primary { background: var(--marigold); color: var(--asphalt); }
.btn-primary:hover { background: #FFC21A; }
.btn-ghost { background: transparent; color: var(--asphalt); }
.btn-ghost:hover { background: rgba(30, 27, 22, 0.06); }
.btn-dark { background: var(--asphalt); color: var(--paper); border-color: var(--asphalt); }
.btn-dark:hover { background: var(--asphalt-soft); }

/* Status pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.pill-live { background: var(--live-tint); color: var(--live-ink); }
.pill-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
}
@media (prefers-reduced-motion: no-preference) {
  .pill-live::before { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: 0.4; } }
}
.pill-off { background: #ECEAE3; color: var(--muted); }
