/*
 * cravings.dev (site overhaul, 2026-10-26): shared by the home, pricing, FAQ and demo pages.
 * Brand: Cravings green #00483c, red #d12b22 (red only on white or sage, never on green: 2:1).
 * The restaurant renders (.r-*) use their own colors through --r-brand / --r-accent, like the real
 * website and app do, and are sized in em so one font-size scales a whole render.
 */
:root {
  --brand: #00483c;
  --brand-deep: #003329;
  --brand-soft: #cfe3db;   /* text on green */
  --accent: #d12b22;
  --accent-deep: #a8231c;
  --ink: #102320;
  --muted: #3d5550;
  --paper: #ffffff;
  --sage: #e7f0ec;
  --sage-deep: #d6e6df;
  --line: #c9dad3;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --wrap: 74rem;
  --radius: 1rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); }
a { color: var(--brand); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-green :focus-visible, footer :focus-visible { outline-color: var(--paper); }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: 0.5rem 0.75rem; z-index: 50; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Placeholder logo (until the real one is made) ---------- */
.mark { width: 2rem; height: 2rem; flex: none; }
.mark rect { fill: var(--brand); }
.mark path { stroke: var(--paper); }
.on-green .mark rect, footer .mark rect { fill: var(--paper); }
.on-green .mark path, footer .mark path { stroke: var(--brand); }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--brand-deep);
  font: 800 1.45rem/1 var(--display); letter-spacing: -0.03em; }
.on-green .logo, footer .logo { color: var(--paper); }

/* ---------- Buttons: one primary per screen (DESIGN_RULES §3) ---------- */
.button { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; font: 700 1.0625rem/1.2 var(--body); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; }
.button.primary { background: var(--accent); color: var(--paper); }
.button.primary:hover { background: var(--accent-deep); }
.button.secondary { background: var(--paper); color: var(--brand-deep); border-color: var(--brand); }
.button.secondary:hover { background: var(--sage); }
.button.small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.on-green .button.primary { background: var(--paper); color: var(--brand-deep); }
.on-green .button.primary:hover { background: var(--sage); }
.on-green .button.secondary { background: transparent; color: var(--paper); border-color: var(--paper); }
.on-green .button.secondary:hover { background: rgba(255, 255, 255, 0.1); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.fine { font-size: 0.875rem; color: var(--muted); margin-top: 0.9rem; }
.on-green .fine { color: var(--brand-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: 0.5rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.975rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.header-actions .signin { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 0.975rem; }
.header-actions .signin:hover { text-decoration: underline; }
.menu-toggle { display: none; }
@media (max-width: 60rem) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem; margin: 0; }
  .site-nav.open a { padding: 0.75rem 0; border-top: 1px solid var(--sage-deep); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); }
  .menu-toggle svg { width: 1.25rem; height: 1.25rem; }
}
@media (max-width: 30rem) {
  .header-actions .signin { display: none; }
  .header-actions .button.small { padding: 0.45rem 0.85rem; }
  .logo { font-size: 1.3rem; }
}

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.sage { background: var(--sage); }
.green { background: var(--brand); color: var(--paper); }
.eyebrow { display: inline-block; font: 700 0.8125rem/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.green .eyebrow { color: var(--brand-soft); }
h2.title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: var(--brand-deep); max-width: 20ch; }
.green h2.title { color: var(--paper); }
.intro { margin-top: 1rem; color: var(--muted); max-width: 40rem; font-size: 1.125rem; }
.green .intro { color: var(--brand-soft); }
.center { text-align: center; }
.center h2.title, .center .intro { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 56rem) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--sage) 0%, var(--paper) 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 800; color: var(--brand-deep); max-width: 14ch; }
.hero .lede { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 33rem; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.green .checks li::before { background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2300483c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* The hero picture: the restaurant's website in a browser, its app on a phone, a new order arriving. */
.stage { position: relative; min-height: 31rem; }
.stage .browser { position: absolute; top: 1.5rem; left: 0; width: 80%; font-size: clamp(0.5rem, 1.05vw, 0.8rem); }
.stage .phone { position: absolute; right: 0; bottom: 0; font-size: clamp(0.62rem, 1.15vw, 0.86rem); }
.stage .toast { position: absolute; left: 6%; bottom: 1.25rem; }
@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 0; display: grid; justify-items: center; padding-bottom: 1rem; }
  .stage .browser { display: none; }
  .stage .phone { position: relative; font-size: 0.8rem; }
  /* Phones and narrow screens: the new order sits under the phone, not half over it (owner 2026-11-02). */
  .stage .toast { position: relative; left: auto; bottom: auto; margin-top: 1.25rem; max-width: 19rem; width: calc(100% - 2rem); }
}

