/* ==========================================================================
   TapGo — Design system
   Quiet, product-first, generous whitespace. One accent (raspberry), used
   sparingly. System font on Apple devices (SF Pro), Inter everywhere else.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;
  --text:      #1d1d1f;
  --text-2:    #6e6e73;
  --text-3:    #86868b;
  --line:      #d2d2d7;
  --line-soft: #e8e8ed;

  --dark:      #000000;
  --dark-tile: #161617;
  --dark-line: #2c2c2e;
  --on-dark:   #f5f5f7;
  --on-dark-2: #a1a1a6;

  --accent:    #BE1B4C;
  --accent-hi: #D72659;
  --accent-dk: #ff3d70;           /* accent on black backgrounds */
  --grad: linear-gradient(90deg, #BE1B4C 0%, #EF3A6B 48%, #FF8A3D 100%);

  --ok:    #30b15b;
  --warn:  #f5a524;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  --wrap: 1180px;
  --wrap-wide: 1400px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(88px, 12vw, 168px);

  --ease: cubic-bezier(.2, .7, .15, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  overflow-x: clip; /* clip, not hidden: keeps the sticky nav working when the menu locks scroll */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(190, 27, 76, .18); }
:focus-visible { outline: 3px solid rgba(190, 27, 76, .45); outline-offset: 3px; border-radius: 6px; }

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

/* ---- Layout --------------------------------------------------------------- */
.wrap      { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { width: 100%; max-width: calc(820px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.section      { padding-block: var(--section); }
.section-tight{ padding-block: clamp(64px, 8vw, 112px); }
.bg-alt       { background: var(--bg-alt); }
.bg-dark      { background: var(--dark); color: var(--on-dark); }
.center       { text-align: center; }

/* ---- Typography ----------------------------------------------------------- */
.display {
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}
.h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.h4 { font-size: 21px; font-weight: 600; line-height: 1.24; letter-spacing: -0.02em; }

.eyebrow {
  display: block;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--accent);
  margin-bottom: 14px;
}
.bg-dark .eyebrow { color: var(--accent-dk); }

.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-2);
  max-width: 38ch;
}
.center .lead, .lead.center { margin-inline: auto; }
.bg-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--text-2); }
.bg-dark .muted { color: var(--on-dark-2); }
.strong { color: var(--text); font-weight: 600; }
.bg-dark .strong { color: var(--on-dark); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.head { margin-bottom: clamp(48px, 7vw, 88px); }
.head .h2 + .lead { margin-top: 20px; }

/* ---- Buttons & links ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 30px; padding: 5px 14px; font-size: 13px; font-weight: 500; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--text); }
.btn-dark:hover { background: #3a3a3c; }
.bg-dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.bg-dark .btn-ghost:hover { background: #fff; color: #000; box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent);
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.link::after { content: "›"; font-size: 1.3em; line-height: 0; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link:hover::after { transform: translate(3px, -1px); }
.bg-dark .link { color: var(--accent-dk); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.center .actions { justify-content: center; }

/* ---- Navigation ----------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
/* The blur lives on a pseudo-element: backdrop-filter on .nav itself would make it
   the containing block of the fixed mobile menu, collapsing the menu to 0 height. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.menu-open .nav::before { background: #fff; }
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 32px;
  height: 52px;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a { font-size: 13px; color: rgba(0, 0, 0, .8); transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-inner > .btn { margin-left: 4px; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -12px; }
.nav-toggle span { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child  { top: 25px; }
.menu-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child  { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 52px 0 0 0; z-index: 1;
  background: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 24px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .4s var(--ease), visibility 0s linear .4s;
}
.menu a:not(.btn) { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; padding: 8px 0; color: var(--text); }
.menu .btn { margin-top: 28px; align-self: flex-start; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .4s var(--ease); }
.menu-open { overflow: hidden; }

/* ---- Hero (home) ---------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(239, 58, 107, .10), transparent 70%),
    linear-gradient(#fff, #fbfbfd);
}
.hero-kicker { font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.hero .lead { margin: 22px auto 0; max-width: 34ch; }
.hero-stage {
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  height: clamp(520px, 64vw, 760px);
  display: flex; justify-content: center; align-items: flex-end;
}
.hero-stage .kiosk { width: clamp(250px, 30vw, 360px); position: relative; z-index: 1; }
.hero-stage .phone {
  position: absolute; z-index: 2;
  width: clamp(150px, 16vw, 216px);
  left: calc(50% + clamp(70px, 10vw, 140px));
  bottom: clamp(40px, 6vw, 90px);
  transform: rotate(4deg);
}
.hero-stage .glass-chip { position: absolute; z-index: 3; }
.hero-stage .chip-a { right: calc(50% + clamp(120px, 16vw, 230px)); top: 18%; }
.hero-stage .chip-b { right: calc(50% + clamp(90px, 13vw, 190px)); top: 52%; }

.glass-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .7);
  text-align: left; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-b { animation-delay: -3s; }
.glass-chip .chip-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.glass-chip .chip-ic svg { width: 20px; height: 20px; }
.glass-chip .chip-ic.ok { background: var(--ok); }
.glass-chip b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.glass-chip small { display: block; font-size: 12px; color: var(--text-2); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---- Inner page hero ------------------------------------------------------ */
.page-hero { padding-block: clamp(72px, 10vw, 136px) clamp(40px, 6vw, 72px); text-align: center; }
.page-hero .lead { margin: 24px auto 0; max-width: 36ch; }

/* ---- Big numbers ---------------------------------------------------------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.number { text-align: center; padding-inline: 8px; }
.number .n {
  display: block;
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.number .l { display: block; margin-top: 14px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.number .s { display: block; margin-top: 6px; font-size: 15px; color: var(--text-2); }
.bg-dark .number .s { color: var(--on-dark-2); }
.footnote { margin-top: 56px; font-size: 12px; color: var(--text-3); text-align: center; }
.bg-dark .footnote { color: #6e6e73; }

/* ---- Gallery (horizontal cards) ------------------------------------------- */
.gallery {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 30vw, 372px);
  gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 8px));
  scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 32px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { scroll-snap-align: start; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 14px; max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-inline: var(--gutter); margin: 0 auto; }
