/* MenuBolt website — styles
   Layout: full-width colour bands (Paper / Ink / Bolt) each holding a 1200px wrap; one yellow action per view. */
:root {
  --bolt: #FFD60A;
  --bolt-hover: #E5BC00;
  --bolt-tint: #FFF7CC;
  --bolt-text: #6B5600;
  --on-bolt: #0E0F12;
  --bg: #FAFAF5;
  --raised: #FFFFFF;
  --panel: #0E0F12;
  --panel-2: #23252B;
  --on-panel: #FAFAF5;
  --on-panel-muted: #A3A6AE;
  --fg: #0E0F12;
  --muted: #5E616A;
  --line: #E4E4DD;
  --line-strong: #0E0F12;
  --focus: #FFEB80;
  --new: #1D4ED8;
  --ready: #157F3D;
  --late: #C62A1F;
  --live: #3CCB6B;
  --on-status: #FFFFFF;
  --stripe-a: #F1F1EA;
  --stripe-b: #E7E7E0;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --wrap: 1200px;
}
/* Light mode only: the site always renders in the light theme, whatever the visitor's device setting. */
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--bolt); color: var(--on-bolt); padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(2.4rem, 6.4vw, 4.75rem); }
.h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.on-panel .eyebrow { color: var(--on-panel-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hl { background: var(--bolt); color: var(--on-bolt); padding: 0 0.18em; border-radius: 0.18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo-word { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.03em; line-height: 1; }
.logo-word span { font-weight: 400; } .logo-word b { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 12px; border-radius: var(--r-pill); }
.nav a:hover { background: var(--bolt-tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--bolt); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: transparent; color: var(--fg); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--bolt); padding-left: 16px; }
  .nav .btn { margin: 16px 0 0; border-bottom: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1; height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 0; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s ease, transform .12s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--bolt); color: var(--on-bolt); }
.btn-primary:hover { background: var(--bolt-hover); }
.btn-dark { background: var(--panel); color: var(--on-panel); }
.btn-dark:hover { background: var(--panel-2); }
.btn-outline { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-outline:hover { background: var(--bolt-tint); }
.on-panel .btn-outline { color: var(--on-panel); box-shadow: inset 0 0 0 1.5px var(--on-panel-muted); }
.on-panel .btn-outline:hover { background: var(--panel-2); }
.on-bolt .btn-outline { color: var(--on-bolt); box-shadow: inset 0 0 0 1.5px var(--on-bolt); }
.on-bolt .btn-outline:hover { background: var(--bolt-hover); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 0.92rem; }
.btn:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- bands ---------- */
.band { padding-block: clamp(56px, 9vw, 112px); }
.band-tight { padding-block: clamp(40px, 6vw, 72px); }
.on-panel { background: var(--panel); color: var(--on-panel); }
.on-panel .muted { color: var(--on-panel-muted); }
.on-bolt { background: var(--bolt); color: var(--on-bolt); }
.on-bolt .muted { color: var(--on-bolt); opacity: .82; }
.on-raised { background: var(--raised); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-bolt { position: absolute; right: -6%; top: -18%; width: min(62vw, 760px); opacity: .14; pointer-events: none; }
.hero-bolt path { fill: var(--bolt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--bolt); border-radius: var(--r-pill); padding: 8px 14px; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.chip:hover { background: var(--bolt); color: var(--on-bolt); }
.chip svg { width: 18px; height: 18px; }
.hero-note { font-size: 0.9rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.service { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--raised); border: 1.5px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .15s ease, transform .15s ease; }
.service:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.service .icon-tile { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--panel); color: var(--bolt); display: flex; align-items: center; justify-content: center; }
.service .icon-tile svg { width: 26px; height: 26px; }
.service .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.service .more svg { width: 18px; height: 18px; flex: none; transition: transform .15s ease; }
.service:hover .more svg { transform: translateX(3px); }
.service .price-from { font-family: var(--font-mono); font-size: 0.9rem; color: var(--bolt-text); background: var(--bolt-tint); align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); }
.feature { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature .tick { width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--bolt); color: var(--on-bolt); display: flex; align-items: center; justify-content: center; }
.feature .tick svg { width: 18px; height: 18px; }
.feature-grid { display: grid; gap: 36px 28px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--ready); }
.on-panel .list li svg { color: var(--bolt); }

/* one menu diagram */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr); gap: 20px; align-items: center; }
.flow-source { background: var(--bolt); color: var(--on-bolt); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.flow-arrow { color: var(--bolt); }
.flow-arrow svg { width: 48px; height: 48px; }
.flow-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flow-target { border: 1.5px solid var(--panel-2); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.flow-target svg { width: 24px; height: 24px; color: var(--bolt); }
@media (max-width: 760px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow-arrow { transform: rotate(90deg); justify-self: center; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--line-strong); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 700; color: var(--bolt-text); }
.on-panel .steps li { border-color: var(--on-panel-muted); }
.on-panel .steps li::before { color: var(--bolt); }

/* ---------- mockups ---------- */
.mock-stack { position: relative; min-height: 520px; }
.phone { width: 300px; max-width: 100%; background: var(--panel); border-radius: 44px; padding: 10px; box-shadow: 0 0 0 1px var(--panel-2); }
.phone-screen { background: #FAFAF5; color: #0E0F12; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; min-height: 560px; position: relative; font-size: 14px; }
.phone-top { background: #0E0F12; color: #FAFAF5; padding: 34px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.phone-top .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.phone-top .status { display: flex; align-items: center; gap: 8px; color: #A3A6AE; font-size: 12.5px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--bolt); flex: none; }
.dot-live { background: var(--live); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #23252B; border-radius: 99px; padding: 4px; }
.seg span { text-align: center; padding: 8px; border-radius: 99px; font-weight: 600; font-size: 13px; }
.seg span:first-child { background: #FFD60A; color: #0E0F12; font-weight: 700; }
.phone-cats { display: flex; gap: 6px; padding: 14px 16px 4px; }
.phone-cats span { border: 1.5px solid #E4E4DD; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 12.5px; }
.phone-cats span:first-child { background: #0E0F12; color: #FAFAF5; border-color: #0E0F12; }
.phone-items { padding: 4px 16px; display: flex; flex-direction: column; }
.p-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1.5px solid #E4E4DD; align-items: center; }
.p-item:last-child { border-bottom: 0; }
.thumb { width: 60px; height: 60px; flex: none; border-radius: 12px; background: repeating-linear-gradient(135deg, #F1F1EA 0 7px, #E4E4DD 7px 14px); }
.p-item .t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-item .t b { font-size: 14px; }
.p-item .t small { color: #5E616A; font-size: 12px; }
.p-item .t .mono { font-weight: 700; font-size: 13px; }
.add { width: 40px; height: 40px; border-radius: 99px; background: #FFD60A; color: #0E0F12; display: flex; align-items: center; justify-content: center; flex: none; }
.add svg { width: 18px; height: 18px; }
.basket { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.basket-bar { width: 100%; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 16px; background: #0E0F12; color: #FAFAF5; border-radius: 99px; font-weight: 700; font-size: 14px; }
.basket-bar .count { background: #FFD60A; color: #0E0F12; width: 24px; height: 24px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; margin-right: 8px; }
.powered { font-size: 11px; color: #5E616A; display: flex; align-items: center; gap: 5px; }
.powered svg { width: 12px; height: 12px; }

.ticket { width: 270px; max-width: 100%; background: #0E0F12; color: #FAFAF5; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px #2E3037; font-size: 14px; }
.ticket-head { background: #FFD60A; color: #0E0F12; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-weight: 700; }
.ticket-head .num { font-size: 22px; }
.ticket-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ticket-meta { display: flex; justify-content: space-between; color: #A3A6AE; font-size: 12.5px; }
.ticket-lines { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed #5E616A; display: flex; flex-direction: column; gap: 8px; }
.ticket-lines li { display: flex; gap: 10px; }
.ticket-lines .q { font-family: var(--font-mono); font-weight: 700; color: #FFD60A; }
.ticket-lines small { display: block; color: #A3A6AE; font-size: 12px; }
.ticket-ready { margin-top: 4px; height: 44px; border-radius: 12px; background: #157F3D; color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mock-stack .phone { position: relative; z-index: 2; }
.mock-stack .ticket { position: absolute; right: 0; bottom: 24px; z-index: 3; transform: rotate(3deg); }
@media (max-width: 900px) { .mock-stack { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; } .mock-stack .ticket { position: static; transform: none; } }

.till { background: var(--panel-2); border-radius: 28px; padding: 10px; }
.till-screen { background: #0E0F12; color: #FAFAF5; border-radius: 18px; overflow: hidden; font-size: 13.5px; }
.till-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #23252B; gap: 10px; flex-wrap: wrap; }
.till-top .l { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.till-top .l svg { width: 22px; height: 22px; }
.till-top .r { display: flex; align-items: center; gap: 8px; color: #A3A6AE; font-size: 12.5px; }
.till-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.till-tiles { padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.till-tiles span { background: #23252B; border-radius: 12px; padding: 12px 10px; min-height: 72px; display: flex; flex-direction: column; justify-content: space-between; font-weight: 700; }
.till-tiles em { font-style: normal; font-family: var(--font-mono); color: #FFD60A; font-weight: 500; font-size: 12.5px; }
.till-order { border-left: 1px solid #23252B; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.till-order .row { display: flex; justify-content: space-between; gap: 8px; }
.till-order .total { border-top: 1px solid #23252B; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.till-order .total b { font-family: var(--font-mono); font-size: 20px; }
.till-charge { height: 46px; border-radius: 12px; background: #FFD60A; color: #0E0F12; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: auto; }
@media (max-width: 560px) { .till-body { grid-template-columns: minmax(0, 1fr); } .till-order { border-left: 0; border-top: 1px solid #23252B; } .till-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.browser { background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1.5px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--line); display: block; }
.browser-bar .url { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); background: var(--bg); border-radius: var(--r-pill); padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-demo { display: flex; flex-direction: column; }
.site-demo-hero { min-height: 220px; background: repeating-linear-gradient(135deg, var(--stripe-a) 0 12px, var(--stripe-b) 12px 24px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 24px; }
.site-demo-hero .r-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em; }
.site-demo-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 24px 24px; }
.ph { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }

/* ---------- pricing ---------- */
.billing { display: inline-flex; background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 4px; gap: 4px; }
.billing button { font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; border: 0; background: transparent; color: var(--fg); height: 44px; padding: 0 18px; border-radius: var(--r-pill); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--panel); color: var(--on-panel); }
.billing .save { font-family: var(--font-mono); font-size: 0.75rem; color: var(--bolt-text); background: var(--bolt-tint); padding: 3px 8px; border-radius: var(--r-pill); margin-left: 6px; }
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); align-items: stretch; }
.price-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--raised); border: 1.5px solid var(--line); }
.price-card.featured { background: var(--panel); color: var(--on-panel); border-color: var(--panel); position: relative; }
.price-card.featured .muted { color: var(--on-panel-muted); }
.price-card .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.price-card .eyebrow svg { width: 18px; height: 18px; }
.price-card .tag { align-self: flex-start; background: var(--bolt); color: var(--on-bolt); font-weight: 700; font-size: 0.8rem; padding: 6px 12px; border-radius: var(--r-pill); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: 0.95rem; }
.price-card.featured .price .per { color: var(--on-panel-muted); }
.price-card .was { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.price-card.featured .was { color: var(--on-panel-muted); }
.price-card .list { font-size: 0.97rem; }
.price-card .btn { margin-top: auto; }
.small-print { font-size: 0.88rem; color: var(--muted); max-width: 80ch; }

/* ---------- tables ---------- */
.table-box { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--raised); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--bg); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.us { background: var(--bolt-tint); }
tr.us th, tr.us td { color: var(--fg); }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.yes svg, .no svg, .part svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--ready); } .no svg { color: var(--late); } .part svg { color: var(--muted); }
.matrix th:not(:first-child), .matrix td { text-align: center; }
.matrix td span { justify-content: center; }
.matrix th.us-col, .matrix td.us-col { background: var(--bolt-tint); }
.src { font-size: 0.85rem; color: var(--muted); }
.src a { color: var(--muted); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 40px); color: var(--fg); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-inputs { display: flex; flex-direction: column; gap: 22px; }
.field-range { display: flex; flex-direction: column; gap: 8px; }
.field-range label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.field-range output { font-family: var(--font-mono); font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--bolt-hover); height: 32px; }
.calc-out { display: flex; flex-direction: column; gap: 12px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); }
.calc-row .mono { font-weight: 700; font-size: 1.1rem; }
.calc-save { background: var(--panel); color: var(--on-panel); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.calc-save .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.04em; color: var(--bolt); line-height: 1.05; }
.calc-save .muted { color: var(--on-panel-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1.5px solid var(--line-strong); }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.5rem; line-height: 1; color: var(--bolt-text); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- contact ---------- */
.form { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; height: 52px; width: 100%; }
.field textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--line-strong); box-shadow: 0 0 0 4px var(--focus); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field .err { font-size: 0.88rem; color: var(--late); font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--late); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-pill); cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.check input:checked + label { background: var(--panel); color: var(--on-panel); border-color: var(--panel); }
.check input:focus-visible + label { box-shadow: 0 0 0 4px var(--focus); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bolt-hover); flex: none; }
.form-success { display: flex; flex-direction: column; gap: 14px; background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.form-success .icon { width: 56px; height: 56px; border-radius: 99px; background: var(--bolt); color: var(--on-bolt); display: flex; align-items: center; justify-content: center; }
.form-success .icon svg { width: 28px; height: 28px; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-card { border-top: 2px solid var(--line-strong); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font: inherit; font-size: 0.85rem; font-weight: 700; border: 1.5px solid var(--line); background: transparent; color: var(--fg); border-radius: var(--r-pill); height: 36px; padding: 0 12px; cursor: pointer; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA + footer ---------- */
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta .h1 { max-width: 18ch; }
.site-footer { background: var(--panel); color: var(--on-panel); padding-block: 64px 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { color: var(--on-panel); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-panel-muted); margin-bottom: 4px; }
.footer-col a { text-decoration: none; color: var(--on-panel); }
.footer-col a:hover { color: var(--bolt); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--panel-2); padding-top: 24px; font-size: 0.88rem; color: var(--on-panel-muted); }

/* comparison tables keep readable columns and scroll inside their box on phones */
#named table, table.matrix { min-width: 720px; }

/* ---------- product screenshots in device frames ---------- */
.shot { display: block; width: 100%; height: auto; }
.frame-tablet { background: #0E0F12; border-radius: 28px; padding: 12px; box-shadow: 0 0 0 1px #2E3037; }
.frame-tablet .shot { border-radius: 16px; }
.frame-phone { background: #0E0F12; border-radius: 44px; padding: 9px; width: min(300px, 100%); box-shadow: 0 0 0 1px #2E3037; }
.frame-phone .shot { border-radius: 35px; }
.frame-screen { background: #0E0F12; border-radius: 18px; padding: 10px 10px 14px; box-shadow: 0 0 0 1px #2E3037; }
.frame-screen .shot { border-radius: 8px; }
.frame-browser { background: var(--raised); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.frame-browser .shot { border-top: 1.5px solid var(--line); }
figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.on-panel figcaption { color: var(--on-panel-muted); }

.hero-shots { position: relative; padding: 0 0 48px 64px; min-width: 0; }
.hero-shots .frame-phone { position: absolute; left: 0; bottom: 0; width: 36%; border-radius: 30px; padding: 6px; }
.hero-shots .frame-phone .shot { border-radius: 25px; }
@media (max-width: 900px) { .hero-shots { padding: 0 0 40px 40px; } }

.phone-row { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); justify-items: center; }
.phone-row figure { width: min(300px, 100%); display: flex; flex-direction: column; }
.phone-row .frame-phone { width: 100%; }
.phone-row figcaption b { display: block; color: var(--fg); font-size: 1rem; margin-bottom: 2px; }
.on-panel .phone-row figcaption b { color: var(--on-panel); }

/* ---------- product tour tabs ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tour-tabs [role="tab"] { font: 700 0.95rem var(--font-sans); height: 46px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--raised); color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tour-tabs [role="tab"] svg { width: 18px; height: 18px; }
.tour-tabs [role="tab"]:hover { border-color: var(--line-strong); }
.tour-tabs [role="tab"][aria-selected="true"] { background: var(--bolt); border-color: var(--bolt); color: var(--on-bolt); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.tour-panel.is-phone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tour-panel .phones { display: flex; gap: 20px; justify-content: center; }
.tour-panel .phones .frame-phone { width: min(260px, 48%); }
.tour-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 860px) { .tour-panel, .tour-panel.is-phone { grid-template-columns: minmax(0, 1fr); } }

/* ---------- proof, guarantees, testimonials ---------- */
.proof-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-block: 1.5px solid var(--line); }
.proof-strip > div { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; border-right: 1.5px solid var(--line); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; }
@media (max-width: 560px) { .proof-strip > div { border-right: 0; border-bottom: 1.5px solid var(--line); } .proof-strip > div:last-child { border-bottom: 0; } }
.guarantees { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.guarantee { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--raised); border: 1.5px solid var(--line); color: var(--fg); }
.on-panel .guarantee { background: var(--panel-2); border-color: var(--panel-2); color: var(--on-panel); }
.on-panel .guarantee .muted { color: var(--on-panel-muted); }
.guarantee .seal { width: 52px; height: 52px; border-radius: 99px; background: var(--bolt); color: var(--on-bolt); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; }
.guarantee .seal svg { width: 24px; height: 24px; }
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--raised); border: 1.5px solid var(--line); }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 0.6; color: var(--bolt-hover); margin-bottom: 10px; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; color: var(--fg); }
.quote .avatar { width: 44px; height: 44px; border-radius: 99px; background: var(--panel); color: var(--bolt); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.quote .who { display: flex; flex-direction: column; font-size: 0.92rem; }
.quote .who span { color: var(--muted); }
.quote .saving { align-self: flex-start; font-family: var(--font-mono); font-size: 0.85rem; background: var(--bolt-tint); color: var(--bolt-text); padding: 5px 10px; border-radius: var(--r-pill); }
.example { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: var(--bolt); color: var(--on-bolt); }
.example .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 700px) { .example { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Motion & interactivity
   Everything here is progressive: JS adds the classes, and the reduced-
   motion rule at the top of this file switches all of it off.
   ===================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* product tour: fade between panels */
.tour-panel:not([hidden]) { animation: mbFadeUp .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes mbFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* one-menu diagram: targets light up in turn when it scrolls into view */
.flow-target { transition: border-color .3s, background-color .3s; }
.flow.is-in .flow-target { animation: mbPing 1.5s ease calc(var(--i, 0) * 160ms + 500ms) 2 both; }
.flow-target:nth-child(2) { --i: 1; } .flow-target:nth-child(3) { --i: 2; } .flow-target:nth-child(4) { --i: 3; }
.flow.is-in .flow-arrow svg { animation: mbNudge 1.5s ease .3s 2 both; }
@keyframes mbPing { 0%, 100% { border-color: var(--panel-2); background-color: transparent; } 35% { border-color: var(--bolt); background-color: rgba(255, 214, 10, .1); } }
@keyframes mbNudge { 0%, 100% { transform: none; } 40% { transform: translateX(8px); } }

/* shared small control button (play / pause / restart) */
.demo-ctl { font: 700 0.92rem var(--font-sans); height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: transparent; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.demo-ctl svg { width: 16px; height: 16px; flex: none; }
.demo-ctl:hover { background: var(--bolt-tint); }
.demo-ctl .i-play, .demo-ctl .i-pause { display: inline-flex; }
.demo-ctl .i-pause, .demo-ctl.is-playing .i-play { display: none; }
.demo-ctl.is-playing .i-pause { display: inline-flex; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.demo-label svg { width: 16px; height: 16px; flex: none; }

/* ---------- live notifications on hero screenshots ---------- */
[data-live] { position: relative; }
.frame-tablet, .frame-browser, .frame-phone { position: relative; }
.live-host, .phones[data-live] { padding-bottom: 56px; min-width: 0; }
.live-toast, .live-push { position: absolute; z-index: 3; display: flex; align-items: center; background: #FFFFFF; color: #0E0F12; pointer-events: none; opacity: 0; line-height: 1.25; }
.live-toast { top: 9%; right: 4%; gap: 10px; max-width: min(330px, 80%); padding: 10px 12px 10px 10px; border-radius: 14px; font-size: 13px; box-shadow: 0 0 0 1px rgba(14,15,18,.07), 0 18px 36px -10px rgba(14,15,18,.4); transform: translateY(-12px) scale(.94); transition: opacity .3s ease, transform .5s cubic-bezier(.2,.9,.3,1.3); }
.frame-browser .live-toast { top: 64px; }
.live-push { left: 7%; right: 7%; top: 3.5%; gap: 7px; padding: 7px 8px; border-radius: 13px; font-size: 10.5px; box-shadow: 0 10px 24px -8px rgba(14,15,18,.45); transform: translateY(-130%); transition: opacity .25s ease, transform .55s cubic-bezier(.2,.9,.3,1.15); }
.phones .live-push { font-size: 12px; padding: 9px 10px; border-radius: 16px; }
.live-toast.is-on, .live-push.is-on { opacity: 1; transform: none; }
.lv-ic { flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #FFD60A; color: #0E0F12; width: 34px; height: 34px; }
.lv-ic svg { width: 18px; height: 18px; }
.live-push .lv-ic { width: 24px; height: 24px; border-radius: 7px; background: #0E0F12; color: #FFD60A; font: 800 9px var(--font-display); letter-spacing: -0.02em; }
.phones .live-push .lv-ic { width: 30px; height: 30px; font-size: 11px; }
.lv-t { display: flex; flex-direction: column; min-width: 0; }
.lv-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-t span { color: #5E616A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-pill { flex: none; margin-left: auto; font: 700 11px var(--font-mono); padding: 4px 8px; border-radius: 99px; background: #0E0F12; color: #FFD60A; }
.live-pause { position: absolute; right: 0; bottom: 0; z-index: 4; width: 40px; height: 40px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--raised); color: var(--fg); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.live-pause:hover { border-color: var(--line-strong); }
.live-pause svg { width: 14px; height: 14px; }
@media (max-width: 560px) { .live-toast { font-size: 11.5px; padding: 7px 9px 7px 7px; gap: 8px; border-radius: 11px; } .live-toast .lv-ic { width: 26px; height: 26px; border-radius: 8px; } .live-toast .lv-ic svg { width: 14px; height: 14px; } .lv-pill { font-size: 9.5px; padding: 3px 6px; } .live-push { font-size: 9px; } .live-push .lv-ic { width: 18px; height: 18px; font-size: 7px; border-radius: 5px; } }

/* ---------- interactive order demo ---------- */
.demo { display: flex; flex-direction: column; gap: 18px; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.demo-steps li { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: var(--bg); border: 1.5px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--muted); transition: background-color .3s, border-color .3s, color .3s; }
.demo-steps .n { width: 28px; height: 28px; flex: none; border-radius: 99px; background: var(--raised); border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font: 700 0.8rem var(--font-mono); transition: inherit; }
.demo-steps li.is-done { color: var(--fg); }
.demo-steps li.is-done .n { background: var(--ready); border-color: var(--ready); color: #FFFFFF; }
.demo-steps li.is-current { background: var(--bolt); border-color: var(--bolt); color: var(--on-bolt); }
.demo-steps li.is-current .n { background: var(--on-bolt); border-color: var(--on-bolt); color: var(--bolt); }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-status { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; border-radius: var(--r-md); background: var(--bg); border: 1.5px solid var(--line); }
.demo-mode { flex: none; font: 500 0.72rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--r-pill); background: var(--panel); color: var(--on-panel); }
.demo-mode.is-auto { background: var(--bolt-tint); color: var(--bolt-text); }
.demo-caption { font-weight: 600; }
.demo-switch { display: none; }
.demo-stage { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.demo-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.demo-restaurant { gap: 18px; }
.demo-dev { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ddev { background: #0E0F12; border-radius: 18px; padding: 7px; box-shadow: 0 0 0 1px #2E3037; }
.ddev-screen { background: #FAFAF5; color: #0E0F12; border-radius: 12px; overflow: hidden; font-size: 13px; line-height: 1.35; }

/* demo · phone */
.dphone { width: 300px; max-width: 100%; background: #0E0F12; border-radius: 46px; padding: 9px; box-shadow: 0 0 0 1px #2E3037, 0 30px 60px -30px rgba(14,15,18,.45); }
.dphone-screen { position: relative; height: 610px; border-radius: 37px; overflow: hidden; background: #FAFAF5; color: #0E0F12; display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.dp-statusbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 2px; font-weight: 700; font-size: 13px; }
.dp-sys { display: inline-flex; align-items: flex-end; gap: 2px; }
.dp-sys i { display: block; width: 3px; background: #0E0F12; border-radius: 1px; }
.dp-sys i:nth-child(1) { height: 5px; } .dp-sys i:nth-child(2) { height: 7px; } .dp-sys i:nth-child(3) { height: 9px; }
.dp-sys b { display: block; width: 20px; height: 10px; border: 1.5px solid #0E0F12; border-radius: 3px; margin-left: 5px; box-shadow: inset -6px 0 0 #FAFAF5, inset 0 0 0 1.5px #FAFAF5; background: #0E0F12; }
.dp-head { padding: 10px 18px 12px; display: flex; flex-direction: column; gap: 3px; border-bottom: 1px solid #E4E4DD; }
.dp-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.dp-sub { display: flex; align-items: center; gap: 6px; color: #5E616A; font-size: 12.5px; }
.dp-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dp-menu { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dp-cats { display: flex; gap: 6px; padding: 12px 16px 4px; overflow: hidden; }
.dp-cats span { flex: none; border: 1.5px solid #E4E4DD; border-radius: 99px; padding: 5px 11px; font-weight: 600; font-size: 12px; }
.dp-cats .on { background: #0E0F12; color: #FAFAF5; border-color: #0E0F12; }
.dp-items { list-style: none; margin: 0; padding: 2px 16px; display: flex; flex-direction: column; }
.dp-item { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid #E4E4DD; }
.dp-item:last-child { border-bottom: 0; }
.dp-thumb { width: 50px; height: 50px; flex: none; border-radius: 13px; background: #FFF7CC; color: #6B5600; display: flex; align-items: center; justify-content: center; }
.dp-thumb svg { width: 28px; height: 28px; }
.dp-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dp-item .t b { font-size: 13.5px; }
.dp-item .t small { color: #5E616A; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-item .t .mono { font-weight: 700; font-size: 12.5px; }
.dp-add { position: relative; width: 44px; height: 44px; flex: none; border-radius: 99px; border: 0; background: #FFD60A; color: #0E0F12; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease; }
.dp-add svg { width: 18px; height: 18px; }
.dp-add:hover { background: #E5BC00; }
.dp-add:active { transform: scale(.9); }
.dp-add .q { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #0E0F12; color: #FFD60A; font: 700 11px var(--font-mono); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #FAFAF5; }
.dp-add .q:empty { display: none; }
.is-pop { animation: mbPop .35s cubic-bezier(.2,.9,.3,1.4); }
@keyframes mbPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.dp-basket { margin: auto 12px 14px; height: 54px; flex: none; border-radius: 99px; border: 0; background: #0E0F12; color: #FAFAF5; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; font: 700 14px var(--font-sans); cursor: pointer; text-align: left; transition: opacity .25s, transform .2s; }
.dp-basket[disabled] { opacity: .38; cursor: default; }
.dp-basket .count { width: 38px; height: 38px; flex: none; border-radius: 99px; background: #FFD60A; color: #0E0F12; font: 700 13px var(--font-mono); display: flex; align-items: center; justify-content: center; }
.dp-basket [data-dp-basket-label] { flex: 1; min-width: 0; }
.dp-basket .total { font-family: var(--font-mono); }
.dp-basket.is-nudge { animation: mbNudgeUp .4s ease; }
@keyframes mbNudgeUp { 0%, 100% { transform: none; } 40% { transform: translateY(-5px); } }
.dp-scrim { position: absolute; inset: 0; z-index: 3; background: rgba(14,15,18,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.dp-scrim.is-open { opacity: 1; pointer-events: auto; }
.dp-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #FFFFFF; border-radius: 26px 26px 0 0; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 10px; transform: translateY(105%); transition: transform .42s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -10px 30px rgba(14,15,18,.18); }
.dp-sheet.is-open { transform: none; }
.dp-grab { width: 40px; height: 5px; border-radius: 99px; background: #E4E4DD; align-self: center; }
.dp-sheet-head { display: flex; justify-content: space-between; align-items: center; }
.dp-sheet-head b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.dp-close { width: 36px; height: 36px; border-radius: 99px; border: 0; background: #F1F1EA; color: #0E0F12; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dp-close svg { width: 16px; height: 16px; }
.dp-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.dp-lines li { display: flex; gap: 8px; }
.dp-lines .q { font-family: var(--font-mono); font-weight: 700; }
.dp-lines .nm { flex: 1; }
.dp-lines .mono { font-weight: 600; }
.dp-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #FAFAF5; font-size: 12.5px; }
.dp-row span { display: inline-flex; align-items: center; gap: 7px; color: #5E616A; }
.dp-row svg { width: 15px; height: 15px; }
.dp-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 2px 0; font-weight: 700; }
.dp-sum b { font-size: 18px; }
.dp-pay { height: 54px; border-radius: 99px; border: 0; background: #FFD60A; color: #0E0F12; font: 700 15px var(--font-sans); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.dp-pay:hover { background: #E5BC00; }
.dp-pay.is-busy { pointer-events: none; }
.dp-pay.is-busy::before { content: ""; width: 18px; height: 18px; border-radius: 99px; border: 2.5px solid rgba(14,15,18,.25); border-top-color: #0E0F12; animation: mbSpin .7s linear infinite; }
@keyframes mbSpin { to { transform: rotate(360deg); } }
.dp-track { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px; animation: mbFadeUp .4s cubic-bezier(.2,.7,.2,1) both; }
.dp-track-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 20px 14px; border-radius: 20px; background: #FFF7CC; transition: background-color .4s, color .4s; }
.dp-track-hero b { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.dp-track-hero .mono { font-size: 12.5px; }
.dp-check { width: 48px; height: 48px; border-radius: 99px; background: #0E0F12; color: #FFD60A; display: flex; align-items: center; justify-content: center; }
.dp-check svg { width: 24px; height: 24px; }
.dp-track-hero.is-ready { background: #157F3D; color: #FFFFFF; }
.dp-track-hero.is-ready .dp-check { background: #FFFFFF; color: #157F3D; animation: mbPop .5s cubic-bezier(.2,.9,.3,1.4); }
.dp-prog { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; }
.dp-prog li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; color: #9A9CA3; }
.dp-prog li:last-child { padding-bottom: 0; }
.dp-prog li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: #E4E4DD; }
.dp-prog li:last-child::before { display: none; }
.dp-prog li.is-done::before { background: #157F3D; }
.dp-prog i { position: relative; z-index: 1; flex: none; width: 24px; height: 24px; border-radius: 99px; border: 2px solid #E4E4DD; background: #FAFAF5; display: flex; align-items: center; justify-content: center; color: transparent; transition: background-color .3s, border-color .3s; }
.dp-prog i svg { width: 13px; height: 13px; }
.dp-prog span { display: flex; flex-direction: column; }
.dp-prog b { font-size: 13.5px; }
.dp-prog small { font-size: 11.5px; color: #5E616A; }
.dp-prog li.is-done, .dp-prog li.is-current { color: #0E0F12; }
.dp-prog li.is-done i { background: #157F3D; border-color: #157F3D; color: #FFFFFF; }
.dp-prog li.is-current i { border-color: #FFD60A; background: #FFD60A; animation: mbBeat 1.2s ease-in-out 3; }
@keyframes mbBeat { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,214,10,.0); } 50% { box-shadow: 0 0 0 7px rgba(255,214,10,.45); } }
.dp-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; font-size: 12.5px; }
.dp-summary > span { display: flex; flex-direction: column; gap: 2px; color: #5E616A; min-width: 0; }
.dp-summary > span b { color: #0E0F12; }
.dp-summary > b { font-size: 13px; }
.dp-stamp { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; font-size: 12.5px; font-weight: 600; }
.dp-stamp svg { width: 18px; height: 18px; color: #6B5600; flex: none; }
.dp-push { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(14,15,18,.25); font-size: 12.5px; line-height: 1.3; transform: translateY(-140%); transition: transform .55s cubic-bezier(.2,.9,.3,1.15); }
.dp-push.is-on { transform: none; }
.dp-push-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; background: #0E0F12; color: #FFD60A; font: 800 12px var(--font-display); display: flex; align-items: center; justify-content: center; letter-spacing: -0.02em; }
.dp-push-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dp-push-t span { color: #5E616A; }
.dp-push-time { align-self: flex-start; color: #5E616A; font-size: 11px; }

/* demo · till */
.dt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; background: #FFFFFF; border-bottom: 1px solid #E4E4DD; }
.dt-tabs { display: flex; gap: 4px; }
.dt-tabs span { padding: 5px 10px; border-radius: 99px; font-weight: 600; font-size: 12px; color: #5E616A; }
.dt-tabs .on { background: #0E0F12; color: #FAFAF5; }
.dt-tabs i { font: 700 11px var(--font-mono); font-style: normal; background: #FFD60A; color: #0E0F12; border-radius: 99px; padding: 1px 6px; margin-left: 4px; display: inline-block; }
.dt-rows { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.dt-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; font-size: 12.5px; }
.dt-row .no { font-family: var(--font-mono); font-weight: 700; }
.dt-row .who { color: #5E616A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-row .who b { color: #0E0F12; }
.dt-row .amt { font-family: var(--font-mono); font-weight: 700; }
.dt-row.is-in { animation: mbRowIn .55s cubic-bezier(.2,.8,.2,1) both, mbFlash 1.6s ease .3s; }
@keyframes mbRowIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes mbFlash { 0%, 100% { box-shadow: inset 0 0 0 1px #E4E4DD; background: #FFFFFF; } 25% { box-shadow: inset 0 0 0 2px #FFD60A; background: #FFF7CC; } }
.pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; white-space: nowrap; transition: background-color .3s, color .3s; }
.pill-new { background: #FFD60A; color: #0E0F12; }
.pill-kitchen { background: #E3EAFC; color: #1D4ED8; }
.pill-ready { background: #DCF2E3; color: #126B33; }
.pill-out { background: #EEEEE8; color: #5E616A; }

/* demo · kitchen display */
.dk-top { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: #FFFFFF; border-bottom: 1px solid #E4E4DD; }
.dk-top .sp { margin-left: auto; font-weight: 700; }
.dk-tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; min-height: 232px; align-items: start; }
.tk { background: #FFFFFF; border-radius: 10px; box-shadow: inset 0 0 0 1px #E4E4DD; overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; }
.tk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 7px 10px; background: #0E0F12; color: #FAFAF5; font-family: var(--font-mono); font-weight: 700; transition: background-color .4s, color .4s; }
.tk-head .no { font-size: 15px; }
.tk-head .tm { font-size: 13px; font-variant-numeric: tabular-nums; }
.tk.is-late .tk-head { background: #C62A1F; color: #FFFFFF; }
.tk.is-new .tk-head { background: #FFD60A; color: #0E0F12; }
.tk-meta { padding: 6px 10px; color: #5E616A; font-size: 11.5px; border-bottom: 1px dashed #E4E4DD; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.tk-alert { font-weight: 700; font-size: 11px; color: #A3241B; background: #FDE4E1; padding: 2px 7px; border-radius: 99px; }
.tk-lines { list-style: none; margin: 0; padding: 4px; display: flex; flex-direction: column; }
.tk-line { display: flex; gap: 8px; align-items: flex-start; width: 100%; min-height: 36px; padding: 6px; border-radius: 8px; text-align: left; background: transparent; border: 0; font: inherit; color: inherit; }
button.tk-line { cursor: pointer; }
button.tk-line:hover { background: #F1F1EA; }
.tk-line .box { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 5px; border: 1.5px solid #C9CAC2; display: flex; align-items: center; justify-content: center; color: transparent; transition: background-color .2s, border-color .2s; }
.tk-line .box svg { width: 12px; height: 12px; }
.tk-line .q { font-family: var(--font-mono); font-weight: 700; }
.tk-line small { display: block; color: #5E616A; font-size: 11px; }
.tk-line.is-done { color: #9A9CA3; }
.tk-line.is-done .nm { text-decoration: line-through; }
.tk-line.is-done .box { background: #157F3D; border-color: #157F3D; color: #FFFFFF; }
.tk-bump { margin: 2px 6px 6px; height: 40px; border-radius: 9px; border: 0; background: #F1F1EA; color: #0E0F12; font: 700 13px var(--font-sans); display: flex; align-items: center; justify-content: center; }
button.tk-bump { cursor: pointer; }
button.tk-bump:hover { background: #E4E4DD; }
.tk-bump.is-ready { background: #157F3D; color: #FFFFFF; }
.tk.is-in { animation: mbTicketIn .55s cubic-bezier(.2,.8,.2,1) both; }
.tk.is-out { animation: mbTicketOut .45s ease forwards; }
@keyframes mbTicketIn { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes mbTicketOut { to { opacity: 0; transform: translateY(-24px) scale(.94); } }

/* demo · collection screen */
.dc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dc-col { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dc-col + .dc-col { border-left: 1px solid #E4E4DD; }
.dc-h { font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #5E616A; }
.dc-ready .dc-h { color: #126B33; }
.dc-nums { display: flex; flex-wrap: wrap; gap: 6px; min-height: 38px; }
.dc-num { font: 700 19px var(--font-mono); padding: 4px 10px; border-radius: 8px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; }
.dc-ready .dc-num { background: #157F3D; color: #FFFFFF; box-shadow: none; }
.dc-num.is-in { animation: mbPop .5s cubic-bezier(.2,.9,.3,1.4); }
.dc-ready .dc-num.is-in { animation: mbPop .5s cubic-bezier(.2,.9,.3,1.4), mbReady 1.8s ease .2s; }
@keyframes mbReady { 0%, 100% { box-shadow: 0 0 0 0 rgba(21,127,61,0); } 30% { box-shadow: 0 0 0 7px rgba(21,127,61,.28); } }

/* demo · moving parts */
.demo-packet { position: absolute; left: 0; top: 0; z-index: 20; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 99px; background: #FFD60A; color: #0E0F12; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(255,214,10,.3), 0 10px 20px rgba(14,15,18,.25); opacity: 0; pointer-events: none; }
.demo-packet svg { width: 20px; height: 20px; }
.demo-finger { position: absolute; left: 0; top: 0; z-index: 21; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 99px; background: rgba(14,15,18,.2); border: 2.5px solid rgba(255,255,255,.95); box-shadow: 0 6px 16px rgba(14,15,18,.3); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.3,.7,.2,1), opacity .3s; }
.demo-finger.is-on { opacity: 1; }
.demo-finger.no-move { transition: opacity .3s; }
.demo-finger::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 3px solid #FFD60A; opacity: 0; }
.demo-finger.is-tap::after { animation: mbTap .5s ease-out; }
@keyframes mbTap { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.7); } }
.demo .is-next { animation: mbHint 1.6s ease-in-out 4; }
.demo .is-next.is-nudge { animation: mbNudgeUp .4s ease, mbHint 1.6s ease-in-out 4; }
@keyframes mbHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,214,10,0); } 50% { box-shadow: 0 0 0 6px rgba(255,214,10,.75); } }

/* demo · what it cost */
.demo-receipt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.demo-receipt > div { padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; border-right: 1.5px solid var(--line); min-width: 0; }
.demo-receipt > div:last-child { border-right: 0; }
.demo-receipt b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color .3s; }
.demo-receipt .muted, .demo-receipt span:last-child { font-size: 0.88rem; }
.demo-receipt .keep { background: var(--bolt); color: var(--on-bolt); }
.demo-receipt .keep .eyebrow { color: var(--on-bolt); }
.demo-receipt.is-empty b { color: #B4B6BC; }
.demo-receipt.is-empty .keep b { color: rgba(14,15,18,.35); }
@media (max-width: 879px) {
  .demo-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
  .demo-switch button { font: 700 0.95rem var(--font-sans); height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--fg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
  .demo-switch button svg { width: 18px; height: 18px; }
  .demo-switch button[aria-pressed="true"] { background: var(--panel); color: var(--on-panel); }
  .demo-stage { grid-template-columns: minmax(0, 1fr); }
  .demo-stage[data-view="customer"] .demo-restaurant, .demo-stage[data-view="restaurant"] .demo-customer { display: none; }
  .demo-customer { align-items: center; }
  .demo-col { animation: mbFadeUp .35s cubic-bezier(.2,.7,.2,1) both; }
  .demo-receipt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-receipt > div:nth-child(2) { border-right: 0; }
  .demo-receipt > div:nth-child(-n+2) { border-bottom: 1.5px solid var(--line); }
}
@media (max-width: 640px) {
  .demo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .demo-steps li { flex-direction: column; justify-content: flex-start; height: auto; padding: 8px 4px; border-radius: 14px; gap: 5px; text-align: center; font-size: 0.74rem; line-height: 1.2; }
  .demo-controls { width: 100%; }
  .demo-controls .demo-ctl { flex: 1; justify-content: center; }
  .demo-status { align-items: flex-start; flex-direction: column; gap: 8px; }
  .dk-tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk.hide-sm { display: none; }
  .dt-row { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .dt-row .amt { display: none; }
  .dt-tabs span:not(.on) { display: none; }
}

/* ---------- mini flows on service pages ---------- */
.miniflow { display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 4vw, 36px); border-radius: var(--r-lg); background: var(--raised); border: 1.5px solid var(--line); }
.mf-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mf-steps { --p: 0; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.mf-steps::before, .mf-steps::after { content: ""; position: absolute; top: 30px; height: 4px; margin-top: -2px; border-radius: 4px; left: calc(50% / var(--n, 4)); }
.mf-steps::before { right: calc(50% / var(--n, 4)); background: var(--line); }
.mf-steps::after { width: calc((100% - 100% / var(--n, 4)) * var(--p)); background: var(--bolt); transition: width .7s cubic-bezier(.4,0,.2,1); }
.mf-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.mf-node { width: 60px; height: 60px; flex: none; border-radius: 99px; border: 2px solid var(--line); background: var(--raised); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .35s, border-color .35s, color .35s, transform .35s cubic-bezier(.2,.9,.3,1.4), box-shadow .35s; }
.mf-node svg { width: 26px; height: 26px; }
.mf-node:hover { border-color: var(--line-strong); }
.mf-step b { font-size: 1rem; line-height: 1.3; }
.mf-step .muted { font-size: 0.9rem; line-height: 1.4; }
.mf-step.is-done .mf-node { background: var(--panel); border-color: var(--panel); color: var(--bolt); }
.mf-step.is-active .mf-node { background: var(--bolt); border-color: var(--bolt); color: var(--on-bolt); transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255, 214, 10, .28); }
.mf-tok { font: 700 0.8rem var(--font-mono); background: var(--panel); color: var(--bolt); padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s cubic-bezier(.2,.9,.3,1.3); }
.mf-step.is-active .mf-tok { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .mf-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mf-steps::before, .mf-steps::after { top: 30px; left: 30px; margin: 0 0 0 -2px; width: 4px; }
  .mf-steps::before { bottom: 30px; right: auto; height: auto; }
  .mf-steps::after { height: calc((100% - 60px) * var(--p)); transition: height .7s cubic-bezier(.4,0,.2,1); }
  .mf-step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; text-align: left; }
  .mf-node { grid-row: span 3; align-self: start; }
  .mf-tok { justify-self: start; margin-top: 4px; }
}

/* ---------- menu sync demo (websites) ---------- */
.sync { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .sync { grid-template-columns: minmax(0, 1fr); } }
.sync-panel { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--panel); color: var(--on-panel); }
.sync-panel .demo-label { color: var(--on-panel-muted); }
.sync-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sync-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--panel-2); }
.sync-list li:last-child { border-bottom: 0; }
.sync-list .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sync-list .t .muted { color: var(--on-panel-muted); font-size: 0.88rem; }
.sync-list .state { font: 500 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-panel-muted); }
.switch { position: relative; width: 56px; height: 32px; flex: none; border-radius: 99px; border: 0; background: var(--panel-2); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1.5px #3A3D45; transition: background-color .25s; }
.switch span { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 99px; background: var(--on-panel-muted); transition: transform .3s cubic-bezier(.2,.9,.3,1.3), background-color .25s; }
.switch[aria-checked="true"] { background: var(--bolt); box-shadow: none; }
.switch[aria-checked="true"] span { transform: translateX(24px); background: var(--on-bolt); }
.sync-note { font-size: 0.9rem; color: var(--on-panel-muted); min-height: 2.8em; }
.sync-targets { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.sync-t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sync-t .ddev { transition: box-shadow .3s; }
.sync-t.is-sync .ddev { animation: mbSync 1.1s ease; }
@keyframes mbSync { 0%, 100% { box-shadow: 0 0 0 1px #2E3037; } 30% { box-shadow: 0 0 0 4px #FFD60A; } }
.sync-t .demo-label { justify-content: space-between; width: 100%; }
.sync-t .upd { font: 700 0.7rem var(--font-mono); letter-spacing: 0.04em; text-transform: none; background: var(--bolt); color: var(--on-bolt); padding: 3px 8px; border-radius: 99px; opacity: 0; transition: opacity .3s; }
.sync-t.is-sync .upd { opacity: 1; }
.st-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid #E4E4DD; background: #FFFFFF; font: 11px var(--font-mono); color: #5E616A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar i { width: 7px; height: 7px; border-radius: 99px; background: #E4E4DD; flex: none; }
.st-head { padding: 9px 12px 4px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.02em; }
.st-list { list-style: none; margin: 0; padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.st-item { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; font-size: 12.5px; transition: opacity .3s, background-color .3s; }
.st-item .nm { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-item .pr { font: 700 12px var(--font-mono); }
.st-item .tag { display: none; font: 700 10.5px var(--font-sans); padding: 2px 7px; border-radius: 99px; background: #EEEEE8; color: #5E616A; white-space: nowrap; }
.st-item .plus { width: 26px; height: 26px; flex: none; border-radius: 99px; background: #FFD60A; color: #0E0F12; display: flex; align-items: center; justify-content: center; }
.st-item .plus svg { width: 13px; height: 13px; }
.st-item.is-out { background: #F4F4EF; }
.st-item.is-out .nm, .st-item.is-out .pr { color: #9A9CA3; }
.st-item.is-out .pr, .st-item.is-out .plus { display: none; }
.st-item.is-out .tag { display: inline-block; }
.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px; }
.st-tile { min-height: 74px; border-radius: 10px; padding: 8px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E4DD; display: flex; flex-direction: column; justify-content: space-between; font-weight: 700; font-size: 12px; line-height: 1.2; transition: background-color .3s, color .3s; }
.st-tile .pr { font: 500 11.5px var(--font-mono); color: #6B5600; }
.st-tile.is-out { background: repeating-linear-gradient(135deg, #F1F1EA 0 6px, #E7E7E0 6px 12px); color: #9A9CA3; }
.st-tile.is-out .pr { color: #A3241B; font-weight: 700; }
.st-item.is-flip, .st-tile.is-flip { animation: mbPop .45s cubic-bezier(.2,.9,.3,1.4); }
