/* ==========================================================================
   KPOT To Go — landing page styles
   --------------------------------------------------------------------------
   No frameworks, no web fonts, no trackers. Everything here is system fonts
   and CSS so the page loads instantly on a phone in a car park.

   Palette is the same one the printed QR cards use (see kpot-order/make_qr.py)
   so the shop's paper and its website look like the same business:
       red   #d7263d      black #111014
       cream #f7f1e6      gold  #e8b44a
   ========================================================================== */

:root {
  --red: #d7263d;
  --red-dark: #a81c2d;
  --black: #111014;
  --ink: #23212a;
  --muted: #6b6675;
  --cream: #f7f1e6;
  --white: #fffdf8;
  --gold: #e8b44a;
  --line: rgba(17, 16, 20, .12);
  --shadow: 0 1px 2px rgba(17, 16, 20, .06), 0 8px 24px rgba(17, 16, 20, .08);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

h1, h2, h3, h4 { color: var(--black); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.9rem, 5.6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; }
p  { margin: 0 0 .75rem; }
a  { color: var(--red-dark); }
img, svg { max-width: 100%; }

.wrap-narrow { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap-narrow { display: flex; align-items: center; gap: 16px; min-height: 62px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--black); }
.brand-mark { font-size: 1.5rem; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: -.02em; font-size: 1.12rem; color: var(--black); }
.brand-name .thin { font-weight: 400; color: var(--red); margin-left: .25em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--red); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  padding: 12px 18px; border-radius: 999px; font-size: .98rem;
  box-shadow: var(--shadow); transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-lg { padding: 15px 26px; font-size: 1.06rem; }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(17, 16, 20, .06); color: var(--black); }

/* -------------------------------------------------------------------- hero */
.hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(120% 90% at 12% 0%, rgba(215, 38, 61, .10), transparent 60%),
  linear-gradient(180deg, var(--white), var(--cream)); }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 58px 20px 52px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-dark);
  background: rgba(215, 38, 61, .10); border: 1px solid rgba(215, 38, 61, .22);
  padding: 6px 12px; border-radius: 999px; margin: 0 0 18px;
}
.lede { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

/* What we don't charge — the claim that decides a delivery order before the
   menu is even read. Keep the copy in index.html TRUE: the delivery fee is 0
   (config.js). The "$10 minimum" that once sat beside this pill was moved
   INTO the app on 2026-10-19, so it is no longer something we advertise —
   the ordering page states it where the cart is. */
.hero-perks {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-perks li {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid rgba(215, 38, 61, .32);
  border-radius: 999px; padding: 9px 17px;
  font-size: .95rem; font-weight: 800; letter-spacing: .05em;
  color: var(--black); box-shadow: var(--shadow);
}
.hero-perks .tick { color: var(--red); font-weight: 800; }

.hero-facts {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: .95rem; color: var(--muted);
}
.hero-facts b { color: var(--black); }

/* --------------------------------------------------------------- sections */
.ways, .menu, .visit, .rewards {
  max-width: var(--wrap); margin: 0 auto; padding: 54px 20px;
}
.ways + .menu, .menu + .visit { border-top: 1px solid var(--line); }
.sub, .fine { color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow);
}
.card .ico { font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.ways-cta { margin-top: 28px; text-align: center; }
.ways-cta .fine { margin-top: 10px; }

/* ------------------------------------------------------------------ rewards */
.rewards { background: linear-gradient(180deg, rgba(232, 180, 74, .14), transparent); border-top: 1px solid var(--line); }
.rw-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 26px; }
.rw {
  background: var(--white); border: 1px solid rgba(232, 180, 74, .55); border-radius: 16px;
  padding: 22px; box-shadow: var(--shadow); text-align: center;
}
.rw-ico { font-size: 1.8rem; line-height: 1; }
.rw-val { display: block; font-size: 1.9rem; font-weight: 800; color: var(--red); letter-spacing: -.02em; margin: 8px 0 2px; }
.rw-lab { display: block; font-weight: 700; color: var(--black); }
.rw p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.rw-new { border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,38,61,.18), var(--shadow); }
.rw-flag { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.rw-note { margin-top: 22px; text-align: center; }

/* -------------------------------------------------------------------- menu */
.dish {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; margin-top: 18px; box-shadow: var(--shadow);
}
.dish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dish-head h3 { margin: 0; font-size: 1.3rem; }
.price { font-weight: 800; color: var(--red); font-size: 1.15rem; white-space: nowrap; }
.tagline { color: var(--muted); font-size: .95rem; margin: 6px 0 16px; }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { border-left: 3px solid var(--gold); padding-left: 12px; }
.step h4 { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--red-dark); }
.step p { margin: 0; font-size: .93rem; }

.sizes { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.size {
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; text-align: center; min-width: 96px;
}
.size b { display: block; font-size: .9rem; }
.size span { font-weight: 800; color: var(--red); }

.pricelist { display: grid; gap: 2px; }
.row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.row:last-child { border-bottom: 0; }
.row b { color: var(--black); }
.row span { font-weight: 800; color: var(--red); white-space: nowrap; }
.row p { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--muted); }
.row em { color: var(--red-dark); font-style: normal; font-weight: 700; }

.menu-cta { margin-top: 28px; text-align: center; }

/* ------------------------------------------------------------------- visit */
.visit-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.hi td { color: var(--red-dark); font-weight: 700; }
.addr { font-size: 1.05rem; line-height: 1.5; margin-bottom: 14px; }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--black); color: #cfc9d8; margin-top: 20px; }
.ftr-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 24px;
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
}
.ftr .brand-name { color: var(--cream); font-size: 1.1rem; }
.ftr .fine { color: #9b95a8; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ftr nav a { color: #cfc9d8; text-decoration: none; font-size: .95rem; font-weight: 600; }
.ftr nav a:hover { color: var(--gold); }
.ftr .center { text-align: center; width: 100%; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero-inner { padding: 40px 20px 36px; }
  .ways, .menu, .visit, .rewards { padding: 40px 20px; }
  .cta .btn { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
