/* BachatBites website — one stylesheet for the home page and the policy pages. */
:root {
  --bg: #fffaf1;
  --surface: #ffffff;
  --ink: #12100c;
  --muted: #6b6457;
  --line: #ece4d4;
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --amber-soft: #fff1d6;
  --veg: #16a34a;
  --nonveg: #dc2626;
  --egg: #d97706;
  --dark: #0d0c0a;
  --radius: 22px;
  --shadow: 0 1px 0 rgba(18, 16, 12, .04), 0 18px 40px -18px rgba(18, 16, 12, .18);
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0e0b;
    --surface: #1a1814;
    --ink: #f6f1e7;
    --muted: #a99f8d;
    --line: #2c2820;
    --amber-soft: #2b2010;
    --amber-deep: #fbbf24;
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 18px 40px -18px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .tile.dark { background: #241c0e; box-shadow: inset 0 0 0 1px #3a2c12; }
  :root:not([data-theme="light"]) .play-soon { box-shadow: inset 0 0 0 1px #3a342a; }
  :root:not([data-theme="light"]) .band { box-shadow: inset 0 0 0 1px #2c2820; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .display { font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif; letter-spacing: -.02em; line-height: 1.08; }

/* ── Header */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--dark); color: #fff;
  display: grid; place-items: center; font: italic 500 17px/1 Georgia, serif; letter-spacing: -1px;
  box-shadow: inset 0 0 0 1px #2a2a2a;
}
.brand b { color: var(--amber); font-weight: 800; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-amber { background: var(--amber); color: #1a1205; box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ── Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .28), transparent 62%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft); display: grid; place-items: center; font-size: 12px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 22px 0 18px; font-weight: 800; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--amber); border-radius: 6px; transform: rotate(-1.2deg); opacity: .85;
}
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.play-soon {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px;
  background: var(--dark); color: #fff; text-decoration: none;
}
.play-soon svg { width: 26px; height: 26px; }
.play-soon small { display: block; font-size: 11px; opacity: .7; letter-spacing: .04em; text-transform: uppercase; }
.play-soon span { font-weight: 700; font-size: 16px; line-height: 1.15; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓ "; color: var(--veg); font-weight: 700; }

/* Phone mockup */
.phone-stage { position: relative; display: grid; place-items: center; padding: 70px 0 60px; }
.phone {
  width: 290px; border-radius: 42px; background: var(--dark); padding: 12px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(18, 16, 12, .55), inset 0 0 0 1.5px #2f2b24;
  transform: rotate(-3deg);
}
.screen { background: #fffaf1; border-radius: 32px; overflow: hidden; color: #12100c; height: 560px; position: relative; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: var(--dark); border-radius: 20px; z-index: 2; }
.scr-head { padding: 44px 18px 12px; }
.scr-head .loc { margin-top: 2px; }
.scr-head .loc { font-size: 11px; color: #6b6457; font-weight: 600; }
.scr-head .loc b { color: #12100c; font-size: 14px; display: block; }
.scr-search { margin: 10px 0 0; background: #fff; border-radius: 12px; padding: 9px 12px; font-size: 12px; color: #9a917f; box-shadow: inset 0 0 0 1px #ece4d4; display: flex; justify-content: space-between; }
.scr-search em { font-style: normal; color: var(--veg); font-weight: 700; }
.scr-list { padding: 4px 14px; display: grid; gap: 10px; }
.card { background: #fff; border-radius: 16px; padding: 10px; display: flex; gap: 10px; box-shadow: 0 1px 0 #ece4d4, 0 6px 16px -10px rgba(0,0,0,.2); }
.thumb { width: 58px; height: 58px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 28px; }
.t1 { background: linear-gradient(135deg, #ffe2b0, #ffc46b); }
.t2 { background: linear-gradient(135deg, #d9f5df, #9fe0ad); }
.t3 { background: linear-gradient(135deg, #ffd9d2, #ffab9b); }
.card h4 { margin: 0; font: 700 13px/1.25 "Inter", sans-serif; display: flex; align-items: center; gap: 6px; }
.card p { margin: 3px 0 0; font-size: 11px; color: #6b6457; line-height: 1.35; }
.price { font-weight: 700; font-size: 12px; color: #12100c; margin-top: 4px; }
.price s { color: #9a917f; font-weight: 500; margin-left: 4px; }
.badge-veg { font-size: 9px; font-weight: 700; color: var(--veg); background: #e7f8ec; padding: 2px 6px; border-radius: 6px; }
.fdot { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.fdot::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.fdot.veg { color: var(--veg); } .fdot.non { color: var(--nonveg); } .fdot.egg { color: var(--egg); }
.scr-track {
  position: absolute; left: 12px; right: 12px; bottom: 14px; background: #12100c; color: #fff; border-radius: 18px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.scr-track .rider { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; font-size: 20px; flex: none; }
.scr-track b { font-size: 13px; display: block; }
.scr-track small { font-size: 11px; opacity: .7; }
.bar { height: 4px; border-radius: 4px; background: #3a342a; margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 68%; background: var(--amber); border-radius: 4px; animation: ride 3.2s ease-in-out infinite alternate; }
@keyframes ride { from { width: 38%; } to { width: 82%; } }
.float { max-width: 270px;
  position: absolute; background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; animation: bob 5s ease-in-out infinite;
}
.float .ic { color: #12100c; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; }
.float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.f1 { top: 18px; left: 0; }
.f2 { bottom: 0; right: 0; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-stage { padding: 64px 0 56px; }
}
@media (prefers-reduced-motion: reduce) { .float, .bar i { animation: none; } html { scroll-behavior: auto; } }

/* ── Sections */
section { padding: 88px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.sec-title { font-size: clamp(32px, 4.4vw, 50px); margin: 12px 0 14px; font-weight: 800; max-width: 760px; }
.sec-lead { color: var(--muted); max-width: 620px; margin: 0; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font: 800 15px/1 "Bricolage Grotesque", sans-serif; color: var(--amber-deep); background: var(--amber-soft);
  padding: 8px 10px; border-radius: 10px; display: inline-block; margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); grid-column: span 2; position: relative; overflow: hidden; }
.tile.wide { grid-column: span 4; }
.tile.dark { background: var(--dark); color: #f6f1e7; }
.tile.dark p { color: #b9b0a0; }
.tile.amber { background: var(--amber); color: #1a1205; }
.tile.amber p { color: #3d2a06; }
.tile .emoji { font-size: 30px; margin-bottom: 14px; display: block; }
.tile h3 { margin: 0 0 8px; font-size: 23px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.big-num { font: 800 clamp(54px, 7vw, 84px)/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; margin-bottom: 8px; }
.dots { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.dots span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.wide { grid-column: auto; }
}

/* Next band */
.band { background: var(--dark); color: #f6f1e7; border-radius: 32px; padding: 56px; position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .45), transparent 65%);
}
.band h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 12px; max-width: 640px; font-weight: 800; }
.band p { color: #b9b0a0; max-width: 560px; margin: 0; font-size: 18px; }
.band .kicker { color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; z-index: 1; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #1f1c17; box-shadow: inset 0 0 0 1px #34302a; }
.chip.on { background: var(--amber); color: #1a1205; box-shadow: none; }
.chip.soon { color: #8f8677; }
@media (max-width: 640px) { .band { padding: 36px 24px; border-radius: 24px; } }

/* Join */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.join .tile { grid-column: auto; padding: 34px; }
.join .tile h3 { font-size: 26px; }
.join .tile .btn { margin-top: 22px; }
@media (max-width: 760px) { .join { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 44px; }
.contact .tile { grid-column: auto; }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; }
.contact dd a { text-decoration-color: var(--amber); text-underline-offset: 3px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* ── Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
.legal-line { margin-top: 10px; max-width: 420px; }

/* ── Policy pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc .back { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 18px 0 6px; font-weight: 800; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 23px; margin: 36px 0 10px; }
.doc p, .doc li { color: color-mix(in srgb, var(--ink) 86%, var(--muted)); }
.doc li { margin: 6px 0; }
.doc a { text-decoration-color: var(--amber); text-underline-offset: 3px; }
.doc .box { background: var(--surface); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); margin: 22px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
