/* FoodSpeed landing — home page */

section { position: relative; }
.t-cream { background: var(--tint-cream); }
.t-rose { background: var(--tint-rose); }
.t-mint { background: var(--tint-mint); }
.t-peach { background: var(--tint-peach); }
.t-gray { background: var(--tint-gray); }

/* ---------- Intro: speed streaks, like the app icon's ---------- */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--bg); pointer-events: none; display: none; }
.intro-on .intro { display: block; animation: unhide-intro 0s 3s forwards; }
@keyframes unhide-intro { to { visibility: hidden; } }
/* Until the hero's entrance is ready (with a fallback if scripts never run) */
.hero-pending .hero__copy, .hero-pending .hero__stage { opacity: 0; animation: unhide 0s 3s forwards; }
@keyframes unhide { to { opacity: 1; } }
.intro i {
  position: absolute; left: 0; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(139,227,42,0), var(--zest) 45%, var(--primary));
  transform: translateX(-110%);
}
.intro i:nth-child(1) { top: 38%; width: 46vw; }
.intro i:nth-child(2) { top: 45%; width: 62vw; height: 18px; }
.intro i:nth-child(3) { top: 53%; width: 38vw; }
.intro i:nth-child(4) { top: 60%; width: 54vw; height: 10px; }

/* ---------- Phone (shared by hero and How it works) ---------- */
.phone {
  --w: 340px;
  position: relative;
  width: var(--w);
  aspect-ratio: 390 / 844;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.155);
  background: #0c100e;
  container-type: inline-size;
  flex: none;
}
.phone::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 26%; width: 3px; height: 12%; border-radius: 0 3px 3px 0; background: #0c100e;
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(var(--w) * 0.125);
  background: var(--bg);
  overflow: hidden;
  font-size: calc(100cqw / 36);
  color: var(--ink);
  line-height: 1.3;
  isolation: isolate;
}
.ph-island { position: absolute; top: 1.1em; left: 50%; width: 9.6em; height: 2.8em; margin-left: -4.8em; border-radius: 2em; background: #0c100e; z-index: 5; }
.ph-status { position: absolute; top: 0; left: 0; right: 0; height: 5em; display: flex; align-items: center; justify-content: space-between; padding: 0 2.8em 0 3.2em; font-size: 1em; z-index: 4; }
.ph-status > span:first-child { font-size: 1.45em; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ph-icons { display: flex; gap: 0.5em; align-items: center; }
.ph-icons i { display: block; background: var(--ink); border-radius: 0.3em; }
.ph-icons i:nth-child(1) { width: 1.6em; height: 1em; clip-path: polygon(0 100%, 25% 100%, 25% 70%, 37% 70%, 37% 100%, 62% 100%, 62% 40%, 74% 40%, 74% 100%, 100% 100%, 100% 0, 88% 0, 88% 100%); border-radius: 0.1em; }
.ph-icons i:nth-child(2) { width: 1.4em; height: 1em; border-radius: 1em 1em 0.2em 0.2em; clip-path: polygon(50% 100%, 0 25%, 100% 25%); }
.ph-icons i:nth-child(3) { width: 2.4em; height: 1.15em; border-radius: 0.35em; }
.pi { width: 2em; height: 2em; fill: currentColor; flex: none; }
.pi--sm { width: 1.3em; height: 1.3em; display: inline; vertical-align: -0.2em; }
.pi--green { color: var(--primary); }
.ph-body { position: absolute; inset: 5.2em 0 0; padding: 0 2em; overflow: hidden; }
.ph-body--tight { inset: 17.5em 0 0; }

.ph-loc { display: flex; align-items: center; gap: 0.8em; margin-top: 0.4em; }
.ph-loc small { display: block; font-size: 1.15em; color: var(--ink-muted); }
.ph-loc b { display: block; font-size: 1.5em; font-weight: 500; letter-spacing: -0.02em; }
.ph-avatar { margin-left: auto; width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.2em; font-weight: 500; }
.ph-search { margin-top: 1.4em; height: 4.4em; border-radius: 3em; background: var(--surface-muted); display: flex; align-items: center; gap: 0.8em; padding: 0 1.4em; font-size: 1.3em; color: var(--ink-muted); }
.ph-search .pi { width: 1.5em; height: 1.5em; }
.ph-banner { position: relative; margin-top: 1.4em; padding: 1.6em 1.8em; border-radius: 2.4em; background: var(--forest); color: #fff; overflow: hidden; }
.ph-banner small { display: block; font-size: 1.05em; color: var(--zest-bright); font-weight: 500; }
.ph-banner b { display: block; margin-top: 0.3em; font-size: 1.75em; font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; max-width: 9.5em; }
.ph-banner em { font-style: normal; color: var(--zest-bright); }
.ph-zest { display: inline-flex; margin-top: 1em; padding: 0.7em 1.3em; border-radius: 2em; background: var(--zest); color: var(--on-zest); font-size: 1.15em; font-weight: 500; }
.ph-banner img { position: absolute; right: -1em; bottom: -1.2em; width: 10.5em; transform: rotate(-12deg); }
.ph-chips { display: flex; gap: 1.1em; margin-top: 1.5em; }
.ph-chips span { display: flex; flex-direction: column; align-items: center; gap: 0.5em; font-size: 1.1em; }
.ph-chips i { width: 4.9em; height: 4.9em; border-radius: 50%; display: grid; place-items: center; }
.ph-chips img { width: 66%; }

.ph-track { margin-top: 1.5em; padding: 1.5em 1.6em; border-radius: 2.4em; background: var(--primary-soft); }
.ph-track__head { display: flex; justify-content: space-between; align-items: baseline; }
.ph-track__head b { font-size: 1.5em; font-weight: 500; letter-spacing: -0.015em; }
.ph-track__head small { font-size: 1.1em; color: var(--ink-muted); }
.ph-steps { position: relative; display: flex; justify-content: space-between; margin: 1.2em 0.6em 0; }
.ph-steps::before { content: ""; position: absolute; left: 2em; right: 2em; top: 50%; height: 0.35em; margin-top: -0.175em; border-radius: 1em; background: #c9d3c4; }
.ph-steps span { position: relative; z-index: 1; width: 3.8em; height: 3.8em; border-radius: 50%; background: var(--surface); color: var(--ink-muted); display: grid; place-items: center; transition: background-color 0.36s var(--ease), color 0.36s var(--ease), transform 0.36s var(--ease-spring); }
.ph-steps span .pi { width: 1.7em; height: 1.7em; }
.ph-steps span.on { background: var(--primary); color: #fff; }
.ph-steps span.now { transform: scale(1.12); }
.ph-steps span.now::after { content: ""; position: absolute; inset: -0.45em; border-radius: 50%; border: 0.25em solid var(--primary); opacity: 0.35; animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.85); opacity: 0.5; } 100% { transform: scale(1.35); opacity: 0; } }
.ph-steps__labels { display: flex; justify-content: space-between; margin-top: 0.6em; font-size: 1.02em; color: var(--ink-muted); }
.ph-steps__labels small { width: 25%; text-align: center; font-size: 1em; }
.ph-steps__labels .cur { color: var(--ink); font-weight: 500; }
.ph-track__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2em; gap: 0.8em; }
.ph-track__foot b { font-size: 1.3em; font-weight: 500; }
.ph-btn { position: relative; display: inline-flex; align-items: center; gap: 0.5em; height: 3.6em; padding: 0 1.3em; border-radius: 2em; background: var(--primary); color: #fff; font-size: 1.2em; font-weight: 500; white-space: nowrap; isolation: isolate; }
.ph-btn .pi { width: 1.4em; height: 1.4em; }
.ph-btn--here { opacity: 0.4; transition: opacity 0.36s var(--ease); }
.ph-btn--here.is-live { opacity: 1; }
.ph-btn--lg { height: 4.6em; padding: 0 2em; font-size: 1.4em; }
.ph-btn--xl { height: 5.6em; width: 100%; justify-content: center; font-size: 1.6em; transition: background-color 0.36s var(--ease), color 0.36s var(--ease), transform 0.11s var(--ease); }
.ph-btn--xl .pi { width: 1.3em; height: 1.3em; }
.ph-btn.beam::before { inset: -0.25em; padding: 0.25em; }
.ph-section { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.8em; }
.ph-section b { font-size: 1.6em; font-weight: 500; letter-spacing: -0.02em; }
.ph-section small { font-size: 1.2em; color: var(--primary); font-weight: 500; }
.ph-deals { display: flex; gap: 1.1em; margin-top: 1em; }
.ph-deal { flex: none; width: 15.5em; border-radius: 2em; background: var(--surface); overflow: hidden; padding-bottom: 1em; }
.ph-deal > div { position: relative; height: 8.5em; display: grid; place-items: center; }
.ph-deal > div img { width: 6em; }
.ph-badge { position: absolute; left: 0.8em; top: 0.8em; padding: 0.3em 0.8em; border-radius: 2em; background: var(--zest); color: var(--on-zest); font-size: 0.95em; font-weight: 500; }
.ph-deal b { display: block; font-size: 1.3em; font-weight: 500; margin: 0.7em 0.9em 0; }
.ph-deal small { display: block; font-size: 1.05em; color: var(--ink-muted); margin: 0.1em 1em 0; }
.ph-deal p { margin: 0.4em 1em 0; font-size: 1.25em; }
.ph-deal em { font-style: normal; color: var(--primary); font-weight: 500; }
.ph-deal s { color: var(--ink-muted); font-size: 0.9em; }
.ph-tabbar { position: absolute; left: 2em; right: 2em; bottom: 2em; height: 5.8em; border-radius: 4em; background: var(--ink); display: flex; align-items: center; justify-content: space-around; padding: 0 0.6em; color: rgba(255,255,255,0.6); z-index: 3; }
.ph-tabbar span { display: flex; align-items: center; gap: 0.5em; height: 4.2em; padding: 0 1.1em; border-radius: 3em; font-size: 1.2em; font-weight: 500; }
.ph-tabbar span .pi { width: 1.8em; height: 1.8em; }
.ph-tabbar span.on { background: var(--zest); color: var(--on-zest); padding: 0 1.4em; }
.ph-push {
  position: absolute; left: 1.2em; right: 1.2em; top: 4.6em; z-index: 6;
  display: flex; align-items: center; gap: 1em;
  padding: 1.2em 1.3em; border-radius: 2.4em;
  background: rgba(251, 251, 249, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  transform: translateY(-200%); opacity: 0;
}
.ph-push img { width: 3.6em; height: 3.6em; border-radius: 0.9em; flex: none; }
.ph-push div { flex: 1; min-width: 0; }
.ph-push b { display: block; font-size: 1.2em; font-weight: 500; }
.ph-push small { display: block; font-size: 1.1em; color: var(--ink-muted); margin-top: 0.1em; }
.ph-push > span { align-self: flex-start; font-size: 1em; color: var(--ink-muted); }
.ph-push--static { transform: none; opacity: 1; }
.scr[data-scr="2"] .ph-body { top: 11.4em; }
.scr[data-scr="2"] .ph-h { margin-top: 0; }

/* Phone screens for How it works */
.scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(3%) scale(0.985); filter: blur(6px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), filter 0.5s var(--ease), visibility 0s linear 0.5s; }
.scr.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), filter 0.5s var(--ease), visibility 0s; }
.ph-cover { position: absolute; left: 0; right: 0; top: 0; height: 17em; display: grid; place-items: center; }
.ph-cover img { width: 10em; margin-top: 2em; }
.ph-title { display: block; margin-top: 1.4em; font-size: 2.2em; font-weight: 500; letter-spacing: -0.03em; }
.ph-meta { display: block; margin-top: 0.3em; font-size: 1.2em; color: var(--ink-muted); }
.ph-menu { margin-top: 1.4em; display: grid; gap: 1em; }
.ph-row { position: relative; display: flex; gap: 1em; align-items: center; padding: 1.1em; border-radius: 2em; background: var(--surface); }
.ph-row > div { flex: 1; min-width: 0; }
.ph-row b { display: block; font-size: 1.35em; font-weight: 500; }
.ph-row small { display: block; font-size: 1.1em; color: var(--ink-muted); }
.ph-row em { display: block; margin-top: 0.3em; font-style: normal; font-size: 1.3em; font-weight: 500; }
.ph-row i { width: 6.2em; height: 6.2em; border-radius: 1.4em; display: grid; place-items: center; flex: none; }
.ph-row i img { width: 70%; }
.ph-qty, .ph-add { position: absolute; right: 0.6em; bottom: 0.6em; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.15em; font-weight: 500; }
.ph-add { background: var(--surface); color: var(--ink); font-size: 1.5em; width: 2.2em; height: 2.2em; }
.ph-cart { position: absolute; left: 1.4em; right: 1.4em; bottom: 2em; display: flex; align-items: center; justify-content: space-between; padding: 1.2em 1.2em 1.2em 1.8em; border-radius: 3em; background: var(--surface); }
.ph-cart small { display: block; font-size: 1.1em; color: var(--ink-muted); }
.ph-cart b { font-size: 1.7em; font-weight: 500; font-variant-numeric: tabular-nums; }
.ph-h { display: block; margin-top: 1em; font-size: 2.4em; font-weight: 500; letter-spacing: -0.03em; }
.ph-track--big { margin-top: 1.2em; }
.ph-eta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.4em; padding-top: 1.2em; }
.ph-eta small { font-size: 1.25em; color: var(--ink-muted); }
.ph-num { font-size: 2.6em; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ph-lines { margin-top: 1.4em; padding: 1.2em 1.6em; border-radius: 2em; background: var(--surface); }
.ph-lines p { display: flex; justify-content: space-between; font-size: 1.25em; padding: 0.45em 0; }
.ph-lines .tot { font-weight: 500; }
.ph-addr { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 1.2em; padding: 1.4em 1.6em; border-radius: 2em; background: var(--surface); }
.ph-addr small { display: block; font-size: 1.05em; color: var(--ink-muted); }
.ph-addr b { display: block; font-size: 1.35em; font-weight: 500; margin-top: 0.1em; }
.ph-addr span:not(.ph-dir) { display: block; font-size: 1.1em; color: var(--ink-muted); }
.ph-dir { display: inline-flex; align-items: center; gap: 0.4em; height: 3.4em; padding: 0 1.2em; border-radius: 2em; background: var(--primary-soft); color: var(--primary); font-size: 1.15em; font-weight: 500; white-space: nowrap; }
.ph-dir .pi { width: 1.3em; height: 1.3em; }
.ph-herebox { margin-top: 2.4em; }
.ph-btn--xl.is-done { background: var(--primary-soft); color: var(--primary); }
.ph-btn--xl.is-done::before { display: none; }
.ph-checked { display: flex; gap: 0.6em; align-items: flex-start; margin-top: 1.4em; padding: 1.2em 1.4em; border-radius: 2em; background: var(--primary-soft); font-size: 1.25em; opacity: 0; transform: translateY(0.6em); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.ph-checked .pi { color: var(--primary); width: 1.5em; height: 1.5em; }
.ph-herebox.is-done .ph-checked { opacity: 1; transform: none; }
.ph-pass { margin-top: 1em; border-radius: 3em; overflow: hidden; background: var(--surface); }
.ph-pass__top { padding: 1.8em 2em; background: var(--forest); color: #fff; }
.ph-pass__top small { display: block; font-size: 1em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zest-bright); font-weight: 500; }
.ph-pass__top b { display: block; margin-top: 0.3em; font-size: 1.9em; font-weight: 500; letter-spacing: -0.02em; }
.ph-pass__top span { font-size: 1.2em; opacity: 0.9; }
.ph-pass__body { padding: 2em; text-align: center; }
.ph-qr { position: relative; width: 15em; height: 15em; margin: 0 auto; padding: 1.4em; border-radius: 1.2em; background: var(--qr-plate); overflow: hidden; }
.ph-qr .qr { width: 100%; height: 100%; }
.ph-scanline { position: absolute; left: 0; right: 0; top: 0; height: 2.4em; background: linear-gradient(180deg, rgba(139,227,42,0), rgba(139,227,42,0.55)); border-bottom: 0.2em solid var(--zest); transform: translateY(-120%); }
.ph-over { display: block; margin-top: 1.6em; font-size: 1em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.ph-code { display: block; font-size: 3.4em; font-weight: 300; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ph-pay { display: flex; justify-content: space-between; margin-top: 1.4em; padding-top: 1.2em; font-size: 1.3em; color: var(--ink-muted); }
.ph-pay b { color: var(--ink); font-weight: 500; font-size: 1.2em; }
.ph-done { position: absolute; inset: 0; z-index: 7; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3em; background: var(--primary); color: #fff; clip-path: circle(0% at 50% 62%); transition: clip-path 0.8s var(--ease); }
.ph-done.is-on { clip-path: circle(150% at 50% 62%); }
.ph-done__tick .pi { width: 7em; height: 7em; color: var(--zest-bright); }
.ph-done b { margin-top: 0.6em; font-size: 2.8em; font-weight: 500; letter-spacing: -0.03em; }
.ph-done small { margin-top: 0.6em; font-size: 1.4em; opacity: 0.9; }

/* ---------- Hero ---------- */
.hero { padding: clamp(110px, 16vh, 150px) 0 clamp(40px, 6vw, 80px); min-height: min(100svh, 980px); }
.hero__wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr); align-items: center; gap: 4vw; }
.hero__title { font-size: clamp(3rem, 6.6vw, 6.4rem); word-spacing: 0.06em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .word, .hero__title .ch { will-change: transform; }
.hero__lead { margin-top: clamp(24px, 3vw, 40px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.hero__phone { --w: clamp(250px, 23vw, 340px); transform: rotate(-3deg); transform-style: preserve-3d; }
.float { position: absolute; z-index: 2; pointer-events: none; user-select: none; will-change: transform; }
.f1 { width: clamp(90px, 10vw, 150px); top: 4%; left: -6%; }
.f2 { width: clamp(80px, 9vw, 135px); top: 52%; right: -4%; }
.f3 { width: clamp(70px, 7vw, 110px); bottom: 2%; left: -10%; }
.f4 { width: clamp(70px, 8vw, 118px); top: -6%; right: 2%; z-index: 0; }
.f5 { width: clamp(50px, 5vw, 80px); top: 40%; left: -24%; filter: blur(1.5px); z-index: 0; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero__wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 5.6rem); }
  .hero__stage { padding: 0 10vw; }
  .hero__phone { --w: min(72vw, 320px); }
  .f5 { left: 2%; }
  .f3 { left: 0; }
}

/* ---------- Nearby: pick a craving, pick a radius ---------- */
.near { padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.near__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 6vw; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.near__head .h2 { max-width: 12ch; }
.crave { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 4px 4px; margin: 0 -4px; scroll-snap-type: x proximity; }
.crave::-webkit-scrollbar { display: none; }
.crave button {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 78px; padding: 0 4px 6px; border-radius: 18px;
  font-size: 0.875rem; color: var(--ink-muted); scroll-snap-align: start;
  transition: color var(--t-toggle) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.crave i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; transition: transform var(--t-change) var(--ease-spring), box-shadow var(--t-toggle) var(--ease); }
.crave i img { width: 64%; height: auto; pointer-events: none; }
.crave i .i { width: 26px; height: 26px; color: var(--ink-muted); }
.crave button:hover i { transform: translateY(-3px) rotate(-6deg); }
.crave button:active i { transform: scale(0.94); }
.crave button[aria-checked="true"] { color: var(--ink); font-weight: 500; }
.crave button[aria-checked="true"] i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.crave button:focus-visible { outline-offset: 0; }
.near__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 26px 0 18px; }
.near__count { font-size: 1.05rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.radius { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface-muted); isolation: isolate; }
.radius button { position: relative; z-index: 1; min-width: 72px; height: 46px; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; color: var(--ink-muted); transition: color var(--t-toggle) var(--ease); }
.radius button[aria-checked="true"] { color: #fff; }
.radius__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 72px; border-radius: 999px; background: var(--ink); transition: transform var(--t-change) var(--ease), width var(--t-change) var(--ease); }
.near__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.spot { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border-radius: var(--r-lg); background: var(--surface); }
.spot__art { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; transition: transform var(--t-change) var(--ease-spring); }
.spot__art img { width: 66%; height: auto; }
.spot:hover .spot__art { transform: rotate(-4deg) scale(1.05); }
.spot__body { display: flex; flex-direction: column; min-width: 0; }
.spot__body b { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot__meta { font-size: var(--fs-small); color: var(--ink-muted); }
.spot__open { font-size: var(--fs-small); color: var(--primary); margin-top: 2px; }
.spot.is-closed .spot__art { filter: grayscale(1); opacity: 0.55; }
.spot.is-closed .spot__open { color: var(--danger); }
.spot__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.spot__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 0.9375rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.spot__rating .i { width: 16px; height: 16px; color: var(--primary); }
.spot__rating--new { font-size: 0.8125rem; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.spot__deal { font-size: 0.75rem; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--zest); color: var(--on-zest); white-space: nowrap; }
.near__stage { position: relative; }
.near__empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 24px; border-radius: var(--r-xl); background: var(--surface); }
.near__empty img { width: 84px; transform: rotate(-10deg); }
.near__empty p { font-size: 1.1rem; }
.near__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.near__note { font-size: 0.8125rem; color: var(--ink-muted); margin-left: auto; }
@media (max-width: 860px) {
  .near__head { grid-template-columns: 1fr; }
  .near__list { grid-template-columns: 1fr; }
  .crave { margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}
@media (max-width: 480px) {
  .spot { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px 10px 10px; }
  .spot__art { width: 60px; height: 60px; border-radius: 16px; }
  .radius { width: 100%; }
  .radius button { flex: 1; min-width: 0; padding: 0 8px; }
  .near__note { margin-left: 0; }
}

/* ---------- How it works ---------- */
.how { padding: clamp(60px, 8vw, 120px) 0; }
.how__pin { min-height: 100svh; display: flex; align-items: center; padding: 92px 0 28px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 6vw; align-items: center; }
.how__copy .h2 { max-width: 12ch; font-size: clamp(2.2rem, 3.7vw, 3.8rem); }
.how__steps { margin-top: clamp(20px, 3.4vh, 40px); display: grid; gap: 4px; max-width: 520px; }
.how__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: clamp(10px, 1.6vh, 18px) 20px clamp(10px, 1.6vh, 18px) 16px; cursor: pointer; border-radius: var(--r-lg); opacity: 0.38; transition: opacity var(--t-change) var(--ease), background-color var(--t-change) var(--ease); }
.how__steps li.is-on { opacity: 1; background: var(--surface); }
.how__steps p { margin-top: 4px; color: var(--ink-muted); font-size: 1rem; line-height: 1.5; }
.how__n { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-muted); display: grid; place-items: center; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color var(--t-change) var(--ease), color var(--t-change) var(--ease); }
.how__steps li.is-on .how__n { background: var(--primary); color: #fff; }
.how__bar { margin-top: 24px; max-width: 520px; height: 6px; border-radius: 999px; background: var(--surface-muted); overflow: hidden; }
.how__bar i { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--zest)); transform-origin: left; }
.how__device { display: flex; justify-content: center; }
.how__phone { --w: min(clamp(250px, 25vw, 360px), calc((100svh - 140px) * 0.462)); }

.how__caption { display: none; }
@media (max-width: 900px) {
  .how__pin { min-height: 0; display: block; padding: 0; }
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__copy { display: contents; }
  .how__copy .h2 { order: 1; }
  .how__device { order: 2; position: sticky; top: 0; z-index: 2; display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; padding: 80px 0 14px; background: var(--bg); }
  .how__caption { display: block; text-align: center; max-width: 34ch; min-height: 7.6em; }
  .how__caption p { margin-top: 6px; color: var(--ink-muted); font-size: 1rem; line-height: 1.5; }
  .how__steps { order: 3; margin-top: 0; gap: 0; }
  .how__steps li { min-height: 62svh; opacity: 0 !important; pointer-events: none; background: none !important; }
  .how__bar { display: none; }
  .how__phone { --w: min(50vw, 240px, calc((100svh - 290px) * 0.462)); }
}

/* ---------- Photo band ---------- */
.band { padding: clamp(40px, 6vw, 80px) 0; }
.band__frame { position: relative; height: min(92svh, 900px); margin: 0 auto; overflow: hidden; clip-path: inset(0 var(--gutter) round var(--r-2xl)); }
.photo-slot { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--tint-mint); }
.photo-slot > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
.photo-slot.has-photo > img.photo { opacity: 1; }
.photo-slot.has-photo .mesh { opacity: 0; }
.mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 18% 30%, rgba(184, 244, 44, 0.55), transparent 60%),
    radial-gradient(50% 60% at 82% 70%, rgba(0, 119, 43, 0.28), transparent 62%),
    radial-gradient(60% 60% at 70% 18%, #fcf4d8, transparent 65%),
    radial-gradient(70% 70% at 30% 90%, #e3f2dc, transparent 70%),
    #e0f8e4;
  transition: opacity 0.9s var(--ease);
}
.mesh--warm {
  background:
    radial-gradient(60% 70% at 20% 25%, #fcecdc, transparent 62%),
    radial-gradient(55% 60% at 85% 75%, rgba(139, 227, 42, 0.35), transparent 62%),
    radial-gradient(50% 50% at 70% 15%, #fce4e4, transparent 65%),
    #fcf4d8;
}
.mesh::after { content: ""; position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mesh img { position: absolute; width: clamp(110px, 16vw, 240px); }
.mesh img:nth-child(1) { left: 14%; top: 22%; transform: rotate(-10deg); }
.mesh img:nth-child(2) { right: 16%; top: 14%; width: clamp(90px, 12vw, 190px); transform: rotate(8deg); }
.mesh img:nth-child(3) { left: 46%; bottom: 14%; width: clamp(100px, 13vw, 200px); transform: rotate(-4deg); }
.band__caption { position: absolute; left: calc(var(--gutter) + clamp(24px, 4vw, 56px)); bottom: clamp(24px, 4vw, 56px); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.045em; line-height: 1; max-width: 10ch; color: var(--ink); }
.band.has-photo .band__caption { color: #fff; }
.band.has-photo .band__frame::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(6, 20, 11, 0.5)); pointer-events: none; }
.band__caption { z-index: 1; }
@media (max-width: 640px) {
  .band__frame { height: min(70svh, 560px); }
  .band .photo-slot > img.photo { object-position: 57% 50%; }
}

/* ---------- I'm here ---------- */
.here { padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.here__head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px 6vw; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.here__head .h2 { max-width: 11ch; }
.here__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 20px; align-items: stretch; }
.map { position: relative; aspect-ratio: 800 / 520; border-radius: var(--r-2xl); overflow: hidden; background: var(--surface-muted); user-select: none; -webkit-user-select: none; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__street { font: 500 13px var(--font); fill: #a9aeab; letter-spacing: 0.02em; }
.map__ring { position: absolute; left: 65%; top: 48.08%; width: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0, 119, 43, 0.06); border: 2px dashed rgba(0, 119, 43, 0.35); transition: background-color var(--t-change) var(--ease), border-color var(--t-change) var(--ease); pointer-events: none; }
.map__ring i { position: absolute; inset: 0; border-radius: 50%; background: rgba(0, 119, 43, 0.12); animation: ring 2.8s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.15); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.map__ring.is-in { background: rgba(139, 227, 42, 0.18); border-color: var(--primary); border-style: solid; }
.map__ringlabel { position: absolute; left: 65%; top: calc(48.08% - 39%); transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: 0.75rem; font-weight: 500; color: var(--primary); pointer-events: none; }
.map__shop { position: absolute; left: 65%; top: 48.08%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.map__pin { width: 46px; height: 46px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--primary); color: #fff; display: grid; place-items: center; }
.map__pin .i { transform: rotate(45deg); width: 22px; height: 22px; }
.map__shop b { order: -1; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.map__you {
  position: absolute; left: 13.75%; top: 82.7%;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 500;
  cursor: grab; touch-action: none; z-index: 3;
  outline-offset: 4px;
  transition: transform var(--t-press) var(--ease);
}
.map__you::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--zest); }
.map__you::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: rgba(139, 227, 42, 0.35); animation: pulse 2s var(--ease) infinite; z-index: -1; }
.map__you.is-dragging { cursor: grabbing; transform: scale(1.08); }
.map.is-touched .map__you::after { animation: none; opacity: 0; }
.map__dist { position: absolute; left: 20px; top: 20px; padding: 10px 16px; border-radius: 999px; background: var(--surface); font-size: 0.9375rem; color: var(--ink-muted); }
.map__dist span { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.map__walk { position: absolute; right: 20px; top: 20px; background: var(--surface); }
.map__walk:hover { background: #fff; }
.here__side { display: grid; gap: 20px; grid-template-rows: auto 1fr; }
.here__card, .here__tablet { padding: 26px; border-radius: var(--r-xl); background: var(--surface); }
.here__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.here__row b { font-weight: 500; font-size: 1.1rem; }
.here__row small { color: var(--ink-muted); }
.here__eta { margin-top: 18px; font-size: 2.6rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.here__eta span { display: block; font-size: var(--fs-small); color: var(--ink-muted); letter-spacing: 0; font-weight: 400; margin-bottom: 6px; }
.here__btn { width: 100%; margin-top: 22px; }
.here__btn:disabled { background: var(--surface-muted); color: var(--ink-muted); cursor: not-allowed; }
.here__btn.is-done { background: var(--primary-soft); color: var(--primary); }
.here__btn.is-done::before { display: none; }
.here__note { margin-top: 12px; font-size: var(--fs-small); color: var(--ink-muted); min-height: 1.5em; }
.here__note button { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.here__tablet { background: var(--surface-muted); }
.here__order { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); transition: background-color var(--t-change) var(--ease); }
.here__order b { font-weight: 500; display: block; }
.here__order small { color: var(--ink-muted); }
.here__badge { padding: 7px 12px; border-radius: 999px; background: var(--zest); color: var(--on-zest); font-size: 0.8125rem; font-weight: 500; white-space: nowrap; opacity: 0; transform: scale(0.6); transition: opacity var(--t-toggle) var(--ease), transform var(--t-change) var(--ease-spring); }
.here__tablet.is-on .here__badge { opacity: 1; transform: none; }
.here__tablet.is-on .here__order { background: var(--primary-soft); }
.here__tnote { margin-top: 12px; font-size: var(--fs-small); }
@media (max-width: 960px) {
  .here__head { grid-template-columns: 1fr; }
  .here__grid { grid-template-columns: 1fr; }
  .here__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}
@media (max-width: 640px) {
  .here__side { grid-template-columns: 1fr; }
  .map { aspect-ratio: 800 / 520; border-radius: var(--r-xl); }
  .map__you { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 0.6875rem; }
  .map__dist { left: 12px; top: 12px; padding: 7px 12px; font-size: 0.8125rem; }
  .map__walk { right: 12px; top: auto; bottom: 12px; }
  .map__shop b { display: none; }
  .map__pin { width: 34px; height: 34px; }
  .map__ringlabel { display: none; }
}

/* ---------- Deals and daily pickups ---------- */
.extras { padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.extras__head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px 6vw; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.extras__head .h2 { max-width: 11ch; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; cursor: grab; outline-offset: -2px; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__track { display: flex; gap: 16px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.deal { flex: none; width: clamp(250px, 24vw, 300px); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; scroll-snap-align: start; scroll-margin-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); user-select: none; }
.deal__art { position: relative; height: 190px; display: grid; place-items: center; }
.deal__art img { width: 120px; -webkit-user-drag: none; transition: transform var(--t-change) var(--ease-spring); }
.deal:hover .deal__art img { transform: scale(1.08) rotate(-4deg); }
.deal__off { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: var(--zest); color: var(--on-zest); font-size: 0.8125rem; font-weight: 500; }
.deal__ends { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.deal__body { padding: 18px 20px 20px; }
.deal__body h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.deal__body .muted { font-size: var(--fs-small); margin-top: 2px; }
.deal__price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.deal__price b { color: var(--primary); font-weight: 500; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.deal__price s { color: var(--ink-muted); font-size: var(--fs-small); }
.deal__price span { margin-left: auto; font-size: var(--fs-small); color: var(--ink-muted); font-variant-numeric: tabular-nums; display: inline-block; }
.deal__price span.bump { animation: bump 0.5s var(--ease-spring); color: var(--ink); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

.daily { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 6vw; align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.daily__title { max-width: 10ch; }
.daily__copy .lead { margin-top: 20px; }
.daily__card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-2xl); background: var(--surface); }
.daily__top { display: flex; align-items: center; gap: 14px; }
.daily__top i { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.daily__top i img { width: 40px; }
.daily__top b { display: block; font-weight: 500; font-size: 1.1rem; }
.daily__time { margin-left: auto; font-size: clamp(2.2rem, 3.4vw, 3rem); }
.daily__time small { font-size: 0.42em; letter-spacing: 0; font-weight: 400; color: var(--ink-muted); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 24px; }
.days button { height: 52px; border-radius: 16px; background: var(--surface-muted); color: var(--ink-muted); font-weight: 500; font-size: 0.875rem; transition: background-color var(--t-toggle) var(--ease), color var(--t-toggle) var(--ease), transform var(--t-press) var(--ease); }
.days button:active { transform: scale(0.94); }
.days button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.days button.is-skipped { background: repeating-linear-gradient(-45deg, var(--primary-soft) 0 6px, #d4e8cb 6px 12px); color: var(--primary); text-decoration: line-through; }
.daily__push { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: var(--r-lg); background: var(--bg); }
.daily__push img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.daily__push div { flex: 1; min-width: 0; }
.daily__push b { display: block; font-weight: 500; font-size: 0.9375rem; }
.daily__push small { display: block; color: var(--ink-muted); font-size: var(--fs-small); line-height: 1.4; margin-top: 2px; }
.daily__push .btn { flex: none; }
@media (max-width: 900px) {
  .extras__head, .daily { grid-template-columns: 1fr; }
  .daily__push { flex-wrap: wrap; }
  .daily__push .btn { width: 100%; }
}

/* ---------- Premium ---------- */
.premium { padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); }
.premium__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 6vw; align-items: center; }
.premium__copy .h2 { max-width: 9ch; }
.premium__copy .lead { margin-top: 22px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: var(--primary); margin-top: 2px; }
.calc { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-2xl); background: var(--surface); }
.calc__gauge { position: relative; max-width: 380px; margin: 0 auto; }
.gauge { width: 100%; height: auto; overflow: visible; }
.gauge rect { transition: fill 0.4s var(--ease); }
.calc__out { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.calc__big, .calc__big.roll { display: flex; justify-content: center; font-size: clamp(2.6rem, 4.4vw, 3.7rem); }
.calc__out small { display: block; margin-top: 6px; font-size: var(--fs-small); }
.calc__verdict { text-align: center; margin-top: 18px; font-weight: 500; font-size: 1.05rem; }
.slider { display: block; margin-top: 26px; }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; color: var(--ink-muted); font-size: 0.9375rem; }
.slider__top b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; --p: 50%; }
.slider input::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--primary) 0 var(--p), var(--surface-muted) var(--p)); }
.slider input::-moz-range-track { height: 10px; border-radius: 999px; background: var(--surface-muted); }
.slider input::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--primary); }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--zest); transition: transform var(--t-press) var(--ease); }
.slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--zest); }
.slider input:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider input:focus-visible { outline: none; }
.slider input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--primary); }
.calc__fine { margin-top: 22px; font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 900px) { .premium__grid { grid-template-columns: 1fr; } }