/* A new order, as the kitchen sees it arrive. */
.toast { display: flex; align-items: center; gap: 0.75rem; background: var(--paper); border-radius: 0.9rem; padding: 0.75rem 1rem 0.75rem 0.75rem;
  box-shadow: 0 18px 40px -18px rgba(0, 51, 41, 0.45), 0 0 0 1px rgba(0, 51, 41, 0.08); max-width: 17rem; z-index: 3; }
.toast-icon { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; background: var(--brand); display: grid; place-items: center; }
.toast-icon svg { width: 1.3rem; height: 1.3rem; }
.toast b { display: block; font-size: 0.9375rem; }
.toast span { display: block; font-size: 0.8125rem; color: var(--muted); }

/* Works with */
.works { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2rem; justify-content: center; }
.works p { font-size: 0.875rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.works ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; justify-content: center; }
.works li { font: 800 1.2rem/1 var(--display); color: var(--brand-deep); letter-spacing: -0.01em; opacity: 0.85; }

/* ---------- Brand switcher: three app screens in the chosen restaurant's colors ---------- */
.switcher { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.35rem 1rem 0.35rem 0.4rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font: 600 0.9375rem/1 var(--body); color: var(--ink); cursor: pointer; }
.chip .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--sage); box-shadow: inset 0 0 0 1px var(--brand); }
.chip.own { padding-right: 0.4rem; }
.chip.own input { width: 1.6rem; height: 1.6rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.chip.own input::-webkit-color-swatch-wrapper { padding: 0; }
.chip.own input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 2.5rem; justify-items: center; }
.screens figure { margin: 0; display: grid; gap: 0.9rem; justify-items: center; }
.screens figcaption { font-weight: 700; color: var(--brand-deep); }
.screens .phone { font-size: clamp(0.55rem, 1.05vw, 0.8rem); }
@media (max-width: 56rem) {
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; justify-content: flex-start;
    margin-left: calc(-1 * clamp(1rem, 4vw, 2rem)); margin-right: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }
  .screens figure { scroll-snap-align: center; flex: none; }
  .screens .phone { font-size: 0.74rem; }
}

