/* Where's The Foodtruck — marketing site
   Palette lifted from the app's own tokens (app.wheresthefoodtruck.com/src/styles/tokens.css),
   which were themselves lifted from the native app's res/values/colors.xml — the same brick
   red / truck yellow Nicholas has run for years. Reused here on purpose, not reinvented, so the
   site and the app read as one product. */

:root {
  --red: #9d2129;
  --red-dark: #7c1a21;
  --red-ink: #5c1318;
  --yellow: #fac129;
  --yellow-dark: #e0a913;

  --paper: #ffffff;
  --paper-2: #faf7f2;
  --paper-3: #f3ece0;
  --ink: #1f1b16;
  --ink-2: #3b352d;
  --ink-3: #6d655b;
  --ink-4: #9b938a;
  --line: rgba(31, 27, 22, 0.12);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.06), 0 6px 18px rgba(31, 27, 22, 0.08);
  --shadow-md: 0 10px 30px rgba(31, 27, 22, 0.14);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(250, 193, 41, 0.25);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0.3em 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { color: var(--ink-2); }
.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 46ch;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); }
.btn-accent { background: var(--yellow); color: var(--red-ink); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--yellow-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-on-red { background: var(--yellow); color: var(--red-ink); }
.btn-on-red:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand-word { height: 20px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-weight: 600; font-size: 0.98rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; background: none; border: none; padding: 8px;
  }
  .nav-cta .btn-ghost { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 90px;
  background:
    radial-gradient(60% 60% at 82% 8%, rgba(250, 193, 41, 0.16), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 em { font-style: italic; color: var(--red); }
.hero-badges {
  display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap;
}
.hero-badge { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-3); }
.hero-badge b { color: var(--ink); font-size: 1.15rem; display: block; font-family: var(--font-body); }
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.hero-halo {
  position: absolute; inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(250, 193, 41, 0.9), rgba(157, 33, 41, 0.85) 62%, rgba(92, 19, 24, 0.9) 100%);
  filter: blur(0px);
  box-shadow: 0 30px 80px rgba(157, 33, 41, 0.35), inset 0 0 60px rgba(0,0,0,0.15);
}
.hero-card {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 26px;
  width: 78%;
  border: 1px solid var(--line);
}
.hero-card .step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.hero-card .step:last-child { border-bottom: none; }
.hero-card .num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--red-ink);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

/* Feature grid */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--yellow), var(--red));
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.feature-card h3 { margin-top: 0; }
.feature-card p { margin-bottom: 0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  counter-reset: step;
}
.step-card { position: relative; padding-top: 8px; }
.step-card::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--red);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Truck marquee */
.truck-strip {
  display: flex; gap: 30px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.truck-logo {
  width: 92px; height: 92px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
  background: var(--paper-3);
}
.truck-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Explainer */
.explainer {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start;
}
.stat-list { display: grid; gap: 18px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; color: var(--red); display: block; }
.stat span { color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 900px) { .explainer { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 60px;
  display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
@media (max-width: 780px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; } }

/* honesty box */
.honesty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--paper-2);
}
.honesty .eyebrow { margin-bottom: 10px; }

/* testimonial */
.testimonial {
  border-radius: var(--radius);
  padding: 32px 36px;
  background: var(--paper-2);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
}
.testimonial blockquote::before { content: '\201C'; }
.testimonial blockquote::after { content: '\201D'; }
.testimonial cite { font-style: normal; color: var(--ink-3); font-size: 0.95rem; }

/* faq */
.faq-group { max-width: 780px; margin: 0 auto 48px; }
.faq-group h2 { font-size: 1.3rem; margin: 0 0 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer; padding: 16px 24px 16px 0; font-weight: 600; color: var(--ink);
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 16px; font-size: 1.3rem;
  color: var(--red); font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 0 18px; color: var(--ink-2); }
.faq-item .faq-answer p { margin: 0 0 12px; }
.faq-item .faq-answer ul, .faq-item .faq-answer ol { margin: 0 0 12px; padding-left: 20px; }

/* legal content */
.legal-nav {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 8px;
}
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h1 { font-size: 1.6rem; margin: 48px 0 18px; }
.legal-content h3 { font-size: 1.15rem; margin: 32px 0 10px; color: var(--ink); }
.legal-content p { margin: 0 0 16px; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-section { padding-top: 56px; margin-top: -56px; border-top: 1px solid var(--line); padding-top: 40px; }
.legal-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: #fff; font-family: var(--font-mono); font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 32ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
}
.footer-social a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .close-row { display: flex; justify-content: flex-end; }
.mobile-menu ul { list-style: none; padding: 0; margin: 40px 0; display: grid; gap: 26px; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; color: var(--ink); }
.icon-btn { background: none; border: none; padding: 6px; cursor: pointer; color: var(--ink); }

.page-hero {
  padding: 64px 0 40px;
  background: var(--paper-2);
  text-align: center;
}
.page-hero .lede { margin-left: auto; margin-right: auto; }
