/* ═══════════════════════════════════════════════════════════════════
   website.css — Restozay public marketing site design system (v2)
   ───────────────────────────────────────────────────────────────────
   Shared by every page under app/templates/website/. Keep page-specific
   rules in the page's own <style> block.

   v2 (2026-09-28): new visual system. Manrope display + Inter body, an
   emerald-on-white palette with deep "ink" showcase bands, chip eyebrows,
   softer elevated cards, and reworked pricing / comparison / CTA / footer.
   Every selector from v1 is kept so the city, guide and locations pages
   pick the refresh up without markup changes.

   Sections:
     1. Tokens & reset      6. Merchant directory
     2. Layout utilities    7. Pricing
     3. Nav (+ mobile)      8. CTA band & footer
     4. Hero                9. City / location pages, explainers, index,
     5. Sections & cards       comparison, business types
    10. Responsive         11. Hero tour (workflow.html)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. TOKENS & RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand green scale */
  --g-50:  #EDFBF4;
  --g-100: #D3F4E5;
  --g-200: #A8E9CC;
  --g-300: #72DBAF;
  --g-400: #3DCB95;
  --g-500: #16B67F;   /* brand */
  --g-600: #119A6B;
  --g-700: #0C7A55;   /* text on light — 5.2:1 on white */
  --g-800: #0A5B41;
  --g-900: #073D2C;

  /* v1 names, kept as aliases so every existing rule maps onto the new scale */
  --teal:     var(--g-500);
  --teal-lt:  var(--g-300);
  --teal-bg:  var(--g-50);
  --teal-dk:  var(--g-700);
  --teal-xdk: var(--g-900);

  --amber:    #F0A32B;
  --amber-lt: #FFD27A;
  --amber-bg: #FFF6E4;
  --amber-dk: #8C5A0E;
  --coral:    #E2634A;
  --coral-bg: #FDEEE9;
  --coral-dk: #9B3F28;
  --violet:   #7C5CFF;   /* AI feature marks */

  /* Neutrals: cool, faintly green-tinted */
  --bg:        #F6F8F7;   /* page */
  --bg-white:  #FFFFFF;
  --surface-2: #EDF1EF;
  --bg-dark:   #0A1512;
  --bg-dark2:  #10201A;
  --border:    #E3E8E5;
  --border2:   #CBD5CF;
  --text-1:    #0E1A15;
  --text-2:    #4A5852;
  --text-3:    #6E7C76;   /* 4.7:1 on white */

  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --max-w:    1180px;
  --rs:   8px;
  --r:    12px;
  --rl:   16px;
  --rxl:  22px;
  --r2xl: 28px;

  /* Dark showcase bands */
  --ink-0: #050B09;
  --ink-1: #0A1512;
  --ink-2: #10201A;
  --ink-3: #183027;
  --on-dark:   rgba(255,255,255,0.95);
  --on-dark-2: rgba(255,255,255,0.72);
  --on-dark-3: rgba(255,255,255,0.50);
  --rule-dark:  rgba(255,255,255,0.10);
  --rule-light: rgba(14,26,21,0.07);

  /* Elevation — layered and cool, never one hard drop */
  --e1: 0 1px 2px rgba(10,21,18,.04), 0 2px 8px rgba(10,21,18,.04);
  --e2: 0 2px 4px rgba(10,21,18,.04), 0 10px 28px rgba(10,21,18,.07);
  --e3: 0 4px 10px rgba(10,21,18,.05), 0 22px 56px rgba(10,21,18,.10);
  --e4: 0 8px 16px rgba(10,21,18,.08), 0 36px 90px rgba(10,21,18,.16);
  --glow: 0 8px 24px rgba(22,182,127,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}

h1, h2, h3, .section-h, .cta-h, .fx-text h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
img { display: block; }
::selection { background: var(--g-200); color: var(--g-900); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--g-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── 2. LAYOUT UTILITIES ─── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
@media(max-width:768px){ .wrap { padding: 0 20px; } }

.stripe { height: 3px; background: linear-gradient(90deg, var(--g-700) 0%, var(--g-400) 55%, var(--amber) 100%); }

/* ─── DARK SHOWCASE SECTIONS ──────────────────────────────────────
   Add .dark-panel to a full-bleed band. Everything inside inverts via the
   --on-dark tokens; the glow and dot grid are pseudo-elements. */
.dark-panel {
  position: relative;
  isolation: isolate;
  background: var(--ink-1);
  color: var(--on-dark);
  overflow: hidden;
}
.dark-panel::before {
  content: '';
  position: absolute; inset: -40% -20% auto -20%;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(46% 55% at 16% 10%, rgba(22,182,127,.30), transparent 62%),
    radial-gradient(40% 50% at 84% 6%,  rgba(114,219,175,.16), transparent 60%),
    radial-gradient(50% 60% at 62% 98%, rgba(240,163,43,.09), transparent 64%);
  pointer-events: none;
}
.dark-panel::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.dark-panel h1, .dark-panel h2, .dark-panel h3 { color: var(--on-dark); }
.dark-panel .section-h { color: var(--on-dark); }
.dark-panel .section-h em { color: var(--g-300); }
.dark-panel .section-sub { color: var(--on-dark-2); }
.dark-panel .section-eyebrow { color: var(--g-300); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10); }
.dark-panel .section-eyebrow::before { background: var(--g-300); box-shadow: 0 0 0 3px rgba(114,219,175,.18); }

.glass {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--rule-dark);
  border-radius: var(--rl);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hr-fade {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--rule-light) 18%, var(--rule-light) 82%, transparent);
}
.dark-panel .hr-fade {
  background: linear-gradient(90deg, transparent, var(--rule-dark) 18%, var(--rule-dark) 82%, transparent);
}

/* ─── SCROLL REVEAL ─── (gated on .js so nothing is hidden without JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .07s; }
.js .reveal-d2 { transition-delay: .14s; }
.js .reveal-d3 { transition-delay: .21s; }

/* ─── ICONS ─── (Lucide sprite; size and colour come from the container) */
.ic {
  width: 1em; height: 1em;
  display: block;
  flex-shrink: 0;
  stroke-width: 2;
}
.ic-thin { stroke-width: 1.75; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--g-600); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--r) 0;
  font-size: 13px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ─── 3. NAV ───────────────────────────────────────────────────────
   A full-width bar at rest that condenses into a floating glass pill once
   you scroll. Scoped to .site-nav, never the bare `nav` element. */
:root { --nav-h: 70px; --nav-h-sm: 58px; }

.site-nav {
  position: sticky; top: 0; z-index: 200;
  padding: 0 20px;
  transition: padding .42s var(--ease);
}
.site-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(14,26,21,.07);
  opacity: 1;
  transition: opacity .32s ease;
  pointer-events: none;
}
.site-nav.scrolled { padding: 12px 20px 0; }
.site-nav.scrolled::before { opacity: 0; }

.nav-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transition: height .42s var(--ease), max-width .42s var(--ease), padding .42s var(--ease),
              border-radius .42s var(--ease), background .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.site-nav.scrolled .nav-inner {
  height: var(--nav-h-sm);
  max-width: calc(var(--max-w) - 60px);
  padding: 0 10px 0 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  border-color: rgba(14,26,21,.09);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, var(--e3);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  backdrop-filter: blur(26px) saturate(190%);
}
.site-nav.scrolled .nav-links a { color: var(--text-1); }
.site-nav.scrolled .nav-links a:hover { background: rgba(14,26,21,.06); }
.site-nav.scrolled .logo-name { color: var(--text-1); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  object-fit: contain;
  transition: transform .42s var(--ease);
}
.site-nav.scrolled .logo-mark { transform: scale(.92); }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--text-1); letter-spacing: -0.035em; transition: color .3s; }
.logo-name em { font-style: normal; color: var(--g-500); transition: color .3s; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--g-800); background: var(--g-50); }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Secondary nav action: WhatsApp, a genuinely different route from Login. */
.btn-nav-ghost {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--text-1);
  background: #fff; border: 1px solid var(--border2); border-radius: 999px; padding: 9px 16px;
  transition: border-color .2s, background .2s, color .2s, transform .18s var(--ease);
}
.btn-nav-ghost .ic { width: 15px; height: 15px; color: var(--g-600); }
.btn-nav-ghost:hover { border-color: var(--g-300); color: var(--g-800); background: var(--g-50); transform: translateY(-1px); }
.dark-top .site-nav .btn-nav-ghost { color: var(--on-dark); background: rgba(255,255,255,.06); border-color: var(--rule-dark); }
.dark-top .site-nav .btn-nav-ghost .ic { color: var(--g-300); }
.dark-top .site-nav.scrolled .btn-nav-ghost { color: var(--text-1); background: #fff; border-color: var(--border2); }
.dark-top .site-nav.scrolled .btn-nav-ghost .ic { color: var(--g-600); }
@media(max-width:1080px){ .btn-nav-ghost { display: none; } }
.btn-primary {
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--g-500);
  border: none; border-radius: 999px; padding: 10px 20px;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, var(--glow);
  transition: transform .18s var(--ease), box-shadow .2s, background .2s;
}
.btn-primary:hover {
  background: var(--g-600);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 28px rgba(22,182,127,.34);
}
@media(max-width:900px){ .nav-links { display:none; } }