/* ---------- Savings calculator ---------- */
.calc { background: var(--paper); color: var(--ink); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.calc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field .label { font-weight: 700; font-size: 0.9375rem; }
.field small { color: var(--muted); font-size: 0.8125rem; }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--line); border-radius: 0.7rem; background: var(--paper); }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }
.money { position: relative; }
.money > span { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 1.6rem; }
.money.pct input { padding-left: 0.8rem; padding-right: 2rem; }
.money.pct > span { position: absolute; left: auto; right: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.calc-out .win { grid-column: 1 / -1; }
.calc-out > div { border-radius: 0.9rem; padding: 1rem 1.1rem; background: var(--sage); display: grid; gap: 0.2rem; align-content: start; }
.calc-out .label { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.calc-out output, .calc-out .num { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--display); font-variant-numeric: tabular-nums; color: var(--brand-deep); }
.calc-out small { font-size: 0.8125rem; color: var(--muted); }
.calc-out .win { background: var(--brand); color: var(--paper); }
.calc-out .win .label, .calc-out .win small { color: var(--brand-soft); }
.calc-out .win output { color: var(--paper); }
@media (max-width: 48rem) { .calc-inputs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 26rem) { .calc-out { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature grid ---------- */
.features { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.features li { background: var(--paper); border-radius: var(--radius); padding: 1.35rem; display: grid; gap: 0.5rem; align-content: start; border: 1px solid var(--line); }
.features .icon { width: 2.6rem; height: 2.6rem; border-radius: 0.75rem; background: var(--sage); display: grid; place-items: center; color: var(--brand); }
.sage .features .icon { background: var(--sage); }
.features .icon svg { width: 1.35rem; height: 1.35rem; }
.features h3 { font-size: 1.1875rem; font-weight: 700; color: var(--brand-deep); margin-top: 0.35rem; }
.features p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 64rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .features { grid-template-columns: minmax(0, 1fr); } }

.bullets { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.1rem; }
.bullets li { display: grid; gap: 0.2rem; padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.bullets b { font: 700 1.125rem/1.3 var(--display); color: var(--brand-deep); }
.bullets span { color: var(--muted); }

/* ---------- Who it's for ---------- */
.types { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.types li { background: var(--paper); border-radius: var(--radius); padding: 1.35rem; border: 1px solid var(--line); display: grid; gap: 0.4rem; align-content: start; }
.types h3 { font-size: 1.1875rem; font-weight: 700; color: var(--brand-deep); }
.types p { color: var(--muted); font-size: 0.9375rem; }
.types q { display: block; font-weight: 600; color: var(--ink); font-size: 0.9375rem; quotes: "“" "”"; margin-top: 0.25rem; }
@media (max-width: 56rem) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .types { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding-top: 1.25rem; border-top: 3px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--accent); color: var(--paper); font: 800 1.1rem/1 var(--display); }
.steps .when { font-size: 0.8125rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.steps h3 { font-size: 1.25rem; font-weight: 700; color: var(--brand-deep); }
.steps p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 56rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; padding: 0.3rem; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); gap: 0.2rem; margin-top: 1.75rem; }
.billing button { font: 700 0.9375rem/1 var(--body); border: 0; border-radius: 999px; padding: 0 1.1rem; min-height: 2.5rem; background: none; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem; }
.billing button[aria-pressed="true"] { background: var(--brand); color: var(--paper); }
.billing .save { font-size: 0.75rem; background: var(--sage); color: var(--brand-deep); border-radius: 999px; padding: 0.2rem 0.5rem; }
.billing button[aria-pressed="true"] .save { background: var(--paper); }
.sample { display: block; margin-top: 0.85rem; font-size: 0.875rem; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; max-width: 56rem; }
.center .plans { margin-left: auto; margin-right: auto; text-align: left; }
.plan { background: var(--paper); border-radius: 1.25rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; position: relative; }
.plan.recommended { border: 2px solid var(--brand); box-shadow: 0 24px 50px -30px rgba(0, 51, 41, 0.5); }
.plan .badge { position: absolute; top: -0.8rem; left: 1.5rem; background: var(--brand); color: var(--paper); font: 700 0.75rem/1 var(--body); text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.4rem 0.7rem; border-radius: 999px; }
.plan h3 { font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); }
.plan .for { color: var(--muted); font-size: 0.9375rem; margin-top: 0.25rem; }
.price { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.price .amount { font: 800 3rem/1 var(--display); color: var(--brand-deep); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 0.9375rem; }
.price-note { font-size: 0.875rem; color: var(--muted); min-height: 1.3em; }
.plan .fee { background: var(--sage); border-radius: 0.8rem; padding: 0.75rem 0.9rem; display: grid; gap: 0.25rem; font-size: 0.9375rem; }
.plan .fee div { display: flex; justify-content: space-between; gap: 1rem; }
.plan .fee b { font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.plan li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9375rem; }
.plan li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan li.lead { font-weight: 700; }
.plan li.lead::before { display: none; }
.plan .button { width: 100%; }
@media (max-width: 48rem) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* Fee and feature tables */
.table-wrap { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; table-layout: fixed; }
.compare th, .compare td { text-align: left; padding: 0.85rem 1rem; border-top: 1px solid var(--sage-deep); vertical-align: top; overflow-wrap: anywhere; }
.compare thead th { border-top: 0; background: var(--sage); font: 700 1rem/1.3 var(--display); color: var(--brand-deep); }
.compare tbody th { font-weight: 600; }
.compare tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; margin-top: 0.15rem; }
.compare td { font-variant-numeric: tabular-nums; }
.compare .group th { background: var(--sage); font: 700 0.8125rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare col.what { width: 46%; }
.yes { display: inline-block; width: 1.3rem; height: 1.3rem; border-radius: 50%; vertical-align: middle;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.no { color: var(--muted); }
@media (max-width: 34rem) { .compare th, .compare td { padding: 0.7rem 0.6rem; font-size: 0.875rem; } .compare col.what { width: 44%; } }

.included-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem 1.5rem; }
.included-grid li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.included-grid li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (max-width: 56rem) { .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .included-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: 0.6rem; max-width: 50rem; }
.center .faq { margin-left: auto; margin-right: auto; text-align: left; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 0.9rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.15rem; font: 700 1.0625rem/1.4 var(--body); color: var(--ink); position: relative; min-height: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.15rem; top: 50%; width: 0.65rem; height: 0.65rem; border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq .answer { padding: 0 1.15rem 1.1rem; color: var(--muted); display: grid; gap: 0.6rem; }
.faq .answer ul { margin: 0; padding-left: 1.2rem; }
.faq-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 2.5rem; }
.faq-cats { position: sticky; top: 5.5rem; display: grid; gap: 0.25rem; }
.faq-cats a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 0.5rem 0.75rem; border-radius: 0.6rem; font-size: 0.9375rem; }
.faq-cats a:hover { background: var(--sage); color: var(--brand-deep); }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); }
.faq-group .faq { margin-top: 1rem; }
.search { position: relative; max-width: 34rem; margin-top: 1.75rem; }
.center .search { margin-left: auto; margin-right: auto; }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; color: var(--muted); }
.search input { width: 100%; font: 400 1rem/1.4 var(--body); min-height: 3.25rem; padding: 0.7rem 1rem 0.7rem 2.75rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.search input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }
.no-results { margin-top: 1.5rem; color: var(--muted); }
@media (max-width: 56rem) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-cats { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .faq-cats a { border: 1.5px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; } }