.gallery-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  background: #e8e8ed; color: #1d1d1f;
  display: grid; place-items: center;
  transition: background .2s ease, opacity .2s ease;
}
.gallery-nav button:hover { background: #dcdce1; }
.gallery-nav button:disabled { opacity: .4; cursor: default; }
.gallery-nav svg { width: 18px; height: 18px; }

.g-card {
  position: relative;
  height: clamp(460px, 42vw, 540px);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 30px 30px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.g-card:hover { transform: scale(1.012); box-shadow: 0 18px 48px -20px rgba(0, 0, 0, .25); }
.g-card .eyebrow { font-size: 14px; margin-bottom: 8px; }
.g-card h3 { font-size: clamp(24px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.g-card .g-visual { margin-top: auto; display: flex; justify-content: center; align-items: flex-end; }
.g-card .g-visual .kiosk { width: 74%; margin-bottom: -30%; }
.g-card .g-visual .phone { width: 64%; margin-bottom: -34%; }
.g-card .g-visual.bleed { justify-content: flex-start; margin-right: -30px; }
.g-card .g-visual.bleed > * { flex: none; width: 150%; max-width: none; margin-bottom: -8%; }
.g-card .g-visual.bleed > .monitor { margin-bottom: -2%; }
.g-card.dark { background: #000; color: var(--on-dark); }
.g-card.dark .eyebrow { color: var(--accent-dk); }
.g-card .card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

/* ---- Bento grid ----------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative;
  grid-column: span 2;
  border-radius: var(--r-xl);
  background: #fff;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px;
  background: var(--bg-alt);
}
.bg-alt .tile { background: #fff; }
.bg-dark .tile { background: var(--dark-tile); }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.span-6 { grid-column: span 6; }
.tile.dark { background: #000; color: var(--on-dark); }
.tile.accent { background: var(--accent); color: #fff; }
.tile .t-label { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); }
.tile.dark .t-label, .bg-dark .tile .t-label { color: var(--on-dark-2); }
.tile.accent .t-label { color: rgba(255, 255, 255, .8); }
.tile .t-big {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  margin-top: auto; padding-top: 32px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tile .t-big small { font-size: .34em; letter-spacing: -0.02em; margin-left: .12em; font-weight: 600; }
.tile .t-devices {
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 3%;
  margin-top: 40px; margin-bottom: calc(-1 * clamp(28px, 3.4vw, 44px)); margin-right: -4%;
}
.tile .t-devices .tablet { width: 54%; flex: none; }
.tile .t-devices .kiosk  { width: 22%; flex: none; }
.tile .t-devices .phone  { width: 15%; flex: none; margin-bottom: 2%; }
.tile.split-tile { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.tile.split-tile .monitor { max-width: none; margin-bottom: calc(-1 * clamp(28px, 3.4vw, 44px)); align-self: end; }
.tile .t-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; margin-top: 10px; }
.tile .t-text { margin-top: 12px; font-size: 17px; color: var(--text-2); max-width: 40ch; }
.tile.dark .t-text, .bg-dark .tile .t-text { color: var(--on-dark-2); }
.tile.accent .t-text { color: rgba(255, 255, 255, .85); }
.tile .t-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--accent);
  margin-bottom: auto;
}
.tile .t-icon { background: #fff; }
.bg-alt .tile .t-icon { background: var(--bg-alt); }
.bg-dark .tile .t-icon, .tile.dark .t-icon { background: #2c2c2e; color: var(--accent-dk); }
.tile .t-icon svg { width: 28px; height: 28px; }
.tile .t-icon + * { margin-top: 40px; }

.pay-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px;
  border-radius: 14px;
  background: var(--bg-alt);
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
}
.bg-dark .pay-chip, .tile.dark .pay-chip { background: #2c2c2e; color: #fff; }
.pay-chip svg { width: 22px; height: 22px; }

/* ---- Feature split (text + visual) --------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.split.flip > :first-child { order: 2; }
.split .lead { max-width: 30ch; }
.split-visual { display: flex; justify-content: center; align-items: center; }

.checks { display: grid; gap: 14px; margin-top: 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text-2); }
.checks li b { color: var(--text); font-weight: 600; }
.bg-dark .checks li { color: var(--on-dark-2); }
.bg-dark .checks li b { color: var(--on-dark); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }
.bg-dark .checks svg { color: var(--accent-dk); }

/* ---- Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 36px 32px 40px; border-radius: var(--r-lg); background: #fff; }
.step .step-n { display: block; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 64px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--text-2); }

/* ---- Flow diagram (product) ----------------------------------------------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow-node { padding: 32px 28px; border-radius: var(--r-lg); background: var(--dark-tile); text-align: left; }
.flow-node .fn-k { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent-dk); }
.flow-node h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; line-height: 1.2; }
.flow-node p { margin-top: 8px; font-size: 15px; color: var(--on-dark-2); }
.flow-node .fn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.flow-node .fn-tags span { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 99px; background: #2c2c2e; color: #d1d1d6; }
.flow-arrow { display: grid; place-items: center; width: 56px; color: #48484a; }
.flow-arrow svg { width: 28px; height: 28px; }

/* ---- Quote ---------------------------------------------------------------- */
.quote { max-width: 980px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.12;
}
.quote blockquote::before { content: "“"; }
.quote blockquote::after  { content: "”"; }
.quote figcaption { margin-top: 32px; font-size: 17px; color: var(--text-2); }
.quote figcaption b { display: block; color: var(--text); font-weight: 600; }

/* ---- Price ---------------------------------------------------------------- */
.price-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .3);
}
.price-main { padding: clamp(36px, 5vw, 64px); background: #000; color: var(--on-dark); display: flex; flex-direction: column; }
.price-main .eyebrow { color: var(--accent-dk); }
.price-amount { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.price-amount .cur { font-size: 24px; font-weight: 600; margin-top: 16px; color: var(--on-dark-2); }
.price-amount .val { font-size: clamp(96px, 12vw, 148px); font-weight: 700; letter-spacing: -0.06em; line-height: .9; }
.price-per { margin-top: 14px; font-size: 19px; color: var(--on-dark-2); }
.price-main .btn { margin-top: auto; align-self: flex-start; }
.price-main .price-note { margin-top: 16px; font-size: 13px; color: #6e6e73; }
.price-main .spacer { flex: 1; min-height: 40px; }
.price-incl { padding: clamp(36px, 5vw, 64px); }
.price-incl h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.price-incl .checks { margin-top: 24px; gap: 18px; }

.zero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zero-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.zero { padding: 32px 28px; border-radius: var(--r-lg); background: #fff; }
.zero .z-val { font-size: clamp(44px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.zero .z-lbl { margin-top: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.zero .z-sub { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.zero .z-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); margin-bottom: 48px; }
.zero .z-ic svg { width: 26px; height: 26px; }
.bg-dark .zero { background: var(--dark-tile); }
.bg-dark .zero .z-ic { background: #2c2c2e; color: var(--accent-dk); }
.bg-dark .zero .z-sub { color: var(--on-dark-2); }

/* ---- Product hero composition -------------------------------------------- */
.pstage {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: clamp(48px, 7vw, 88px);
  padding-inline: var(--gutter);
}
.pstage::before {
  content: ""; position: absolute; inset: 20% 10% -10%;
  background: radial-gradient(50% 50% at 50% 60%, rgba(239, 58, 107, .16), transparent 70%);
  pointer-events: none;
}
.pstage .monitor { width: min(820px, 74%); max-width: none; position: relative; }
.pstage .kiosk { position: absolute; left: max(2%, calc(50% - 560px)); bottom: 0; width: min(230px, 21%); }
.pstage .phone { position: absolute; right: max(4%, calc(50% - 520px)); bottom: 0; width: min(176px, 15%); }

/* ---- Status page (thanks / 404) ------------------------------------------ */
.status { min-height: calc(100vh - 52px - 220px); display: grid; place-content: center; text-align: center; padding-block: 96px; }
.status .ring { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 32px; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 20px 40px -12px rgba(48, 177, 91, .5); }
.status .ring svg { width: 42px; height: 42px; }
.status .lead { margin: 20px auto 0; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: translateY(-4px) rotate(45deg);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq .faq-a { padding: 0 48px 28px 0; font-size: 17px; color: var(--text-2); max-width: 64ch; }
.faq .faq-a a { color: var(--accent); }
.faq details[open] .faq-a { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---- Contact -------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4.5vw, 56px); }
.form-card h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.form-card > p { margin-top: 8px; color: var(--text-2); }
.form { display: grid; gap: 14px; margin-top: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 26px 16px 10px;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; }
.field select { padding-right: 44px; cursor: pointer; }
.field.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field label {
  position: absolute; left: 17px; top: 18px;
  font-size: 17px; color: var(--text-3);
  pointer-events: none; transform-origin: left top;
  transition: transform .2s var(--ease), color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(190, 27, 76, .12);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label {
  transform: translateY(-10px) scale(.72);
}
.field input:focus + label, .field textarea:focus + label, .field select:focus + label { color: var(--accent); }
.form .btn { width: 100%; margin-top: 10px; }
.form .fine { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 4px; }

.reach { display: grid; gap: 0; }
.reach a, .reach .reach-item {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.reach a:first-child { border-top: 1px solid var(--line); }
.reach .r-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--accent); flex: none; }
.reach .r-ic svg { width: 22px; height: 22px; }
.reach .r-k { display: block; font-size: 13px; color: var(--text-2); }
.reach .r-v { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.reach a:hover .r-v { color: var(--accent); }
.reach .r-go svg { width: 18px; height: 18px; }
.reach .r-go { flex: none; margin-left: auto; color: var(--text-3); transition: transform .25s var(--ease), color .25s ease; }
.reach a:hover .r-go { transform: translateX(4px); color: var(--accent); }

/* ---- CTA ------------------------------------------------------------------ */
.cta { text-align: center; }
.cta .h1 { max-width: 14ch; margin-inline: auto; }

/* ---- Footer --------------------------------------------------------------- */
.footer { background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.5; padding-block: 48px 28px; }
.footer .wrap > .f-tag { padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 28px; }
.f-cols h4 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.f-cols a { display: block; padding: 4px 0; color: var(--text-2); }
.f-cols a:hover { color: var(--text); text-decoration: underline; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.f-social { display: flex; gap: 18px; }
.f-social a { color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.f-social a:hover { color: var(--text); }
.f-social svg { width: 16px; height: 16px; }

/* ==========================================================================
   Device mockups — pure HTML/CSS, scale with their container (cqw units)
   ========================================================================== */

/* ---- Kiosk ---------------------------------------------------------------- */
.kiosk { width: 320px; max-width: 100%; }
.kiosk-head {
  position: relative;
  padding: 4.2% 4.2% 9%;
  border-radius: 7% / 4%;
  background: linear-gradient(160deg, #3a3a3c 0%, #1c1c1e 40%, #0b0b0c 100%);
  box-shadow:
    0 60px 90px -40px rgba(0, 0, 0, .55),
    0 30px 60px -30px rgba(190, 27, 76, .25),
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.kiosk-head::after { /* NFC reader */
  content: ""; position: absolute; left: 50%; bottom: 2.6%;
  width: 22%; height: 3.4%; transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(90deg, #2c2c2e, #48484a, #2c2c2e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.kiosk-screen {
  aspect-ratio: 9 / 16;
  border-radius: 3.4% / 1.9%;
  overflow: hidden;
  background: #fafafa;
  container-type: inline-size;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.kiosk-neck { width: 16%; height: clamp(40px, 7vw, 90px); margin: 0 auto; background: linear-gradient(90deg, #0e0e0f, #3a3a3c 45%, #1c1c1e 60%, #0e0e0f); }
.kiosk-foot { width: 58%; height: 12px; margin: 0 auto; border-radius: 6px 6px 50% 50% / 6px 6px 100% 100%; background: linear-gradient(#3a3a3c, #0b0b0c); box-shadow: 0 24px 30px -10px rgba(0, 0, 0, .35); }
.kiosk.no-stand .kiosk-neck, .kiosk.no-stand .kiosk-foot { display: none; }

/* ---- Phone ---------------------------------------------------------------- */
.phone {
  width: 220px; max-width: 100%;
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 17% / 7.8%;
  background: linear-gradient(145deg, #4a4a4e, #1c1c1e 30%, #0b0b0c);
  box-shadow:
    0 50px 80px -30px rgba(0, 0, 0, .5),
    inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; z-index: 2;
  top: 4.6%; left: 50%; transform: translateX(-50%);
  width: 29%; height: 3.4%; border-radius: 99px; background: #000;
}
.phone-screen {
  position: absolute; inset: 1.6% 3.6%;
  border-radius: 14% / 6.4%;
  overflow: hidden; background: #fff;
  container-type: inline-size;
}

/* ---- Monitor / display ---------------------------------------------------- */
.monitor { width: 100%; max-width: 640px; }
.monitor-frame {
  padding: 1.6%;
  border-radius: 2.4% / 3.8%;
  background: linear-gradient(160deg, #3a3a3c, #0b0b0c);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.monitor-screen { aspect-ratio: 16 / 10; border-radius: 1% / 1.6%; overflow: hidden; container-type: inline-size; background: #111; }
.monitor-neck { width: 12%; height: clamp(26px, 4vw, 54px); margin: 0 auto; background: linear-gradient(90deg, #1c1c1e, #636366 50%, #1c1c1e); }
.monitor-foot { width: 34%; height: 8px; margin: 0 auto; border-radius: 4px 4px 2px 2px; background: linear-gradient(#8e8e93, #3a3a3c); box-shadow: 0 18px 24px -8px rgba(0, 0, 0, .3); }

/* ---- Tablet --------------------------------------------------------------- */
.tablet {
  position: relative;
  width: 100%; max-width: 620px;
  aspect-ratio: 1.36;
  border-radius: 5% / 6.8%;
  background: linear-gradient(145deg, #4a4a4e, #1c1c1e 30%, #0b0b0c);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .1);
}
.tablet-screen { position: absolute; inset: 3.3% 2.4%; border-radius: 2.6% / 3.5%; overflow: hidden; background: #fff; container-type: inline-size; }

/* ---- Browser -------------------------------------------------------------- */
.browser {
  width: 100%; max-width: 640px;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f2f2f4; border-bottom: 1px solid #e5e5ea; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-inline: auto; padding: 4px 16px; border-radius: 7px; background: #fff; font-size: 12px; color: #6e6e73; }
.browser-body { aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; }

/* ==========================================================================
   Screen UIs (everything in em; base font-size set in cqw per device)
   ========================================================================== */
.ui { height: 100%; display: flex; flex-direction: column; text-align: left; color: #1d1d1f; letter-spacing: -0.01em; line-height: 1.25; }
.ui b { font-weight: 650; }
.food { display: grid; place-items: center; border-radius: .8em; background: var(--tint, #fff1e0); }
.food svg { width: 64%; height: auto; }
.t-burger { --tint: #fff1e0; } .t-fries { --tint: #ffece8; } .t-drink { --tint: #e9f1ff; }
.t-salad { --tint: #e9f7ec; } .t-donut { --tint: #ffe9f1; } .t-coffee { --tint: #f3ece6; }

/* Kiosk UI */
.ui-kiosk { font-size: 4.1cqw; background: #fafafa; }
.uk-top { display: flex; justify-content: space-between; align-items: center; padding: 1.3em 1.3em .7em; }
.uk-brand { display: flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.05em; letter-spacing: -0.02em; }
.uk-logo { width: 1.9em; height: 1.9em; border-radius: .6em; display: grid; place-items: center; background: #1d1d1f; color: #fff; font-size: .85em; }
.uk-pill { font-size: .72em; color: #6e6e73; border: 1px solid #e5e5ea; border-radius: 99em; padding: .3em .8em; background: #fff; }
.uk-promo {
  margin: .3em 1.3em .9em; padding: 1em 1.1em;
  border-radius: 1.1em;
  background: linear-gradient(125deg, #BE1B4C, #F0406F 60%, #FF8A3D);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: .6em;
}
.uk-promo small { display: block; font-size: .68em; opacity: .85; font-weight: 500; }
.uk-promo b { display: block; font-size: 1.3em; letter-spacing: -0.03em; margin: .15em 0 .3em; }
.uk-promo span { display: inline-block; font-size: .72em; font-weight: 600; background: rgba(255,255,255,.22); border-radius: 99em; padding: .3em .75em; }
.uk-promo svg { width: 4.4em; height: auto; flex: none; filter: drop-shadow(0 .3em .4em rgba(0,0,0,.2)); }
.uk-cats { display: flex; gap: .4em; padding: 0 1.3em .9em; }
.uk-cats span { font-size: .72em; font-weight: 600; padding: .5em .95em; border-radius: 99em; background: #ececf0; color: #3a3a3c; }
.uk-cats .on { background: #1d1d1f; color: #fff; }
.uk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; padding: 0 1.3em; align-content: start; flex: 1; min-height: 0; overflow: hidden; }
.uk-item { position: relative; background: #fff; border-radius: 1em; padding: .6em .6em .75em; box-shadow: 0 .1em .5em rgba(0,0,0,.06); }
.uk-item .food { aspect-ratio: 16 / 11; margin-bottom: .55em; }
.uk-item b { display: block; font-size: .8em; }
.uk-item small { display: block; font-size: .7em; color: #6e6e73; margin-top: .15em; }
.uk-add { position: absolute; right: .6em; bottom: .7em; width: 1.7em; height: 1.7em; border-radius: 50%; background: #BE1B4C; color: #fff; display: grid; place-items: center; font-size: .85em; font-weight: 700; }
.uk-cart {
  margin: .9em 1.3em 1.3em; padding: .7em .7em .7em 1.1em;
  border-radius: 1.1em; background: #1d1d1f; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82em;
}
.uk-cart small { display: block; color: #a1a1a6; font-size: .85em; }
.uk-cart .go { background: #BE1B4C; padding: .65em 1.2em; border-radius: 99em; font-weight: 600; }

/* Phone UI — QR table ordering */
.ui-qr { font-size: 4.6cqw; background: #fff; }
.uq-status { display: flex; justify-content: space-between; padding: 1.1em 1.9em .4em; font-size: .78em; font-weight: 600; }
.uq-status i { letter-spacing: .1em; font-style: normal; }
.uq-head { padding: 1.4em 1.3em .8em; }
.uq-table { display: inline-flex; align-items: center; gap: .4em; font-size: .68em; font-weight: 600; color: #BE1B4C; background: #fdecf1; padding: .35em .8em; border-radius: 99em; }
.uq-head b { display: block; font-size: 1.35em; letter-spacing: -0.03em; margin-top: .35em; }
.uq-head small { display: block; font-size: .72em; color: #6e6e73; margin-top: .1em; }
.uq-list { padding: 0 1.3em; flex: 1; }
.uq-row { display: flex; align-items: center; gap: .75em; padding: .7em 0; border-bottom: 1px solid #f0f0f3; }
.uq-row .food { width: 3.4em; height: 3.4em; flex: none; border-radius: .75em; }
.uq-row div:nth-child(2) { flex: 1; min-width: 0; }
.uq-row b { display: block; font-size: .8em; }
.uq-row small { display: block; font-size: .68em; color: #6e6e73; margin-top: .1em; }
.uq-qty { font-size: .72em; font-weight: 700; color: #fff; background: #BE1B4C; width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; flex: none; }
.uq-qty.off { background: #f0f0f3; color: #1d1d1f; }
.uq-bar { margin: .8em 1em 1.6em; padding: .85em 1.1em; border-radius: 99em; background: #1d1d1f; color: #fff; display: flex; justify-content: space-between; font-size: .78em; font-weight: 600; }
.uq-bar span:first-child::before { content: "3"; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #BE1B4C; margin-right: .5em; font-size: .9em; }

/* Phone UI — order confirmed / Apple Pay-ish sheet */
.ui-pay { font-size: 4.6cqw; background: #f5f5f7; }
.up-sheet { margin-top: auto; background: #fff; border-radius: 1.6em 1.6em 0 0; padding: 1.4em 1.4em 2.2em; box-shadow: 0 -.5em 2em rgba(0,0,0,.08); }
.up-sheet .grab { width: 2.6em; height: .3em; border-radius: 99em; background: #d1d1d6; margin: 0 auto 1.2em; }
.up-line { display: flex; justify-content: space-between; font-size: .78em; padding: .5em 0; color: #3a3a3c; }
.up-line.total { border-top: 1px solid #f0f0f3; margin-top: .3em; padding-top: .8em; font-weight: 700; color: #1d1d1f; font-size: .9em; }
.up-btn { margin-top: 1em; background: #000; color: #fff; border-radius: .8em; text-align: center; padding: .9em; font-weight: 600; font-size: .85em; }
.up-done { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 2em 1.5em 0; gap: .5em; }
.up-done .ring { width: 4.4em; height: 4.4em; border-radius: 50%; background: #30b15b; display: grid; place-items: center; color: #fff; box-shadow: 0 .6em 1.6em rgba(48,177,91,.35); }
.up-done .ring svg { width: 50%; }
.up-done b { font-size: 1.15em; letter-spacing: -0.02em; margin-top: .4em; }
.up-done small { font-size: .72em; color: #6e6e73; }

/* KDS UI */
.ui-kds { font-size: 1.55cqw; background: #0d0d0e; color: #f5f5f7; padding: 1.4em; gap: 1.2em; }
.uk2-top { display: flex; justify-content: space-between; align-items: center; }
.uk2-top b { font-size: 1.3em; }
.uk2-top .tabs { display: flex; gap: .5em; font-size: .85em; }
.uk2-top .tabs span { padding: .4em .9em; border-radius: 99em; background: #1c1c1e; color: #a1a1a6; }
.uk2-top .tabs .on { background: #f5f5f7; color: #000; font-weight: 600; }
.uk2-top time { font-size: 1.1em; font-weight: 600; font-variant-numeric: tabular-nums; color: #a1a1a6; }
.uk2-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; flex: 1; align-items: start; }
.ticket { background: #1c1c1e; border-radius: .9em; overflow: hidden; }
.ticket-h { padding: .8em 1em; display: flex; justify-content: space-between; align-items: baseline; background: #BE1B4C; }
.ticket-h b { font-size: 1.15em; }
.ticket-h span { font-size: .8em; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .9; }
.ticket.cooking .ticket-h { background: #c77d0a; }
.ticket.ready .ticket-h { background: #1f8a45; }
.ticket-src { padding: .7em 1em 0; font-size: .8em; color: #a1a1a6; }
.ticket ul { padding: .5em 1em 1em; display: grid; gap: .45em; }
.ticket li { font-size: .95em; }
.ticket li b { color: #fff; margin-right: .3em; }
.ticket li small { display: block; color: #ff8a3d; font-size: .82em; margin-left: 1.6em; }
.ticket li.done { color: #636366; text-decoration: line-through; }
.ticket .bump { margin: 0 1em 1em; text-align: center; font-size: .85em; font-weight: 600; padding: .6em; border-radius: .6em; background: #2c2c2e; }
.ticket.ready .bump { background: #1f8a45; }

/* Portal (dashboard) UI */
.ui-portal { font-size: 1.5cqw; flex-direction: row; background: #f5f5f7; }
.up-side { width: 17em; background: #fff; border-right: 1px solid #ececf0; padding: 1.6em 1.2em; display: flex; flex-direction: column; gap: .3em; }
.up-side .uk-brand { margin-bottom: 1.4em; font-size: 1.1em; }
.up-side span { font-size: .95em; padding: .55em .8em; border-radius: .6em; color: #6e6e73; }
.up-side span.on { background: #fdecf1; color: #BE1B4C; font-weight: 600; }
.up-main { flex: 1; padding: 1.6em 1.8em; display: flex; flex-direction: column; gap: 1.2em; min-width: 0; }
.up-main .hd { display: flex; justify-content: space-between; align-items: center; }
.up-main .hd b { font-size: 1.5em; letter-spacing: -0.03em; }
.up-main .hd span { font-size: .85em; color: #6e6e73; background: #fff; padding: .45em .9em; border-radius: 99em; border: 1px solid #e5e5ea; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.kpi { background: #fff; border-radius: 1em; padding: 1em 1.2em; }
.kpi small { display: block; font-size: .8em; color: #6e6e73; }
.kpi b { display: block; font-size: 1.7em; letter-spacing: -0.04em; margin-top: .2em; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: .78em; font-weight: 600; color: #1f8a45; }
.chart { background: #fff; border-radius: 1em; padding: 1.1em 1.2em; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chart .ch { display: flex; justify-content: space-between; font-size: .85em; color: #6e6e73; }
.chart .ch b { color: #1d1d1f; }
.chart svg { width: 100%; flex: 1; min-height: 0; margin-top: .6em; }

/* Online shop UI */
.ui-shop { font-size: 1.6cqw; background: #fff; }
.us-nav { display: flex; justify-content: space-between; align-items: center; padding: 1.4em 2.4em; border-bottom: 1px solid #f0f0f3; }
.us-nav nav { display: flex; gap: 2em; font-size: .9em; color: #6e6e73; }
.us-nav .cart { font-size: .9em; font-weight: 600; background: #1d1d1f; color: #fff; padding: .55em 1.1em; border-radius: 99em; }
.us-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2em; padding: 2.4em 2.4em 1.6em; }
.us-hero small { font-size: .85em; color: #BE1B4C; font-weight: 600; }
.us-hero b { display: block; font-size: 2.6em; letter-spacing: -0.045em; line-height: 1.02; margin-top: .2em; }
.us-hero .btns { display: flex; gap: .6em; margin-top: 1.2em; font-size: .85em; font-weight: 600; }
.us-hero .btns span { padding: .6em 1.2em; border-radius: 99em; background: #f0f0f3; }
.us-hero .btns span:first-child { background: #BE1B4C; color: #fff; }
.us-hero .food { aspect-ratio: 16 / 11; border-radius: 1.4em; }
.us-hero .food svg { width: 48%; }
.us-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; padding: 0 2.4em; }
.us-row > div { border-radius: 1em; background: #fafafa; padding: .6em .6em .9em; }
.us-row .food { aspect-ratio: 4 / 3; margin-bottom: .6em; }
.us-row b { display: block; font-size: .9em; padding-inline: .2em; }
.us-row small { display: block; font-size: .8em; color: #6e6e73; padding-inline: .2em; }

/* POS UI */
.ui-pos { font-size: 1.75cqw; flex-direction: row; background: #f5f5f7; }
.pos-left { flex: 1; padding: 1.4em; display: flex; flex-direction: column; gap: 1em; min-width: 0; }
.pos-cats { display: flex; gap: .5em; }
.pos-cats span { font-size: .85em; font-weight: 600; padding: .5em 1em; border-radius: 99em; background: #fff; color: #3a3a3c; }
.pos-cats .on { background: #1d1d1f; color: #fff; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; }
.pos-grid > div { background: #fff; border-radius: .9em; padding: .55em .55em .8em; }
.pos-grid .food { aspect-ratio: 16 / 10; margin-bottom: .5em; border-radius: .6em; }
.pos-grid b { display: block; font-size: .85em; padding-inline: .2em; }
.pos-grid small { display: block; font-size: .75em; color: #6e6e73; padding-inline: .2em; }
.pos-right { width: 36%; background: #fff; padding: 1.4em 1.3em; display: flex; flex-direction: column; border-left: 1px solid #ececf0; }
.pos-right .hd { display: flex; justify-content: space-between; align-items: baseline; }
.pos-right .hd b { font-size: 1.2em; }
.pos-right .hd small { font-size: .8em; color: #6e6e73; }
.pos-lines { margin-top: 1em; display: grid; gap: .75em; flex: 1; align-content: start; }
.pos-lines div { display: flex; justify-content: space-between; font-size: .9em; }
.pos-lines div span:first-child b { color: #BE1B4C; margin-right: .3em; }
.pos-tot { border-top: 1px solid #f0f0f3; padding-top: .8em; display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05em; }
.pos-charge { margin-top: .9em; background: #BE1B4C; color: #fff; text-align: center; padding: .85em; border-radius: .8em; font-weight: 600; }

/* ---- Visual stages used in splits ---------------------------------------- */
.stage {
  position: relative; width: 100%;
  border-radius: var(--r-xl);
  background: var(--bg-alt);
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px) 0;
  display: flex; justify-content: center; align-items: flex-end;
  overflow: hidden;
  min-height: clamp(420px, 44vw, 580px);
}
.bg-alt .stage { background: #fff; }
.bg-dark .stage { background: var(--dark-tile); }
.stage.glow::before {
  content: ""; position: absolute; inset: auto -20% -30% -20%; height: 70%;
  background: radial-gradient(50% 60% at 50% 70%, rgba(239, 58, 107, .22), transparent 70%);
  pointer-events: none;
}
.stage > * { position: relative; }
.stage .kiosk { width: clamp(220px, 24vw, 300px); }
.stage .phone { width: clamp(170px, 18vw, 230px); margin-bottom: -18%; }
.stage .phone + .phone { margin-left: -6%; transform: translateY(-6%); }
.stage.pad-b { padding-bottom: clamp(32px, 5vw, 64px); align-items: center; }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal-scale { opacity: 0; transform: scale(.94) translateY(40px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }

.no-js .reveal, .no-js .reveal-scale { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .glass-chip { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.span-3, .tile.span-4 { grid-column: span 1; }
  .tile.span-4.wide-md, .tile.span-6 { grid-column: span 2; }
  .zero-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { width: 100%; height: 44px; transform: rotate(90deg); }
  .hero-stage .chip-a { right: calc(50% + 150px); }
}

@media (max-width: 900px) {
  .split, .split.flip, .price-hero, .contact-layout, .tile.split-tile { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .split .lead { max-width: 36ch; }
  .steps { grid-template-columns: 1fr; }
  .step .step-n { margin-bottom: 28px; }
  .hero-stage .glass-chip { display: none; }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav-links, .nav-inner > .btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-inner { height: 48px; }
  .menu { inset: 48px 0 0 0; }
  .numbers { grid-template-columns: 1fr; gap: 56px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.span-3, .tile.span-4, .tile.span-4.wide-md, .tile.span-6 { grid-column: span 1; min-height: 240px; }
  .form .row { grid-template-columns: 1fr; }
  .zero-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .zero-grid.cols-3 { grid-template-columns: 1fr; }
  .zero { padding: 24px 20px; }
  .hero-stage { height: auto; min-height: 480px; padding-bottom: 0; }
  .hero-stage .kiosk { width: 64vw; max-width: 280px; transform: translateX(-12%); }
  .hero-stage .phone { width: 38vw; max-width: 170px; left: auto; right: 4vw; bottom: 26px; }
  .actions { gap: 16px 24px; }
  .faq .faq-a { padding-right: 0; }
  .g-card { padding: 26px 24px 0; }
}

@media (max-width: 440px) {
  .actions .btn { width: 100%; }
  .zero-grid, .zero-grid.cols-3 { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }
}
