/* Build: 26.09.02.13 09:44PM */
/* ── Taco Truck Tycoon — content-page styles ────────────────────────────────
   Shared by the static marketing/info pages under public/ (/game/, /features/,
   /faq/, …). Deliberately standalone: the game bundle's CSS is content-hashed
   and can't be linked from a hand-written page, and these pages don't need it.
   Palette + fonts mirror src/style.css (the "night-market signboard") and
   server/stats.php so the whole site reads as one place. */

:root {
  --night: #251c33;
  --night-deep: #1c1527;
  --panel: #302344;
  --panel-raise: #3a2b52;
  --line: #4c3a6b;
  --masa: #f6e7c8;
  --masa-dim: #b9aa95;
  --lamp: #ffb648;
  --lamp-deep: #d98c1c;
  --salsa: #ef5b41;
  --agave: #93c96f;
  --radius: 10px;
  --font-display: "Alfa Slab One", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, #3a2b52 0%, var(--night) 55%, var(--night-deep) 100%)
      fixed var(--night);
  color: var(--masa);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }

/* ── Header / site nav ─────────────────────────────────────────────────────
   Mobile: brand ......... [Play] [☰]   — links collapse into a <details>
   dropdown; the yellow Play button stays in the header, outside the menu.
   Desktop (≥48rem): links sit inline, no hamburger. No JS. */
.site-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}
.site-head a.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto; /* pushes Play + menu to the right */
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--lamp);
  text-decoration: none;
}
.site-head .taco { font-size: 1.4rem; }

/* Yellow Play button — always visible in the header, never inside the menu. */
.site-head a.play {
  order: 3;
  white-space: nowrap;
  color: var(--night-deep);
  background: var(--lamp);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.site-head a.play:hover { background: var(--lamp-deep); color: var(--night-deep); }

/* The hamburger is an empty <details>; the real <nav> is its next sibling and
   is revealed with .nav-menu[open] ~ .site-nav. Keeping the nav OUT of the
   <details> avoids the browser hiding it as collapsed content. */
.nav-menu { order: 4; } /* after the Play button on mobile: brand … [Play] [☰] */
.nav-menu > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--masa-dim);
  user-select: none;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu[open] > summary { color: var(--lamp); }

.site-nav { display: none; order: 4; }
.nav-menu[open] ~ .site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 1.25rem;
  z-index: 30;
  min-width: 12rem;
  padding: 0.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.site-nav a {
  color: var(--masa-dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
}
.site-nav a:hover { color: var(--lamp); background: var(--panel-raise); }
.site-nav a[aria-current="page"] { color: var(--lamp); }

@media (min-width: 48rem) {
  .nav-menu { display: none; }
  .site-nav,
  .nav-menu[open] ~ .site-nav {
    display: flex;
    position: static;
    order: 2;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav a { padding: 0; }
  .site-nav a:hover { background: none; }
}

/* ── Hero (landing page) ───────────────────────────────────────────────── */
.hero {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 0.5rem;
  text-align: center;
}
.hero .taco-big { font-size: clamp(3rem, 12vw, 5rem); line-height: 1; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin: 0.5rem 0; }
.hero .lede { max-width: 34rem; margin: 0.5rem auto 1rem; }
.bunting {
  height: 14px;
  background:
    repeating-linear-gradient(-45deg, var(--salsa) 0 14px, transparent 14px 28px),
    var(--lamp-deep);
  opacity: 0.85;
  margin: 1.5rem 0 0;
}
.hero-shot { max-width: 46rem; margin: 1.75rem auto 0; padding: 0 1.25rem; }
.screens-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 44rem) { .screens-grid { grid-template-columns: 1fr 1fr; } }
.screens-grid figure { margin: 0; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); color: var(--lamp); line-height: 1.2; }
h1 { font-size: 2rem; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.1rem; color: var(--masa); margin: 1.5rem 0 0.4rem; }
p { margin: 0.75rem 0; }
a { color: var(--lamp); }
a:hover { color: var(--lamp-deep); }
.lede { font-size: 1.15rem; color: var(--masa); }
strong { color: #fff; }

/* ── Components ────────────────────────────────────────────────────────── */
.cta {
  display: inline-block;
  margin: 1rem 0.5rem 1rem 0;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--lamp);
  color: var(--night-deep);
  font-weight: 800;
  text-decoration: none;
}
.cta:hover { background: var(--lamp-deep); color: var(--night-deep); }
.cta.secondary { background: transparent; color: var(--lamp); box-shadow: inset 0 0 0 2px var(--line); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .feature-grid { grid-template-columns: 1fr 1fr; } }

figure { margin: 1.5rem 0; }
figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}
figcaption { color: var(--masa-dim); font-size: 0.95rem; margin-top: 0.5rem; }

.breadcrumb { font-size: 0.9rem; color: var(--masa-dim); margin-top: 0.5rem; }
.breadcrumb a { color: var(--masa-dim); }

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
details.faq summary {
  font-weight: 800;
  color: var(--masa);
  cursor: pointer;
  font-size: 1.05rem;
}
details.faq[open] summary { color: var(--lamp); }
details.faq > *:not(summary) { margin-top: 0.5rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-foot {
  max-width: 46rem;
  margin: 3rem auto 0;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--masa-dim);
  font-size: 0.95rem;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 0.75rem; }
.site-foot nav a { color: var(--masa-dim); text-decoration: none; font-weight: 700; }
.site-foot nav a:hover { color: var(--lamp); }
