@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,500;1,600&display=swap");
/* Minutes design system: shared by the customer, admin, shop and rider web surfaces. */
:root {
  --citrus: #f0d9a8;
  --amber: #d4a24f;
  --lime: #e7cb91;
  --green: #36815f;
  --forest: #171714;
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --raised: #f1eee5;
  --ink: #171714;
  --ink-2: #5c5b54;
  --ink-3: #89877f;
  --on-accent: #fffdf8;
  --line: rgba(23, 23, 20, .1);
  --glass: rgba(255, 253, 248, .76);
  --glass-strong: rgba(255, 253, 248, .94);
  --glass-edge: rgba(255, 255, 255, .82);
  --shadow: 0 2px 8px rgba(38, 32, 20, .035), 0 18px 48px rgba(38, 32, 20, .09);
  --accent-text: #8c651f;
  --mesh-a: .12;
  --mesh-warm: #e9d6ae;
  --signature: linear-gradient(135deg, #ecd8ad, #d4a24f);
  --action: linear-gradient(180deg, #24231f, #171714);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141411; --surface: #1d1c18; --raised: #25241f; --ink: #f6f2e9;
  --ink-2: #c2bfb5; --ink-3: #918e84; --on-accent: #171714;
  --line: rgba(246, 242, 233, .1); --glass: rgba(29, 28, 24, .78);
  --glass-strong: rgba(29, 28, 24, .94); --glass-edge: rgba(255, 255, 255, .09);
  --shadow: 0 2px 8px rgba(0,0,0,.22), 0 20px 52px rgba(0,0,0,.32);
  --accent-text: #e4bd76; --mesh-a: .07; --mesh-warm: #71552a;
  --signature: linear-gradient(135deg, #edd8aa, #d4a24f);
  --action: linear-gradient(180deg, #ecd8ad, #d4a24f);
  color-scheme: dark;
}
* { -webkit-tap-highlight-color: transparent; }
body { background-color: var(--bg); }
.mesh i, .ambient span { opacity: calc(var(--mesh-a) * .6); filter: blur(100px); }
.glass { border-color: var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.42); }
.brand { letter-spacing: -.045em; }
.brand-mark { border-radius: 12px; background: var(--signature); box-shadow: 0 5px 16px rgba(141,100,31,.17); }
.btn-primary { background: var(--action); color: var(--on-accent); box-shadow: 0 8px 20px rgba(28,25,18,.16); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(28,25,18,.22); transform: translateY(-1px); }
.btn-ghost { background: var(--glass-strong); border-color: var(--line); }
:focus-visible { outline-color: var(--amber); }

/* Customer landing */
.nav.scrolled .wrap { border-color: var(--line); box-shadow: var(--shadow); }
.grad-text { background-image: linear-gradient(100deg, #a7772e, #d4a24f 48%, #8c651f); }
.hero { padding-top: 58px; }
.hero h1 { font-weight: 700; }
.stage { isolation: isolate; }
.stage::before {
  content: ""; position: absolute; z-index: 0; width: 112%; height: 77%; right: -12%; top: 12%;
  border-radius: 42% 28px 28px 42%; background: linear-gradient(90deg, rgba(247,244,236,.12), rgba(247,244,236,.03)), url("/minutes-grocery-editorial.png") center/cover;
  box-shadow: 0 28px 80px rgba(54,43,22,.13); opacity: .9;
}
.phone, .la-card { z-index: 1; }
.phone { box-shadow: 0 42px 88px -32px rgba(29,26,20,.52), 0 0 0 1px rgba(255,255,255,.14) inset; }
.screen { background: radial-gradient(120% 60% at 0% 0%, rgba(212,162,79,.2), transparent 60%), #f7f4ec; }
.aisle-row i { background: radial-gradient(circle at 30% 30%, rgba(212,162,79,.25), rgba(212,162,79,.08)); }
.aisle-row span:nth-child(2) i, .aisle-row span:nth-child(4) i { background: radial-gradient(circle at 30% 30%, rgba(54,129,95,.2), rgba(54,129,95,.06)); }
.tabbar .on { background: rgba(212,162,79,.2); color: #76551e; }
@media (max-width: 960px) { .stage::before { width: min(100%, 660px); right: 0; height: 66%; top: 15%; } }
@media (max-width: 600px) { .hero { padding-top: 36px; } .stage::before { width: 100%; height: 60%; top: 19%; opacity: .68; } }

/* Admin and staff workspaces */
.auth-view { position: relative; overflow: hidden; background: radial-gradient(ellipse at 82% 10%, rgba(212,162,79,.13), transparent 32%), var(--bg); }
.auth-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 28px 80px rgba(39,32,19,.14); }
.auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--signature); }
.auth-card h1 { letter-spacing: -.045em; }
.auth-card input, .field input, .field select, .field textarea, .filters input, .filters select { background-color: var(--surface); border-color: var(--line); }
.side { background: var(--glass-strong); border-color: var(--line); box-shadow: 8px 0 30px rgba(34,29,20,.035); }
.tabs button[aria-selected="true"] { color: var(--on-accent); background: var(--action); box-shadow: 0 7px 18px rgba(24,23,20,.15); }
.content { max-width: 1680px; }
.page-head h1, .page h1 { letter-spacing: -.045em; }
.stat, .stat-grid .glass { border: 1px solid var(--line); background: var(--glass-strong); }
.table-wrap, .lane, .chart { border-color: var(--line); }
th { background: var(--surface); }
tbody tr:hover td { background: color-mix(in srgb, var(--amber) 10%, transparent); }
.pill.ok, .fact.pay { color: #276b4b; }
:root[data-theme="dark"] .pill.ok, :root[data-theme="dark"] .fact.pay { color: #80c49f; }

/* Shop orders: clear queue lanes and generous touch targets. */
.topbar { border: 1px solid var(--line); box-shadow: var(--shadow); }
.seg { border-color: var(--line); background: var(--glass); }
.seg button[aria-selected="true"] { color: var(--on-accent); background: var(--action); box-shadow: 0 5px 14px rgba(24,23,20,.14); }
.lane { background: color-mix(in srgb, var(--surface) 82%, transparent); border-color: var(--line); }
.lane-new .lane-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(212,162,79,.16); }
.lane-packing .lane-dot { background: #b68b4c; box-shadow: 0 0 0 4px rgba(182,139,76,.15); }
.lane-ready .lane-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(54,129,95,.15); }
.order { border-color: var(--line); }
.order.is-new { border-color: var(--amber); }
.sound-bar { background: var(--signature); color: #302516; animation: none; }

/* Rider: keep night-ready contrast while using the same warm brand accents. */
html[data-theme="dark"] body.work { background: radial-gradient(ellipse at 85% 0%, rgba(212,162,79,.09), transparent 35%), var(--bg); }
html[data-theme="dark"] .topbar { background: rgba(29,28,24,.94); }
html[data-theme="dark"] .seg button[aria-selected="true"] { color: #171714; }
html[data-theme="dark"] .go-switch[aria-checked="true"] { background: var(--signature); }
html[data-theme="dark"] .go-switch[aria-checked="true"] .go-knob { color: #171714; }
html[data-theme="dark"] .go-switch[aria-checked="true"] .go-label { color: #171714; }
html[data-theme="dark"] .steps4 .st.done i, html[data-theme="dark"] .steps4 .st.now i { background: var(--signature); color: #171714; }
html[data-theme="dark"] .steps4 .st.now { color: var(--ink); }
html[data-theme="dark"] .offer-top .kick { color: #e7cb91; }
html[data-theme="dark"] .earn-hero { color: #171714; }
html[data-theme="dark"] .card.offer { border-color: rgba(212,162,79,.55); }

/* The miniature customer app uses the same quiet gold accents as the site. */
.screen { background: radial-gradient(120% 60% at 0% 0%, rgba(212,162,79,.16), transparent 60%), #f7f4ec; }
.banner { background: rgba(212,162,79,.12); border-color: rgba(212,162,79,.16); box-shadow: 0 6px 16px rgba(45,35,20,.06); }
.b-eta { color: #76551f; }
.b-bar i { background: var(--signature); }
.eta-hero .big { background: linear-gradient(180deg, #d4a24f, #87601f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aisle-row i, .aisle-row span:nth-child(2) i, .aisle-row span:nth-child(4) i { background: radial-gradient(circle at 30% 30%, rgba(212,162,79,.25), rgba(212,162,79,.07)); }
.card .ph { background: linear-gradient(145deg, #f3ead6, #ebe3d2); }
.add { color: #72531e; }
@keyframes morph {
  0%, 22% { width: 22px; background: #fff; color: #72531e; }
  30%, 80% { width: 62px; background: #d4a24f; color: #201a10; }
  90%, 100% { width: 22px; background: #fff; color: #72531e; }
}

/* ── The owner's picture, 5 Oct 2026 ─────────────────────────────────────────
   Cream canvas, white cards, soft gold, black pills, and the serif
   "MinutesNow" wordmark on every page. Layout changes are CSS only, so the
   page scripts keep finding the same elements. */
:root {
  --bg: #faf6ee; --surface: #fffdf9; --raised: #f4eee2; --line: rgba(70, 52, 16, .11);
  --amber: #d6a444; --gold-soft: #f8edd2; --gold-deep: #b98a2b;
  --signature: linear-gradient(180deg, #f4dc9f, #ddae52);
  --serif: "Playfair Display", "New York", ui-serif, Georgia, serif;
  --card-shadow: 0 1px 2px rgba(70, 52, 16, .04), 0 10px 30px rgba(90, 68, 25, .07);
}
:root[data-theme="dark"] { --gold-soft: rgba(214, 164, 68, .18); --gold-deep: #e4bd76; --card-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.btn { border-radius: 999px; }

/* Wordmark: "Minutes" in ink, "Now" in gold italics. The old lightning tile
   and the plain text beside it are hidden; each page adds its own small label. */
.brand { font-size: 0 !important; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.brand .brand-mark { all: unset; display: inline-block; font: 800 25px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand .brand-mark svg { display: none; }
.brand .brand-mark::before { content: "Minutes"; }
.brand .brand-mark::after { content: "Now"; font-style: italic; font-weight: 500; color: var(--gold-deep); }
.brand::after { font: 600 9.5px/1 var(--font, system-ui); letter-spacing: .34em; color: var(--ink-2); }
.brand select { font-size: 14px; }
.topbar .brand { flex-direction: row; align-items: center; gap: 14px; }
.auth-card .brand .brand-mark { font-size: 30px; }

/* Landing */
.hero h1, .section h2, footer .brand-mark { font-family: var(--serif); }
.hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: .97; }
.section h2 { letter-spacing: -.025em; }
.grad-text { background-image: linear-gradient(100deg, #b98a2b, #d6a444 55%, #b98a2b); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { min-height: 52px; padding-inline: 26px; }
.cta-row .play { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 9px; padding-left: 2px; }
.store-row { margin-top: 18px; }
.hero .phone, .stage::before { display: none; }
.stage { min-height: 560px; }
.hero .la-card { position: absolute; right: 0; top: 0; left: auto; bottom: auto; transform: rotate(3deg); z-index: 4; }
.bag-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.04; display: grid; place-items: end center; }
.bag-stage::before { content: ""; position: absolute; inset: 8% 0 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 164, 68, .34), rgba(214, 164, 68, 0)); }
.tote { position: relative; width: 60%; margin-bottom: 7%; filter: drop-shadow(0 34px 36px rgba(60, 44, 14, .24)); }
.tote-handles { position: absolute; left: 27%; right: 27%; top: -24%; height: 36%; border: 8px solid #e2cfa6; border-bottom: 0; border-radius: 999px 999px 0 0; }
.tote-food { position: absolute; left: 0; right: 0; bottom: 80%; height: 50%; }
.tote-food span { position: absolute; bottom: 0; font-size: clamp(56px, 7.4vw, 98px); line-height: 1; filter: drop-shadow(0 8px 10px rgba(40, 28, 6, .28)); }
.tote-food span:nth-child(1) { left: 50%; bottom: 14%; transform: rotate(30deg); }
.tote-food span:nth-child(2) { left: 26%; bottom: 20%; transform: rotate(-22deg); }
.tote-food span:nth-child(3) { left: -2%; bottom: 6%; transform: rotate(-14deg); }
.tote-food span:nth-child(4) { left: 18%; bottom: -8%; font-size: clamp(44px, 5.8vw, 76px); }
.tote-food span:nth-child(5) { left: 42%; bottom: -12%; font-size: clamp(40px, 5.2vw, 68px); }
.tote-food span:nth-child(6) { left: 62%; bottom: -8%; font-size: clamp(42px, 5.4vw, 70px); transform: rotate(42deg); }
.tote-food span:nth-child(7) { left: 78%; bottom: -14%; font-size: clamp(38px, 5vw, 64px); }
.tote-body { position: relative; z-index: 2; aspect-ratio: 1 / .94; background: linear-gradient(180deg, #f7eedb, #e8d7b2); clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%); display: grid; place-content: center; text-align: center; }
.tote-body b { font: 800 clamp(26px, 3.5vw, 44px)/1 var(--serif); letter-spacing: -.03em; color: #17140f; }
.tote-body b i { font-weight: 500; color: #b98a2b; }
.tote-body small { display: block; margin-top: 8px; font-size: 9px; font-weight: 600; letter-spacing: .34em; color: #6b5a36; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-size: 13px; font-weight: 600; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.float-chip i { font-style: normal; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); }
.float-chip.c1 { left: 4%; top: 16%; }
.float-chip.c2 { left: -3%; top: 54%; animation-delay: -3s; }
.scoot { position: absolute; right: 0; bottom: 3%; z-index: 3; font-size: clamp(48px, 6vw, 80px); transform: scaleX(-1); filter: drop-shadow(0 10px 10px rgba(40, 28, 6, .28)); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
@media (max-width: 960px) { .stage { min-height: 0; margin-top: 24px; } .hero .la-card { position: relative; transform: none; margin: 0 auto 12px; } }

/* Aisles as white tiles with a big picture, like the app. */
.marquee .chip { flex-direction: column; gap: 8px; min-width: 108px; padding: 16px 18px 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-size: 13px; font-weight: 600; }
.marquee .chip i { width: 56px; height: 56px; font-size: 38px; background: transparent !important; }

/* Staff pages: white cards, and the page you're on sits on a pale gold tile. */
.side { background: var(--surface); box-shadow: none; }
.tabs button[aria-selected="true"], .seg button[aria-selected="true"],
html[data-theme="dark"] .seg button[aria-selected="true"] { color: var(--ink); background: var(--gold-soft); box-shadow: none; }
.stat, .stat-grid .glass, .table-wrap, .chart, .lane, .order, body.work .card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.stat, .stat-grid .glass, .chart, .lane { border-radius: 20px; }
.topbar { background: var(--surface); }
.seg { background: var(--surface); }

/* Shop and rider on a wide screen: the tabs become a sidebar, as on Admin. */
@media (min-width: 1100px) {
  body.work #appView { padding-left: 248px; }
  body.work #appView::before { content: ""; position: fixed; z-index: 1; left: 0; top: 0; bottom: 0; width: 232px; background: var(--surface); border-right: 1px solid var(--line); }
  /* The bar's blur would trap the fixed wordmark inside it. */
  body.work .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; filter: none; }
  body.work .topbar .brand { position: fixed; z-index: 3; left: 26px; top: 26px; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 190px; }
  body.work .topbar .brand select { max-width: 186px; }
  body.work #appView .seg { position: fixed; z-index: 3; left: 14px; top: 132px; right: auto; bottom: auto; width: 204px; max-width: none; margin: 0; padding: 0; flex-direction: column; gap: 4px; background: transparent; border: 0; box-shadow: none; transform: none; }
  body.work #appView .seg button { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; text-align: left; }
  body.work #appView .seg .count { display: inline; margin-left: auto; }
  body.work { padding-bottom: 32px; }
}

/* Rider page in the light look: the pieces that were written for a dark page. */
html[data-theme="light"] .radar { background: var(--raised); }
html[data-theme="light"] .go-switch { background: var(--raised); border-color: var(--line); }
html[data-theme="light"] .go-label { color: var(--ink); }
html[data-theme="light"] .go-fill { background: var(--gold-soft); }
html[data-theme="light"] .go-switch[aria-checked="true"] { background: var(--signature); border-color: transparent; }
html[data-theme="light"] .go-switch[aria-checked="true"] .go-label { color: #17140f; }
html[data-theme="light"] .go-switch[aria-checked="true"] .go-knob { background: #fff; color: #17140f; }
html[data-theme="light"] .shift.on { background: color-mix(in srgb, var(--green) 9%, var(--surface)); border-color: color-mix(in srgb, var(--green) 22%, transparent); }
html[data-theme="light"] .steps4 .st { color: var(--ink-3); }
html[data-theme="light"] .steps4 .st i { background: var(--raised); }
html[data-theme="light"] .steps4 .st.done i, html[data-theme="light"] .steps4 .st.now i { background: var(--signature); color: #17140f; }
html[data-theme="light"] .steps4 .st.now { color: var(--ink); }
html[data-theme="light"] .steps4 .st.now i { box-shadow: 0 0 0 5px rgba(214, 164, 68, .22); }
html[data-theme="light"] .steps4 .bar { background: var(--line); }
html[data-theme="light"] .steps4 .bar.done { background: var(--amber); }
html[data-theme="light"] .job-map .leaflet-tile-pane { filter: saturate(.55) sepia(.12) brightness(1.03); }
html[data-theme="light"] .earn-hero { background: var(--signature); color: #17140f; }
@media (max-width: 960px) { .cta-row { justify-content: center; } }
@media (max-width: 600px) { .topbar .brand::after { display: none; } .topbar .brand .brand-mark { font-size: 21px; } }

/* Legal pages and the two "back from the card page" pages. */
.legal h1 { font-family: var(--serif); letter-spacing: -.03em; }
.result { display: grid; justify-items: center; gap: 6px; }
.result .brand { margin-bottom: 28px; }
.result-badge { width: 84px; height: 84px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; font: 700 34px/1 var(--font, system-ui); color: #f3da9a; background: linear-gradient(180deg, #2a251d, #14110c); box-shadow: 0 0 0 2px rgba(214, 164, 68, .5), 0 18px 36px rgba(214, 164, 68, .28); }
.result-badge.no { color: #17140f; background: var(--signature); box-shadow: 0 18px 36px rgba(214, 164, 68, .28); }

/* "Your city, in minutes." — the band under the aisles, with the app in a phone. */
.city-band { max-width: calc(var(--max) + 48px); margin: 36px auto 0; padding: 0 24px; }
.city-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; padding: 36px 44px; border-radius: 32px; overflow: hidden; background: linear-gradient(120deg, #fbf3df, #f4e4bf 55%, #ecd6a3); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.city-copy h2 { font: 800 clamp(34px, 4.2vw, 54px)/1.02 var(--serif); letter-spacing: -.03em; color: #17140f; }
.city-copy h2 span { display: block; color: #b98a2b; }
.city-copy p { margin: 14px 0 0; max-width: 30ch; color: #5c5346; }
.city-phone { height: 440px; display: grid; place-items: center; }
.city-phone .phone { transform: rotate(-7deg) scale(.74); transform-origin: center; }
.city-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.city-feats li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(255, 253, 249, .92); border: 1px solid rgba(70, 52, 16, .1); box-shadow: 0 8px 22px rgba(90, 68, 25, .08); color: #17140f; }
.city-feats i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 19px; background: #f8edd2; }
.city-feats b { display: block; font-size: 15px; }
.city-feats small { display: block; margin-top: 2px; font-size: 12.5px; color: #6f6659; }
@media (max-width: 960px) { .city-card { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; } .city-copy p { margin-inline: auto; } .city-phone { height: 400px; } .city-feats li { text-align: left; } }
.marquee .chip { height: auto; align-items: center; }
.marquee { padding-bottom: 16px; }
