/* FoodTab — site.css
 * One light, quiet system in the manner of Apple product pages, Notion and
 * SumUp: white and warm paper, near-black ink, hairlines, generous space and a
 * single typeface. FoodTab red is the only accent. The till film and the bag
 * insert sit in framed media on the warm paper chapter.
 *
 * demo.css is written in @layer blocks, so every rule here (unlayered) wins
 * over it without !important. Selectors are scoped so nothing leaks into the
 * film's own UI. */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The storefront's own faces, used only inside the hero phone so the shop
   page reads exactly like a real FoodTab storefront. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-latin.woff2") format("woff2"); }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --paper-3: #eeede8;
  --ink: #0f0f0e;
  --ink-2: #4b4a47;      /* 8.1:1 on paper-2 */
  --ink-3: #6b6a66;      /* 5.0:1 on paper-2, 5.4:1 on white */
  --line: #e6e4df;
  --line-2: #d3d1cb;
  --red: #e23d33;        /* brand: wordmark, large figures */
  --red-ink: #d1342b;    /* red text and buttons: 4.96:1 with white */
  --red-deep: #b92f28;
  --red-soft: #fdeceb;
  --green: #15803d;
  --green-soft: #e3f4e8;

  --night: #0c0c0d;
  --night-2: #161617;
  --n-ink: #f5f4f1;
  --n-ink-2: #a3a29d;    /* 7.6:1 on night */
  --n-line: rgba(255, 255, 255, 0.1);

  --f: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist", ui-monospace, monospace;

  --t-display: clamp(2.75rem, 5.9vw, 5rem);
  --t-h2: clamp(2.125rem, 4.4vw, 3.75rem);
  --t-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --t-lede: clamp(1.125rem, 1.5vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-micro: 0.8125rem;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(88px, 11vw, 152px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-1: 0 1px 2px rgba(15, 15, 14, 0.06), 0 4px 12px rgba(15, 15, 14, 0.05);
  --sh-2: 0 2px 4px rgba(15, 15, 14, 0.05), 0 18px 40px -12px rgba(15, 15, 14, 0.18);
  --sh-3: 0 4px 10px rgba(15, 15, 14, 0.06), 0 40px 80px -24px rgba(15, 15, 14, 0.28);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 64px;
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--line-2) transparent;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Element resets stay out of the film: demo.css is layered, and any unlayered
   rule would beat it whatever its specificity (this once squashed the Live map). */
:where(img, svg, video):where(:not(#system *)) { display: block; max-width: 100%; }
:where(img):where(:not(#system *)) { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: rgba(226, 61, 51, 0.18); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.book :focus-visible, .calc__out :focus-visible { outline-color: var(--n-ink); }
.book .formcard :focus-visible { outline-color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.sec { padding-block: var(--sec); position: relative; }
.sec--paper { background: var(--paper-2); }

/* ── Type ───────────────────────────────────────────────────────────────── */
.display {
  margin: 0;
  font-size: var(--t-display);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.display span { display: block; }
.display em { font-style: normal; color: var(--red-ink); }
.h2 {
  margin: 0;
  font-size: var(--t-h2);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 span { color: var(--ink-3); display: block; }
.h2--one span { color: inherit; }
.h3 {
  margin: 0;
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: var(--t-lede);
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--ink-2);
  text-wrap: pretty;
}
.sec-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--c { margin-inline: auto; text-align: center; }
.sec-head--c .lede { margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.note { margin: 16px 0 0; font-size: var(--t-small); line-height: 1.5; color: var(--ink-3); }

/* ── Controls ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--red-ink); color: #fff; box-shadow: 0 1px 2px rgba(15, 15, 14, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--red-deep); }
  .btn--dark:hover { background: #2a2a28; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-3); background: rgba(15, 15, 14, 0.03); }
}
.link {
  color: var(--ink); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-decoration-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}
.nav[data-stuck] { box-shadow: 0 1px 0 var(--line); }
/* Over the dark chapter and the booking band the bar turns dark with them. */
.nav[data-tone="dark"] { background: rgba(20, 20, 21, 0.74); box-shadow: 0 1px 0 var(--n-line); }
.nav[data-tone="dark"] .mark, .nav[data-tone="dark"] .nav__menu { color: var(--n-ink); }
.nav[data-tone="dark"] .nav__links a { color: var(--n-ink-2); }
.nav[data-tone="dark"] .nav__in :focus-visible { outline-color: var(--n-ink); }
@media (hover: hover) and (pointer: fine) { .nav[data-tone="dark"] .nav__links a:hover { color: var(--n-ink); background: rgba(255, 255, 255, 0.08); } }
.nav .mark, .nav__links a, .nav__menu { transition: color 240ms var(--ease), background-color 160ms var(--ease); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.mark { font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.035em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.mark span { color: var(--red); }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 999px; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); background: rgba(15, 15, 14, 0.05); } }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__menu {
  display: none; min-height: 44px; min-width: 44px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem;
}
.nav__menu svg { width: 22px; height: 22px; }
.nav__panel {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(15, 15, 14, 0.25);
  padding: 8px max(var(--gutter), env(safe-area-inset-left)) 20px;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  transform-origin: top;
  animation: nav-panel-in 220ms var(--ease);
}
.nav__panel a:not(.btn) {
  display: flex; align-items: center; min-height: 52px;
  font-size: 1.125rem; font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__panel .btn { width: 100%; margin-top: 16px; }
@keyframes nav-panel-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav .btn--sm { min-height: 44px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(36px, 4.6vw, 64px) 0 0;
  overflow: clip;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(226, 61, 51, 0.07), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, var(--paper-2) 100%);
}
.hero__copy { text-align: center; }
.hero__copy .display { max-width: 22ch; margin-inline: auto; }
.hero__copy .lede { margin: 22px auto 0; max-width: 58ch; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 480px) { .hero__cta { flex-direction: column; align-items: center; } .hero__cta .btn { width: 100%; max-width: 320px; } }

/* The product scene: the shop's own ordering page, the AI phone and the till
   ticket, assembled once on arrival. */
.scene {
  position: relative;
  margin: clamp(36px, 4vw, 48px) auto 0;
  max-width: 1080px;
  --ph-h: 612px;
  height: calc(var(--ph-h) + 56px);
}
.scene__label {
  position: absolute; left: 50%; top: calc(var(--ph-h) + 22px); transform: translateX(-50%);
  margin: 0; font-size: var(--t-micro); color: var(--ink-3); white-space: nowrap;
}

.hph {
  position: absolute; left: 50%; top: 0;
  width: 300px; height: var(--ph-h);
  margin-left: -150px;
  border-radius: 52px;
  background: #1b1b1c;
  padding: 11px;
  box-shadow: var(--sh-3), inset 0 0 0 1.5px #3a3a3c, inset 0 0 0 4px #0d0d0e;
}
.hph__screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 42px; background: var(--paper);
  display: flex; flex-direction: column;
}
.hph__island { position: absolute; left: 50%; top: 9px; width: 84px; height: 25px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 3; }
.hph__status { flex: none; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; padding: 6px 22px 0 24px; height: 44px; font-size: 13px; font-weight: 600; }
.hph__status svg { width: 54px; height: 12px; }

/* The shop's own ordering page, laid out like the live FoodTab storefront:
   brand bar, banner with an overlapping info card, category pills, menu rows
   with the photo on the right and the basket bar. Harbour Grill is an example
   shop in its own brand colour, as every real shop has. */
.sf {
  --b: #1f3b5c; --b-soft: #e8edf3;
  --s-ink: #1c1c1c; --s-ink-2: #55554f; --s-ink-3: #71716a; --s-line: #e4e4e1; --s-line-2: #c9c9c4; --s-ok: #1a7f4b;
  font-family: "Figtree", var(--f); color: var(--s-ink);
}
.sf svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sf .hph__status { position: relative; z-index: 2; background: var(--paper); font-family: var(--f); }
.sf .hph__status svg { fill: currentColor; stroke: none; }
.sf .hph__status svg rect[fill="none"] { fill: none; stroke: currentColor; stroke-width: 1; }
.sf__bar { flex: none; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; background: var(--paper); position: relative; z-index: 2; }
.sf__logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--b); color: #fff; font-family: "Bricolage Grotesque", var(--f); font-size: 13px; font-weight: 700; letter-spacing: -0.02em; }
.sf__bar > b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Bricolage Grotesque", var(--f); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.sf__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #edf7f1; color: var(--s-ok); font-size: 11px; font-weight: 600; }
.sf__pill i, .sf__state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sf__menu { width: 18px; height: 18px; flex: none; }
.sf__banner { position: relative; height: 104px; flex: none; overflow: hidden; }
.sf__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sf__ex { position: absolute; right: 10px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--s-ink); font-size: 10px; font-weight: 600; }
.sf__card {
  position: relative; z-index: 1; margin: -30px 10px 0; padding: 12px 14px 12px;
  display: grid; gap: 3px; border-radius: 16px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(15, 15, 14, 0.06), 0 8px 24px -10px rgba(15, 15, 14, 0.22);
}
.sf__name { font-family: "Bricolage Grotesque", var(--f); font-size: 20px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.sf__addr { font-size: 11.5px; color: var(--s-ink-2); }
.sf__state { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--s-ink-2); }
.sf__state i { color: var(--s-ok); }
.sf__state b { color: var(--s-ink); font-weight: 600; }
.sf__meta { display: flex; gap: 12px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--s-line); font-size: 11px; color: var(--s-ink-2); }
.sf__meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sf__meta svg { width: 13px; height: 13px; }
.sf__tabs { display: flex; align-items: center; gap: 6px; padding: 12px 10px 4px; overflow: hidden; flex: none; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.sf__tabs span { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--s-ink-2); }
.sf__tabs .is-on { background: var(--b); color: #fff; font-weight: 600; }
.sf__search { width: 28px; height: 28px; padding: 0 !important; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--s-line-2); }
.sf__search svg { width: 13px; height: 13px; }
.sf__sec { margin: 8px 14px 2px; font-family: "Bricolage Grotesque", var(--f); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.sf__list { list-style: none; margin: 0; padding: 0; }
.sf__item { display: flex; gap: 10px; align-items: stretch; padding: 9px 14px 9px; border-bottom: 1px solid var(--s-line); }
.sf__item > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sf__item b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.sf__item small { margin-top: 2px; font-size: 10.5px; line-height: 1.35; color: var(--s-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf__item em { margin-top: auto; padding-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sf__pic { position: relative; width: 66px; height: 66px; flex: none; }
.sf__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.sf__add {
  position: absolute; right: -5px; bottom: -5px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 500; line-height: 1;
  background: var(--paper); color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-line-2), 0 1px 3px rgba(15, 15, 14, 0.15);
}
.sf__item[data-in] .sf__add { background: var(--b); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 1px 3px rgba(15, 15, 14, 0.2); }
.sf__basket {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  margin: 0; padding: 8px 10px 16px; background: var(--paper); border-top: 1px solid var(--s-line);
  display: flex; justify-content: space-between; align-items: center;
}
.sf__basket::before { content: ""; position: absolute; inset: 8px 10px 16px; border-radius: 14px; background: var(--b); z-index: -1; }
.sf__basket span, .sf__basket b { position: relative; color: #fff; font-size: 13px; font-weight: 600; }
.sf__basket span { display: inline-flex; align-items: center; gap: 7px; padding: 12px 0 12px 14px; }
.sf__basket span svg { width: 15px; height: 15px; }
.sf__basket small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.sf__basket b { padding-right: 14px; font-variant-numeric: tabular-nums; }

.float {
  position: absolute;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--sh-2), 0 0 0 1px rgba(15, 15, 14, 0.04);
}
.float--call { left: 0; top: 96px; width: 320px; padding: 18px; }
.float--ticket { right: 0; top: 40px; width: 270px; background: none; box-shadow: none; border-radius: 0; font-family: var(--f-mono); filter: drop-shadow(0 18px 28px rgba(15, 15, 14, 0.14)) drop-shadow(0 2px 4px rgba(15, 15, 14, 0.06)); }
.float--ticket .ticket { padding: 20px 20px 24px; border-radius: 6px 6px 0 0; }
.float--paid { right: 52px; top: 420px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; }
.float--reach { left: 64px; top: 380px; width: 260px; padding: 16px; }

.call__top { display: flex; align-items: center; gap: 12px; }
.call__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-ink); flex: none; }
.call__ic .ico { width: 20px; height: 20px; }
.call__top b { display: block; font-size: 14px; letter-spacing: -0.01em; }
.call__top small { display: block; font-size: 12px; color: var(--ink-3); }
.call__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.call__live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; margin: 14px 0 12px; }
.wave i { flex: 1; border-radius: 2px; background: var(--ink); opacity: 0.85; height: calc(var(--h) * 1%); transform-origin: center; }
.call__line { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.call__line b { color: var(--ink); font-weight: 600; }

.ticket {
  background: #fbfaf7;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.ticket__h { margin: 0; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.ticket__s { margin: 2px 0 12px; text-align: center; font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.7; }
.ticket__rule { border: 0; border-top: 1px dashed var(--line-2); margin: 10px 0; }
.ticket__tot { font-weight: 700; }
.ticket__paid { margin-top: 10px; padding: 6px 0; text-align: center; border: 1.5px solid var(--ink); border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }

.paid__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex: none; }
.paid__ic .ico { width: 18px; height: 18px; stroke-width: 2.25; }
.float--paid b { display: block; font-size: 14px; letter-spacing: -0.01em; }
.float--paid small { display: block; font-size: 12px; color: var(--ink-3); }

.reach__row { display: flex; align-items: center; gap: 10px; }
.reach__row + .reach__row { margin-top: 10px; }
.reach__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; }
.reach__dot .ico { width: 16px; height: 16px; }
.reach__row b { display: block; font-size: 12.5px; }
.reach__row small { display: block; font-size: 11.5px; color: var(--ink-3); }

/* The one authored entrance: the phone rises, then the call, the ticket
   and the payment arrive around it in reading order. */
@media (prefers-reduced-motion: no-preference) {
  .js .hph { animation: rise 1000ms var(--ease) 120ms both; }
  .js .float { animation: pop 720ms var(--ease) both; }
  .js .float--call { animation-delay: 520ms; }
  .js .float--ticket { animation: print 900ms var(--ease) 820ms both; }
  .js .float--paid { animation-delay: 1250ms; }
  .js .float--reach { animation-delay: 1050ms; }
  .js .wave i { animation: wave 1.1s var(--ease-io) infinite alternate; animation-delay: calc(var(--i) * -90ms); animation-iteration-count: 6; }
}
@keyframes rise { from { opacity: 0; transform: translateY(48px); } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes print { from { clip-path: inset(-60px -60px 100% -60px); transform: translateY(-12px); } to { clip-path: inset(-60px -60px -80px -60px); } }
@keyframes wave { to { transform: scaleY(0.35); } }

@media (max-width: 960px) {
  .float--call { left: -8px; top: 60px; width: 280px; }
  .float--ticket { right: -8px; width: 230px; }
  .float--reach { display: none; }
  .float--paid { right: 16px; top: 440px; }
}
@media (max-width: 720px) {
  .scene { --ph-h: 556px; margin-top: 44px; }
  .hph { width: 272px; margin-left: -136px; border-radius: 46px; padding: 9px; }
  .hph__screen { border-radius: 38px; }
  .sf__banner { height: 88px; }
  .sf__name { font-size: 18px; }
  .sf__item small { -webkit-line-clamp: 1; }
  .sf__pic { width: 58px; height: 58px; }
  .float { z-index: 2; }
  .float--call { left: -4px; top: 404px; width: 188px; padding: 12px 14px; }
  .float--call .call__line, .float--call .call__live { display: none; }
  .float--call .call__ic { width: 32px; height: 32px; border-radius: 10px; }
  .float--call .wave { margin: 10px 0 0; height: 24px; }
  .float--ticket { right: -4px; top: 292px; width: 172px; }
  .float--ticket .ticket { padding: 14px 14px 18px; }
  .float--ticket .ticket__row { font-size: 10.5px; }
  .float--ticket .ticket__s { font-size: 9.5px; }
  .float--paid { right: -4px; left: auto; top: 520px; padding: 10px 14px 10px 10px; }
  .float--paid small { display: none; }
}
@media (max-width: 560px) {
  .float--ticket { display: none; }
  .float--call { left: -2px; top: 318px; width: 194px; }
  .float--paid { right: -2px; top: 452px; }
}

/* ── The chapter: the till film and the bag insert ──────────────────────
   Both live on the warm paper canvas. The film plays as a framed screen, and
   the bag stands in a daylight photograph that matches the menu photography. */
.chapter { background: var(--paper-2); position: relative; }
.chapter__head { padding-top: var(--sec); padding-bottom: clamp(36px, 4vw, 56px); text-align: center; }
.chapter__head .h2 { margin-inline: auto; max-width: 18ch; }
.chapter__head .lede { margin-inline: auto; max-width: 56ch; }
.chapter__head .lede b { color: var(--ink); font-weight: 550; }

/* The film and its controls always fit one screen under the nav, so the
   demo is never cut off. Links to the demo land on the film itself. */
.chapter .band.demo {
  background: transparent;
  padding: 0 var(--gutter) clamp(72px, 9vw, 128px);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.chapter .demo__track { max-width: min(1200px, calc((100vh - var(--nav-h) - 136px) * 16 / 9)); gap: 14px; }
@supports (height: 100dvh) { .chapter .demo__track { max-width: min(1200px, calc((100dvh - var(--nav-h) - 136px) * 16 / 9)); } }
.chapter .film {
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(15, 15, 14, 0.1), 0 2px 6px rgba(15, 15, 14, 0.06), 0 60px 100px -48px rgba(15, 15, 14, 0.5);
}

/* Controls: a white pill under the screen, in the page's own voice. */
.chapter .demo__ui {
  font-family: var(--f); color: var(--ink);
  background: var(--paper); border: 0; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
  padding: 6px 12px 6px 6px; gap: 18px;
}
.chapter .demo__btn {
  min-height: 40px; border: 0; border-radius: 999px;
  background: var(--paper-3); color: var(--ink);
  font-family: var(--f); font-size: 0.875rem; font-weight: 600;
  -webkit-user-select: none; user-select: none;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.chapter .demo__btn--play { width: 40px; background: var(--ink); color: #fff; }
.chapter .demo__btn--sound.is-on { background: var(--red-soft); color: var(--red-ink); border: 0; }
.chapter .demo__btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .chapter .demo__btn:hover { background: var(--line); border-color: transparent; }
  .chapter .demo__btn--play:hover { background: #2b2b29; }
}
.chapter .scrub__seg { padding-block: 10px; color: var(--ink-3); }
.chapter .scrub__seg.is-active { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chapter .scrub__seg:hover { color: var(--ink); } }
.chapter .scrub__lbl { font-size: 0.75rem; font-weight: 500; font-family: var(--f); }
.chapter .scrub__bar { background: rgba(15, 15, 14, 0.1); }
.chapter .scrub__fill { background: var(--red); }
.chapter .demo__time { color: var(--ink-3); font-family: var(--f); font-variant-numeric: tabular-nums; }
.demo__cap { margin: 0; min-height: 1.5em; font-size: var(--t-small); color: var(--ink-3); text-align: center; }
@media (min-width: 781px) { .demo__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 780px) {
  .chapter .band.demo { padding-inline: 12px; }
  .chapter .film { border-radius: 14px; }
  .chapter .demo__ui { border-radius: 18px; padding: 8px; }
  .chapter .demo__btn { min-height: 44px; }
  .chapter .demo__btn--play { width: 44px; }
  .chapter .scrub__seg { padding-block: 20px; margin-block: -12px; }
}

/* Bag insert. One daylight photograph is the stage from the first frame. The
   copy sits on the bright wall to the left, the insert is shown large against
   the shaded wall to the right, turns to show its back, then arcs up and drops
   into the bag. Everything inside the stage is placed in "world" units: the
   world box is the photograph's own 1672×941 frame, covering the panel, so
   the card, the bag and the bag's front panel always agree at any size.
   insert.js drives the card from scroll on wide screens; narrow screens and
   reduced motion get the finished still, with a single drop-in on phones. */
.ins { position: relative; padding-top: clamp(24px, 3vw, 48px); --ins-ease: cubic-bezier(0.23, 1, 0.32, 1); }
.ins__head { text-align: center; }
.ins__head .h2 { max-width: 16ch; margin-inline: auto; }
.ins__head .lede { max-width: 44ch; margin-inline: auto; }

.ins__pin { padding: clamp(40px, 5vw, 64px) var(--gutter) 0; }
.ins__box { position: relative; margin-inline: auto; width: min(100%, var(--wrap)); container-type: inline-size; }
.ins__panel { position: relative; width: 100%; aspect-ratio: 1672 / 941; container-type: size; }
.ins__bg {
  position: absolute; inset: 0; overflow: hidden; border-radius: 28px;
  background: #e4e0da; box-shadow: 0 0 0 1px rgba(15, 15, 14, 0.06), 0 30px 60px -40px rgba(40, 30, 20, 0.35);
}
.ins__fg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ins__world {
  position: absolute; left: 50%; top: 50%;
  width: max(100cqw, 100cqh * 1672 / 941); aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%);
}
.ins__photo, .ins__front { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ins__fg .ins__world { perspective: 2200px; perspective-origin: 62% 40%; }
.ins__front { z-index: 2; }

/* The insert at rest: 15% of the frame wide, centred on the bag, with 40% of
   it standing proud of the front rim (y 293 of 941). */
.ins__card {
  position: absolute; left: 42.5%; top: 14.7%; width: 15%; aspect-ratio: 900 / 1391;
  border-radius: 0.55cqw; transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: rotate(2deg); z-index: 1;
}
.ins__edge {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(96deg, #d8d3c9, #f6f3ee 45%, #e2ddd3);
  transform: translateZ(calc(var(--z) * 1px));
}
.ins__face {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ins__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ins__face--front { transform: translateZ(2px); }
.ins__face--back { transform: translateZ(-2px) rotateY(180deg); }
/* Daylight from the left, as in the photograph. */
.ins__face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 45%), linear-gradient(280deg, rgba(40, 30, 20, 0.1), rgba(40, 30, 20, 0) 40%);
}
/* The soft shadow the card throws on the wall while it is held up. It lives
   outside the card's 3D space (inside it, it would end up in front of the
   back face once the card turns). insert.js moves it with the card. */
.ins__shadow {
  position: absolute; left: 42.5%; top: 14.7%; width: 15%; aspect-ratio: 900 / 1391;
  border-radius: 8%; background: rgba(70, 52, 34, 0.5); filter: blur(1.6cqw);
  opacity: 0; pointer-events: none;
}
.ins__beats { list-style: none; margin: 0; padding: 0; }
.ins__beat h3 { margin: 0; font-family: var(--f); font-weight: 650; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); }
.ins__beat p { margin: 6px 0 0; line-height: 1.5; color: #3d3c38; }
.ins__cap { margin: 0; padding: 18px var(--gutter) var(--sec); text-align: center; font-size: var(--t-small); color: var(--ink-3); }

/* Wide screens: the stage pins while the page scrolls through its story.
   insert.js adds .is-live only when it is going to drive the card. */
@media (min-width: 900px) {
  .ins.is-live .ins__track { height: 330vh; }
  @supports (height: 100dvh) { .ins.is-live .ins__track { height: 330dvh; } }
  .ins.is-live .ins__pin {
    position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h));
    display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(56px, 10vh, 112px); padding-bottom: 0;
  }
  @supports (height: 100dvh) { .ins.is-live .ins__pin { height: calc(100dvh - var(--nav-h)); } }
  .ins.is-live .ins__box { width: min(100%, var(--wrap), calc((100dvh - var(--nav-h) - clamp(56px, 10vh, 112px) - 64px) * 1672 / 941)); flex: none; }
  .ins.is-live .ins__cap { padding-bottom: 0; }
  .ins.is-live .ins__card { will-change: transform; }
  .ins.is-live .ins__track { margin-bottom: var(--sec); }

  .ins__beats { position: absolute; z-index: 2; left: 5.5%; top: 50%; width: 29%; transform: translateY(-50%); display: grid; gap: 2.6cqw; }
  .ins__beat { position: relative; padding-left: 1.7cqw; }
  .ins__beat::before, .ins__beat::after {
    content: ""; position: absolute; left: 0; top: 0.25em; bottom: 0.25em; width: 2px; border-radius: 2px;
  }
  .ins__beat::before { background: rgba(15, 15, 14, 0.14); }
  .ins__beat::after { background: var(--red); transform: scaleY(var(--on, 1)); transform-origin: 50% 0; transition: transform 560ms var(--ins-ease); }
  .ins__beat h3 { font-size: max(1.25rem, 2.1cqw); }
  .ins__beat p { font-size: max(0.9375rem, 1.22cqw); max-width: 26ch; }
  .ins__beat h3, .ins__beat p { transition: color 320ms var(--ins-ease); }
  .ins.is-live .ins__beat { --on: 0; }
  .ins.is-live .ins__beat h3, .ins.is-live .ins__beat p { color: #55534e; }
  .ins.is-live .ins__beat.is-on { --on: 1; }
  .ins.is-live .ins__beat.is-on h3 { color: var(--ink); }
  .ins.is-live .ins__beat.is-on p { color: #3d3c38; }
}

/* Narrow screens: the copy above, the finished still below, framed taller
   so the bag fills it. Phones get one drop-in as the frame arrives. */
@media (max-width: 899.98px) {
  .ins__pin { padding-top: 28px; }
  .ins__beats { display: grid; gap: 18px; margin: 0 auto 28px; max-width: 34rem; counter-reset: b; }
  .ins__beat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; counter-increment: b; }
  .ins__beat::before {
    content: counter(b, decimal-leading-zero); grid-row: span 2; padding-top: 0.42em;
    font-family: var(--f-mono); font-size: 0.75rem; color: #b8312a; letter-spacing: 0.04em;
  }
  .ins__beat h3 { font-size: clamp(1.25rem, 5.2vw, 1.5rem); }
  .ins__beat p { font-size: 0.9375rem; margin-top: 4px; }
  .ins__panel { aspect-ratio: 4 / 3; }
  .ins__bg { border-radius: 22px; }
  .ins__fg { overflow: hidden; border-radius: 22px; }
  .ins.is-drop .ins__card { transition: transform 1100ms var(--ins-ease), opacity 360ms ease-out; }
  .ins.is-drop:not(.is-in) .ins__card { transform: translateY(-95%) rotate(-6deg); opacity: 0; transition: none; }
}
@media (max-width: 560px) {
  .ins__panel { aspect-ratio: 4 / 5; }
}

/* ── Features ───────────────────────────────────────────────────────────── */
.feat-group + .feat-group { margin-top: clamp(64px, 8vw, 112px); }
.feat-group__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: end; margin-bottom: 28px; }
.feat-group__head .h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.03em; }
.feat-group__head p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 380px;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  overflow: hidden;
  isolation: isolate;
}
.sec--paper .tile { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.tile__copy { padding: 28px 28px 0; position: relative; z-index: 2; }
.tile__copy h4 { margin: 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.tile__copy p { margin: 8px 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.tile__art { position: relative; flex: 1; margin-top: 24px; min-height: 200px; }
/* The real till, bleeding off the tile like a product shot. */
.till-hw { position: absolute; left: 50%; top: 0; width: min(380px, 92%); height: auto; transform: translateX(-46%); filter: drop-shadow(0 24px 30px rgba(15, 15, 14, 0.18)); }
.s-7 { grid-column: span 7; } .s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; }
.s-4 { grid-column: span 4; } .s-8 { grid-column: span 8; } .s-12 { grid-column: span 12; }
@media (max-width: 960px) {
  .feat-group__head { grid-template-columns: 1fr; }
  .s-7, .s-5, .s-6, .s-4, .s-8 { grid-column: span 12; }
  .tile { min-height: 0; }
  .tile__art { min-height: 240px; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .s-4, .s-6 { grid-column: span 6; }
}

/* Shared mini-UI parts */
.mini { position: absolute; background: var(--paper); border-radius: 14px; box-shadow: var(--sh-1), 0 0 0 1px rgba(15, 15, 14, 0.05); font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip--new { background: var(--red-soft); color: var(--red-deep); }
.chip--ok { background: var(--green-soft); color: #116a33; }
.chip--prep { background: #fef3c7; color: #92400e; }
.chip--grey { background: var(--paper-3); color: var(--ink-2); }

/* Ordering page tile: a browser window with the shop's menu */
.browser { left: 28px; right: -40px; top: 0; bottom: -24px; border-radius: 14px 0 0 0; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser__url { flex: 0 1 300px; padding: 5px 12px; border-radius: 8px; background: var(--paper); font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.browser__url .ico { width: 12px; height: 12px; color: var(--green); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
@media (max-width: 560px) {
  .browser { left: 16px; right: 16px; border-radius: 14px 14px 0 0; }
  .menu-grid { gap: 8px; padding: 12px; }
  .menu-card div { flex-direction: column; gap: 2px; padding: 7px 8px 9px; }
  .menu-shop { flex-wrap: wrap; gap: 2px 10px; padding: 12px 12px 0; }
  .menu-shop b { white-space: nowrap; }
}
.menu-card { border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.menu-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.menu-card div { padding: 8px 10px 10px; display: flex; justify-content: space-between; gap: 6px; font-size: 12px; }
.menu-card b { font-weight: 600; }
.menu-card em { font-style: normal; font-weight: 600; }
.menu-shop { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0; }
.menu-shop b { font-size: 16px; letter-spacing: -0.02em; }
.menu-shop span { font-size: 12px; color: var(--ink-3); }

/* Till tile */

/* Marketplaces tile */
.feed { left: 28px; right: 28px; top: 0; padding: 6px 0; }
.feed__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.feed__row + .feed__row { border-top: 1px solid var(--line); }
.feed__src { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.feed__row div { flex: 1; min-width: 0; }
.feed__row b { display: block; font-size: 13px; }
.feed__row small { display: block; font-size: 11.5px; color: var(--ink-3); }

/* AI phone tile */
.calllog { left: 28px; right: 28px; top: 0; padding: 6px 16px; }
.calllog > div { display: flex; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid var(--line); }
.calllog > div:last-child { border-bottom: 0; }
.calllog b { font-size: 13px; font-weight: 600; }
.calllog .chip { margin-left: auto; }
.calllog__t { font-size: 11.5px; color: var(--ink-3); width: 36px; }
.callrow { left: 28px; right: 28px; top: 146px; padding: 14px 16px; display: grid; gap: 10px; }
.callrow__top { display: flex; align-items: center; gap: 10px; }
.callrow__top b { font-size: 13px; }
.callrow__top small { font-size: 11.5px; color: var(--ink-3); }
.callrow p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.callrow .chip { margin-left: auto; }

/* Dispatch tile */
.tile--map { min-height: 520px; }
.tile--map .tile__art { margin-top: 24px; min-height: 320px; }
.tile--map img { position: absolute; left: 28px; top: 0; width: calc(100% - 28px); height: calc(100% + 1px); object-fit: cover; object-position: 0 0; border-radius: 14px 0 0 0; box-shadow: var(--sh-1), 0 0 0 1px rgba(15, 15, 14, 0.06); }

/* Payout tile */
.payout { left: 28px; right: 28px; bottom: 28px; padding: 16px; }
.payout__h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); }
.payout__amt { margin: 8px 0 4px; font-size: 30px; font-weight: 650; letter-spacing: -0.03em; }
.payout__to { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.payout__bar { height: 6px; border-radius: 3px; background: var(--paper-3); margin: 14px 0 8px; overflow: hidden; }
.payout__bar i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; }
.payout__rows { font-size: 12px; color: var(--ink-2); display: grid; gap: 6px; }
.payout__rows div { display: flex; justify-content: space-between; }

/* Customer data tile */
.crm { left: 28px; right: 28px; top: 0; overflow: hidden; }
.crm table { width: 100%; border-collapse: collapse; font-size: 12px; }
.crm th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.crm td { padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.crm tr:last-child td { border-bottom: 0; }
.crm__foot { display: flex; justify-content: flex-end; padding: 10px 14px; border-top: 1px solid var(--line); }
.crm__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; }
.crm__btn .ico { width: 14px; height: 14px; }

/* Reports tile */
.report { left: 28px; right: 28px; top: 0; bottom: 28px; padding: 18px; display: grid; grid-template-rows: auto 1fr; }
.report__h { display: flex; justify-content: space-between; align-items: baseline; }
.report__h b { font-size: 26px; letter-spacing: -0.03em; font-weight: 650; }
.report__h span { font-size: 12px; color: var(--ink-3); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; margin-top: 16px; min-height: 120px; }
.bars div { display: grid; gap: 6px; justify-items: center; align-self: stretch; grid-template-rows: 1fr auto; }
.bars i { width: 100%; align-self: end; height: calc(var(--v) * 1%); border-radius: 6px 6px 3px 3px; background: var(--paper-3); }
.bars div:nth-child(5) i { background: var(--ink); }
.bars span { font-size: 11px; color: var(--ink-3); }

/* Messages tile */
.notes { left: 28px; right: 28px; top: 0; display: grid; gap: 8px; background: none; box-shadow: none; }
.note-card { display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper); box-shadow: var(--sh-1), 0 0 0 1px rgba(15, 15, 14, 0.05); }
.note-card:nth-child(2) { margin-inline: 10px; opacity: 0.92; }
.note-card:nth-child(3) { margin-inline: 20px; opacity: 0.8; }
.note-card div { flex: 1; min-width: 0; }
.note-card__h { display: flex; justify-content: space-between; font-size: 12px; }
.note-card__h b { font-weight: 600; }
.note-card__h span { color: var(--ink-3); }
.note-card p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-2); }

/* Google tile */
.serp { left: 28px; right: 28px; top: 0; padding: 14px 16px; display: grid; gap: 12px; }
.serp__q { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2); font-size: 13px; }
.serp__res small { display: block; font-size: 11.5px; color: var(--ink-3); }
.serp__res b { display: block; margin-top: 2px; font-size: 15px; color: #1a0dab; font-weight: 500; }
.serp__res p { margin: 3px 0 0; font-size: 12px; color: var(--ink-2); }
.serp__code { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; justify-self: start; }
.serp__code b { font-weight: 700; letter-spacing: 0.04em; }

/* Wallet tile */
.pass { left: 50%; top: 0; width: 230px; margin-left: -115px; border-radius: 16px; overflow: hidden; background: #1c1b1a; color: #fff; box-shadow: var(--sh-2); }
.pass__h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.pass__h b { font-size: 14px; }
.pass__h span { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; }
.pass__pts { display: block; text-align: right; font-size: 20px; font-weight: 650; }
.pass__strip { height: 64px; overflow: hidden; }
.pass__strip img { width: 100%; height: 100%; object-fit: cover; }
.pass__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 16px; font-size: 11px; }
.pass__grid span { display: block; opacity: 0.6; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Gift card tile */
.gift { left: 50%; top: 6px; width: 250px; margin-left: -125px; aspect-ratio: 1.586; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(135deg, #c8302a, #9e211b); box-shadow: var(--sh-2); }
.gift__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; }
.gift__top span { font-weight: 450; }
.gift__amt { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; }
.gift__code { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; }
.refer { left: 50%; top: 168px; width: 220px; margin-left: -88px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.refer b { display: block; font-size: 12.5px; }
.refer small { display: block; font-size: 11px; color: var(--ink-3); }

/* Receipt tile */
.rcpt { left: 50%; top: 0; width: 190px; margin-left: -95px; padding: 16px 16px 22px; font-family: var(--f-mono); box-shadow: var(--sh-1); }
.rcpt .ticket__row { font-size: 11px; }
.rcpt__qr { display: grid; place-items: center; margin: 10px 0 4px; }
.rcpt__qr img { width: 72px; height: 72px; }
.rcpt__cta { text-align: center; font-size: 11px; font-weight: 700; }
.rcpt__off { text-align: center; font-size: 10.5px; color: var(--ink-3); }

/* "And everything else" list */
.more { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); background: var(--paper-2); overflow: hidden; }
.more li { list-style: none; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.more .ico { grid-row: span 2; margin-top: 2px; color: var(--ink); }
.more b { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.more span { font-size: 0.875rem; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 960px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }

/* ── AI phone ───────────────────────────────────────────────────────────── */
.phone-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; margin-top: 32px; border-radius: 999px; background: var(--paper-3); }
.seg button {
  min-height: 44px; min-width: 88px; padding: 0 18px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.seg-panel { margin: 18px 0 0; min-height: 3.2em; font-size: var(--t-body); color: var(--ink); max-width: 46ch; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 48ch; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.facts .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }

.callcard { background: var(--paper); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--sh-3), 0 0 0 1px rgba(15, 15, 14, 0.04); }
.callcard__head { display: flex; align-items: center; gap: 16px; }
.callcard__play {
  width: 56px; height: 56px; flex: none; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--red-ink); color: #fff;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease);
}
.callcard__play:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .callcard__play:hover { background: var(--red-deep); } }
.callcard__play svg { width: 22px; height: 22px; }
.callcard__play .i-pause { display: none; }
[data-playing] .callcard__play .i-play { display: none; }
[data-playing] .callcard__play .i-pause { display: block; }
.callcard__title { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.callcard__time { margin: 2px 0 0; font-size: var(--t-small); color: var(--ink-3); }
.callcard__bar { margin: 22px 0 6px; height: 4px; border-radius: 2px; background: var(--paper-3); overflow: hidden; }
.callcard__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.callcard__lines { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.callcard__lines li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; font-size: 0.96875rem; line-height: 1.5; color: var(--ink); transition: color 200ms var(--ease); }
.callcard__lines b { font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); padding-top: 2px; }
[data-playing] .callcard__lines li:not([data-on]) { color: var(--ink-3); }
.callcard__lines li[data-on] b { color: var(--red-ink); }
.callcard__order { margin-top: 22px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); }
.callcard__order p { margin: 0 0 8px; font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); }
.callcard__order .ticket__row { font-size: 0.875rem; }
.callcard__src { margin: 14px 0 0; font-size: var(--t-micro); color: var(--ink-3); }
@media (max-width: 960px) {
  .phone-sec__grid { grid-template-columns: 1fr; }
  .callcard__lines li { grid-template-columns: 1fr; gap: 2px; }
}

/* ── Hardware ───────────────────────────────────────────────────────────
   Real product photos (Sunmi, Stripe) cut out and lined up at roughly true
   relative size on one counter, like a product family shot. Each device
   stands on the same horizon; soft contact shadows ground them. */
.hw__stage {
  position: relative;
  aspect-ratio: 1200 / 640;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 18%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper-2) 87%, var(--paper-3) 87%, #e9e8e2 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 15, 14, 0.04);
}
.hw__floor {
  position: absolute; left: 0; right: 0; top: 87%; height: 1px;
  background: linear-gradient(90deg, rgba(15, 15, 14, 0), rgba(15, 15, 14, 0.09) 20%, rgba(15, 15, 14, 0.09) 80%, rgba(15, 15, 14, 0));
}
.hw__dev { position: absolute; bottom: 13%; margin: 0; }
.hw__dev img { display: block; width: 100%; height: auto; position: relative; z-index: 1;
  filter: drop-shadow(0 2px 2px rgba(15, 15, 14, 0.10)) drop-shadow(0 22px 26px rgba(15, 15, 14, 0.12)); }
.hw__dev::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -2.2%; height: 5%; z-index: 0;
  background: radial-gradient(closest-side, rgba(15, 15, 14, 0.28), rgba(15, 15, 14, 0));
}
.hw__dev--t3 { left: 9%; width: 27%; }
.hw__dev--t3::after { left: 2%; right: 4%; bottom: -1.4%; height: 3.2%; }
.hw__dev--d3 { left: 41%; width: 31%; }
.hw__dev--rd { left: 79%; width: 9.8%; }
.hw__dev--rd::after { bottom: -1.6%; height: 3%; }

.hw__specs { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hw__specs li { border-top: 1px solid var(--line-2); padding-top: 24px; }
.hw__kicker { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--t-micro); font-weight: 600; color: var(--ink-3); }
.hw__soon { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); font-size: 0.75rem; font-weight: 600; }
.hw__name { margin: 6px 0 0; font-size: var(--t-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.hw__desc { margin: 8px 0 0; max-width: 36ch; font-size: 0.9375rem; color: var(--ink-2); text-wrap: pretty; }
.hw__rows { margin: 20px 0 0; }
.hw__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.hw__rows dt { color: var(--ink-3); flex: none; }
.hw__rows dd { margin: 0; font-weight: 600; text-align: right; }
.hw__aside { margin-top: clamp(32px, 4vw, 44px); }
.hw__aside span { align-items: flex-start; }
.hw__aside .ico { margin-top: 3px; flex: none; }
.hw__note { margin-top: 20px; font-size: var(--t-micro); }

@media (prefers-reduced-motion: no-preference) {
  .hw.is-pre .hw__dev { opacity: 0; transform: translate3d(0, 28px, 0); }
  .hw.is-pre .hw__dev::after { opacity: 0; }
  .hw.is-in .hw__dev, .hw.is-in .hw__dev::after { opacity: 1; transform: none;
    transition: opacity 700ms var(--ease), transform 1100ms var(--ease); }
  .hw.is-in .hw__dev--d3, .hw.is-in .hw__dev--d3::after { transition-delay: 110ms; }
  .hw.is-in .hw__dev--rd, .hw.is-in .hw__dev--rd::after { transition-delay: 220ms; }
}

@media (max-width: 820px) {
  .hw__specs { grid-template-columns: 1fr; gap: 28px; }
  .hw__desc { max-width: none; }
}
@media (max-width: 560px) {
  .hw__stage { aspect-ratio: 1 / 0.8; border-radius: 22px;
    background:
      radial-gradient(90% 70% at 50% 18%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
      linear-gradient(180deg, var(--paper-2) 0%, var(--paper-2) 86%, var(--paper-3) 86%, #e9e8e2 100%); }
  .hw__floor { top: 86%; }
  .hw__dev { bottom: 14%; }
  .hw__dev--t3 { left: 3%; width: 31%; }
  .hw__dev--d3 { left: 38%; width: 40%; }
  .hw__dev--rd { left: 83%; width: 12.5%; }
}

/* ── Comparison ─────────────────────────────────────────────────────────── */
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.vs th, .vs td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs thead th { font-size: var(--t-small); font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.vs thead th:last-child { color: var(--ink); }
.vs tbody th { font-weight: 600; width: 28%; }
.vs td { color: var(--ink-2); }
.vs td:last-child { color: var(--ink); font-weight: 500; background: var(--paper); }
.vs thead th:last-child { background: var(--paper); border-radius: var(--r) var(--r) 0 0; }
.vs tbody tr:last-child td:last-child { border-radius: 0 0 var(--r) var(--r); }
.vs .ico { display: inline-block; vertical-align: -4px; width: 18px; height: 18px; margin-right: 8px; color: var(--green); stroke-width: 2.25; }
@media (max-width: 720px) {
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; }
  .vs thead { display: none; }
  .vs tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .vs tbody th, .vs td { padding: 0; border: 0; width: auto; background: none !important; }
  .vs tbody th { margin-bottom: 10px; }
  .vs td { padding: 6px 0; }
  .vs td::before { content: attr(data-l); display: block; font-size: var(--t-micro); color: var(--ink-3); font-weight: 500; }
}

/* ── Setup ──────────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 0; counter-reset: step; }
.steps li { position: relative; padding: 28px 32px 0 0; border-top: 1px solid var(--line-2); counter-increment: step; }
.steps li::after { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.steps h3 { margin: 0; display: flex; align-items: baseline; gap: 12px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.steps h3::before { content: counter(step, decimal-leading-zero); font-size: 0.875rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.steps p { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-2); }
.setup__aside { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--ink-2); font-size: 0.9375rem; }
.setup__aside span { display: inline-flex; gap: 8px; align-items: center; }
.setup__aside .ico { color: var(--green); width: 18px; height: 18px; stroke-width: 2.25; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { padding: 22px 0 0; } }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--sh-2); background: var(--paper); }
.price__l { padding: clamp(28px, 4vw, 56px); background: var(--paper-2); display: flex; flex-direction: column; }
.price__h { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; max-width: 14ch; }
.price__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.price__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.price__list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green); stroke-width: 2.25; }
.price__l p { margin: 14px 0 0; color: var(--ink-2); max-width: 34ch; }
.price__l .btn { margin-top: auto; align-self: flex-start; }
.price__l .note { margin-top: 12px; }
.price__cta { margin-top: 40px; }
.price__r { padding: clamp(20px, 3vw, 40px) clamp(24px, 4vw, 56px); }
.price__rows { margin: 0; }
.price__rows div { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price__rows div:last-child { border-bottom: 0; }
.price__rows dt { font-weight: 500; }
.price__rows dd { margin: 0; text-align: right; color: var(--ink-2); }
.price__rows dd b { color: var(--ink); font-weight: 600; }
.price__rows dd small { display: block; font-size: var(--t-micro); color: var(--ink-3); }
@media (max-width: 860px) {
  .price { grid-template-columns: 1fr; }
  .price__rows div { flex-direction: column; gap: 4px; }
  .price__rows dd { text-align: left; }
  .price__l .btn { margin-top: 32px; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq__l { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__l p { margin: 16px 0 0; color: var(--ink-2); }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; transition: transform 240ms var(--ease); }
.acc[open] summary svg { transform: rotate(45deg); }
.acc p { margin: 0; padding: 0 48px 22px 0; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } .faq__l { position: static; } }

/* ── Book a demo ────────────────────────────────────────────────────────── */
.book { background: var(--ink); color: #fff; }
.book .h2 span { color: rgba(255, 255, 255, 0.56); }
.book .lede { color: rgba(255, 255, 255, 0.72); }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; color: rgba(255, 255, 255, 0.86); }
.book__list li { display: flex; gap: 12px; align-items: flex-start; }
.book__list .ico { color: #6ee7a0; stroke-width: 2.25; margin-top: 3px; width: 18px; height: 18px; }
.book__mail { margin: 32px 0 0; color: rgba(255, 255, 255, 0.72); }
.book__mail a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.formcard { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.in { display: grid; gap: 8px; }
.in label { font-size: 0.9375rem; font-weight: 600; }
.in label em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.in input, .in select {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 0; border-radius: 12px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px #8a8882; /* 3.2:1 on the field, a visible boundary */
  font-size: 1rem;
  transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.in select { appearance: none; padding-right: 40px; cursor: pointer; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5.25L7 9.75l4.5-4.5' fill='none' stroke='%230f0f0e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.in input:focus, .in select:focus { outline: none; background-color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(15, 15, 14, 0.08); }
.in input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--red-ink); }
.in__err { min-height: 0; font-size: var(--t-micro); color: var(--red-ink); }
.in__err:empty { display: none; }
.form .btn { width: 100%; margin-top: 6px; }
.form[aria-busy="true"] .btn { cursor: progress; opacity: 0.82; }
.form__priv { margin: 0; font-size: var(--t-micro); color: var(--ink-3); text-align: center; }
.form__priv a { color: var(--ink-2); text-underline-offset: 3px; }
.form__err { margin: 0; font-size: var(--t-small); color: var(--red-ink); text-align: center; }
.form__err:empty { display: none; }
.form__err a { color: var(--ink); }
.done { display: grid; gap: 14px; padding: 12px 0; text-align: center; }
.done[hidden] { display: none; }
.done__ic { width: 56px; height: 56px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.done__ic .ico { width: 26px; height: 26px; stroke-width: 2.25; }
.done p { margin: 0; font-size: 1.125rem; font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) { .book__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot { padding: 72px 0 40px; background: var(--paper); font-size: 0.9375rem; }
.foot__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__top p { margin: 12px 0 0; color: var(--ink-3); max-width: 32ch; font-size: var(--t-small); }
.foot h2 { margin: 0 0 14px; font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot ul a:hover { color: var(--ink); } }
.foot__bot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-micro); color: var(--ink-3); }
@media (max-width: 860px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot ul a { min-height: 44px; }
}