/* Rolling digits */
.roll { display: inline-flex; overflow: hidden; vertical-align: top; }
.roll__d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.roll__s { display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.roll__s span { height: 1em; display: block; text-align: center; }

/* ---------- Restaurants ---------- */
.resto { padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.resto__head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px 6vw; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.resto__head .h2 { max-width: 11ch; }
.resto__stage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.resto__photo { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 4 / 3.1; border-radius: var(--r-2xl); }
.tablet {
  grid-column: 6 / 13; grid-row: 1; z-index: 1;
  aspect-ratio: 4 / 3; padding: 1.6%;
  border-radius: 6% / 8%;
  background: #0c100e;
  container-type: inline-size;
  margin-top: 18%;
}
.tablet__screen { width: 100%; height: 100%; border-radius: 4.6% / 6.2%; background: var(--bg); overflow: hidden; font-size: calc(100cqw / 100); padding: 3em 3em; }
.tb-head { display: flex; justify-content: space-between; align-items: center; }
.tb-head b { font-size: 3em; font-weight: 500; letter-spacing: -0.03em; }
.tb-open { font-size: 1.5em; padding: 0.5em 1em; border-radius: 2em; background: var(--primary-soft); color: var(--primary); font-weight: 500; }
.tb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2em; margin-top: 2.4em; }
.tb-col > small { display: block; font-size: 1.5em; color: var(--ink-muted); margin-bottom: 0.8em; font-weight: 500; }
.tb-card { position: relative; padding: 1.8em; border-radius: 2.6em; background: var(--surface); margin-bottom: 1.6em; }
.tb-card__top { display: flex; justify-content: space-between; align-items: center; }
.tb-card__top b { font-size: 1.8em; font-weight: 500; }
.tb-card p { font-size: 1.55em; margin-top: 0.3em; }
.tb-card ul { list-style: none; padding: 0; margin: 0.6em 0 0; font-size: 1.4em; color: var(--ink-muted); }
.tb-collect { font-weight: 500; }
.tb-timer { font-size: 1.4em; padding: 0.3em 0.8em; border-radius: 2em; background: var(--warning-soft); color: var(--warning); font-weight: 500; font-variant-numeric: tabular-nums; }
.tb-time { font-size: 1.4em; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.tb-here { font-size: 1.3em; padding: 0.35em 0.8em; border-radius: 2em; background: var(--zest); color: var(--on-zest); font-weight: 500; }
.tb-tag { display: inline-block; margin-top: 0.5em; font-size: 1.25em; padding: 0.25em 0.7em; border-radius: 2em; background: var(--primary-soft); color: var(--primary); font-weight: 500; }
.tb-actions { display: flex; gap: 0.8em; margin-top: 1.2em; }
.tb-btn { flex: 1; display: grid; place-items: center; height: 3.6em; border-radius: 2em; background: var(--primary); color: #fff; font-size: 1.4em; font-weight: 500; }
.tb-btn--ghost { background: var(--surface-muted); color: var(--ink); }
.tb-btn--wide { margin-top: 1em; }
.tb-card--new { background: var(--surface); }
.tb-card--new::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 0.35em solid var(--zest); opacity: 0; }
.tablet.is-ringing .tb-card--new::after { animation: ringcard 0.9s var(--ease) infinite; }
@keyframes ringcard { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.06); } }
.tablet.is-ringing .tb-card--new { animation: shake 0.9s var(--ease) infinite; }
@keyframes shake { 0%, 100% { transform: none; } 10%, 30% { transform: translateX(-0.4em) rotate(-0.4deg); } 20%, 40% { transform: translateX(0.4em) rotate(0.4deg); } 50% { transform: none; } }
.ring-btn {
  position: absolute; left: calc(var(--gutter) + clamp(16px, 2vw, 28px)); bottom: clamp(16px, 2.4vw, 32px); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 500;
  transition: transform var(--t-press) var(--ease);
}
.ring-btn:active { transform: scale(0.96); }
.ring-btn__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--zest); color: var(--on-zest); display: grid; place-items: center; }
.ring-btn[aria-pressed="true"] .ring-btn__icon { animation: pulse-btn 0.9s var(--ease) infinite; }
@keyframes pulse-btn { 50% { transform: scale(1.12); } }
.resto__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px 6vw; margin-top: clamp(56px, 8vw, 110px); align-items: start; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.perks p { margin-top: 10px; color: var(--ink-muted); }
.fee { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-2xl); background: var(--surface); position: sticky; top: 100px; }
.fee__rows { margin: 26px 0 0; }
.fee__rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; }
.fee__rows dt { color: var(--ink-muted); }
.fee__rows dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.fee__keep { margin-top: 6px; padding-top: 18px !important; }
.fee__keep dt { color: var(--ink); font-weight: 500; }
.fee__keep dd { font-size: clamp(2.4rem, 3.6vw, 3.2rem); font-weight: 300; }
.fee__cap { min-height: 1.5em; font-size: var(--fs-small); color: var(--primary); font-weight: 500; opacity: 0; transition: opacity var(--t-toggle) var(--ease); }
.fee__cap.is-on { opacity: 1; }
.fee__cta { width: 100%; margin-top: 18px; white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.fee__note { margin-top: 12px; font-size: var(--fs-small); text-align: center; }
@media (max-width: 960px) {
  .resto__head, .resto__grid { grid-template-columns: 1fr; }
  .resto__stage { grid-template-columns: 1fr; gap: 16px; }
  .resto__photo { grid-column: 1; aspect-ratio: 4 / 3; }
  .tablet { grid-column: 1; grid-row: 2; margin-top: -22%; margin-inline: 4%; }
  .ring-btn { position: relative; left: auto; bottom: auto; justify-self: start; margin-top: 4px; }
  .fee { position: static; }
}
@media (max-width: 640px) { .perks { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px 6vw; align-items: start; }
.faq__grid .h2 { max-width: 8ch; position: sticky; top: 110px; }
:root { interpolate-size: allow-keywords; }
.faq__list details { border-radius: var(--r-lg); transition: background-color var(--t-toggle) var(--ease); }
.faq__list details + details { margin-top: 6px; }
.faq__list details[open] { background: var(--surface); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; border-radius: var(--r-lg); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23111613' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform var(--t-change) var(--ease), background-color var(--t-toggle) var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--primary-soft); }
.faq__list summary:hover { background: var(--surface); }
.faq__list details > div { padding: 0 24px 24px; color: var(--ink-muted); max-width: 64ch; }
.faq__list details > div a { color: var(--primary); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-change) var(--ease), content-visibility var(--t-change) allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid .h2 { position: static; } }

/* ---------- Get the app ---------- */
.get { padding: clamp(60px, 8vw, 120px) 0 0; }
.get__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: clamp(36px, 6vw, 88px); border-radius: var(--r-2xl); background: var(--forest); color: #fff; isolation: isolate; min-height: 480px; }
.aurora { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.get__copy .h2 { max-width: 8ch; }
.get__copy p { margin-top: 18px; max-width: 34ch; font-size: var(--fs-lead); color: rgba(255,255,255,0.82); }
.get__copy .stores { margin-top: 32px; }
.get .store { background: #fff; color: var(--ink); }
.get .store--soon { background: rgba(255, 255, 255, 0.1); color: #fff; }
.get__qr { text-align: center; z-index: 1; }
.get__plate { width: 168px; height: 168px; padding: 16px; border-radius: 22px; background: var(--qr-plate); }
.get__plate .qr { width: 100%; height: 100%; }
.get__qr small { display: block; margin-top: 12px; color: rgba(255,255,255,0.75); font-size: 0.8125rem; }
.get__food { position: absolute; z-index: -1; pointer-events: none; }
.g1 { width: 180px; right: 22%; top: -30px; transform: rotate(18deg); opacity: 0.95; }
.g2 { width: 140px; right: 30%; bottom: -36px; transform: rotate(-10deg); }
@media (max-width: 860px) {
  .get__panel { grid-template-columns: 1fr; min-height: 0; }
  .g1 { right: -30px; top: -30px; width: 130px; }
  .g2 { display: none; }
}
@media (hover: none) { [data-hide-on-touch] { display: none; } }

/* Reduced motion: nothing pinned, nothing scrubbed */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
}