/* Over a dark hero: no bar at rest, the pill takes over on scroll. */
.dark-top .site-nav { margin-bottom: calc(-1 * var(--nav-h)); }
.dark-top .site-nav::before { opacity: 0; }
.dark-top .hero-inner { padding-top: calc(66px + var(--nav-h)); }
.dark-top .site-nav .logo-name { color: var(--on-dark); }
.dark-top .site-nav .logo-name em { color: var(--g-300); }
.dark-top .site-nav .nav-links a { color: var(--on-dark-2); }
.dark-top .site-nav .nav-links a:hover { color: #fff; background: rgba(255,255,255,.10); }
.dark-top .site-nav .nav-hamburger { border-color: var(--rule-dark); }
.dark-top .site-nav .nav-hamburger .hb { background: var(--on-dark); }

.dark-top .site-nav.scrolled .logo-name { color: var(--text-1); }
.dark-top .site-nav.scrolled .logo-name em { color: var(--g-500); }
.dark-top .site-nav.scrolled .nav-links a { color: var(--text-2); }
.dark-top .site-nav.scrolled .nav-links a:hover { color: var(--text-1); background: rgba(14,26,21,.05); }
.dark-top .site-nav.scrolled .nav-hamburger { border-color: var(--border2); }
.dark-top .site-nav.scrolled .nav-hamburger .hb { background: var(--text-1); }

@media(max-width:540px){
  .site-nav { padding: 0 14px; }
  .site-nav.scrolled { padding: 8px 14px 0; }
  .nav-inner { padding: 0 14px; }
  .site-nav.scrolled .nav-inner { padding: 0 8px 0 14px; }
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 999px;
  width: 38px; height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s;
}
.nav-hamburger:hover { border-color: var(--g-500); }
.nav-hamburger .hb { width: 18px; height: 2px; background: var(--text-1); border-radius: 2px; transition: all .25s ease; }
.nav-hamburger.open .hb:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hb:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .hb:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media(max-width:900px) { .nav-hamburger { display: flex; } }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  transition: top .42s var(--ease);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 20px;
  z-index: 190;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.site-nav.scrolled + .mobile-nav { top: calc(var(--nav-h-sm) + 12px); }
.mobile-nav.open { display: flex; animation: mnSlide .2s ease; }
@keyframes mnSlide { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: translateY(0); } }
.mn-link {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}
.mn-link:hover { color: var(--g-600); }
.mn-actions { display: flex; gap: 10px; margin-top: 14px; }
.mn-actions .btn-primary { flex: 1; justify-content: center; padding: 12px 20px; }

/* ─── 4. HERO — dark showcase ─────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-1);
  color: var(--on-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -30% -15% auto -15%;
  height: 150%;
  z-index: -1;
  background:
    radial-gradient(44% 56% at 12% 4%,  rgba(22,182,127,.34), transparent 62%),
    radial-gradient(38% 50% at 88% 0%,  rgba(114,219,175,.18), transparent 58%),
    radial-gradient(52% 55% at 74% 96%, rgba(240,163,43,.10), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 75% at 50% 28%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(80% 75% at 50% 28%, #000 18%, transparent 76%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 96px 40px 88px;
  display: grid; grid-template-columns: 1fr 430px; gap: 60px; align-items: center;
}
/* Base = light ground (city pages, /locations). */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--g-50); color: var(--g-800);
  border: 1px solid var(--g-100);
  border-radius: 999px; padding: 6px 14px 6px 11px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; margin-bottom: 26px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: var(--g-500); border-radius: 50%; animation: blink 2s infinite; }
.hero .hero-eyebrow, .dark-panel .hero-eyebrow {
  background: rgba(255,255,255,.07);
  color: var(--g-200);
  border-color: rgba(114,219,175,.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .hero-eyebrow span, .dark-panel .hero-eyebrow span {
  background: var(--g-300); box-shadow: 0 0 0 3px rgba(114,219,175,.18);
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--on-dark);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal; font-weight: 800;
  background: linear-gradient(94deg, var(--g-300) 8%, #BDF1DA 48%, var(--amber-lt) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-desc { font-size: 17px; color: var(--on-dark-2); line-height: 1.7; max-width: 470px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 42px; }

/* Base = light ground: green fill + bordered ghost. */
.btn-hero {
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: #fff;
  background: var(--g-500); border: none; border-radius: var(--r); padding: 14px 26px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: var(--glow);
  transition: transform .18s var(--ease), box-shadow .18s, background .2s;
}
.btn-hero:hover { background: var(--g-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,182,127,.34); }
.btn-hero-outline {
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--text-1);
  background: var(--bg-white);
  border: 1px solid var(--border2); border-radius: var(--r); padding: 13px 22px;
  display: flex; align-items: center; gap: 9px;
  transition: border-color .2s, background .2s, transform .18s, color .2s;
}
.btn-hero-outline:hover { border-color: var(--g-400); color: var(--g-700); background: var(--g-50); transform: translateY(-2px); }

/* Dark ground override: light button reads as primary against ink. */
.hero .btn-hero, .dark-panel .btn-hero {
  color: var(--ink-0);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 32px rgba(0,0,0,.30);
}
.hero .btn-hero:hover, .dark-panel .btn-hero:hover {
  background: var(--g-50);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 16px 40px rgba(0,0,0,.36);
}
.hero .btn-hero-outline, .dark-panel .btn-hero-outline {
  color: var(--on-dark);
  background: rgba(255,255,255,.06);
  border-color: var(--rule-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .btn-hero-outline:hover, .dark-panel .btn-hero-outline:hover {
  border-color: rgba(114,219,175,.5); background: rgba(114,219,175,.10); color: #fff;
}
.hero-trust { display: flex; align-items: center; gap: 18px; }
.trust-avatars { display: flex; }
.trust-avatars .av {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--ink-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  margin-left: -9px;
}
.trust-avatars .av:first-child { margin-left: 0; }
.trust-text { font-size: 13px; color: var(--on-dark-3); line-height: 1.5; }
.trust-text strong { color: var(--on-dark); font-weight: 600; }

.hero-visual { min-height: 440px; align-self: stretch; }
@media(max-width:900px){ .hero-visual { display: none; } }

/* LIVE ORDER CARD — glass panel in the dashboard showcase. */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--rule-dark);
  border-radius: var(--rxl);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset, 0 30px 70px rgba(0,0,0,.42);
}
.hc-bar { background: rgba(255,255,255,.05); border-bottom: 1px solid var(--rule-dark); padding: 11px 16px; display: flex; align-items: center; gap: 8px; }
.hc-bar-dots { display: flex; gap: 5px; }
.hc-bar-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.24); }
.hc-bar-title { font-size: 11.5px; color: var(--on-dark-2); font-weight: 500; margin-left: 4px; }
.hc-body { padding: 16px; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hc-stat { background: rgba(255,255,255,.05); border: 1px solid var(--rule-dark); border-radius: 11px; padding: 11px 12px; }
.hc-stat .n { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--on-dark); line-height: 1.1; margin-bottom: 3px; letter-spacing: -.02em; }
.hc-stat .l { font-size: 10.5px; color: var(--on-dark-3); }
.hc-stat.green .n { color: var(--g-300); }
.hc-stat.amber .n { color: var(--amber-lt); }
.hc-orders { background: rgba(255,255,255,.04); border: 1px solid var(--rule-dark); border-radius: 11px; }
.hc-orders-hd { padding: 10px 12px; border-bottom: 1px solid var(--rule-dark); font-size: 11px; font-weight: 600; color: var(--on-dark-2); display: flex; justify-content: space-between; }
.hc-orders-hd span { color: var(--g-300); font-size: 10.5px; }
.hc-order-row { padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule-dark); }
.hc-order-row:last-child { border-bottom: none; }
.hc-order-info { display: flex; align-items: center; gap: 9px; }
.hc-order-av { width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.hc-order-name { font-size: 12px; font-weight: 600; color: var(--on-dark); }
.hc-order-item { font-size: 10.5px; color: var(--on-dark-3); }
.hc-order-price { font-size: 12px; font-weight: 700; color: var(--g-300); }
.hc-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.badge-live { background: rgba(114,219,175,.16); color: var(--g-300); }
.badge-done { background: rgba(255,255,255,.08); color: var(--on-dark-3); }
.badge-new { background: rgba(255,210,122,.16); color: var(--amber-lt); }

/* ─── TICKER ─── */
.ticker { background: var(--ink-0); border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); padding: 13px 0; overflow: hidden; }
.ticker-inner { display: inline-block; white-space: nowrap; animation: ticker 32s linear infinite; }
.ticker-inner span { margin: 0 30px; font-size: 11.5px; color: var(--on-dark-2); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-inner span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 14px; vertical-align: middle; background: var(--g-400); box-shadow: 0 0 0 3px rgba(61,203,149,.16); }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── 5. SECTION BASE ─── */
.section { padding: 112px 0; border-bottom: 1px solid var(--rule-light); }
.section.alt { background: var(--bg-white); }
.section.dark-panel { border-bottom: none; }
/* Eyebrow: a chip with a live dot */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  color: var(--g-700); background: var(--g-50);
  border: 1px solid var(--g-100); border-radius: 999px;
  padding: 8px 13px 8px 10px; margin-bottom: 20px;
}
.section-eyebrow::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 3px rgba(22,182,127,.16); }
.section-h {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.9vw, 46px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.04em;
  color: var(--text-1); margin-bottom: 16px;
}
.section-h em { font-style: normal; color: var(--g-600); }
.section-h.light { color: var(--on-dark); }
.section-sub { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 60ch; margin-bottom: 56px; }
.section-sub.light { color: var(--on-dark-2); }

