@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --paper: #f6f4f1;
  --ink: #1d1a18;
  --ink-soft: #6a625c;
  --line: rgba(29, 26, 24, 0.14);
  --orange: #ea580c;      /* large headline text on white */
  --orange-btn: #cf4b0a;  /* buttons: white text at 4.5:1 */
  --orange-text: #c2410c; /* small text on white */
  --dark: #17110e;
  --dark-2: #221813;
  --on-dark: #f6f1ec;
  --on-dark-soft: #b9ada4;
  --orange-on-dark: #ff8a3d;
  --line-dark: rgba(255, 255, 255, 0.13);
  --gutter: clamp(20px, 5vw, 64px);
  --wide: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 "Inter", -apple-system, "SF Pro Text", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
section { padding-block: clamp(80px, 11vw, 156px); }

/* Type */
h1, h2 { font-weight: 680; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(38px, 5.6vw, 68px); }
.kicker { margin-bottom: 14px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; color: var(--orange-text); }
.lede { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.4; letter-spacing: -0.012em; color: var(--ink-soft); }
.wordmark { font-size: 24px; font-weight: 720; letter-spacing: -0.045em; color: var(--ink); }
.wordmark::after { content: "."; color: var(--orange); }
.wordmark.small { font-size: 18px; }

.btn { display: inline-block; padding: 14px 28px; border: 0; border-radius: 980px; background: var(--orange-btn); color: #fff; font: inherit; font-weight: 550; letter-spacing: -0.01em; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: #b8420a; }
.btn:disabled { opacity: 0.55; cursor: default; }
.link { color: var(--orange-text); font-size: clamp(17px, 1.5vw, 19px); letter-spacing: -0.01em; }
.link::after { content: " \203A"; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav ul { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--ink-soft); }
.nav li a:hover { color: var(--ink); }
.nav .nav-cta { padding: 7px 15px; border-radius: 980px; background: var(--orange-btn); color: #fff; font-weight: 550; }
.nav .nav-cta:hover { color: #fff; background: #b8420a; }

/* Hero */
.hero { overflow: hidden; padding-bottom: clamp(48px, 6vw, 88px); text-align: center;
  background: radial-gradient(50% 40% at 50% 100%, rgba(234, 88, 12, 0.14), transparent 75%), var(--white); }
.hero h1 { font-size: clamp(46px, 8vw, 104px); line-height: 1; }
.hero h1 span { color: var(--orange); }
.hero .lede { max-width: 660px; margin: 26px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; margin-top: 34px; }

/* Laptop and phone, sized with container units so they scale as one picture */
.lineup { position: relative; container-type: inline-size; width: min(1080px, calc(100% - 32px)); margin: clamp(44px, 6vw, 80px) auto 0; text-align: left; }
.laptop { width: 82cqw; margin-left: 4cqw; }
.laptop-lid { padding: 1.1cqw 1.1cqw 1.4cqw; background: #1b1b1d; border-radius: 1.6cqw 1.6cqw 0 0; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.18); }
.laptop-lid img { width: 100%; border-radius: 0.3cqw; }
.laptop-base { position: relative; height: 1.8cqw; margin-inline: -5cqw; background: linear-gradient(#e9e9ec, #b4b4ba 60%, #8a8a91); border-radius: 0.2cqw 0.2cqw 1.4cqw 1.4cqw; box-shadow: 0 2.4cqw 4cqw rgba(60, 30, 10, 0.22); }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 50%; width: 12cqw; height: 0.6cqw; margin-left: -6cqw; background: #a2a2a8; border-radius: 0 0 0.8cqw 0.8cqw; }
/* Corners kept small so the phone's status bar (time, signal, battery) isn't clipped. */
.phone { width: 19cqw; padding: 0.6cqw; background: #1b1b1d; border-radius: 1.6cqw; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.22), 0 2.4cqw 4.5cqw rgba(60, 30, 10, 0.28); }
.phone-screen { overflow: hidden; aspect-ratio: 390 / 800; border-radius: 1cqw; background: var(--paper); }
.phone-screen img, .phone-screen video { display: block; width: 100%; height: auto; }
.lineup .phone { position: absolute; right: 2cqw; bottom: -1cqw; }
.lineup figcaption { margin-top: clamp(28px, 4vw, 44px); text-align: center; font-size: 14px; color: var(--ink-soft); }

/* Statement */
.statement { background: var(--paper); }
.statement p, .origin p { max-width: 1040px; font-size: clamp(28px, 4.2vw, 52px); font-weight: 620; line-height: 1.14; letter-spacing: -0.03em; }
.statement em, .origin em { font-style: normal; color: #a39890; }

/* Restaurant app (dark) */
.restaurant { color: var(--on-dark); background: radial-gradient(55% 60% at 85% 30%, rgba(234, 88, 12, 0.28), transparent 72%), var(--dark); }
.restaurant .kicker { color: var(--orange-on-dark); }
.restaurant .lede { margin-top: 24px; color: var(--on-dark-soft); }
.restaurant-grid, .more-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.phone-solo { container-type: inline-size; width: min(340px, 100%); justify-self: center; padding: 8px; border-radius: 26px; }
.phone-solo .phone-screen { border-radius: 18px; }
.restaurant .phone-solo { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), 0 30px 70px rgba(0, 0, 0, 0.55); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.specs div { padding-top: 20px; border-top: 1px solid var(--line-dark); }
.specs dt { font-size: 19px; font-weight: 620; letter-spacing: -0.015em; }
.specs dd { margin-top: 6px; color: var(--on-dark-soft); }

/* Switching over */
.lede-note { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.split h2 { max-width: 520px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px clamp(24px, 3vw, 44px); margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line); }
.steps li::before { content: "Step " counter(step); display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--orange-text); }
.steps h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; }
.steps p { margin-top: 10px; font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); }

/* Bookings, deals and loyalty */
.more { background: var(--paper); }
.more .lede { margin-top: 22px; max-width: 520px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.trio > div { padding-top: 22px; border-top: 1px solid var(--line); }
.trio h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; }
.trio p { margin-top: 10px; font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); }

/* Origin */
.origin { padding-block: clamp(80px, 10vw, 140px); }

/* Contact (dark) */
.contact { color: var(--on-dark); background: radial-gradient(55% 70% at 6% 95%, rgba(234, 88, 12, 0.22), transparent 72%), var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 120px); }
.contact .lede { margin-top: 22px; color: var(--on-dark-soft); }
.contact-note { margin-top: 28px; font-size: 15px; color: var(--on-dark-soft); }
.contact-note a { color: var(--orange-on-dark); }
.form label { display: block; margin-bottom: 22px; font-size: 14px; color: var(--on-dark-soft); }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 4px; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 18px; }
.form select { -webkit-appearance: none; appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b9ada4' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right 4px center no-repeat; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-bottom-color: var(--orange-on-dark); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; font-size: 15px; color: #ffb0a0; }
.form-msg.ok { color: #9be0b4; }

/* Footer */
.foot { padding-block: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.foot a:hover { color: var(--ink); }

/* Plain pages: thank you, privacy, 404 */
.simple { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 88px; }
.simple .wordmark { display: inline-block; margin-bottom: 56px; }
.simple h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 20px; }
.simple h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; margin: 36px 0 8px; }
.simple p { margin-bottom: 14px; color: var(--ink-soft); }
.simple p a:not(.btn) { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
.simple .btn { margin-top: 12px; }
.muted { color: var(--ink-soft); }

/* Navigation: current page */
.nav li a[aria-current="page"] { color: var(--ink); font-weight: 550; }

/* Android screenshots are 9:16 */
.phone-screen.android { aspect-ratio: 9 / 16; }

/* Tablet frame (landscape), used with .lineup in place of the laptop */
.tablet { width: 80cqw; margin-left: 4cqw; padding: 1.3cqw; background: #1b1b1d; border-radius: 2.4cqw; box-shadow: inset 0 0 0 0.12cqw rgba(255, 255, 255, 0.18), 0 2.4cqw 4.5cqw rgba(60, 30, 10, 0.22); }
.tablet img { width: 100%; border-radius: 1cqw; }
.lineup.with-tablet .phone { bottom: -3cqw; }
.hero.green { background: radial-gradient(50% 40% at 50% 100%, rgba(22, 101, 52, 0.14), transparent 75%), var(--white); }
.hero.green h1 span { color: #15803d; }

/* Smaller page heroes */
.hero.page h1 { font-size: clamp(42px, 6.6vw, 84px); }

/* Two products on the home page */
.product-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.product-grid.flip > :first-child { order: 2; }
.product .lede { margin-top: 24px; }
.product .link { display: inline-block; margin-top: 26px; }
.restaurant .link { color: var(--orange-on-dark); }
.price-line { margin-top: 18px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.restaurant .price-line { color: var(--on-dark); }

/* Prices */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); margin-top: clamp(44px, 5vw, 72px); }
.plan { display: flex; flex-direction: column; padding-top: 26px; border-top: 2px solid var(--ink); }
.plan h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; }
.plan .amount { margin-top: 14px; font-size: clamp(44px, 5vw, 64px); font-weight: 680; letter-spacing: -0.04em; line-height: 1; }
.plan .amount small { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); }
.plan ul { margin-top: 22px; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.plan li:first-child { border-top: 0; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plans.three { grid-template-columns: repeat(3, 1fr); }
.plan-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #fdf3ec; color: var(--orange-text); font-size: 13px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.plans-table { min-width: 560px; }
.plans-table thead th:not(:first-child), .plans-table td { width: 140px; text-align: center; }
.plans-table tbody th { white-space: normal; font-weight: 500; }
.plan ul { margin-bottom: 26px; }
.prices-note { margin-top: 36px; font-size: 15px; color: var(--ink-soft); }
.prices-note a, .compare-note a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 980px; background: #fdeee4; color: var(--orange-text); font-size: 13px; font-weight: 600; vertical-align: 2px; white-space: nowrap; }
.restaurant .tag { background: rgba(255, 138, 61, 0.16); color: var(--orange-on-dark); }

/* Questions */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.faq div { padding: 22px 0 26px; border-top: 1px solid var(--line); }
.faq dt { font-size: 19px; font-weight: 620; letter-spacing: -0.015em; }
.faq dd { margin-top: 8px; color: var(--ink-soft); }

/* Call to action band at the foot of product pages */
.cta { text-align: center; color: var(--on-dark); background: radial-gradient(55% 70% at 50% 100%, rgba(234, 88, 12, 0.24), transparent 72%), var(--dark); }
.cta .lede { max-width: 620px; margin: 22px auto 0; color: var(--on-dark-soft); }
.cta .hero-actions .link { color: var(--orange-on-dark); }

.fine { padding-block: 32px; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: clamp(36px, 4vw, 56px); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.compare tbody th { font-weight: 620; letter-spacing: -0.01em; white-space: nowrap; }
.compare tr.ours th, .compare tr.ours td { font-weight: 620; color: var(--ink); }
.compare tr.ours { background: #fdf3ec; }
.compare tr.ours th { padding-left: 12px; }
.compare td { color: var(--ink-soft); }
.compare-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(28px, 4vw, 56px); margin-top: clamp(36px, 4vw, 56px); }
.facts li { padding-top: 18px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; gap: 18px; } }
.sources {margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.sources a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }

/* One order seen from three phones (ordering page) */
#in-action .lede, #prep .lede { max-width: 780px; margin-top: 18px; }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 72px); }
.journey.pair { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.journey figure { min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; }
.journey .phone-solo { width: min(300px, 100%); box-shadow: 0 24px 50px rgba(60, 30, 10, 0.22); background: #1b1b1d; }
.journey figcaption { max-width: 320px; margin-top: 24px; text-align: center; }
.journey h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; }
.journey p { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Phone menu: the links fold behind a button (nav.js). Without JavaScript only "Get in touch" shows. */
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav li:not(:last-child) { display: none; }
  .nav.has-menu .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav.open .nav-toggle span { background: transparent; }
  .nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
  .nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }
  .nav.has-menu ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(29, 26, 24, 0.12); font-size: 17px; color: var(--ink); }
  .nav.has-menu.open ul { display: flex; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.has-menu li:not(:last-child) { display: block; }
  .nav.has-menu li a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav.has-menu li:last-child a.nav-cta { display: block; margin-top: 18px; padding: 13px; border: 0; text-align: center; }
  .restaurant-grid, .more-grid, .split, .contact-grid, .specs, .trio, .product-grid, .plans, .plans.three, .faq { grid-template-columns: 1fr; }
  .product-grid.flip > :first-child { order: 0; }
  .specs div { padding-block: 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .phone-solo { width: min(280px, 78%); }
  .journey, .journey.pair { grid-template-columns: 1fr; gap: 56px; }
  .journey .phone-solo { width: min(280px, 78%); }
}
@media (max-width: 560px) {
  .laptop { width: 94cqw; margin-left: 3cqw; }
  .lineup .phone { width: 30cqw; right: -1cqw; bottom: -6cqw; }
  .steps { grid-template-columns: 1fr; }
}

/* Home page: every part of each product, side by side. */
.product-intro { max-width: 760px; }
.journey.quad { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.journey.mixed { grid-template-columns: 1fr 2.1fr 1fr; align-items: start; }
.tablet { width: 100%; padding: 10px; background: #1b1b1d; border-radius: 22px; box-shadow: 0 24px 50px rgba(60, 30, 10, 0.22); }
.tablet-screen { overflow: hidden; aspect-ratio: 8 / 5; border-radius: 12px; background: var(--paper); }
.tablet-screen.app { aspect-ratio: 4 / 3; }
.tablet-screen video { display: block; width: 100%; height: auto; }
.restaurant .journey p { color: var(--on-dark-soft); }
.restaurant .journey .phone-solo, .restaurant .tablet { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2), 0 30px 70px rgba(0, 0, 0, 0.55); }
@media (max-width: 1000px) {
  .journey.quad { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}
@media (max-width: 820px) {
  .journey.mixed { grid-template-columns: 1fr; }
  .journey.mixed .tablet { max-width: 560px; }
  .journey.quad .phone-solo { width: min(260px, 100%); }
}

/* Play buttons: recordings only play when asked. */
.phone-screen, .tablet-screen { position: relative; }
.vplay { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.vplay span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(20, 16, 14, 0.66); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); transition: transform 0.2s, background 0.2s; }
.vplay span::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.vplay:hover span, .vplay:focus-visible span { transform: scale(1.08); background: var(--orange-btn); }
.is-playing > .vplay { opacity: 0; }
.play-hint { margin-top: clamp(32px, 4vw, 48px); font-size: 15px; color: var(--ink-soft); }
.play-hint + .journey { margin-top: 20px; }
.restaurant .play-hint { color: var(--on-dark-soft); }

/* The order story: one order, step by step, across the three devices. */
.story { margin-top: clamp(40px, 5vw, 72px); }
.story-stage { position: relative; display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.story-device { min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; transition: opacity 0.35s, transform 0.35s; }
.story-device .phone-solo { width: min(300px, 100%); background: #1b1b1d; }
.story-device figcaption { margin-top: 16px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.story.is-playing .story-device { opacity: 0.32; }
.story.is-playing .story-device.is-active { opacity: 1; transform: translateY(-6px); }
.story-play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px 16px 22px; border: 0; border-radius: 999px; background: var(--orange-btn); color: #fff; font: inherit; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.story-play .icon { border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.story-play:hover, .story-play:focus-visible { filter: brightness(1.08); }
.story-play[hidden] { display: none; }
.story-steps { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); }
.story-steps button { width: 100%; height: 100%; padding: 14px 0 0; border: 0; border-top: 3px solid var(--line); background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1.45; text-align: left; cursor: pointer; opacity: 0.75; transition: opacity 0.25s, border-color 0.25s; }
.restaurant .story-steps button { border-top-color: var(--line-dark); }
.story-steps .n { display: block; margin-bottom: 6px; font-weight: 700; color: var(--orange-text); }
.restaurant .story-steps .n { color: var(--orange-on-dark); }
.story-steps button:hover, .story-steps button.is-done { opacity: 1; }
.story-steps button.is-active { opacity: 1; border-top-color: var(--orange); }
@media (max-width: 820px) {
  .story-stage { grid-template-columns: 1fr; justify-items: center; }
  .story-device { width: 100%; }
  .story-device .phone-solo { width: min(270px, 74%); }
  .story-device:not(.is-active) { display: none; }
  .story-device .tablet { max-width: 560px; }
  .story-play { top: 42%; }
  .story-steps { grid-template-columns: 1fr; gap: 6px; }
  .story-steps button { display: grid; grid-template-columns: 28px 1fr; padding: 12px 0; border-top-width: 2px; }
  .story-steps .n { margin: 0; }
}

/* A single recording in a grid, wrapped in a figure so hovering anywhere on it plays it. */
.solo-clip { margin: 0; justify-self: center; width: min(340px, 100%); }
.solo-clip .phone-solo { width: 100%; }

/* --- Try it: build your own ordering page ---------------------------------- */
.try-head { padding-block: clamp(64px, 8vw, 110px) clamp(24px, 3vw, 40px); }
.try-head .lede { max-width: 760px; margin-top: 20px; }
.try-body { padding-block: 0 clamp(64px, 8vw, 110px); }
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.builder fieldset { margin: 0 0 22px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.builder legend { padding: 0 6px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.builder label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }
.builder input[type=text], .builder input:not([type]) { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.builder input[type=text]:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.builder .hint { margin: -4px 0 14px; font-size: 14px; color: var(--ink-soft); }
.colour-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.colour-row .colour-pick { display: flex; align-items: center; gap: 10px; margin: 0; }
.colour-pick input { width: 44px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; cursor: pointer; }
.swatches { display: flex; gap: 8px; }
.swatches button { width: 28px; height: 28px; border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.logo-row { display: flex; align-items: center; gap: 14px; }
.logo-preview { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.file-btn { position: relative; display: inline-block; margin: 0 !important; padding: 9px 16px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink) !important; font-size: 15px !important; cursor: pointer; }
.file-btn input, .item-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.link-btn { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--orange-text); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.cat { padding: 14px 0 12px; border-top: 1px solid var(--line); }
.cat:first-child { border-top: 0; padding-top: 0; }
.cat-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cat-head .cat-name { flex: 1; margin: 0; font-weight: 650; }
.item-edit { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.item-photo { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 !important; overflow: hidden; border: 1px dashed var(--line); border-radius: 12px; font-size: 12px !important; cursor: pointer; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-fields input { margin: 0 0 6px !important; }
.item-line { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; }
.item-line .price { text-align: right; }
.item-tools { display: flex; gap: 16px; }
.allergen-pick summary { font-size: 14px; color: var(--ink-soft); cursor: pointer; padding: 2px 0; }
/* Try it: opening and contact. */
.field-note { margin: -8px 0 14px; font-size: 14px; color: #b42318; }
.field-note.ok { color: var(--ink-soft); }
.field-note a { color: var(--orange-text); }
.order-ways { display: flex; gap: 20px; margin-bottom: 10px; }
.order-ways label, .hours-closed { margin: 0; color: var(--ink); }
.hours-title { margin: 6px 0 6px; font-size: 14px; color: var(--ink-soft); }
.hours-grid { display: grid; gap: 6px; margin-bottom: 8px; }
.hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hours-day { width: 96px; font-size: 15px; color: var(--ink); }
.hours-times { display: flex; align-items: center; gap: 6px; }
.hours-times input { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); }
.hours-row.closed .hours-times { opacity: .4; }
.hours-to { font-size: 14px; color: var(--ink-soft); }
.hours-closed { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.order-ways label { display: inline-flex; align-items: center; gap: 6px; }
.allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 2px 10px; padding: 8px 0; }
.allergen-grid label { margin: 0; font-size: 14px; color: var(--ink); }
.builder-actions { display: flex; gap: 12px; justify-content: space-between; }
.try-skip { margin-top: 18px; max-width: 640px; color: var(--ink-soft); }
/* Phones: the photo, name and price on one line, everything else full width under them. */
@media (max-width: 560px) {
  .builder fieldset { padding: 16px 14px; }
  .item-edit { grid-template-columns: 56px minmax(0, 1fr) 72px; gap: 8px; align-items: center;
    grid-template-areas: "photo name price" "desc desc desc" "allergens allergens allergens" "tools tools tools";
    padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .item-fields, .item-line { display: contents; }
  .item-photo { grid-area: photo; width: 56px; height: 56px; }
  .item-fields input { margin: 0 !important; }
  .item-line input:first-child { grid-area: name; }
  .item-line .price { grid-area: price; }
  .item-fields > input { grid-area: desc; }
  .allergen-pick { grid-area: allergens; }
  .item-tools { grid-area: tools; white-space: nowrap; }
  .allergen-grid { grid-template-columns: 1fr 1fr; }
  .builder-actions { flex-direction: column-reverse; }
  .builder-actions .btn { text-align: center; }
}
.btn-ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--paper); }
.preview { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.device-switch { display: inline-flex; padding: 4px; border-radius: 980px; background: var(--paper); }
.device-switch button { padding: 8px 18px; border: 0; border-radius: 980px; background: none; font: inherit; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
.device-switch button[aria-pressed=true] { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.device-frame { background: #1b1b1d; box-shadow: 0 24px 50px rgba(60, 30, 10, 0.22); }
.device-frame.phone { padding: 10px; border-radius: 40px; }
.device-frame.tablet { padding: 14px; border-radius: 26px; }
.device-frame.desktop { padding: 28px 6px 6px; border-radius: 12px; position: relative; }
.device-frame.desktop::before { content: ""; position: absolute; top: 10px; left: 12px; width: 44px; height: 9px; background: radial-gradient(circle, #5b5b5f 3.5px, transparent 4px) 0 0 / 15px 9px repeat-x; }
.device-screen { overflow: hidden; border-radius: 30px; background: #fff; }
.device-frame.tablet .device-screen { border-radius: 14px; }
.device-frame.desktop .device-screen { border-radius: 4px; }
.device-screen iframe { display: block; border: 0; transform-origin: 0 0; background: #fff; }
.preview-note { max-width: 420px; font-size: 14px; text-align: center; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .try-grid { grid-template-columns: 1fr; }
  .preview { position: static; order: -1; }
}
.logo-preview[hidden] { display: none; }

/* Home hero: dark band, words on the left, the real screens on the right */
.hero.home { text-align: left; color: var(--on-dark); padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 112px);
  background: radial-gradient(42% 60% at 76% 58%, rgba(234, 88, 12, 0.34), transparent 72%), radial-gradient(38% 46% at 8% 0%, rgba(234, 88, 12, 0.12), transparent 70%), var(--dark); }
.hero.home .kicker { color: var(--orange-on-dark); }
.hero.home h1 { font-size: clamp(42px, 4.3vw, 66px); color: #fff; }
.hero.home h1 span { color: var(--orange-on-dark); }
.hero.home .lede { max-width: 520px; margin: 24px 0 0; color: var(--on-dark-soft); }
.hero.home .hero-actions { justify-content: flex-start; }
.hero.home .link { color: var(--orange-on-dark); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3vw, 40px); margin: clamp(32px, 4vw, 44px) 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-soft); }
.proof strong { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.home-devices { margin: 0; container-type: inline-size; }
.hd-stage { position: relative; aspect-ratio: 1 / 0.88; }
.home-devices .tablet { position: absolute; top: 0; left: 9cqw; width: 82cqw; padding: 1.3cqw; border-radius: 2.6cqw; box-shadow: inset 0 0 0 0.15cqw rgba(255, 255, 255, 0.2), 0 3cqw 7cqw rgba(0, 0, 0, 0.5); }
.home-devices .tablet img { border-radius: 1.2cqw; }
.home-devices .phone { position: absolute; padding: 0.8cqw; border-radius: 3.2cqw; box-shadow: inset 0 0 0 0.15cqw rgba(255, 255, 255, 0.24), 0 3cqw 6cqw rgba(0, 0, 0, 0.55); }
.home-devices .phone-screen { border-radius: 2.4cqw; }
.hd-menu { left: 0; top: 30cqw; width: 27cqw; }
.hd-track { right: 0; top: 38cqw; width: 24cqw; }
.home-devices figcaption { margin-top: clamp(20px, 3vw, 32px); font-size: 13px; color: var(--on-dark-soft); text-align: right; }
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-devices { width: min(560px, 100%); margin-inline: auto; }
  .home-devices figcaption { text-align: center; }
}

/* Food safety: the SFBB pack checklist and the sample inspection pack */
.pack-key { margin-top: 20px; font-size: 17px; }
.pack-tick { color: #15803d; font-weight: 700; }
.pack-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.pack-section h3 { margin-bottom: 14px; font-size: clamp(22px, 2vw, 26px); font-weight: 650; letter-spacing: -0.025em; }
.pack-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.pack-table th, .pack-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.pack-table thead th { padding-top: 0; border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pack-table thead th:first-child, .pack-table tbody th { padding-left: 26px; }
.pack-table tbody th { position: relative; width: 42%; font-weight: 600; }
.pack-table tbody th::before { content: "\2713"; position: absolute; left: 0; color: #15803d; font-weight: 700; }
.pack-table td { color: var(--ink-soft); }
.pack-sample { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.pack-sample .lede { max-width: none; }
.hero-actions.left { justify-content: flex-start; }
.pack-size { font-size: 14px; color: var(--ink-soft); }
.pack-pages { position: relative; display: block; aspect-ratio: 1 / 1.08; }
.pack-pages img { position: absolute; width: 64%; border-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 22px 50px rgba(60, 30, 10, 0.2); transition: transform 0.25s; }
.pack-pages img:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.pack-pages img:last-child { right: 0; bottom: 0; transform: rotate(2.5deg); }
.pack-pages:hover img:first-child { transform: rotate(-4deg) translateX(-6px); }
.pack-pages:hover img:last-child { transform: rotate(3.5deg) translateX(6px); }
.covers-link { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.covers-link h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; letter-spacing: -0.025em; }
.covers-link p { margin-top: 6px; color: var(--ink-soft); }
.covers-link .hero-actions { margin-top: 0; }
@media (max-width: 900px) {
  .pack-sections, .pack-sample { grid-template-columns: 1fr; }
  .pack-pages { max-width: 520px; }
}
@media (max-width: 560px) {
  .pack-table thead { display: none; }
  .pack-table tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .pack-table th, .pack-table td, .pack-table tbody th { display: block; width: auto; padding: 0 0 0 26px; border: 0; }
  .pack-table td { margin-top: 2px; }
}

/* The live demo (/demo): three real screens of the visitor's own demo restaurant. */
.live-start { margin-top: 32px; }
.live-small { max-width: 620px; margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.live-msg { margin-top: 14px; font-size: 16px; font-weight: 550; color: #b91c1c; }
.live-body { padding-block: 0 clamp(48px, 6vw, 80px); }
.live-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.live-steps li { padding-top: 12px; border-top: 3px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.live-steps li b { color: var(--ink); font-weight: 600; }
.live-steps .n { display: block; margin-bottom: 4px; font-weight: 700; color: var(--orange-text); }
.live-tabs { display: none; }
.live-stage { display: grid; grid-template-columns: 1fr 2.3fr 1fr; gap: 20px; align-items: start; }
.live-device { min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; }
.live-device .device-frame { margin: 0; } /* not the home page's .tablet / .phone offsets */
.live-device figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; }
.live-foot { margin-top: 24px; font-size: 15px; color: var(--ink-soft); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.live-join { padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.live-join .lede { margin-block: 14px 24px; max-width: 680px; }
.live-join .link { margin-left: 18px; }
@media (max-width: 1099px) {
  .live-steps { grid-template-columns: 1fr; gap: 0; }
  .live-steps li { display: grid; grid-template-columns: 26px 1fr; padding: 10px 0; border-top-width: 1px; }
  .live-steps .n { margin: 0; }
  .live-tabs { display: inline-flex; margin-bottom: 18px; padding: 4px; border-radius: 980px; background: var(--paper); }
  .live-tabs button { padding: 8px 18px; border: 0; border-radius: 980px; background: none; font: inherit; font-size: 15px; color: var(--ink-soft); cursor: pointer; }
  .live-tabs button[aria-selected=true] { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
  .live-stage { grid-template-columns: 1fr; }
  .live-device:not(.is-shown) { display: none; }
}

/* WhatsApp button (nav.js): bottom right, every page. Rounded, never a pill. */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 10px; background: #1f7a4d; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.wa-float:hover, .wa-float:focus-visible { background: #17633e; color: #fff; }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 600px) { .wa-float { padding: 13px; } .wa-float span { display: none; } }
@media print { .wa-float { display: none; } }
/* Getting-started guide: real bullets and visible links in its lists. */
.guide ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; color: var(--ink-soft); }
.guide li { margin-bottom: 8px; }
.guide li a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
/* Room under the footer so the WhatsApp button never covers its last line on a phone. */
@media (max-width: 600px) { .foot { padding-bottom: 88px; } }
