/* ==========================================================================
   Pixlo — the claim-ticket design system. Shared across index / faq / legal.

   Grounded in the object the customer is already holding when they order:
   a receipt, a token, a table number. Warm paper + espresso ink + signage
   marigold. One layout signature (die-cut admission tickets, on the pricing
   section) and one motion moment (the hero headline prints in like a
   receipt). No JavaScript anywhere — the site ships under `script-src 'none'`.
   ========================================================================== */

:root {
  /* --- palette -------------------------------------------------------- */
  --ink:        #241712;  /* espresso near-black                           */
  --paper:      #FBF3E6;  /* aged ticket cream                             */
  --stamp:      #F2A93B;  /* signage marigold — badges & seals             */
  --claim:      #E8503D;  /* coral red — spent deliberately, CTAs only     */
  --claim-deep: #C33B29;  /* text/button-safe red (5.3:1 against white)    */
  --win:        #2E9E8A;  /* reserved for reward moments only              */

  /* --- semantic surfaces (remapped wholesale for dark) ----------------- */
  --surface:      var(--paper);
  --surface-2:    #FFFDF8;
  --surface-3:    #F4E8D4;
  --text:         var(--ink);
  --text-muted:   #6B564C;   /* 6.2:1 on paper                            */
  --rule:         rgba(36, 23, 18, 0.16);
  --rule-strong:  rgba(36, 23, 18, 0.34);
  --accent-text:  var(--claim-deep);
  --win-text:     #1F7A69;   /* 4.7:1 on paper                            */
  --seal-disc:    var(--ink);
  --panel:        #1F1310;
  --on-panel:     #F6ECDC;
  --on-panel-dim: rgba(246, 236, 220, 0.74);
  --shadow:       rgba(36, 23, 18, 0.16);

  /* --- type roles ------------------------------------------------------ */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, system-ui, sans-serif;
  --body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --data:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface:      #15100D;
    --surface-2:    #211814;
    --surface-3:    #1B1310;
    --text:         #F5EBDC;
    --text-muted:   #BFAC9B;   /* 7.9:1 on the dark ground */
    --rule:         rgba(245, 235, 220, 0.18);
    --rule-strong:  rgba(245, 235, 220, 0.36);
    --accent-text:  #F4715C;   /* 6.1:1 on the dark ground */
    --win-text:     #4CC4AC;
    --panel:        #0F0B09;
    --shadow:       rgba(0, 0, 0, 0.5);
  }
}

/* --- base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.004em;
  margin: 0;
}
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--claim-deep); color: #fff;
  padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

/* --- the receipt-printer label, used as every section's eyebrow ---------- */
.label {
  display: block;
  font-family: var(--data);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 14px;
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--claim-deep);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 16px 26px;
  border: 2px solid var(--claim-deep);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--claim); border-color: var(--claim); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn.ghost:hover { background: transparent; border-color: var(--text); }
.btn.sm { padding: 10px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- top bar --------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface); /* fallback where color-mix is unsupported */
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.brand span {
  font-family: var(--display); font-weight: 800; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.bar nav { display: flex; align-items: center; gap: 22px; }
.bar nav a.navlink {
  font-family: var(--data); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--text-muted);
}
.bar nav a.navlink:hover { color: var(--text); }
@media (max-width: 620px) { .bar nav a.navlink { display: none; } }

/* --- section shells -------------------------------------------------------- */
section { padding: 84px 0; border-top: 1px solid var(--rule); }
.title { font-size: clamp(2rem, 5.2vw, 3rem); margin: 0 0 16px; }
.sub { color: var(--text-muted); max-width: 52ch; margin: 0 0 40px; }
.center { text-align: center; }
.center .label { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* --- page hero for the secondary (faq / legal) pages ----------------------- */
.page-hero { border-top: 0; padding: 64px 0 52px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 6.4vw, 3.4rem);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.page-hero p { color: var(--text-muted); max-width: 58ch; margin: 0; font-size: 1.1rem; }

/* --- footer ---------------------------------------------------------------- */
footer.legal {
  background: var(--panel); color: var(--on-panel-dim);
  text-align: center; padding: 34px 22px 46px;
  font-family: var(--data); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
footer.legal.tight { padding-top: 0; }
footer.legal .rule { height: 1px; background: rgba(246, 236, 220, 0.16); max-width: 1016px; margin: 0 auto 26px; }
footer.legal a { color: var(--on-panel); text-decoration: none; }
footer.legal a:hover { text-decoration: underline; }
footer.legal .dot { opacity: 0.4; padding: 0 8px; }

/* --- floating WhatsApp contact --------------------------------------------- */
.wa-bubble {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55);
  outline: 4px solid var(--surface);
  outline-offset: -1px;
  transition: transform 0.15s ease;
}
.wa-bubble:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .wa-bubble, .btn { transition: none; }
  .wa-bubble:hover { transform: none; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
}