/* FEATURES */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  position: relative;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 30px 28px;
  box-shadow: var(--e1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.feat:hover { border-color: var(--g-200); transform: translateY(-4px); box-shadow: var(--e3); }
.feat.accent { background: linear-gradient(160deg, var(--g-50) 0%, #fff 70%); border-color: var(--g-100); }
.feat-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(160deg, var(--g-50), #fff);
  border: 1px solid var(--g-100); color: var(--g-700);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 18px;
  box-shadow: 0 1px 0 #fff inset;
}
.feat.accent .feat-ico { background: var(--g-500); border-color: var(--g-500); color: #fff; box-shadow: var(--glow); }
.feat-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--text-1); margin-bottom: 8px; }
.feat.accent .feat-title { color: var(--g-900); }
.feat-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.62; }
.feat.accent .feat-desc { color: var(--g-800); }
@media(max-width:768px){ .feat-grid { grid-template-columns: 1fr; } }

/* PRODUCT SCREENSHOT */
.shot {
  position: relative;
  margin-top: 52px;
  border-radius: var(--r2xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.10) inset, 0 40px 90px rgba(0,0,0,.45);
  background: var(--ink-2);
  aspect-ratio: 1711 / 919;
}
.shot picture { display: block; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.shot-cap { font-size: 13.5px; color: var(--text-3); line-height: 1.6; margin-top: 14px; max-width: 720px; }
.shot-cap.on-dark { color: var(--on-dark-3); }

.dash-live { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; margin-top: 32px; }
.dash-live .shot-stats { grid-template-columns: 1fr 1fr; margin-top: 0; }
@media(max-width:900px){ .dash-live { grid-template-columns: 1fr; } }

.shot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.shot-stat { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--rxl); padding: 22px 24px; box-shadow: var(--e1); }
.shot-stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--g-600); line-height: 1.05; margin-bottom: 6px; letter-spacing: -.035em; }
.shot-stat .l { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
.dark-panel .shot-stat {
  background: rgba(255,255,255,.055);
  border-color: var(--rule-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.07) inset;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.dark-panel .shot-stat .n { color: var(--g-300); }
.dark-panel .shot-stat .l { color: var(--on-dark-3); }
@media(max-width:768px){ .shot-stats { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media(max-width:540px){ .shot { margin-top: 30px; border-radius: 14px; } }

/* HOW IT WORKS (legacy four-step strip, still used by city + CRM pages) */
.hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.hiw-grid::before {
  content: '';
  position: absolute;
  top: 22px; left: 11%; right: 11%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--g-400) 0, var(--g-400) 8px, transparent 8px, transparent 18px);
}
.hiw-step { text-align: center; padding: 0 16px; position: relative; }
.hiw-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-white); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text-2);
  margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.hiw-step.active .hiw-num { background: var(--g-500); border-color: var(--g-500); color: #fff; box-shadow: var(--glow); }
.hiw-title { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.hiw-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* PARTNERS (dark band) */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.partner-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--rxl); padding: 26px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.partner-card:hover { border-color: rgba(114,219,175,0.4); background: rgba(22,182,127,0.07); transform: translateY(-3px); }
.partner-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.partner-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.partner-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--on-dark); }
.partner-type { font-size: 11.5px; color: var(--on-dark-3); margin-top: 1px; }
.partner-desc { font-size: 13.5px; color: var(--on-dark-2); line-height: 1.62; margin-bottom: 16px; }
.partner-tag { display: inline-block; background: rgba(22,182,127,0.14); color: var(--g-300); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(22,182,127,0.25); }
@media(max-width:768px){ .partners-grid { grid-template-columns: 1fr; } }

/* ─── 6. RESTAURANT LOGO WALL ──────────────────────────────────────
   Logos only — no menu links, names or counts (owner's call, 2026-10-25).
   Shuffled rows scroll in opposite directions so the wall cannot be counted.
   Markup: website/_partials/logo_wall.html, used by index + city pages. */
.merchant-section { background: var(--bg); border-bottom: 1px solid var(--rule-light); padding: 112px 0; overflow: hidden; }
.lw {
  --lw-size: 128px; --lw-gap: 18px;
  display: grid; gap: var(--lw-gap);
  margin: 0 calc(50% - 50vw);            /* full-bleed inside .wrap */
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lw-row { display: flex; width: max-content; }
.lw-track {
  display: flex; gap: var(--lw-gap); padding-right: var(--lw-gap);
  list-style: none; flex-shrink: 0;
  animation: lw-scroll var(--lw-speed, 60s) linear infinite;
}
.lw-row--rev .lw-track { animation-direction: reverse; }
.lw:hover .lw-track { animation-play-state: paused; }
@keyframes lw-scroll { to { transform: translateX(-100%); } }
.lw-item {
  position: relative; flex-shrink: 0;
  width: var(--lw-size); height: var(--lw-size);
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--rxl);
  box-shadow: var(--e1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.lw-item:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--e3); border-color: var(--g-200); }
.lw-item img { position: absolute; inset: 16%; width: 68%; height: 68%; object-fit: contain; }
@media(max-width:540px){ .lw { --lw-size: 92px; --lw-gap: 12px; } .lw-item { border-radius: var(--rl); } }

/* ─── 7. PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.p-card {
  position: relative;
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r2xl); padding: 34px 32px;
  box-shadow: var(--e1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.p-card:hover { border-color: var(--g-200); box-shadow: var(--e2); }
.p-card.feat {
  border: 1.5px solid var(--g-400);
  background: linear-gradient(180deg, #fff 0%, var(--g-50) 100%);
  box-shadow: 0 24px 64px rgba(22,182,127,.16), var(--e2);
  padding-top: 40px;
}
.p-card.feat:hover { transform: none; }
.p-pop {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--g-500); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--glow);
}
.p-plan { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--g-700); margin-bottom: 10px; }
.p-price { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--text-1); line-height: 1; margin-bottom: 8px; }
.p-price sub { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--text-3); vertical-align: baseline; }
.p-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.p-feats { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 10px; }
.p-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.p-feats li .ck {
  color: var(--g-700); font-size: 12px; margin-top: 2px; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%; background: var(--g-50); border: 1px solid var(--g-100);
  display: flex; align-items: center; justify-content: center;
}
.p-feats li .xx { color: var(--border2); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.p-feats li.off { color: var(--text-3); }
.p-feats li .ai-feat { color: var(--violet); background: #F1EEFF; border-color: #E1DBFF; }
.p-btn {
  width: 100%; padding: 12px; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border2); background: var(--bg-white); color: var(--text-1);
  cursor: pointer; transition: all .2s;
}
.p-btn:hover { border-color: var(--g-400); color: var(--g-700); background: var(--g-50); }
.p-card.feat .p-btn { background: var(--g-500); color: #fff; border: none; box-shadow: var(--glow); }
.p-card.feat .p-btn:hover { background: var(--g-600); }
@media(max-width:768px){ .pricing-grid { grid-template-columns: 1fr; } }

/* ─── 8. CTA BAND ─── a saturated brand band that closes the page */
.cta-band {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, var(--g-800) 0%, var(--g-600) 48%, var(--g-500) 100%);
  padding: 104px 0;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: -60% -20%; z-index: -1;
  background:
    radial-gradient(42% 60% at 50% 4%, rgba(255,255,255,.18), transparent 62%),
    radial-gradient(36% 52% at 12% 96%, rgba(7,61,44,.45), transparent 60%),
    radial-gradient(36% 52% at 88% 92%, rgba(255,210,122,.16), transparent 60%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 80% at 50% 50%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 10%, transparent 75%);
  pointer-events: none;
}
.cta-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; text-align: center; }
.cta-h { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.04em; line-height: 1.06; }
.cta-p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 34px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff; color: var(--g-900);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  border: none; border-radius: var(--r); padding: 14px 28px;
  display: flex; align-items: center; gap: 9px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 32px rgba(7,61,44,.35);
  transition: transform .18s var(--ease), box-shadow .18s, background .2s;
}
.btn-white:hover { transform: translateY(-2px); background: var(--g-50); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 44px rgba(7,61,44,.4); }
.btn-white-ghost {
  background: rgba(255,255,255,.10); color: #fff;
  font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r); padding: 13px 24px;
  display: flex; align-items: center; gap: 9px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s, transform .18s;
}
.btn-white-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* FOOTER — deep ink, a step down from the bright CTA band */
.site-footer {
  background: var(--ink-1);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 64px 0 32px;
  color: var(--on-dark-2);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo .mark { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; }
.footer-brand-logo .nm { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.03em; color: var(--on-dark); }
.footer-brand-logo .nm em { font-style: normal; color: var(--g-300); }
.footer-tagline { font-size: 13.5px; color: var(--on-dark-3); line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dark-3); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--on-dark-2); margin-bottom: 10px; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--g-300); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 22px 40px 0; border-top: 1px solid rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12.5px; color: var(--on-dark-3); }
.footer-badge { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark-3); }
.footer-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-400); box-shadow: 0 0 0 3px rgba(61,203,149,.18); }
@media(max-width:768px){ .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-cities {
  max-width: var(--max-w); margin: 0 auto 28px;
  padding: 24px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-cities .fc-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-dark-3); margin-bottom: 12px; }
.footer-cities .fc-links { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.footer-cities .fc-links a {
  font-size: 12.5px; color: var(--on-dark-2);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 5px 13px;
  transition: color .2s, border-color .2s, background .2s;
}
.footer-cities .fc-links a:hover { color: #fff; border-color: rgba(114,219,175,.6); background: rgba(114,219,175,0.12); }
@media(max-width:768px){ .footer-cities { padding: 22px 20px 0; } }

/* ─── 9. CITY / LOCATION PAGES ─── */
.city-crumb {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px 40px 0;
  font-size: 12.5px; color: var(--text-3);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.city-crumb a { color: var(--text-2); transition: color .2s; }
.city-crumb a:hover { color: var(--g-600); }
.city-crumb .sep { color: var(--border2); }
@media(max-width:768px){ .city-crumb { padding: 14px 20px 0; } }

.city-hero { background: var(--bg-white); border-bottom: 1px solid var(--border); }
.city-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 40px 40px 64px; }
.city-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
  color: var(--text-1); margin-bottom: 18px; max-width: 820px;
}
.city-hero h1 em { font-style: normal; color: var(--g-600); }
.city-hero-desc { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 640px; margin-bottom: 30px; }

.city-shot {
  position: relative;
  margin-top: 38px;
  border-radius: var(--rxl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--e3);
  background: var(--bg);
  aspect-ratio: 1672 / 941;
}
.city-shot picture { display: block; width: 100%; height: 100%; }
.city-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city-shot-badge {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(10,21,18,.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.92);
}
.city-shot-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g-300); animation: blink 2s infinite; }
.city-shot-cap { font-size: 13.5px; color: var(--text-3); line-height: 1.6; margin-top: 12px; max-width: 720px; }
@media(max-width:540px){
  .city-shot { margin-top: 26px; border-radius: 12px; }
  .city-shot-badge { left: 10px; bottom: 10px; padding: 5px 11px; font-size: 11px; }
}