/* ---------- Demo ---------- */
.page-hero { background: var(--sage); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; color: var(--brand-deep); max-width: 18ch; }
.center .page-hero h1, .page-hero.center h1 { margin-left: auto; margin-right: auto; }
.page-hero .intro { font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem;
  box-shadow: 0 24px 50px -34px rgba(0, 51, 41, 0.5); }
.form-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.form-card .button { width: 100%; }
.optional { font-weight: 400; color: var(--muted); }
.trap { position: absolute; left: -999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 0.9rem; padding: 0.9rem 1rem; font-weight: 600; display: flex; gap: 0.6rem; align-items: flex-start; }
.notice.ok { background: var(--sage); color: var(--brand-deep); border: 1.5px solid var(--brand); }
.notice.bad { background: #fdecea; color: #7a1712; border: 1.5px solid var(--accent); }
.cover { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.cover li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.cover .n { width: 2.4rem; height: 2.4rem; border-radius: 0.7rem; background: var(--paper); display: grid; place-items: center; color: var(--brand); border: 1px solid var(--line); }
.cover .n svg { width: 1.25rem; height: 1.25rem; }
.cover b { display: block; color: var(--brand-deep); }
.cover span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 56rem) { .demo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 30rem) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing and footer ---------- */
.closing { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
footer { background: var(--brand-deep); color: #a9c7bc; font-size: 0.9375rem; padding: 3rem 0 2rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
footer h2 { font: 700 0.8125rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--paper); margin-bottom: 0.9rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
footer a { color: #e7f0ec; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .about { display: grid; gap: 0.9rem; align-content: start; max-width: 22rem; }
footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.875rem; }
@media (max-width: 56rem) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .about { grid-column: 1 / -1; } }

/* =====================================================================
 * Renders of a restaurant's own website, app and our kitchen screen.
 * Decorative (aria-hidden; the wrapper has role="img" and a label).
 * ===================================================================== */
.r { --r-brand: #1f4e8c; --r-accent: #f2c14e; --r-on-brand: #ffffff; --r-on-accent: #111111; --r-tint: #1f4e8c;
  --r-paper: #ffffff; --r-wash: #eef2f7; --r-ink: #111111; --r-muted: #5c5c5c; font-family: var(--body); }
.food { width: 100%; height: 100%; }

/* Phone */
.phone { width: 18em; aspect-ratio: 9 / 19.2; border-radius: 2.6em; padding: 0.55em; background: #0d1a17;
  box-shadow: 0 30px 60px -28px rgba(0, 35, 28, 0.6), inset 0 0 0 0.12em #2b3a36; position: relative; flex: none; }
.phone::before { content: ""; position: absolute; top: 1.05em; left: 50%; transform: translateX(-50%); width: 5.2em; height: 1.35em; border-radius: 1em; background: #0d1a17; z-index: 4; }
.screen { height: 100%; border-radius: 2.1em; overflow: hidden; background: var(--r-wash); position: relative; display: flex; flex-direction: column; color: var(--r-ink); }
.statusbar { height: 2.9em; flex: none; }
.tabbar { margin-top: auto; flex: none; background: var(--r-paper); border-top: 1px solid #d9d9d9; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0.5em 0 1.4em; z-index: 2; }
.tabbar span { display: grid; justify-items: center; gap: 0.25em; font-size: 0.62em; font-weight: 600; color: #5c5c5c; }
/* The app's tab icons (outline, like Ionicons' in the app). */
.tabbar svg { width: 2.1em; height: 2.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar span.on { color: var(--r-tint); }

/* App: Home (photo fills the screen) */
.r-home { background: var(--r-brand); }
.r-home .bg { position: absolute; inset: 0; }
.r-home .bg svg { width: 100%; height: 100%; }
.r-home .card { position: relative; margin: 0 0.85em; background: var(--r-paper); border-radius: 1em; padding: 0.8em; display: grid; gap: 0.65em; box-shadow: 0 0.2em 0.7em rgba(0, 0, 0, 0.14); }
.r-home .who { display: flex; gap: 0.65em; align-items: center; }
.r-logo { width: 2.5em; height: 2.5em; border-radius: 0.6em; background: var(--r-brand); color: var(--r-on-brand); display: grid; place-items: center; font: 800 0.95em/1 var(--display); flex: none; }
.r-home .who b { display: block; font: 800 1.05em/1.15 var(--body); letter-spacing: -0.01em; }
.r-home .who small { display: block; font-size: 0.75em; color: var(--r-muted); }
.r-points { display: flex; align-items: center; gap: 0.55em; }
.r-points b { font-size: 0.86em; white-space: nowrap; }
.r-points i { flex: 1; height: 0.45em; border-radius: 1em; background: #e6e6e6; overflow: hidden; }
.r-points i::after { content: ""; display: block; width: 62%; height: 100%; background: var(--r-accent); }
.r-points small { font-size: 0.68em; color: var(--r-muted); white-space: nowrap; }
.r-home .bottom { position: relative; margin-top: auto; padding: 0 0.85em 0.85em; display: grid; gap: 0.55em; }
.r-home .featured { justify-self: start; background: rgba(0, 0, 0, 0.72); color: #fff; border-radius: 0.6em; padding: 0.45em 0.7em; }
.r-home .featured small { display: block; font-size: 0.6em; font-weight: 700; letter-spacing: 0.06em; }
.r-home .featured b { font-size: 0.95em; }
.r-again { display: flex; align-items: center; gap: 0.6em; background: var(--r-paper); border-radius: 0.8em; padding: 0.6em 0.75em; }
.r-again .ic { color: var(--r-tint); font: 800 1.2em/1 var(--body); }
.r-again b { display: block; font-size: 0.85em; }
.r-again small { display: block; font-size: 0.7em; color: var(--r-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-again > div { min-width: 0; flex: 1; }
.r-big { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55em; }
.r-big span { height: 2.9em; border-radius: 99em; display: grid; place-items: center; font-weight: 800; font-size: 0.95em; }
.r-big span:first-child { background: var(--r-accent); color: var(--r-on-accent); }
.r-big span:last-child { background: var(--r-paper); color: var(--r-tint); }

/* App and website: the menu */
.r-band { background: var(--r-brand); color: var(--r-on-brand); padding: 0 1em 0.85em; flex: none; }
.r-band b { display: block; font: 800 1.35em/1.1 var(--display); letter-spacing: -0.02em; }
.r-band small { font-size: 0.72em; opacity: 0.92; }
.r-line { display: flex; align-items: center; gap: 0.4em; font-size: 0.72em; padding: 0.9em 1.35em 0.2em; white-space: nowrap; }
.r-line::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: #1f8a3d; flex: none; }
.r-line b { font-weight: 700; }
.r-cat { margin: 0.75em 1em 0.45em; padding-left: 0.5em; border-left: 0.22em solid var(--r-accent); font: 800 0.95em/1.2 var(--body); }
.r-dishes { display: grid; gap: 0.45em; padding: 0 0.85em; }
.r-dish { display: flex; align-items: center; gap: 0.6em; background: var(--r-paper); border-radius: 0.75em; padding: 0.5em; }
.r-dish .ph { width: 3.3em; height: 3.3em; border-radius: 0.5em; overflow: hidden; flex: none; }
.r-dish > div { flex: 1; min-width: 0; }
.r-dish b { display: block; font-size: 0.82em; }
.r-dish small { display: block; font-size: 0.66em; color: var(--r-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-dish em { display: block; font-style: normal; font-weight: 800; font-size: 0.78em; margin-top: 0.1em; }
.r-dish .add { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--r-paper); box-shadow: 0 0.1em 0.35em rgba(0, 0, 0, 0.25); display: grid; place-items: center; font-weight: 800; font-size: 0.85em; flex: none; }
/* "2 · View order · $32.00" just above the tab bar, like the app's CartBar. */
.r-cartbar { position: relative; flex: none; margin: auto 0.85em 0.85em; background: var(--r-accent); color: var(--r-on-accent); border-radius: 99em; height: 3em;
  display: flex; align-items: center; gap: 0.7em; padding: 0 1.1em 0 0.55em; font-weight: 800; font-size: 0.85em; z-index: 3; box-shadow: 0 0.25em 0.8em rgba(0, 0, 0, 0.2); }
.r-cartbar .n { width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--r-on-accent); color: var(--r-accent); display: grid; place-items: center; font-size: 0.9em; flex: none; }
.r-cartbar .label { flex: 1; }
.r-cartbar + .tabbar { margin-top: 0; }

/* App: Rewards */
.r-rewards .head { background: var(--r-brand); color: var(--r-on-brand); padding: 0 1em 0.85em; flex: none; }
.r-rewards .head b { display: block; font: 800 1.35em/1.1 var(--body); }
.r-rewards .head small { font-size: 0.72em; }
.r-balance { margin: 0.75em 0.85em 0; background: var(--r-brand); color: var(--r-on-brand); border-radius: 0.9em; padding: 0.85em; display: grid; gap: 0.35em;
  box-shadow: inset 0 0 0 999em rgba(255, 255, 255, 0.06); }
.r-balance small { font-size: 0.7em; opacity: 0.9; }
.r-balance b { font: 800 2.1em/1 var(--body); }
.r-balance i { height: 0.45em; border-radius: 1em; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.r-balance i::after { content: ""; display: block; width: 24%; height: 100%; background: var(--r-accent); }
.r-balance span { font-size: 0.68em; font-weight: 700; }
.r-earn { margin: 0.55em 0.85em 0; background: var(--r-paper); border-radius: 0.9em; padding: 0.75em; }
.r-earn b { display: block; font-size: 0.95em; }
.r-earn small { font-size: 0.68em; color: var(--r-muted); }
.r-list { margin: 0.55em 0.85em 0; background: var(--r-paper); border-radius: 0.9em; }
.r-reward { display: flex; gap: 0.6em; align-items: center; padding: 0.65em 0.75em; }
.r-reward + .r-reward { border-top: 1px solid #ececec; }
.r-reward .pts { width: 3.4em; height: 3.4em; border-radius: 50%; background: var(--r-accent); color: var(--r-on-accent); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 0.75em; line-height: 1; flex: none; }
.r-reward .pts.off { background: #e0e0e0; color: #111; }
.r-reward b { display: block; font-size: 0.8em; }
.r-reward small { font-size: 0.66em; color: var(--r-muted); }

/* Browser (the restaurant's website) */
.browser { border-radius: 0.9em; overflow: hidden; background: #f3f3f3; box-shadow: 0 30px 70px -32px rgba(0, 35, 28, 0.55), 0 0 0 1px rgba(0, 35, 28, 0.1); }
.browser .chrome { display: flex; align-items: center; gap: 0.45em; padding: 0.65em 0.9em; background: #e9ecea; }
.browser .chrome i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #c8cfcc; }
.browser .url { margin-left: 0.6em; flex: 1; max-width: 22em; background: #fff; border-radius: 99em; padding: 0.3em 0.9em; font-size: 0.85em; color: #3d4643; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-r { background: var(--r-wash); color: var(--r-ink); }
.site-r .band { background: var(--r-brand); color: var(--r-on-brand); padding: 1.6em 2.2em 1.5em; display: grid; gap: 0.5em; position: relative; }
.site-r .band .top { display: flex; gap: 0.9em; align-items: center; }
.site-r .band .r-logo { width: 3.6em; height: 3.6em; border-radius: 0.8em; font-size: 1em; background: var(--r-paper); color: var(--r-brand); }
.site-r .band b { font: 800 2.3em/1 var(--display); letter-spacing: -0.03em; }
.site-r .band small { font-size: 0.95em; opacity: 0.92; }
.site-r .band .signin { position: absolute; right: 1.6em; top: 1.1em; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 99em; padding: 0.35em 0.9em; font-size: 0.8em; font-weight: 700; }
.site-r .body { padding: 1.1em 2.2em 1.6em; display: grid; gap: 0.9em; }
.site-r .r-line { padding: 0; font-size: 0.85em; }
.site-r .tabs { display: flex; gap: 0.4em; }
.site-r .tabs span { border: 1px solid #d6d6d6; border-radius: 99em; padding: 0.3em 0.85em; font-size: 0.78em; font-weight: 700; background: var(--r-paper); }
.site-r .tabs span:first-child { background: var(--r-ink); color: #fff; border-color: var(--r-ink); }
.site-r .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.site-r .r-dish { padding: 0.6em; }
.site-r .r-dish .ph { width: 4.2em; height: 4.2em; }
.site-r .r-dish b { font-size: 0.92em; }
.site-r .r-dish small { font-size: 0.75em; }
.site-r .r-dish em { font-size: 0.88em; }

/* Laptop (our kitchen screen, in Cravings green) */
.laptop { width: 100%; font-size: clamp(0.62rem, 1.15vw, 0.9rem); }
.laptop .lid { background: #0d1a17; border-radius: 1.1em 1.1em 0 0; padding: 0.8em 0.8em 1em; }
.laptop .base { height: 0.9em; background: linear-gradient(#c9d1ce, #9fa9a5); border-radius: 0 0 1.2em 1.2em; margin: 0 -3%; }
.kitchen { display: grid; grid-template-columns: 9em minmax(0, 1fr); background: #f4f7f5; border-radius: 0.35em; overflow: hidden; font-size: 1em; min-height: 22em; color: #102320; }
.kitchen .side { background: var(--brand); color: #fff; padding: 1em 0.8em; display: grid; gap: 0.35em; align-content: start; }
.kitchen .side b { font: 800 1em/1 var(--display); margin-bottom: 0.6em; display: flex; gap: 0.4em; align-items: center; }
.kitchen .side b .mark { width: 1.3em; height: 1.3em; }
.kitchen .side span { font-size: 0.74em; padding: 0.35em 0.5em; border-radius: 0.4em; opacity: 0.85; }
.kitchen .side span.on { background: rgba(255, 255, 255, 0.16); opacity: 1; font-weight: 700; }
.kitchen .main { padding: 1em; display: grid; gap: 0.75em; align-content: start; }
.kitchen .top { display: flex; justify-content: space-between; align-items: center; }
.kitchen .top b { font: 800 1.15em/1 var(--display); }
.kitchen .top span { font-size: 0.7em; font-weight: 700; color: #1f8a3d; display: flex; gap: 0.35em; align-items: center; }
.kitchen .top span::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: #1f8a3d; }
.kitchen .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7em; }
.kitchen .col h4 { margin: 0 0 0.45em; font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.06em; color: #3d5550; }
.ticket { background: #fff; border-radius: 0.6em; padding: 0.6em 0.65em; display: grid; gap: 0.25em; border: 1px solid #dbe5e1; margin-bottom: 0.5em; font-size: 0.78em; }
.ticket.new { border: 2px solid var(--accent); }
.ticket .row { display: flex; justify-content: space-between; gap: 0.5em; }
.ticket b { font-size: 1em; }
.ticket small { color: #3d5550; font-size: 0.86em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket .tag { font-size: 0.78em; font-weight: 700; border-radius: 99em; padding: 0.1em 0.5em; background: #e7f0ec; color: #003329; white-space: nowrap; }
.ticket .go { margin-top: 0.25em; border-radius: 99em; text-align: center; font-weight: 700; font-size: 0.9em; padding: 0.35em; background: var(--accent); color: #fff; }
.ticket .go.alt { background: #fff; color: #003329; border: 1.5px solid #00483c; }
@media (max-width: 40rem) { .kitchen { grid-template-columns: minmax(0, 1fr); } .kitchen .side { display: none; } .kitchen .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kitchen .col:last-child { display: none; } }

/* Late additions */
[hidden] { display: none !important; }
.demo-grid h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); font-weight: 800; color: var(--brand-deep); max-width: 16ch; }
.demo-form { display: grid; gap: 1rem; }
.r-home .tabbar { margin-top: 0; }
@media (max-width: 30rem) {
  .site-header .wrap { gap: 0.75rem; }
  .header-actions { gap: 0.5rem; }
  .header-actions .button.small { font-size: 0.875rem; padding: 0.4rem 0.8rem; }
}
.kitchen .main { overflow: hidden; }
.kitchen .col, .ticket { min-width: 0; }
@media (max-width: 40rem) { .laptop { font-size: 0.8rem; } }
.r-home .bottom { grid-template-columns: minmax(0, 1fr); }
.r-home .bottom > * { min-width: 0; }