.city-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.city-stat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--rl); padding: 18px 20px; }
.city-stat .n { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--g-600); line-height: 1.1; margin-bottom: 4px; }
.city-stat .l { font-size: 12.5px; color: var(--text-3); line-height: 1.4; }
@media(max-width:768px){ .city-stats { grid-template-columns: 1fr 1fr; } }

.city-prose { max-width: 720px; }
.city-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--text-1); margin-bottom: 14px;
}
.city-prose h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin: 28px 0 8px; letter-spacing: -.01em; }
.city-prose p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; max-width: 68ch; }
.city-prose ul { list-style: none; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.city-prose li { font-size: 16px; color: var(--text-2); line-height: 1.7; display: flex; gap: 10px; align-items: flex-start; }
.city-prose li::before { content: '✓'; color: var(--g-600); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.city-prose strong { color: var(--text-1); font-weight: 600; }
.city-prose a { color: var(--g-700); text-decoration: underline; text-underline-offset: 2px; }
.city-prose a:hover { color: var(--g-600); }

.city-body-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
@media(max-width:900px){ .city-body-grid { grid-template-columns: 1fr; gap: 40px; } }

.city-aside {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 26px;
  position: sticky; top: 92px;
  box-shadow: var(--e1);
}
.city-aside-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 6px; letter-spacing: -.01em; }
.city-aside-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 18px; }
.city-aside .btn-hero { justify-content: center; width: 100%; margin-bottom: 10px; }
.city-aside .btn-hero-outline { justify-content: center; width: 100%; }
.city-aside-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
@media(max-width:900px){ .city-aside { position: static; } }

.city-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.city-area-chip {
  font-size: 12.5px; font-weight: 500;
  background: var(--g-50); color: var(--g-700);
  border: 1px solid var(--g-100);
  border-radius: 999px; padding: 5px 13px;
}

/* FAQ accordion (shared with the home page) */
.city-faq { max-width: 780px; }
.city-faq-item {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rl); margin-bottom: 10px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.city-faq-item[open] { border-color: var(--g-200); box-shadow: var(--e2); }
.city-faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.city-faq-item summary::-webkit-details-marker { display: none; }
.city-faq-item summary::after {
  content: '+'; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--g-50); color: var(--g-700); border: 1px solid var(--g-100);
  font-size: 18px; font-weight: 500; line-height: 26px; text-align: center;
  transition: transform .2s, background .2s;
}
.city-faq-item[open] summary::after { content: '−'; background: var(--g-500); color: #fff; border-color: var(--g-500); }
.city-faq-item .a { padding: 0 22px 22px; font-size: 15.5px; color: var(--text-2); line-height: 1.75; }

.city-nearby { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.city-nearby a {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 18px 20px;
  transition: border-color .2s, transform .2s;
}
.city-nearby a:hover { border-color: var(--g-300); transform: translateY(-2px); }
.city-nearby .cn-name { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; }
.city-nearby .cn-sub { font-size: 12px; color: var(--text-3); }
@media(max-width:768px){ .city-nearby { grid-template-columns: 1fr; } }

.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rxl); overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.loc-card:hover { border-color: var(--g-200); transform: translateY(-3px); box-shadow: var(--e3); }
.loc-thumb { aspect-ratio: 1672 / 941; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--border); }
.loc-thumb picture { display: block; width: 100%; height: 100%; }
.loc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.loc-card:hover .loc-thumb img { transform: scale(1.04); }
.loc-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.loc-card .lc-region { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g-600); }
.loc-card .lc-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: var(--text-1); line-height: 1.15; }
.loc-card .lc-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.loc-card .lc-more { font-size: 13px; font-weight: 600; color: var(--g-700); margin-top: auto; padding-top: 10px; }
@media(max-width:768px){ .loc-grid { grid-template-columns: 1fr; } }

/* Chips: cities and guides on the home page */
.home-cities { display: flex; flex-wrap: wrap; gap: 10px; }
.home-city-link {
  font-size: 13.5px; font-weight: 500;
  background: var(--bg-white); border: 1px solid var(--border2);
  border-radius: 999px; padding: 9px 18px; color: var(--text-2);
  transition: all .18s;
}
.home-city-link:hover { border-color: var(--g-300); color: var(--g-700); background: var(--g-50); transform: translateY(-1px); }
.home-city-link.all { background: var(--g-500); border-color: var(--g-500); color: #fff; font-weight: 600; box-shadow: var(--glow); }
.home-city-link.all:hover { background: var(--g-600); color: #fff; }
/* Guides on the home page: the same links, laid out as a two-column list of
   question cards rather than a run of long chips. */
#guides .home-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#guides .home-city-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-radius: var(--rl);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text-1);
  border-color: var(--border); box-shadow: var(--e1);
}
#guides .home-city-link::after {
  content: '→'; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--g-50); color: var(--g-700); border: 1px solid var(--g-100);
  font-size: 14px; line-height: 26px; text-align: center;
  transition: background .2s, color .2s, transform .2s;
}
#guides .home-city-link:hover { transform: none; border-color: var(--g-200); box-shadow: var(--e2); background: var(--bg-white); color: var(--text-1); }
#guides .home-city-link:hover::after { background: var(--g-500); color: #fff; border-color: var(--g-500); transform: translateX(2px); }
#guides .home-city-link.all { grid-column: 1 / -1; justify-content: center; color: #fff; background: var(--g-500); border-color: var(--g-500); }
#guides .home-city-link.all::after { display: none; }
#guides .home-city-link.all:hover { background: var(--g-600); color: #fff; }
@media(max-width:640px){ #guides .home-cities { grid-template-columns: 1fr; } }

/* ─── 9b. FEATURE EXPLAINERS ─── alternating text/visual rows */
.fx-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.fx-row:last-child { border-bottom: none; }
.fx-row:nth-child(even) .fx-text { order: 2; }
.fx-row:nth-child(even) .fx-visual { order: 1; }

.fx-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  color: var(--g-700); background: var(--g-50);
  border: 1px solid var(--g-100);
  border-radius: 999px; padding: 7px 12px; margin-bottom: 18px;
}
.fx-text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 32px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.035em;
  color: var(--text-1); margin-bottom: 14px;
}
.fx-text h3 em { font-style: normal; color: var(--g-600); }
.fx-text > p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 22px; max-width: 60ch; }
.fx-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
/* Block flow, not flex: the label, the text and any inline links wrap as one
   paragraph, so a row can never be forced wider than the viewport. */
.fx-list li { position: relative; display: block; padding-left: 31px; font-size: 15px; color: var(--text-2); line-height: 1.6; overflow-wrap: anywhere; }
.fx-list li::before {
  content: '✓'; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%; background: var(--g-50); border: 1px solid var(--g-100); color: var(--g-700);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.fx-list li strong { color: var(--text-1); font-weight: 600; }
.fx-list li a { color: var(--g-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--g-200); }
.fx-note {
  font-size: 13.5px; color: var(--text-3); line-height: 1.65;
  border-left: 2px solid var(--amber); padding-left: 14px;
}

/* Mock app windows used by the explainers: ink chrome, quiet body */
.mock {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  overflow: hidden;
  box-shadow: var(--e3);
}
.mock-bar {
  background: var(--ink-2); padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.88);
}
.mock-bar.dark { background: var(--ink-1); color: rgba(255,255,255,.75); }
.mock-bar .dots { display: flex; gap: 4px; }
.mock-bar .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.mock-bar .dots span:first-child { background: var(--g-400); }
.mock-bar .tag { margin-left: auto; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); }
.mock-body { padding: 14px; background: var(--bg); }

.mock-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 11px; padding: 10px 12px; margin-bottom: 7px;
}
.mock-row:last-child { margin-bottom: 0; }
.mock-row .ico {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--g-50); color: var(--g-700); border: 1px solid var(--g-100);
}
.mock-row .t { font-size: 12.5px; font-weight: 600; color: var(--text-1); line-height: 1.3; }
.mock-row .s { font-size: 11.5px; color: var(--text-3); line-height: 1.4; }
.mock-row .r { margin-left: auto; text-align: right; flex-shrink: 0; }
.mock-row .amt { font-size: 12.5px; font-weight: 700; color: var(--g-700); }
.mock-pill {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--g-50); color: var(--g-700); display: inline-block;
}
.mock-pill.amber { background: var(--amber-bg); color: var(--amber-dk); }
.mock-pill.coral { background: var(--coral-bg); color: var(--coral-dk); }
.mock-pill.grey  { background: var(--surface-2); color: var(--text-3); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px; }
.mock-kpi { background: var(--bg-white); border: 1px solid var(--border); border-radius: 11px; padding: 10px 11px; }
.mock-kpi .n { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--text-1); line-height: 1.1; }
.mock-kpi .n.teal { color: var(--g-600); }
.mock-kpi .n.amber { color: var(--amber-dk); }
.mock-kpi .l { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.mock-chat { display: flex; flex-direction: column; gap: 7px; background: #E7EFE9; padding: 12px; border-radius: 11px; }
.mock-msg {
  max-width: 82%; font-size: 12.5px; line-height: 1.5;
  padding: 7px 10px; border-radius: 10px; background: #fff; color: var(--text-1);
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.mock-msg.out { align-self: flex-end; background: #D9FBE7; }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 66px; margin-top: 4px; }
.mock-bars i { flex: 1; background: var(--g-200); border-radius: 4px 4px 0 0; display: block; }
.mock-bars i.hi { background: var(--g-500); }
@media(max-width:900px){
  .fx-row { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .fx-row:nth-child(even) .fx-text,
  .fx-row:nth-child(even) .fx-visual { order: initial; }
}

/* ─── 9c. FEATURE INDEX ─── */
.fidx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fidx-col {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 26px 26px 24px; box-shadow: var(--e1);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.fidx-col:hover { border-color: var(--g-200); box-shadow: var(--e2); transform: translateY(-2px); }
.fidx-col h3 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text-1);
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.fidx-col h3 .ico {
  width: 30px; height: 30px; border-radius: 9px; background: var(--g-50); border: 1px solid var(--g-100);
  color: var(--g-700);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.fidx-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fidx-col li { font-size: 13.5px; color: var(--text-2); line-height: 1.5; display: flex; gap: 9px; }
.fidx-col li::before { content: '✓'; color: var(--g-600); font-weight: 700; flex-shrink: 0; }
@media(max-width:900px){ .fidx { grid-template-columns: 1fr 1fr; } }
@media(max-width:640px){ .fidx { grid-template-columns: 1fr; } }

/* ─── 9d. COMPARISON TABLE ─── */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rxl); overflow: hidden;
  box-shadow: var(--e1);
}
.cmp th, .cmp td { padding: 15px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
.cmp thead th { background: var(--surface-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.cmp thead th.us { background: var(--g-500); color: #fff; }
.cmp tbody th { font-weight: 600; color: var(--text-1); width: 34%; }
.cmp td { color: var(--text-2); }
.cmp td.us { background: var(--g-50); color: var(--g-900); font-weight: 600; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.cmp .yes, .cmp .no { display: inline-flex; vertical-align: -0.15em; font-size: 16px; }
.cmp .yes { color: var(--g-600); }
.cmp .no  { color: var(--coral); opacity: .8; }
/* Phones: the row labels stay pinned while the four columns scroll sideways,
   the frame moves to the scroller so sticky cells have a clean edge, and a
   caption says there is more to the right. */
@media (max-width: 768px) {
  .cmp-scroll { border: 1px solid var(--border); border-radius: var(--rl); background: var(--bg-white); box-shadow: var(--e1); }
  .cmp { border: 0; border-radius: 0; overflow: visible; box-shadow: none; min-width: 640px; }
  .cmp th, .cmp td { padding: 12px 14px; font-size: 13px; }
  .cmp tbody th, .cmp thead th:first-child {
    position: sticky; left: 0; z-index: 1;
    width: 132px; min-width: 132px;
    background: var(--bg-white);
    box-shadow: 1px 0 0 var(--border), 6px 0 12px -6px rgba(10,21,18,.12);
  }
  .cmp thead th:first-child { background: var(--surface-2); }
  .cmp-scroll::after {
    content: 'Swipe sideways to see all four columns';
    display: block; padding: 10px 0 12px; text-align: center;
    font-size: 12.5px; color: var(--text-3);
  }
}

/* ─── 9e. BUSINESS TYPES ─── */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.biz {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--rxl); padding: 26px 24px; box-shadow: var(--e1);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.biz:hover { border-color: var(--g-200); transform: translateY(-4px); box-shadow: var(--e3); }
.biz .e {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(160deg, var(--g-50), #fff); border: 1px solid var(--g-100);
  color: var(--g-700); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.biz .t { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; color: var(--text-1); margin-bottom: 6px; }
.biz .d { font-size: 13.5px; color: var(--text-2); line-height: 1.58; }
@media(max-width:900px){ .biz-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .biz-grid { grid-template-columns: 1fr; } }

/* ─── 10. RESPONSIVE ─── */
@media(max-width:900px){
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hiw-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hiw-grid::before { display: none; }
}
@media(max-width:768px){
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .city-hero-inner { padding: 30px 20px 48px; }
}
@media(max-width:640px){
  .partners-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:540px){
  .hero-inner { padding: 44px 20px 40px; }
  .dark-top .hero-inner { padding-top: calc(28px + var(--nav-h)); }
  .hero h1 { font-size: clamp(28px, 7.4vw, 40px); }
  .section-h { font-size: clamp(26px, 6.8vw, 36px); }
  .feat-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-step { padding: 0 4px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-white,
  .cta-btns .btn-white-ghost { justify-content: center; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section { padding: 60px 0; }
  .merchant-section { padding: 60px 0; }
  .cta-inner { padding: 0 20px; }
  .cta-band { padding: 60px 0; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }
  .city-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-stat { padding: 14px 16px; }
  .city-stat .n { font-size: 22px; }
}
@media(max-width:400px){
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .p-card { padding: 22px 20px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   11. HERO TOUR — website/_partials/workflow.html
   The home page hero is a scroll-driven product tour. Three layouts from
   one markup, chosen by js/website-workflow.js:
     (default)   list — every step open with its poster; also the no-JS look
     .wf--story  desktop: pinned headline + list + 3D stage driven by scroll
     .wf--tabs   desktop with reduced motion: click a step, sticky stage
   .wf--dark recolours the block for the ink hero. Prefix `wf` is unique.
   ═══════════════════════════════════════════════════════════════════════ */
.wf { position: relative; }
.wf__pin { display: grid; gap: 40px; align-items: start; }
.wf__rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wf__window { min-width: 0; }

/* Track + nodes */
.wf__steps { --wf-track-start: 0px; --wf-track-end: 0px; --wf-track-fill: 0px;
  position: relative; list-style: none; margin: 0; padding: 0 0 0 30px;
  display: grid; gap: 6px; }
.wf__steps::before, .wf__steps::after { content: '';
  position: absolute; left: 11px; top: var(--wf-track-start);
  width: 2px; border-radius: 2px; }
.wf__steps::before { height: max(0px, calc(var(--wf-track-end) - var(--wf-track-start))); background: var(--border2); }
.wf__steps::after  { height: max(0px, calc(var(--wf-track-fill) - var(--wf-track-start))); background: var(--g-500); }
.wf__step { position: relative; border: 1px solid transparent; border-radius: 18px;
  transition: background-color .35s, border-color .35s, box-shadow .35s; }
.wf__node { position: absolute; left: -25px; top: 23px; z-index: 1;
  width: 12px; height: 12px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--border2); background: var(--bg);
  transition: background-color .3s, border-color .3s, box-shadow .3s; }
.wf__step.is-done .wf__node { border-color: var(--g-500); background: var(--g-500); }
.wf__step.is-active .wf__node { border-color: var(--g-500); box-shadow: 0 0 0 4px rgba(22,182,127,.16); }

/* Step head */
.wf__head { display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 18px 22px; border: 0; border-radius: 18px; background: none;
  text-align: left; font-family: inherit; color: var(--text-2); cursor: pointer;
  transition: color .2s; }
.wf__head:hover { color: var(--text-1); }
.wf__head:focus-visible { outline: 2px solid var(--g-500); outline-offset: -2px; }
.wf__index { font-family: var(--font-display); font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; color: var(--text-3); transition: color .3s; }
.wf__label { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.wf__step.is-active .wf__head { color: var(--text-1); }
.wf__step.is-active .wf__index, .wf__step.is-done .wf__index { color: var(--g-500); }

/* Step body — default (list) is open; story/tabs collapse it below */
.wf__body { display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows .5s var(--ease); }
.wf__clip { min-height: 0; overflow: hidden; }
.wf__content { padding: 0 20px 26px 22px; }
.wf__still { display: block; width: 100%; max-width: 440px; height: auto;
  aspect-ratio: 4 / 3; object-fit: contain; margin: 2px 0 14px; }
.wf__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.2; color: var(--text-1); margin: 0 0 8px; }
.wf__text { font-size: 15.5px; line-height: 1.65; color: var(--text-2); margin: 0 0 16px; }
.wf__points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.wf__points li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px;
  font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.wf__points .ic { width: 15px; height: 15px; color: var(--g-500); margin-top: .2em; }
.wf__link { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px;
  font-weight: 600; color: var(--g-700); text-decoration: none; }
.wf__link .ic { width: 15px; height: 15px; transition: transform .2s; }
.wf__link:hover .ic { transform: translateX(3px); }

/* Footer row (story only) */
.wf__foot { display: none; justify-content: space-between; align-items: center;
  gap: 6px 16px; flex-wrap: wrap; margin-left: 30px; padding-right: 8px; }
.wf__count { margin: 0; font-family: var(--font-display); font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; color: var(--text-3); }
.wf__count span { color: var(--g-500); }
.wf__skip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0;
  font-size: 13px; font-weight: 500; color: var(--text-3); text-decoration: none;
  white-space: nowrap; transition: color .2s; }
.wf__skip:hover { color: var(--text-1); }
.wf__skip .ic { width: 14px; height: 14px; }
.wf__end { display: block; height: 0; }

/* Stage: posters under a canvas that fades in once the model has drawn */
.wf__stage { display: none; position: relative; min-width: 0; isolation: isolate; }
.wf__visual { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.wf__poster, .wf__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wf__poster { object-fit: contain; opacity: 0; transform: translateY(18px) scale(.975);
  transition: opacity .45s ease, transform .7s var(--ease); }
.wf__poster--scene.is-active { opacity: 1; transform: none; }
:root[data-scenes="live"] .wf__visual:not(.is-still) .wf__poster--scene { opacity: 0; }
:root[data-scenes="live"] .wf__visual:not(.is-still) .wf__poster--base { opacity: 1; }
.wf__visual.is-live .wf__poster { opacity: 0 !important; transition: opacity 0s linear .7s; }
.wf__canvas { opacity: 0; touch-action: pan-y; transition: opacity .7s var(--ease); }
.wf__visual.is-live .wf__canvas { opacity: 1; }
.wf__hint { position: absolute; right: 6%; bottom: 5%; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--e1); font-size: 12px; font-weight: 500; color: var(--text-2);
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .4s, transform .4s; }
.wf__hint .ic { width: 14px; height: 14px; color: var(--g-500); }
.wf__hint.is-on { opacity: 1; transform: none; transition-delay: .9s; }
.wf__hint.is-gone { opacity: 0; transform: translateY(4px); transition-delay: 0s; }

/* ── Desktop layouts (story + tabs) ── */
.wf--story .wf__pin, .wf--tabs .wf__pin { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.wf--story .wf__stage, .wf--tabs .wf__stage { display: block; }
.wf--story .wf__foot { display: flex; }
.wf--story .wf__still, .wf--tabs .wf__still { display: none; }
.wf--story .wf__step.is-active, .wf--tabs .wf__step.is-active { background: var(--bg-white); border-color: var(--border); box-shadow: var(--e2); }
.wf--story .wf__body, .wf--tabs .wf__body { grid-template-rows: 0fr; }
.wf--story .wf__step.is-active .wf__body, .wf--tabs .wf__step.is-active .wf__body { grid-template-rows: 1fr; }
.wf--story .wf__content, .wf--tabs .wf__content { padding: 0 24px 24px 60px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .5s var(--ease); }
.wf--story .wf__step.is-active .wf__content, .wf--tabs .wf__step.is-active .wf__content { opacity: 1; transform: none; transition-delay: .12s; }

/* Story: the section is tall; the pin block sticks under the nav while it scrolls */
.wf--story { --wf-pin-h: calc(100vh - var(--nav-h)); --wf-step-len: 50vh;
  height: calc(var(--wf-pin-h) + var(--wf-steps, 6) * var(--wf-step-len)); }
@supports (height: 100svh) {
  .wf--story { --wf-pin-h: calc(100svh - var(--nav-h)); --wf-step-len: 50svh; }
}
.wf--story .wf__pin { position: sticky; top: var(--nav-h); height: var(--wf-pin-h);
  grid-template-rows: minmax(0, 1fr); align-items: center; }
.wf--story .wf__rail { align-self: stretch; box-sizing: border-box; padding-block: 28px 20px; min-height: 0; }
.wf--story .wf__lead { flex: none; }
/* The fades are a fixed 18px (mirrored in website-workflow.js), not a
   percentage, so a short viewport does not eat into the open card. */
.wf--story .wf__window { flex: 1; min-height: 0; margin-inline: -14px; padding-inline: 14px;
  overflow-y: clip;
  -webkit-mask-image: linear-gradient(transparent 0, #000 18px calc(100% - 18px), transparent 100%);
          mask-image: linear-gradient(transparent 0, #000 18px calc(100% - 18px), transparent 100%); }
/* Room above the first and below the last card so the window fade never covers an open card. */
.wf--story .wf__steps { padding-top: 34px; padding-bottom: 34px;
  transform: translateY(var(--wf-list-shift, 0px)); transition: transform .6s var(--ease); }
/* Short desktop viewports (1366x768 laptops land here): tighter rail, and once
   the tour has started the eyebrow chip goes and the headline shrinks so the
   open card has the room it needs. */
@media (min-width: 1024px) and (max-height: 820px) {
  .wf--story .wf__rail { gap: 8px; padding-block: 12px 8px; }
  .wf--story .wf__steps { padding-top: 20px; padding-bottom: 20px; }
  .wf--story .wf__head { padding-block: 10px; }
  .wf--story .wf__node { top: 15px; }
  .wf--story .wf__title { font-size: 1rem; margin-bottom: 6px; }
  .wf--story .wf__text { font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }
  .wf--story .wf__points { gap: 5px; margin-bottom: 10px; }
  .wf--story .wf__points li { font-size: 13.5px; }
  .wf--story .wf__link { font-size: 13.5px; }
  .wf--story .wf__content { padding-bottom: 14px; }
  /* Once the tour has started: no chip, a smaller headline that may run on
     two lines instead of three, and no leftover padding from the folded lead. */
  .wf--story:not(.is-overview) .hero-eyebrow { display: none; }
  .wf--story:not(.is-overview) h1 { font-size: clamp(19px, 1.9vw, 26px); }
  .wf--story:not(.is-overview) h1 br { display: none; }
  .wf--story:not(.is-overview) .wf__lead { margin-bottom: 0; }
  .wf--story:not(.is-overview) .wf__lead-clip { padding-bottom: 0; }
}

/* Tabs: nothing scroll-driven; keep the stage in view while reading */
.wf--tabs .wf__stage { position: sticky; top: calc(var(--nav-h) + 40px); }

/* Hero tour: the tour is the hero.
   `clip`, not `hidden`: a hidden-overflow ancestor is a scroll container and
   position: sticky inside it never sticks to the viewport; clip crops the
   glow without that side effect. */
.hero--tour { padding-top: var(--nav-h); overflow: clip; }
.wf__lead { margin-bottom: 14px; }
.hero--tour .hero-eyebrow { margin-bottom: 18px; }
.hero--tour h1 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; margin-bottom: 12px;
  transition: font-size .5s var(--ease), margin .5s; }
.hero--tour .hero-desc { font-size: 15.5px; line-height: 1.62; max-width: 440px; margin-bottom: 20px; }
.hero--tour .hero-btns { margin-bottom: 0; }
/* Description + buttons fold away once the tour starts; the headline stays as a banner. */
.wf__lead-more { display: grid; grid-template-rows: 1fr; opacity: 1;
  transition: grid-template-rows .5s var(--ease), opacity .3s; }
.wf__lead-clip { min-height: 0; overflow: hidden; padding-bottom: 8px; }
.wf--story:not(.is-overview) .wf__lead-more { grid-template-rows: 0fr; opacity: 0; }
.wf--story:not(.is-overview) .wf__lead { margin-bottom: 6px; }
.wf--story:not(.is-overview) .hero-eyebrow { margin-bottom: 12px; }
.wf--story:not(.is-overview) h1 { font-size: clamp(22px, 2.1vw, 30px); margin-bottom: 4px; }
.wf__cover { display: none; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4 / 3;
  object-fit: contain; margin: 6px 0 4px; }
.wf__scroll { display: none; margin: 0; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.wf__scroll .ic { width: 14px; height: 14px; transform: rotate(90deg); }
.wf--story.is-overview .wf__scroll { display: inline-flex; }
.wf--story.is-overview .wf__count { display: none; }

/* Phones and tablets: a plain accordion. The 3D stage, the overview still and
   the per-step stills are all hidden below the desktop breakpoint, so the
   hero is headline, buttons and the eleven steps. */
.wf--list .wf__body { grid-template-rows: 0fr; }
.wf--list .wf__step.is-active .wf__body { grid-template-rows: 1fr; }
.wf--list .wf__head { cursor: pointer; }
.wf--list .wf__content { padding-top: 4px; }
.wf--list .wf__rail { padding-bottom: 32px; }
@media (max-width: 1023px) {
  .wf__stage, .wf__cover, .wf__still, .wf__hint { display: none !important; }
  .hero--tour { padding-top: calc(var(--nav-h) + 28px); }
  .hero--tour h1 { font-size: clamp(28px, 7vw, 40px); }
  .wf__lead { margin-bottom: 14px; }
  .wf__steps { padding-left: 26px; gap: 0; }
  .wf__node { left: -21px; top: 19px; }
  .wf__head { padding: 14px 16px 6px 18px; }
  .wf__content { padding: 0 16px 24px 18px; }
  .wf__title { font-size: 1.15rem; }
  .wf__text { font-size: 15px; }
}

/* Dark recolour */
.wf--dark .wf__steps::before { background: rgba(255,255,255,.14); }
.wf--dark .wf__steps::after { background: var(--g-300); }
.wf--dark .wf__node { border-color: rgba(255,255,255,.3); background: var(--ink-1); }
.wf--dark .wf__step.is-done .wf__node { border-color: var(--g-300); background: var(--g-300); }
.wf--dark .wf__step.is-active .wf__node { border-color: var(--g-300); box-shadow: 0 0 0 4px rgba(114,219,175,.18); }
.wf--dark .wf__head { color: var(--on-dark-2); }
.wf--dark .wf__head:hover, .wf--dark .wf__step.is-active .wf__head { color: var(--on-dark); }
.wf--dark .wf__head:focus-visible { outline-color: var(--g-300); }
.wf--dark .wf__index { color: var(--on-dark-3); }
.wf--dark .wf__step.is-active .wf__index, .wf--dark .wf__step.is-done .wf__index { color: var(--g-300); }
.wf--dark.wf--story .wf__step.is-active, .wf--dark.wf--tabs .wf__step.is-active, .wf--dark.wf--list .wf__step.is-active {
  background: rgba(255,255,255,.055); border-color: var(--rule-dark); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.wf--dark .wf__title { color: var(--on-dark); }
.wf--dark .wf__text, .wf--dark .wf__points li { color: var(--on-dark-2); }
.wf--dark .wf__points .ic { color: var(--g-300); }
.wf--dark .wf__link { color: var(--g-300); }
.wf--dark .wf__count, .wf--dark .wf__skip, .wf--dark .wf__scroll { color: var(--on-dark-3); }
.wf--dark .wf__count span, .wf--dark .wf__scroll .ic { color: var(--g-300); }
.wf--dark .wf__skip:hover { color: var(--on-dark); }
.wf--dark .wf__hint { background: rgba(10,21,18,.72); color: var(--on-dark-2); border-color: var(--rule-dark); box-shadow: none; }
.wf--dark .wf__hint .ic { color: var(--g-300); }

/* ── Light hero: white ground so the 3D model carries the colour ──
   Overrides the dark .hero defaults above; used with .hero--tour on the index. */
.hero--light { background: #fff; color: var(--text-1); }
.hero--light::before {
  background:
    radial-gradient(42% 52% at 10% 0%,  rgba(22,182,127,.14), transparent 62%),
    radial-gradient(36% 46% at 92% 6%,  rgba(114,219,175,.16), transparent 60%),
    radial-gradient(46% 50% at 80% 100%, rgba(240,163,43,.08), transparent 62%);
}
.hero--light::after {
  background-image: radial-gradient(rgba(14,26,21,.11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 75% at 50% 30%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 75% at 50% 30%, #000 8%, transparent 72%);
}
.hero--light h1 { color: var(--text-1); }
.hero--light h1 em {
  background: linear-gradient(94deg, var(--g-700) 0%, var(--g-500) 58%, var(--g-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--light .hero-desc { color: var(--text-2); }
.hero--light .hero-eyebrow { background: var(--g-50); color: var(--g-800); border-color: var(--g-100); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero--light .hero-eyebrow span { background: var(--g-500); box-shadow: 0 0 0 3px rgba(22,182,127,.18); }
.hero--light .btn-hero { color: #fff; background: var(--g-500); box-shadow: var(--glow); }
.hero--light .btn-hero:hover { background: var(--g-600); box-shadow: 0 14px 30px rgba(22,182,127,.34); }
.hero--light .btn-hero-outline { color: var(--text-1); background: #fff; border-color: var(--border2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero--light .btn-hero-outline:hover { border-color: var(--g-400); color: var(--g-700); background: var(--g-50); }
/* The nav is a normal sticky bar on the light page, so the hero needs no nav offset. */
.hero--light.hero--tour { padding-top: 12px; }
.hero--light .wf__node { background: #fff; }
.hero--light .wf--story .wf__step.is-active,
.hero--light .wf--tabs .wf__step.is-active,
.hero--light .wf--list .wf__step.is-active { background: #fff; border-color: var(--border); box-shadow: var(--e3); }
.hero--light .wf__hint { background: rgba(255,255,255,.9); }
/* A faint mint halo behind the plinth; no dark floor shadow under it. */
.hero--light .wf__visual::before {
  content: ''; position: absolute; inset: 4% -8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(64% 58% at 50% 46%, rgba(22,182,127,.10), transparent 70%);
  filter: blur(8px);
}
@media (max-width: 1023px) {
  .hero--light.hero--tour { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .wf__body, .wf__content, .wf__step, .wf__node, .wf__steps, .wf__canvas, .wf__hint, .wf__poster, .wf__lead-more { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   12. HOME: proof strip (.px-*), Raast replay (.rq-*), commission
       calculator (.sv-*), add-on marks. Behaviour: js/website-home.js
   ═══════════════════════════════════════════════════════════════════ */
em.addon {
  font-style: normal; font-weight: 600; font-size: .78em;
  color: var(--amber-dk); white-space: nowrap;
}
.dark-panel em.addon { color: var(--amber-lt); }

/* ─── Proof strip ─── */
.px {
  position: relative;
  padding: 64px 0 52px;
  background:
    radial-gradient(60% 120% at 50% 0%, var(--g-50), transparent 70%),
    var(--bg-white);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  overflow: hidden;
}
.px-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 36px; }
.px-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--g-700);
  background: var(--g-50); border: 1px solid var(--g-100);
  padding: 5px 12px 5px 10px; border-radius: 999px;
}
.px-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--g-500);
  box-shadow: 0 0 0 0 rgba(22,182,127,.55);
  animation: px-pulse 1.8s infinite;
}
@keyframes px-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22,182,127,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(22,182,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,182,127,0); }
}
.px-h {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.03em;
  color: var(--text-1);
}
.px-h em { font-style: normal; color: var(--g-600); }
.px-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--r2xl);
  background: var(--bg-white); box-shadow: var(--e2);
}
.px-stat { padding: 26px 24px; text-align: center; }
.px-stat + .px-stat { border-left: 1px solid var(--border); }
.px-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--g-500), var(--g-800));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.px-l { font-size: 13.5px; color: var(--text-3); line-height: 1.4; }

.px-marquee {
  display: flex; overflow: hidden; margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.px-track {
  display: flex; gap: 14px; padding-right: 14px; list-style: none; flex-shrink: 0;
  animation: px-scroll 55s linear infinite;
}
.px-marquee:hover .px-track { animation-play-state: paused; }
@keyframes px-scroll { to { transform: translateX(-100%); } }
.px-brand {
  display: grid; place-items: center; flex-shrink: 0;
  width: 92px; height: 92px; padding: 14px; border-radius: 22px;
  background: var(--bg-white); border: 1px solid var(--border); box-shadow: var(--e1);
}
.px-brand img { width: 100%; height: 100%; min-width: 0; object-fit: contain; }
@media (max-width: 768px) {
  .px { padding: 48px 0 40px; }
  .px-stats { grid-template-columns: 1fr 1fr; }
  .px-stat:nth-child(3) { border-left: 0; }
  .px-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .px-stat { padding: 20px 14px; }
}

/* ─── Raast QR replay ───
   The stage's resting markup (no data-phase) is the finished payment, so
   no-JS and reduced-motion visitors see the outcome. Phases 0-4 are set by
   website-home.js and only ever HIDE things relative to that end state. */
.rq {
  background:
    radial-gradient(50% 60% at 85% 40%, var(--g-50), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.rq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rq-copy .section-sub { margin-bottom: 28px; }
.rq-steps { list-style: none; counter-reset: rq; display: grid; gap: 4px; margin-bottom: 24px; }
.rq-steps li {
  counter-increment: rq; position: relative;
  padding: 10px 14px 10px 54px; border-radius: var(--r);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.rq-steps li::before {
  content: counter(rq);
  position: absolute; left: 12px; top: 11px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 13px/1 var(--font-display);
  color: var(--text-3); background: var(--bg-white); border: 1.5px solid var(--border2);
  transition: all .35s var(--ease);
}
.rq-steps li b { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--text-1); line-height: 1.35; }
.rq-steps li span { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
.rq-steps li.on::before { color: #fff; background: var(--g-500); border-color: var(--g-500); }
.rq-steps li.now { background: var(--bg-white); box-shadow: var(--e2); }
.rq-steps li.now::before { box-shadow: 0 0 0 5px rgba(22,182,127,.18); }
.rq-replay {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--g-700);
  background: var(--bg-white); border: 1px solid var(--border2);
  padding: 9px 16px; border-radius: 999px; transition: all .2s var(--ease);
}
.rq-replay:hover { border-color: var(--g-500); box-shadow: var(--glow); }
.rq-replay .ic { width: 15px; height: 15px; }

.rq-stage { position: relative; height: 500px; }
.rq-receipt {
  position: absolute; left: 4%; top: 40px; width: 250px;
  background: #fff; color: #0E1A15; padding: 20px 20px 26px;
  border-radius: 6px 6px 0 0;
  font: 500 12.5px/1.5 ui-monospace, 'Cascadia Mono', Consolas, monospace;
  box-shadow: var(--e4); transform: rotate(-4deg);
}
.rq-receipt::after {   /* torn paper edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: linear-gradient(-45deg, transparent 6px, #fff 0) 0 0 / 12px 10px repeat-x,
              linear-gradient(45deg, transparent 6px, #fff 0) 0 0 / 12px 10px repeat-x;
}
.rq-r-hd { text-align: center; border-bottom: 1px dashed #B8C2BD; padding-bottom: 10px; margin-bottom: 10px; }
.rq-r-hd b { display: block; font-size: 15px; font-family: var(--font-display); letter-spacing: -.01em; }
.rq-r-hd span { color: #5D6B65; font-size: 11.5px; }
.rq-r-line, .rq-r-tot { display: flex; justify-content: space-between; gap: 10px; }
.rq-r-tot { font-weight: 800; border-top: 1px dashed #B8C2BD; margin-top: 8px; padding-top: 8px; font-size: 14px; }
.rq-qr { position: relative; width: 132px; margin: 16px auto 12px; overflow: hidden; }
.rq-qr svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.rq-scan {
  position: absolute; left: -6%; right: -6%; height: 3px; top: 0; opacity: 0;
  background: var(--g-400); box-shadow: 0 0 14px 3px rgba(61,203,149,.7);
}
.rq-stage[data-phase="1"] .rq-scan { opacity: 1; animation: rq-scan 1.5s var(--ease) infinite alternate; }
@keyframes rq-scan { from { top: 0; } to { top: calc(100% - 3px); } }
.rq-status { text-align: center; font: 700 12.5px/1 var(--font-body); }
.rq-status span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; }
.rq-unpaid { display: none !important; background: var(--amber-bg); color: var(--amber-dk); }
.rq-paid { background: var(--g-50); color: var(--g-700); animation: rq-pop .45s var(--ease); }
.rq-paid .ic { width: 14px; height: 14px; }
.rq-stage[data-phase="0"] .rq-unpaid, .rq-stage[data-phase="1"] .rq-unpaid, .rq-stage[data-phase="2"] .rq-unpaid { display: inline-flex !important; }
.rq-stage[data-phase="0"] .rq-paid, .rq-stage[data-phase="1"] .rq-paid, .rq-stage[data-phase="2"] .rq-paid { display: none; }
@keyframes rq-pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

.rq-phone {
  position: absolute; right: 6%; top: 70px; width: 210px; height: 390px;
  background: #0B1411; border-radius: 34px; padding: 12px;
  box-shadow: var(--e4), inset 0 0 0 2px #26332E;
  transform: rotate(4deg);
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.rq-ph-notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #000; z-index: 1; }
.rq-ph-screen {
  height: 100%; border-radius: 24px; padding: 54px 18px 18px;
  background: linear-gradient(170deg, #F4FBF8, #fff 55%);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.rq-ph-app { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 30px; }
.rq-ph-to { font-size: 13px; color: var(--text-2); }
.rq-ph-to b { color: var(--text-1); }
.rq-ph-amt { font: 800 28px/1.2 var(--font-display); letter-spacing: -.03em; color: var(--text-1); margin: 6px 0 auto; }
.rq-ph-btn { width: 100%; }
.rq-ph-btn span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; border-radius: 14px; font-weight: 700; font-size: 14px;
}
.rq-ph-pay { display: none !important; background: var(--g-500); color: #fff; }
.rq-ph-ok { background: var(--g-50); color: var(--g-700); }
.rq-ph-ok .ic { width: 16px; height: 16px; }
.rq-stage[data-phase="0"] .rq-ph-pay, .rq-stage[data-phase="1"] .rq-ph-pay { display: flex !important; }
.rq-stage[data-phase="0"] .rq-ph-ok, .rq-stage[data-phase="1"] .rq-ph-ok { display: none; }
.rq-stage[data-phase="1"] .rq-ph-pay { animation: rq-press 1.4s .2s var(--ease) infinite; }
@keyframes rq-press { 0%, 70%, 100% { transform: none; } 80% { transform: scale(.94); } }
.rq-stage[data-phase="0"] .rq-phone { opacity: 0; transform: translate(40px, 50px) rotate(8deg); }

.rq-toast {
  position: absolute; right: 0; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink-1); color: var(--on-dark);
  padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--e4);
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.rq-t-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--g-500); color: #fff; flex-shrink: 0; }
.rq-t-ico .ic { width: 20px; height: 20px; }
.rq-toast b { display: block; font: 800 15px/1.3 var(--font-display); }
.rq-toast span { display: block; font-size: 12.5px; color: var(--on-dark-2); }
.rq-stage[data-phase="0"] .rq-toast, .rq-stage[data-phase="1"] .rq-toast, .rq-stage[data-phase="2"] .rq-toast {
  opacity: 0; transform: translateY(-16px) scale(.96);
}

.rq-ledger {
  position: absolute; left: 14%; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-white); border: 1px solid var(--border);
  padding: 12px 18px; border-radius: 14px; box-shadow: var(--e3);
  font-size: 13.5px; color: var(--text-2);
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.rq-ledger b { font: 800 16px/1 var(--font-display); color: var(--g-700); }
.rq-stage[data-phase]:not([data-phase="4"]) .rq-ledger { opacity: 0; transform: translateY(16px); }

@media (max-width: 960px) {
  .rq-grid { grid-template-columns: 1fr; gap: 24px; }
  .rq-stage { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 540px) {
  .rq-stage { height: 490px; }
  .rq-receipt { left: 0; top: 74px; width: 194px; padding: 14px 14px 20px; font-size: 11px; }
  .rq-qr { width: 104px; }
  .rq-phone { right: 0; top: 140px; width: 148px; height: 290px; border-radius: 26px; padding: 9px; }
  .rq-ph-notch { top: 14px; width: 54px; margin-left: -27px; height: 14px; }
  .rq-ph-screen { padding: 40px 10px 12px; border-radius: 19px; }
  .rq-ph-app { margin-bottom: 18px; font-size: 9.5px; }
  .rq-ph-to { font-size: 11.5px; }
  .rq-ph-amt { font-size: 20px; }
  .rq-ph-btn span { height: 38px; font-size: 13px; }
  .rq-toast { left: 0; right: auto; }
  .rq-ledger { left: 8%; }
}

/* ─── Commission calculator ─── */
.sv-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--rule-dark); border-radius: var(--r2xl);
  background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  overflow: hidden;
}
.sv-inputs { padding: 36px; display: grid; gap: 28px; align-content: start; }
.sv-field { display: grid; gap: 12px; }
.sv-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--on-dark-2); }
.sv-lab output { font: 800 20px/1 var(--font-display); color: var(--on-dark); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.sv-field input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline-offset: 6px;
  background: linear-gradient(90deg, var(--g-400) 0 var(--sv-fill, 50%), rgba(255,255,255,.14) var(--sv-fill, 50%));
  cursor: pointer;
}
.sv-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 5px solid var(--g-500); box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.sv-field input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 5px solid var(--g-500); box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.sv-fine { font-size: 12.5px; color: var(--on-dark-3); line-height: 1.6; }
.sv-fine a { color: var(--g-300); font-weight: 600; }

.sv-out {
  padding: 36px; display: flex; flex-direction: column; gap: 16px;
  background: rgba(0,0,0,.22); border-left: 1px solid var(--rule-dark);
}
.sv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--on-dark-2); }
.sv-row b { font: 800 20px/1.1 var(--font-display); color: var(--on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-row b.sv-bad { color: #FF9C86; font-size: 24px; }
.sv-bars { display: grid; gap: 8px; }
.sv-bar { position: relative; height: 30px; border-radius: 9px; background: rgba(255,255,255,.06); overflow: hidden; }
.sv-bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 9px; transition: width .45s var(--ease); min-width: 4px; }
.sv-bar span { position: relative; z-index: 1; font-size: 12px; font-weight: 700; line-height: 30px; padding-left: 12px; color: #fff; }
.sv-bar--bad i { width: 100%; background: linear-gradient(90deg, #C9462E, #FF8A70); }
.sv-bar--good i { width: 4%; background: linear-gradient(90deg, var(--g-600), var(--g-400)); }
.sv-keep {
  margin-top: 4px; padding: 20px; border-radius: var(--rl);
  background: linear-gradient(135deg, rgba(22,182,127,.24), rgba(22,182,127,.08));
  border: 1px solid rgba(114,219,175,.28);
}
.sv-keep span { display: block; font-size: 13px; color: var(--on-dark-2); margin-bottom: 4px; }
.sv-keep b { display: block; font: 800 clamp(30px, 3.4vw, 40px)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--g-300); font-variant-numeric: tabular-nums; }
[data-sv].is-low .sv-keep b { color: var(--on-dark-3); }
.sv-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: auto; padding: 13px 18px; border-radius: 999px;
  background: var(--g-500); color: #fff; font-weight: 700; font-size: 14.5px; text-align: center;
  box-shadow: var(--glow); transition: transform .2s var(--ease), background .2s;
}
.sv-cta:hover { background: var(--g-400); transform: translateY(-1px); }
.sv-cta .ic { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .sv-card { grid-template-columns: 1fr; }
  .sv-out { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .sv-inputs, .sv-out { padding: 26px 22px; }
}


/* ─── Hero upgrades (2026-10-25): kicker inside the H1, trust ticks, and
   floating UI cards round the overview model. ─── */
.hero-kicker {
  display: block; margin-bottom: 14px;
  font: 700 12px/1.4 var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  color: var(--g-700);
}
.hero--tour h1 em { font-style: normal; }
.hero-ticks {
  display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none;
  margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text-2);
}
.hero-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-ticks .ic {
  width: 18px; height: 18px; padding: 3px; border-radius: 50%;
  background: var(--g-100); color: var(--g-700); stroke-width: 3;
}
@media (min-width: 1024px) {
  .wf--story:not(.is-overview) .hero-kicker { display: none; }
}

.hf { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hf-card {
  position: absolute; display: flex; align-items: center; gap: 11px;
  padding: 11px 16px 11px 11px; border-radius: 16px;
  background: rgba(255,255,255,.92); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--e3); white-space: nowrap;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.hf-card b { display: block; font: 800 14px/1.3 var(--font-display); color: var(--text-1); letter-spacing: -.01em; }
.hf-card small { display: block; font-size: 12px; color: var(--text-3); line-height: 1.35; }
.hf-ico {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--g-50); color: var(--g-700);
}
.hf-ico .ic { width: 18px; height: 18px; }
.hf-pill {
  font-style: normal; font-size: 11px; font-weight: 700; color: var(--amber-dk);
  background: var(--amber-bg); padding: 4px 9px; border-radius: 999px; margin-left: 4px;
}
.hf-card--order { left: -3%; top: 9%; }
.hf-card--paid  { left: 2%; bottom: 10%; background: var(--ink-1); border-color: var(--ink-3); }
.hf-card--paid b { color: var(--on-dark); }
.hf-card--paid small { color: var(--on-dark-2); }
.hf-card--paid .hf-ico { background: var(--g-500); color: #fff; }

.wf.is-overview .hf-card { opacity: 1; transform: none; animation: hf-float 6s ease-in-out infinite; }
.wf.is-overview .hf-card--order { transition-delay: .5s;  animation-delay: 1.1s; }
.wf.is-overview .hf-card--paid  { transition-delay: .9s;  animation-delay: 1.5s; }
@keyframes hf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Real-screen posters (2026-10-25) carry small UI text, so on desktop the
   stage bleeds past the column toward the viewport edge to give the screens
   room; the hero's overflow: clip trims anything past the edge. */
@media (min-width: 1024px) {
  .wf--story .wf__visual, .wf--tabs .wf__visual {
    width: min(124%, calc((var(--wf-pin-h, 100vh) - 24px) * 4 / 3));
    margin-left: -2%;
  }
}


/* ─── Hero video button + popup (2026-10-25) ───
   Rings pulse out of the play disc so the button keeps inviting a click. */
.wf__lead-clip { padding: 22px 30px 8px; margin: -22px -30px 0; }   /* room for the rings */
.btn-video {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 7px 20px 7px 7px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border2); color: var(--text-1);
  font-family: var(--font-body); text-align: left;
  transition: border-color .2s, transform .18s var(--ease), box-shadow .2s;
}
.btn-video:hover { border-color: var(--g-400); transform: translateY(-2px); box-shadow: var(--e2); }
.btn-video__play {
  position: relative; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--g-500); color: #fff;
  box-shadow: 0 6px 16px rgba(22,182,127,.38);
}
.btn-video__play svg { width: 17px; height: 17px; fill: currentColor; margin-left: 2px; position: relative; z-index: 1; }
.btn-video__play i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--g-400); opacity: 0;
  animation: btn-video-wave 2.4s cubic-bezier(.2,.6,.35,1) infinite;
}
.btn-video__play i + i { animation-delay: 1.2s; }
@keyframes btn-video-wave {
  0%   { transform: scale(1);   opacity: .75; }
  100% { transform: scale(2.5); opacity: 0; }
}
.btn-video__txt b { display: block; font: 700 15px/1.2 var(--font-body); letter-spacing: -.01em; }
.btn-video__txt small { display: block; font-size: 12px; color: var(--text-3); line-height: 1.3; margin-top: 2px; }

.vm { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.vm[hidden] { display: none; }
.vm-backdrop {
  position: absolute; inset: 0; background: rgba(5,11,9,.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.vm-box {
  position: relative; height: min(86vh, 860px); aspect-ratio: 480 / 848; max-width: 100%;
  border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transform: translateY(18px) scale(.96);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.vm.is-open .vm-backdrop { opacity: 1; }
.vm.is-open .vm-box { opacity: 1; transform: none; }
.vm-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.vm-close:hover { background: rgba(0,0,0,.8); transform: rotate(90deg); }
.vm-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
html.vm-lock, html.vm-lock body { overflow: hidden; }
@media (max-width: 540px) {
  .vm { padding: 12px; }
  .vm-box { height: min(88svh, 860px); border-radius: 18px; }
}
