/* ==========  SIPO CLOUD POS · styles  ========== */

:root {
  --bg: #FAF7F2;
  --bg-2: #F2EEE7;
  --ink: #0D0F14;
  --ink-2: #2A2D35;
  --muted: #6B6D76;
  --line: rgba(13, 15, 20, 0.10);
  --line-2: rgba(13, 15, 20, 0.06);
  --brand: #FF6B2B;
  --brand-2: #E85A1C;
  --mint: #D8EBD0;
  --mint-2: #BFDCB3;
  --paper: #FFFDF7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 1px 2px rgba(13,15,20,0.04), 0 8px 24px rgba(13,15,20,0.06);
  --shadow-pop:  0 2px 4px rgba(13,15,20,0.05), 0 24px 48px rgba(13,15,20,0.10);
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui;
  --font-body:    'Bricolage Grotesque', ui-sans-serif, system-ui;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'ss02';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }

/* ---------- layout ---------- */
section, header.hero, .foot {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-display em { color: var(--brand); font-size: 1.02em; letter-spacing: -0.01em; }

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h-section em { color: var(--brand); }

.sub { color: var(--muted); max-width: 620px; font-size: 18px; margin-top: 18px; }
.sub.light { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
  background: rgba(255,107,43,0.08);
  border: 1px solid rgba(255,107,43,0.22);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,107,43,0.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.45; transform: scale(0.85);} }

.eyebrow-line {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.eyebrow-line.light { color: rgba(255,255,255,0.75); }

.section-head { max-width: 860px; margin-bottom: 64px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(250,247,242,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-full { height: 34px; width: auto; display: block; }
.nav .logo-full { height: 30px; }
.nav-links { flex-shrink: 0; white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.nav .btn { flex-shrink: 0; }
.foot .logo-full { height: 40px; }
.foot .logo { margin-bottom: 4px; }

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  padding-top: 60px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint) 0%, transparent 62%);
  z-index: 0; opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: 60px; padding-bottom: 60px;
  min-height: 78vh;
}
.hero-copy .lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 520px; margin: 28px 0 36px; line-height: 1.5; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.center { justify-content: center; }

.hero-stats { margin-top: 54px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-stats > div:not(.sep) { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-stats .sep { width: 1px; height: 34px; background: var(--line); }

/* ─── hero animation stage ─── */
.hero-anim {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 600px;
  justify-self: end;
  width: 100%;
}
.anim-stage {
  position: relative;
  width: 100%; height: 100%;
}

.pos-frame {
  position: absolute;
  top: 6%; left: 0; width: 82%; height: 80%;
  background: #0F1117;
  border-radius: 22px;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(13,15,20,0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transform-origin: center;
  transition: transform 0.5s ease;
}
.pos-chrome {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #171A23;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #B8BCCA; font-size: 12px;
  font-family: var(--font-mono);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3A3E4D; }
.chrome-dots span:first-child { background: #E26F4F; }
.chrome-dots span:nth-child(2) { background: #E7B24A; }
.chrome-dots span:last-child { background: #6DBF6A; }
.chrome-title { text-align: center; color: #E6E8F0; letter-spacing: 0.05em; }
.chrome-time { font-variant-numeric: tabular-nums; }

.pos-body { padding: 12px; height: calc(100% - 36px); display: flex; flex-direction: column; gap: 10px; }
.pos-menu {
  display: flex; gap: 6px;
}
.menu-tab {
  font-size: 11px; color: #8F94A6; padding: 6px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}
.menu-tab.active { background: #2A2F45; color: #F0EEE8; }

.pos-grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}
.pos-item {
  position: relative;
  background: var(--c); color: #fff;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  padding: 6px 8px;
  text-align: left;
  overflow: hidden;
  box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pos-item em { display: block; margin-top: 2px; font-style: normal; font-family: var(--font-mono); font-size: 9.5px; opacity: 0.9; font-weight: 500; }
.pos-item.tapped {
  animation: posTap 0.45s ease;
}
@keyframes posTap {
  0%   { transform: scale(1); box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15); }
  40%  { transform: scale(0.94); box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--brand); }
  100% { transform: scale(1); box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15); }
}

.pos-keys {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.key {
  font-family: var(--font-mono);
  background: #1F2330;
  color: #D4D7E0;
  font-size: 10px; text-align: center;
  padding: 8px 4px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.key.hot { background: #2A2F45; color: #FFB347; }
.key.pay {
  background: var(--brand); color: #fff; font-weight: 700; font-size: 11px;
  font-family: var(--font-display);
  grid-column: span 2;
  box-shadow: 0 6px 14px rgba(255,107,43,0.35);
  transition: transform 0.15s;
}

.ticket {
  position: absolute;
  bottom: 2%; right: 0;
  width: 48%;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 14px 16px;
  transform: rotate(2deg) translateY(20px);
  opacity: 0; transition: all 0.5s cubic-bezier(.2,.9,.3,1.2);
}
.ticket.visible { opacity: 1; transform: rotate(2deg) translateY(0); }
.ticket-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--muted); padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.live-dot { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 700; }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 1.4s infinite; }
.ticket-lines { list-style: none; padding: 10px 0; margin: 0; min-height: 96px; }
.ticket-lines li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  font-size: 13px; padding: 4px 0;
  font-family: var(--font-mono);
  animation: lineIn 0.4s ease backwards;
}
.ticket-lines li b { color: var(--brand); font-weight: 700; }
.ticket-lines li span { color: var(--ink); }
.ticket-lines li em { color: var(--muted); font-family: var(--font-mono); font-style: normal; }
@keyframes lineIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ticket-foot {
  padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.ticket-total { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.ticket-total b { color: var(--ink); font-size: 17px; font-weight: 700; margin-left: 6px; }
.ticket-status {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--brand); letter-spacing: 0.03em;
  transition: color 0.3s;
}
.ticket-status.sent { color: #4A9F55; }

/* tap ring */
.tap-ring {
  position: absolute;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--brand);
  pointer-events: none; opacity: 0;
  transform: translate(-50%,-50%) scale(0.3);
  z-index: 10;
}
.tap-ring.on { animation: ring 0.7s ease-out; }
@keyframes ring {
  0%   { opacity: 0.9; transform: translate(-50%,-50%) scale(0.3); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.8); }
}

/* receipt flyout */
.receipt-flyout {
  position: absolute;
  top: 4%; right: 4%;
  width: 130px;
  background: var(--paper);
  padding: 10px 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--ink);
  border-radius: 3px;
  box-shadow: var(--shadow-pop);
  transform: translateY(-30px) rotate(-4deg); opacity: 0;
  transition: all 0.4s ease;
  z-index: 8;
}
.receipt-flyout.out {
  opacity: 1; transform: translateY(10px) rotate(-4deg);
}
.r-row { text-align: center; font-weight: 600; }
.r-row.small { font-weight: 400; font-size: 8.5px; color: var(--muted); margin-top: 2px; }
.r-line { border-top: 1px dashed var(--line); margin: 8px 0; }
.r-items { min-height: 44px; }
.r-items div { display: flex; justify-content: space-between; font-size: 9px; padding: 1px 0; }

/* ─── marquee ─── */
.marquee {
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  background: var(--bg);
}
.marquee-inner {
  display: flex; gap: 42px; white-space: nowrap;
  animation: scroll 42s linear infinite;
  width: max-content;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-weight: 500; font-size: 18px; color: var(--ink-2); opacity: 0.55;
  letter-spacing: -0.01em;
}
.marquee-inner i { color: var(--brand); font-style: normal; font-size: 10px; opacity: 0.6; align-self: center; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- PRODUCTS ---------- */
.products { padding-top: 120px; padding-bottom: 120px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prod-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.prod-card.big { grid-column: span 2; flex-direction: row; }
.prod-card.big .prod-media { flex: 1; aspect-ratio: auto; }
.prod-card.big .prod-body { flex: 1; padding: 40px; justify-content: center; }
.prod-media {
  background: var(--mint);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.prod-media img {
  width: 92%; height: 92%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-media img { transform: scale(1.04) rotate(-1deg); }

.prod-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.prod-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--brand);
  letter-spacing: 0.1em;
}
.prod-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.02em; line-height: 1.1;
}
.prod-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* KDS mini inside product */
.kds-media { padding: 24px; background: #0F1117; aspect-ratio: 4/3; }
.kds-mini {
  width: 100%; height: 100%;
  background: #14171F; border-radius: 10px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  color: #E6E8F0;
}
.kds-mini-head {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: #FFB347;
}
.kds-mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1;
}
.kds-ticket {
  background: #1D2130; border-radius: 6px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 10px; font-family: var(--font-mono);
  position: relative;
}
.kds-ticket b { color: var(--brand); font-weight: 700; font-size: 13px; }
.kds-ticket span { color: #D4D7E0; }
.kds-ticket .t { position: absolute; top: 8px; right: 8px; color: #FFB347; font-size: 9px; font-style: normal;}
.kds-ticket.hot { background: #3A1F1A; }
.kds-ticket.hot .t { color: #FF6B6B; animation: pulse 1.2s infinite; }

/* Reports mini */
.reports-media { background: var(--bg-2); padding: 24px; aspect-ratio: 4/3; }
.chart-mini {
  width: 100%; height: 100%;
  background: #fff; border-radius: 10px;
  padding: 14px; position: relative;
  box-shadow: 0 1px 0 rgba(13,15,20,0.04);
}
.chart-mini svg { width: 100%; height: 72%; display: block; }
.chart-labels {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-top: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}
.chart-labels span { text-align: center; }
.chart-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.chart-badge b { color: var(--brand); font-size: 14px; font-family: var(--font-display); font-weight: 700; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.chart-area { opacity: 0; transition: opacity 0.5s ease 0.8s; }
.prod-card.reports.revealed .chart-line { animation: draw 1.6s ease forwards; }
.prod-card.reports.revealed .chart-area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- HOW — STORIES ---------- */
.how { padding-top: 120px; padding-bottom: 120px; background: var(--bg-2); }
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line-2);
}
.story:last-child { border-bottom: 0; }
.story.reverse .story-copy { order: 2; }
.story.reverse .story-anim { order: 1; }

.story-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.story h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.story p { color: var(--ink-2); font-size: 17px; margin-bottom: 22px; max-width: 460px; }
.bullets { list-style: none; }
.bullets li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: 15px; color: var(--ink-2);
  border-top: 1px solid var(--line-2);
}
.bullets li:last-child { border-bottom: 1px solid var(--line-2); }
.bullets li::before {
  content: ''; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px;
  border: 1.5px solid var(--brand); border-top: 0; border-right: 0;
  transform: translateY(-70%) rotate(-45deg);
}

.story-anim {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-soft);
}

/* ── Story 4: Table service ── */
.anim-pos {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.72), transparent 24%),
    linear-gradient(180deg, #BFE4E8 0%, #A8D4DB 100%);
  overflow: hidden;
}
.service-scene {
  position: absolute; inset: 0;
}
.service-scene::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(48,88,109,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,88,109,0.07) 1px, transparent 1px);
  background-size: 12% 12%;
}
.service-scene::after {
  content: '';
  position: absolute;
  left: 18%; top: 58%;
  width: 34%; height: 16%;
  border: 2px dashed rgba(255,255,255,0.36);
  border-right: 0;
  border-bottom: 0;
  border-radius: 34px 0 0 0;
  opacity: 0.72;
}
.service-kitchen-tag {
  position: absolute; top: 7%; right: 6%;
  background: rgba(15,17,23,0.84); color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(15,17,23,0.18);
}
.service-table {
  position: absolute;
  width: 22%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(237,244,255,0.92);
  box-shadow: 0 18px 36px rgba(73,104,128,0.12);
  border: 1px solid rgba(107,139,166,0.16);
  display: grid; place-items: center;
  text-align: center;
}
.service-table::after {
  content: '';
  position: absolute; inset: 14%;
  border-radius: 50%;
  border: 2px dashed rgba(107,139,166,0.18);
}
.service-table span,
.service-table small {
  position: relative; z-index: 1;
}
.service-table span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 700;
  color: #607695;
  line-height: 1;
}
.service-table small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7087A3;
}
.table-t1 { top: 16%; left: 14%; }
.table-t4 { top: 46%; left: 43%; }
.table-t7 { right: 13%; bottom: 16%; }
.service-table.active {
  box-shadow: 0 0 0 8px rgba(255,107,43,0.14), 0 22px 40px rgba(89,120,145,0.18);
  border-color: rgba(255,107,43,0.18);
}
.service-table.active::before {
  content: '';
  position: absolute; inset: -10px;
  border: 2px solid rgba(255,107,43,0.22);
  border-radius: 50%;
  animation: servicePulse 2.6s ease-out infinite;
}
.service-table.active span,
.service-table.active small { color: var(--brand); }
@keyframes servicePulse {
  0% { opacity: 0.8; transform: scale(0.94); }
  100% { opacity: 0; transform: scale(1.12); }
}
.service-order-card {
  position: absolute;
  left: 47%; top: 27%;
  width: 180px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(107,139,166,0.16);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(77,107,133,0.16);
  opacity: 0;
  transform: translate(-18px, 18px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s ease;
  backdrop-filter: blur(12px);
}
.service-order-card.show {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.service-order-kicker {
  display: block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 8px;
}
.service-order-card strong {
  display: block;
  font-family: var(--font-display); font-size: 24px;
  line-height: 1.04; margin-bottom: 6px;
}
.service-order-card small {
  display: block;
  color: #647186; font-size: 12px; line-height: 1.35;
}
.service-status-chip {
  position: absolute;
  top: 20%; right: 13%;
  background: #101318; color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(16,19,24,0.2);
  opacity: 0;
  transform: translate(-84px, 30px) scale(0.88);
  transition: opacity 0.35s ease, transform 0.45s ease;
}
.service-status-chip.out {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.service-waiter {
  position: absolute;
  left: 11%; top: 60%;
  width: 74px; height: 122px;
  --tx: 0px;
  --ty: 0px;
  transform: translate(var(--tx), var(--ty));
  transition: transform 1.35s cubic-bezier(.2,.9,.3,1);
  z-index: 3;
}
.service-head {
  position: absolute; top: 0; left: 22px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #183150;
}
.service-body {
  position: absolute; top: 22px; left: 17px;
  width: 34px; height: 52px;
  background: linear-gradient(180deg, #E67B58 0%, #DD7051 100%);
  border-radius: 16px 16px 18px 18px;
}
.service-apron {
  position: absolute; top: 44px; left: 21px;
  width: 26px; height: 26px;
  border-radius: 0 0 12px 12px;
  background: #F2ECE1;
}
.service-arm {
  position: absolute; top: 34px; left: 10px;
  width: 8px; height: 38px;
  background: #183150;
  border-radius: 8px;
  transform: rotate(14deg);
}
.service-device {
  position: absolute; top: 34px; right: 8px;
  width: 18px; height: 32px;
  border-radius: 6px;
  background: #101318;
  box-shadow: 0 10px 18px rgba(16,19,24,0.16);
  transform: rotate(10deg);
}
.service-device-screen {
  position: absolute; inset: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #F4BB67 0%, #C7E0FF 100%);
}
.service-legs {
  position: absolute; left: 20px; right: 18px; bottom: 4px;
  height: 42px;
}
.service-legs span {
  position: absolute; bottom: 0;
  width: 8px; height: 40px;
  border-radius: 8px;
  background: #183150;
  transform-origin: top center;
  animation: serviceStep 0.72s ease-in-out infinite alternate;
}
.service-leg-left { left: 6px; }
.service-leg-right { right: 6px; animation-direction: alternate-reverse; }
@keyframes serviceStep {
  from { transform: rotate(-16deg); }
  to { transform: rotate(16deg); }
}
.service-shadow {
  position: absolute; left: 16px; bottom: -4px;
  width: 40px; height: 10px;
  background: radial-gradient(ellipse, rgba(17,29,46,0.28), transparent 72%);
  filter: blur(2px);
}

/* ── Story 2: KDS ── */
.anim-kds { background: #0F1117; }
.kds-frame {
  position: absolute; left: 8%; top: 10%;
  width: 68%; height: 80%;
  background: #14171F;
  border-radius: 12px; padding: 16px;
  box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 12px;
  color: #E6E8F0;
}
.kds-frame-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: #FFB347;
}
.kds-frame-head .live-dot i { background: #FF6B6B; }
.kds-frame-head .live-dot { color: #FF6B6B; }
.kds-grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  overflow: hidden;
}
.kds-card {
  background: #1D2130;
  border-radius: 8px; padding: 10px;
  font-family: var(--font-mono); font-size: 11px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  transition: all 0.4s ease;
}
.kds-card.warm { background: #3A2B18; }
.kds-card.warm .tim { color: #FFB347; }
.kds-card.hot  { background: #3A1A1A; }
.kds-card.hot .tim  { color: #FF6B6B; animation: pulse 1s infinite; }
.kds-card.done { background: #1E3B26; opacity: 0.6; }
.kds-card.done::after {
  content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 32px; color: #6DBF6A; background: rgba(30,59,38,0.88); border-radius: 8px;
  animation: bump 0.4s ease;
}
@keyframes bump { from { transform: scale(0); } to { transform: scale(1); } }
.kds-card b { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.kds-card span { color: #D4D7E0; }
.kds-card .tim {
  position: absolute; top: 10px; right: 10px; font-style: normal; color: #8F94A6;
}
.kds-card.new {
  animation: kdsIn 0.45s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes kdsIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Chef */
.chef {
  position: absolute; right: 4%; bottom: 14%;
  width: 80px; height: 92px;
}
.chef .hat {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 36px;
  background: #fff; border-radius: 24px 24px 6px 6px;
}
.chef .hat::before {
  content: ''; position: absolute; top: -8px; left: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 14px -2px 0 #fff, 6px 6px 0 #fff;
}
.chef .face {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 50px;
  background: #E8C6A3; border-radius: 50% 50% 40% 40%;
}
.chef .face::before, .chef .face::after {
  content: ''; position: absolute; top: 18px; width: 4px; height: 4px;
  background: var(--ink); border-radius: 50%;
}
.chef .face::before { left: 10px; animation: blink 4s infinite; }
.chef .face::after { right: 10px; animation: blink 4s infinite; }
.chef .mustache {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 6px; background: var(--ink); border-radius: 4px 4px 10px 10px;
}
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }

.ping {
  position: absolute; top: 4%; left: 4%;
  background: var(--brand); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  box-shadow: 0 0 0 4px rgba(255,107,43,0.25);
  opacity: 0;
}
.ping.on { animation: pingShow 1.4s ease; }
@keyframes pingShow {
  0% { opacity: 0; transform: scale(0.7); }
  15% { opacity: 1; transform: scale(1.05); }
  85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ── Story 1: Online ordering ── */
.anim-online {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.86), transparent 26%),
    linear-gradient(180deg, #F7F1CE 0%, #EFE7B8 100%);
  overflow: hidden;
}
.online-scene {
  position: absolute; inset: 0;
  isolation: isolate;
}
.online-scene::before {
  content: '';
  position: absolute;
  left: -16%; right: -16%; bottom: -18%;
  height: 40%;
  border-radius: 50% 50% 0 0;
  background: rgba(255,255,255,0.28);
  box-shadow: 0 -26px 70px rgba(128,92,30,0.10);
  z-index: -1;
}
.online-chip {
  position: absolute;
  border-radius: 999px;
  padding: 9px 13px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(37,71,94,0.14);
  backdrop-filter: blur(10px);
}
.online-chip-profit {
  top: 7%; right: 7%;
  background: rgba(255,255,255,0.88);
  color: #0C7C43;
}
.online-chip-fulfilment {
  top: 20%; right: 5%;
  background: rgba(31,33,30,0.86);
  color: rgba(255,255,255,0.82);
}
.online-phone {
  position: absolute; left: 50%; top: 51%;
  transform: translate(-50%, -50%);
  width: clamp(210px, 44%, 270px);
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 96%;
  padding: 8px;
  border-radius: 30px;
  background: #2D3234;
  box-shadow: 0 34px 56px rgba(54,41,23,0.27), inset 0 0 0 2px rgba(255,255,255,0.05);
  animation: onlineFloat 5.8s ease-in-out infinite;
}
.online-phone::before {
  content: '';
  position: absolute;
  left: 18%; right: 18%; top: 7px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.online-phone-shell {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #F8F3D4;
  border: 1px solid rgba(0,0,0,0.18);
}
.online-statusbar {
  height: 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #2F3638;
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.online-status-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}
.online-status-icons i {
  display: block;
  width: 4px;
  height: 8px;
  border-radius: 1px;
  background: rgba(255,255,255,0.9);
}
.online-status-icons i:nth-child(1) { height: 5px; opacity: 0.75; }
.online-status-icons i:nth-child(2) { height: 7px; opacity: 0.88; }
.online-status-icons i:nth-child(3) {
  width: 14px;
  height: 7px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.82);
  position: relative;
}
.online-status-icons i:nth-child(3)::after {
  content: '';
  position: absolute;
  left: 1px; top: 1px; bottom: 1px;
  width: 70%;
  border-radius: 1px;
  background: rgba(255,255,255,0.9);
}
.online-redbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px 6px 12px;
  background: #A92310;
  box-shadow: 0 4px 0 rgba(0,0,0,0.20);
}
.online-search-icon {
  width: 14px; height: 14px;
  flex: 0 0 auto;
  border: 1.8px solid #fff;
  border-radius: 50%;
  position: relative;
}
.online-search-icon::after {
  content: '';
  position: absolute; right: -5px; bottom: -3px;
  width: 7px; height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
}
.online-category-rail {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 11px;
  background: #FFF7DA;
  box-shadow: 0 6px 0 rgba(0,0,0,0.22);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.online-category-rail span { flex: 0 0 auto; color: #070707; }
.online-category-rail .active {
  color: #E5BC16;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.online-store-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 6px;
  color: #111;
}
.online-store-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.58);
}
.online-store-heading strong {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.online-menu {
  list-style: none;
  margin: 0;
  padding: 8px 10px 62px;
  height: calc(100% - 134px);
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}
.online-item {
  position: relative;
  display: grid;
  grid-template-columns: 30% 1fr;
  min-height: 56px;
  border: 1.5px solid #151515;
  border-radius: 10px;
  overflow: hidden;
  background: #FAF6D9;
  box-shadow: 0 3px 0 rgba(0,0,0,0.14);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.online-item.adding {
  background: #FFF0B8;
  transform: translateX(3px);
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}
.online-item.adding::after {
  content: '+1';
  position: absolute; left: calc(30% - 12px); top: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #FFC107; color: #0A0A0A;
  border: 1.5px solid #111;
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  animation: onlinePlus 0.85s ease forwards;
  z-index: 5;
  pointer-events: none;
}
@keyframes onlinePlus {
  0% { opacity: 0; transform: translateY(6px) scale(0.8); }
  25% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.94); }
}
.online-thumb {
  width: 100%;
  height: 100%;
  min-height: 56px;
  background: var(--tile, #F3D9A4);
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  border-right: 1.5px solid #151515;
}
.online-thumb::after {
  content: var(--icon, '🍔');
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.18));
}
.online-item:nth-child(1) .online-thumb { --tile: #F5E4B8; --icon: '🍗'; }
.online-item:nth-child(2) .online-thumb { --tile: #EFC089; --icon: '🍔'; }
.online-item:nth-child(3) .online-thumb { --tile: #DAE6B3; --icon: '🥒'; }
.online-item:nth-child(4) .online-thumb { --tile: #E3A97A; --icon: '🍗'; }
.online-item-copy {
  min-width: 0;
  padding: 7px 46px 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  justify-content: center;
}
.online-item-copy b {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #070707;
}
.online-item-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 8.5px;
  line-height: 1.26;
  color: #3A3A3A;
}
.online-item i {
  position: absolute;
  right: 7px;
  bottom: 5px;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: #050505;
  background: #FAF6D9;
  padding: 1px 3px;
  border-radius: 3px;
}
.online-item.adding i { background: #FFF0B8; }
.online-cart-bar {
  position: absolute; left: 14px; right: 14px; bottom: 50px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #FFC107; color: #0A0A0A;
  border: 1.5px solid #111;
  border-radius: 12px;
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  box-shadow: 0 4px 0 rgba(0,0,0,0.28);
}
.online-cart-bar::before {
  content: '';
  width: 14px; height: 14px;
  border: 2.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  flex-shrink: 0;
}
.online-cart-bar > span {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.online-cart-bar strong,
.online-cart-bar b {
  font-family: var(--font-mono);
  font-size: 12px;
}
.online-cart-bar.pulse { animation: cartPulse 0.45s ease; }
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.online-browser-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40px;
  display: grid;
  place-items: center;
  background: #2F3638;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1;
}
.save-badge {
  display: flex; flex-direction: column;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
}
.save-badge b {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  line-height: 1; margin: 4px 0;
}
.save-badge em { font-style: normal; }
.online-save-badge {
  position: absolute; right: 7%; bottom: 8%;
  padding: 16px 18px;
  background: rgba(255,255,255,0.88);
  color: #5E624E;
  border-radius: 18px;
  border: 1px solid rgba(13,15,20,0.08);
  box-shadow: 0 22px 36px rgba(78,60,32,0.16);
  backdrop-filter: blur(16px);
}
.online-save-badge b { color: var(--brand); }
@keyframes onlineFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -52.5%); }
}

/* ── Story 2: Kiosk ── */
.anim-kiosk {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.88), transparent 25%),
    linear-gradient(180deg, #F5D9A7 0%, #E9B678 58%, #F7EDBB 100%);
  overflow: hidden;
}
.kiosk-scene {
  position: absolute; inset: 0;
  isolation: isolate;
}
.kiosk-scene::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.66) 0 3%, transparent 5%),
    radial-gradient(circle at 42% 8%, rgba(255,255,255,0.54) 0 4%, transparent 6%),
    radial-gradient(circle at 68% 18%, rgba(255,255,255,0.46) 0 3%, transparent 6%),
    linear-gradient(90deg, rgba(65,35,18,0.10), transparent 34%, rgba(65,35,18,0.08));
  filter: blur(1px);
  z-index: -2;
}
.kiosk-scene::after {
  content: '';
  position: absolute;
  left: -18%; right: -18%; bottom: -13%;
  height: 34%;
  border-radius: 50% 50% 0 0;
  background: #FFF2B5;
  box-shadow: 0 -24px 70px rgba(119,78,27,0.18);
  z-index: -1;
}
.kiosk-warm-backdrop {
  position: absolute;
  left: 4%; top: 10%;
  width: 64%; height: 62%;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  filter: blur(22px);
}
.kiosk-photo-wrap {
  position: absolute;
  left: 53%; top: 54%;
  width: clamp(340px, 83%, 600px);
  height: 112%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: kioskPhotoFloat 6.2s ease-in-out infinite;
}
.kiosk-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06);
  filter: drop-shadow(0 30px 34px rgba(41,28,18,0.28));
}
.kiosk-live-badge,
.kiosk-pay-badge {
  position: absolute;
  z-index: 2;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(13,15,20,0.08);
  box-shadow: 0 18px 34px rgba(55,38,22,0.16);
  backdrop-filter: blur(14px);
}
.kiosk-live-badge {
  left: 7%; top: 10%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  color: #151515;
}
.kiosk-live-badge span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
}
.kiosk-live-badge strong {
  max-width: 120px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.kiosk-live-badge.on {
  animation: kioskBadgePulse 0.8s ease;
}
.kiosk-pay-badge {
  right: 7%; bottom: 12%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #203122;
}
.kiosk-pay-badge.blink {
  animation: kioskBadgePulse 0.8s ease;
}
.kiosk-pay-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2EC55D;
  box-shadow: 0 0 0 5px rgba(46,197,93,0.16);
}
@keyframes kioskPhotoFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -52%); }
}
@keyframes kioskBadgePulse {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-4px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .online-chip { display: none; }
  .online-phone {
    width: min(62%, 232px);
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: 96%;
    padding: 6px;
    border-radius: 26px;
  }
  .online-statusbar { height: 22px; font-size: 10px; padding: 0 10px; gap: 6px; }
  .online-redbar { min-height: 34px; gap: 8px; padding: 5px 8px 5px 10px; }
  .online-search-icon { width: 11px; height: 11px; border-width: 1.5px; }
  .online-search-icon::after { width: 5px; height: 1.5px; right: -3px; bottom: -2px; }
  .online-category-rail { gap: 10px; padding: 6px 9px; font-size: 9px; border-radius: 8px; }
  .online-store-heading { padding: 9px 10px 5px; gap: 8px; }
  .online-store-name { font-size: 7px; }
  .online-store-heading strong { font-size: 9.5px; }
  .online-menu {
    padding: 6px 8px 54px;
    gap: 6px;
    height: calc(100% - 118px);
  }
  .online-item { min-height: 48px; grid-template-columns: 30% 1fr; border-radius: 9px; }
  .online-thumb { min-height: 48px; font-size: 20px; }
  .online-item-copy { padding: 6px 38px 6px 8px; gap: 2px; }
  .online-item-copy b { font-size: 9.5px; }
  .online-item-copy span { font-size: 8px; line-height: 1.24; }
  .online-item i { right: 6px; bottom: 4px; font-size: 9px; padding: 1px 3px; }
  .online-cart-bar {
    left: 12px; right: 12px; bottom: 46px;
    padding: 9px 12px;
    font-size: 11px;
    border-radius: 10px;
  }
  .online-cart-bar::before { width: 12px; height: 12px; border-width: 2px; }
  .online-browser-bar { height: 36px; font-size: 11px; }
  .online-save-badge { display: none; }
  .kiosk-photo-wrap {
    width: min(104%, 430px);
    height: 104%;
    left: 54%;
    top: 55%;
  }
  .kiosk-live-badge {
    left: 12px; top: 12px;
    padding: 11px 13px;
  }
  .kiosk-live-badge span { font-size: 22px; }
  .kiosk-live-badge strong { max-width: 96px; font-size: 9px; }
  .kiosk-pay-badge {
    right: 12px; bottom: 14px;
    padding: 9px 11px;
    font-size: 9px;
  }
  .service-kitchen-tag { display: none; }
  .service-order-card {
    width: 150px;
    left: 44%; top: 28%;
    padding: 12px 14px;
  }
  .service-order-card strong { font-size: 20px; }
  .service-table { width: 26%; }
  .table-t1 { top: 18%; left: 11%; }
  .table-t4 { top: 45%; left: 39%; }
  .table-t7 { right: 8%; bottom: 14%; }
  .service-scene::after { width: 30%; height: 14%; left: 18%; top: 58%; }
}

/* ---------- WHY ---------- */
.why { padding-top: 120px; padding-bottom: 120px; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item { background: var(--bg); padding: 32px; transition: background 0.2s; }
.why-item:hover { background: #fff; }
.why-item .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.why-item h4 {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding-top: 120px; padding-bottom: 120px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.t-card blockquote {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.35;
  color: var(--ink); font-style: italic;
}
.t-card blockquote em { color: var(--brand); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink);
}
.t-card figcaption b { font-size: 14px; display: block; }
.t-card figcaption span { font-size: 12px; color: var(--muted); }

/* ---------- CTA BIG ---------- */
.cta-big {
  background: var(--ink); color: #fff;
  text-align: center;
  padding-top: 140px; padding-bottom: 140px;
  position: relative; overflow: hidden;
}
.cta-big::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,107,43,0.18) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta-big .h-section { color: #fff; }
.cta-big .h-section em { color: var(--brand); }
.cta-big .sub { margin-left: auto; margin-right: auto; }
.cta-big .cta-row { margin-top: 40px; }
.regions { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink); color: #fff;
  padding-top: 72px; padding-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-blurb { color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 320px; font-size: 14px; }
.foot h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 8px; }
.foot ul a { font-size: 14px; color: rgba(255,255,255,0.75); }
.foot ul a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-anim { justify-self: center; max-width: 480px; margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card.big { grid-column: span 2; }
  .story, .story.reverse { grid-template-columns: 1fr; }
  .story.reverse .story-copy, .story.reverse .story-anim { order: initial; }
  .story-anim { max-width: 520px; }
  .why-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-stats { gap: 14px; }
  .hero-stats .sep { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .prod-card.big { grid-column: auto; flex-direction: column; }
  .prod-card.big .prod-body { padding: 26px 28px 28px; }
  .why-grid, .t-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .hero { padding-top: 30px; }
  .hero-grid { padding-top: 20px; }
}

/* ============== EXTRA ANIMATIONS v2 ============== */

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, #FFB347 100%);
  z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(255,107,43,0.5);
}

/* ============== v4: LESS-SQUEEZY POS ============== */

/* button arrow shift */
.btn { overflow: hidden; position: relative; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,107,43,0.4) 0%, transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

/* eyebrow "/" slides in */
.eyebrow-line {
  position: relative; padding-left: 16px;
}
.eyebrow-line::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 10px; height: 1px; background: currentColor;
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.5s 0.1s cubic-bezier(.2,.9,.3,1);
}
.section-head.in .eyebrow-line::before,
.in .eyebrow-line::before { transform: scaleX(1); }
.section-head { transition: none; }

/* product card stagger + hover tilt */
.prod-card {
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1), box-shadow 0.4s, border-color 0.3s;
}
.prod-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(255,107,43,0.12);
  border-color: rgba(255,107,43,0.2);
}
.prod-card .prod-media img { transition: transform 0.6s cubic-bezier(.2,.9,.3,1); }
.prod-card:hover .prod-media img { transform: scale(1.08) rotate(-2deg); }

/* why-item icon draw-in on reveal */
.why-item .n { transition: transform 0.6s, color 0.3s; }
.why-item:hover .n { transform: translateX(4px); color: var(--brand); }
.why-item h4 { transition: color 0.3s; }
.why-item:hover h4 { color: var(--brand); }

/* testimonial card subtle float */
.t-card {
  animation: tFloat 6s ease-in-out infinite;
}
.t-card:nth-child(2) { animation-delay: -2s; }
.t-card:nth-child(3) { animation-delay: -4s; }
@keyframes tFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* footer link underline */
.foot ul a { position: relative; transition: color 0.2s, padding-left 0.25s; }
.foot ul a::before {
  content: '→'; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  opacity: 0; transition: opacity 0.25s, left 0.25s; color: var(--brand);
}
.foot ul a:hover { padding-left: 14px; color: #fff; }
.foot ul a:hover::before { opacity: 1; left: 0; }

/* nav link underline hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* logo gentle wobble on hover */
.nav .logo { transition: transform 0.4s cubic-bezier(.2,.9,.3,1); }
.nav .logo:hover { transform: translateX(2px); }
.nav .logo:hover img { animation: logoWob 0.6s ease; }
@keyframes logoWob {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

/* marquee items fade on hover pause */
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span { transition: opacity 0.3s, color 0.3s; }
.marquee-inner span:hover { opacity: 1; color: var(--brand); }

/* CTA big — orange orbit */
.cta-big::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px; margin: -300px 0 0 -300px;
  border: 1px dashed rgba(255,107,43,0.15);
  border-radius: 50%;
  animation: orbit 40s linear infinite;
  pointer-events: none;
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* story-anim subtle entrance glow on reveal */
.story-anim { transition: transform 0.6s, box-shadow 0.6s; }
.story.in .story-anim { animation: storyPop 0.7s cubic-bezier(.2,.9,.3,1); }
@keyframes storyPop {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* bullet draw-in */
.bullets li { opacity: 0; transform: translateX(-10px); transition: all 0.5s; }
.story.in .bullets li { opacity: 1; transform: translateX(0); }
.story.in .bullets li:nth-child(1) { transition-delay: 0.2s; }
.story.in .bullets li:nth-child(2) { transition-delay: 0.3s; }
.story.in .bullets li:nth-child(3) { transition-delay: 0.4s; }

/* hero stat counter pulse */
.hero-stats b {
  font-variant-numeric: tabular-nums;
}

/* floor walker drop shadow */
.walker::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 8px; background: radial-gradient(ellipse, rgba(0,0,0,0.25), transparent 70%);
  filter: blur(2px);
  animation: shadowPulse 0.6s ease-in-out infinite alternate;
}
@keyframes shadowPulse {
  from { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  to   { opacity: 0.4; transform: translateX(-50%) scaleX(0.8); }
}

/* kiosk screen subtle scan-line */
.kiosk-screen::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,107,43,0.12) 50%, transparent 100%);
  height: 30%;
  animation: scan 3s ease-in-out infinite;
  z-index: 10;
}
@keyframes scan {
  0%, 100% { transform: translateY(-100%); }
  50%      { transform: translateY(300%); }
}

/* phone screen glow */
.phone { animation: phoneFloat 5s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 6px)); }
}

/* marquee gradient fade at edges */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* magnetic brand dots rotating in section-head */
.section-head { position: relative; }
.section-head::after {
  content: ''; position: absolute; top: 4px; right: 0;
  width: 48px; height: 48px;
  background: radial-gradient(circle, var(--brand) 30%, transparent 32%);
  background-size: 6px 6px;
  background-image:
    radial-gradient(circle, rgba(255,107,43,0.4) 1.2px, transparent 1.8px);
  background-size: 8px 8px;
  animation: rotateSlow 30s linear infinite;
  opacity: 0.6;
  display: none; /* keep subtle — off by default */
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* reveal stagger for grids */
.product-grid .prod-card.in { animation: cardIn 0.7s cubic-bezier(.2,.9,.3,1) backwards; }
.product-grid .prod-card:nth-child(1).in { animation-delay: 0s; }
.product-grid .prod-card:nth-child(2).in { animation-delay: 0.08s; }
.product-grid .prod-card:nth-child(3).in { animation-delay: 0.16s; }
.product-grid .prod-card:nth-child(4).in { animation-delay: 0.24s; }
.product-grid .prod-card:nth-child(5).in { animation-delay: 0.32s; }
.product-grid .prod-card:nth-child(6).in { animation-delay: 0.4s; }
.why-grid .why-item.in { animation: cardIn 0.6s cubic-bezier(.2,.9,.3,1) backwards; }
.why-grid .why-item:nth-child(2).in { animation-delay: 0.06s; }
.why-grid .why-item:nth-child(3).in { animation-delay: 0.12s; }
.why-grid .why-item:nth-child(4).in { animation-delay: 0.18s; }
.why-grid .why-item:nth-child(5).in { animation-delay: 0.24s; }
.why-grid .why-item:nth-child(6).in { animation-delay: 0.3s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============== v3: REAL-POS LOOK + LOGOS + DEVICE ICONS ============== */

/* POS frame: flatten & enlarge to show real-POS layout */
.hero-anim { aspect-ratio: 16 / 11; max-width: 720px; }
.pos-frame {
  position: absolute !important;
  top: 2% !important; left: -2% !important;
  width: 104% !important; height: 96% !important;
  background: #0D0F14 !important;
  border-radius: 14px !important;
  transform: perspective(1800px) rotateY(-4deg) rotateX(2deg) !important;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
}

/* top black toolbar */
.pos-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #000; padding: 6px 10px; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #E6E8F0; font-size: 10px;
  font-family: var(--font-body);
  flex-shrink: 0;
}
.pos-t-left { display: flex; align-items: center; gap: 10px; font-size: 10px; }
.tl-back { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: #E6E8F0; font-size: 18px; line-height: 1; font-weight: 300; padding-bottom: 2px; background: rgba(255,255,255,0.04); border-radius: 4px; }
.tl-weight { color: #E6E8F0; font-weight: 500; }
.tl-weight .refresh { color: #FF6B2B; margin-left: 4px; font-size: 11px; }
.tl-date { color: #E6E8F0; font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-title { color: #E6E8F0; font-weight: 600; font-size: 12px; letter-spacing: 0.01em; display: flex; align-items: center; gap: 8px; }
.tl-title .tl-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.pos-t-actions { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.tl-pill {
  padding: 4px 9px; border-radius: 3px;
  background: #2A2D35; color: #E6E8F0;
  font-size: 9.5px; font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.06);
}

/* body: left order / right menu */
.pos-body {
  display: grid !important; grid-template-columns: 28% 1fr;
  flex: 1; min-height: 0;
  padding: 0 !important; gap: 0 !important;
  background: #2A2D35;
}

/* LEFT side: order / cart */
.pos-left {
  background: #2A2D35;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
  min-height: 0;
}
.pos-left .ticket-lines {
  flex: 1;
  overflow: hidden;
  padding: 10px 10px 4px;
  list-style: none;
  min-height: 0;
}
.pos-left .ticket-lines li {
  display: grid !important; grid-template-columns: auto 1fr auto !important;
  gap: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  padding: 5px 2px !important;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  animation: lineIn 0.4s ease backwards;
}
.pos-left .ticket-lines li b { color: #FF6B2B !important; font-weight: 700; }
.pos-left .ticket-lines li span { color: #E6E8F0 !important; }
.pos-left .ticket-lines li em { color: #B8BCCA !important; font-style: normal; }

.pos-left-foot {
  padding: 6px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 10px; color: #B8BCCA;
}
.add-note { color: #B8BCCA; display: flex; align-items: center; gap: 4px; }
.qty-row { font-weight: 600; color: #E6E8F0; }
.no-table {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,0.08);
  padding: 3px 10px; border-radius: 4px;
  font-size: 9.5px; color: #E6E8F0;
  border: 1px solid rgba(255,255,255,0.1);
}

.pos-actions {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.send-btn, .pay-btn {
  padding: 14px 8px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  transition: filter 0.2s;
}
.send-btn { background: #fff; color: #0D0F14; }
.pay-btn  { background: #4AAE5A; color: #fff; }
.pay-btn:hover, .send-btn:hover { filter: brightness(1.05); }

/* RIGHT side: menu pills / sub-tabs / products */
.pos-right {
  padding: 6px;
  display: flex; flex-direction: column; gap: 5px;
  min-height: 0; min-width: 0;
  background: #2A2D35;
}
.cat-row { display: flex; gap: 4px; flex-wrap: wrap; }
.cat-row-top .cat-pill { background: #fff; color: #0D0F14; border: 1px solid #E6E8F0; }
.cat-row-top .cat-pill.active { border: 1.5px solid #FFB347; background: #fff; color: #0D0F14; }
.cat-pill {
  padding: 4px 9px; border-radius: 3px;
  font-size: 9.5px; font-weight: 500;
  background: #fff; color: #0D0F14;
  white-space: nowrap;
}
.c-pill {
  padding: 4px 9px; border-radius: 3px;
  font-size: 9.5px; font-weight: 600;
  color: #fff; white-space: nowrap;
}
.c-pill.red   { background: #E26F4F; }
.c-pill.blue  { background: #3B9CE8; }

.sub-row { display: flex; gap: 4px; }
.sub-tab {
  flex: 1;
  padding: 5px 4px; border: 1px solid #E6E8F0; border-radius: 2px;
  background: #fff; color: #0D0F14;
  text-align: center; font-size: 9.5px; font-weight: 500;
}
.sub-tab.active { border: 1.5px solid #FFB347; }

/* PRODUCT GRID */
.pos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 3px !important;
  flex: 1;
  min-height: 0;
}
.pos-item {
  position: relative;
  background: #2A2D35 !important;
  color: #E6E8F0 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 2px !important;
  padding: 4px 5px !important;
  text-align: left !important;
  font-family: var(--font-body);
  font-size: 9.5px !important; font-weight: 700;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 0; overflow: hidden;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s, transform 0.15s;
}
.pos-item .pi-name {
  line-height: 1.15; font-size: 9.5px; font-weight: 700; color: #E6E8F0;
  letter-spacing: -0.01em;
}
.pos-item em {
  display: block !important; text-align: right !important;
  font-style: normal !important; font-family: var(--font-body) !important;
  font-size: 9.5px !important; font-weight: 600 !important;
  color: #E6E8F0 !important; opacity: 0.95;
  margin-top: auto;
}
.pos-item:hover { background: #353944 !important; }
.pos-item.combo {
  background: linear-gradient(180deg, #4D6FDA 0%, #3B5BC1 100%) !important;
  border-color: #3B5BC1 !important;
  color: #fff !important;
}
.pos-item.combo em, .pos-item.combo .pi-name { color: #fff !important; }

.pos-item.tapped {
  animation: posTap 0.55s ease;
}
@keyframes posTap {
  0%   { transform: scale(1); box-shadow: inset 0 0 0 0 transparent; }
  40%  { transform: scale(0.94); box-shadow: inset 0 0 0 2px #FF6B2B; background: #3C3F4A !important; }
  100% { transform: scale(1); box-shadow: inset 0 0 0 0 transparent; }
}

/* bottom fixed category rows */
.bottom-cats {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr 1fr 1.2fr 1.2fr;
  gap: 3px;
}
.b-cat {
  border: 1px solid #E6E8F0; border-radius: 2px;
  background: #fff; color: #0D0F14;
  text-align: center; padding: 4px 3px;
  font-size: 8.5px; font-weight: 600;
  line-height: 1.1;
  display: flex; align-items: center; justify-content: center;
  min-height: 26px;
}
.b-cat.wide { }
.b-cat.active-yellow { border: 1.5px solid #FFB347; background: #fff; }

/* hide old chrome / menu-tab / keys that are no longer used */
.pos-chrome, .pos-menu, .pos-keys { display: none !important; }
.ticket { display: none !important; } /* old side ticket panel */

/* tap ring stays */
#tapRing { z-index: 20; }

/* ============== LOGOS MARQUEE ============== */
.logos-marquee { background: var(--bg); padding: 26px 0; }
.logos-marquee .marquee-inner { gap: 48px; align-items: center; }
.logo-chip {
  display: flex; align-items: center; justify-content: center;
  width: 130px;
  height: 44px;
  color: var(--ink-2);
  opacity: 0.55; flex-shrink: 0;
  transition: opacity 0.25s, color 0.25s, transform 0.25s;
}
.logo-chip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
}
.logo-chip:hover { opacity: 1; color: var(--brand); transform: translateY(-2px); }

/* ============== REPORTS: DEVICE ICONS ============== */
.reports-media .chart-mini { position: relative; }
.device-icons {
  position: absolute;
  right: 18px; bottom: 48px;
  display: flex; align-items: flex-end; gap: 8px;
  pointer-events: none;
  z-index: 3;
}
.dev-laptop {
  width: 96px !important; height: 66px !important;
  flex-shrink: 0;
  animation: devFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(13,15,20,0.18));
}
.dev-phone {
  width: 38px !important; height: 64px !important;
  flex-shrink: 0;
  animation: devFloat 4s ease-in-out infinite -2s;
  filter: drop-shadow(0 6px 14px rgba(13,15,20,0.22));
  transform-origin: bottom center;
}
@keyframes devFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ============== v4: LESS-SQUEEZY POS ============== */

/* give the hero stage more breathing room & simpler POS */
.hero-anim { aspect-ratio: 4 / 3 !important; max-width: 640px !important; }
.pos-frame {
  top: 4% !important; left: 2% !important;
  width: 96% !important; height: 92% !important;
  transform: perspective(2200px) rotateY(-3deg) rotateX(1deg) !important;
  border-radius: 12px !important;
}

/* simplified toolbar: fewer pills, more padding */
.pos-toolbar { padding: 8px 12px !important; gap: 14px !important; font-size: 11px !important; }
.tl-back { font-size: 18px !important; width: 22px !important; height: 22px !important; }
.tl-weight { font-size: 10.5px !important; }
.tl-date { font-size: 10.5px !important; }
.pos-t-actions { gap: 5px !important; }
.tl-pill {
  padding: 5px 11px !important; font-size: 10px !important;
  border-radius: 4px !important;
}
/* Hide less-essential pills so the toolbar breathes */
.pos-t-actions .tl-pill:nth-child(3),
.pos-t-actions .tl-pill:nth-child(7) { display: none !important; }

/* body grid: wider left column for the cart */
.pos-body { grid-template-columns: 30% 1fr !important; }

.pos-left .ticket-lines { padding: 12px 12px 6px !important; }
.pos-left .ticket-lines li { font-size: 12px !important; padding: 6px 2px !important; gap: 10px !important; }
.pos-left-foot { padding: 8px 12px !important; gap: 6px !important; font-size: 11px !important; }
.no-table { padding: 4px 12px !important; font-size: 10.5px !important; }
.send-btn, .pay-btn { padding: 16px 8px !important; font-size: 14px !important; }

/* right pane breathing room */
.pos-right { padding: 10px !important; gap: 7px !important; }

/* consolidate the many category rows to ONE clean row of color pills */
.pos-right .cat-row-top { display: none !important; } /* hide outlined "All" tabs row */
.pos-right .cat-row-colors + .cat-row-colors { display: none !important; } /* hide 2nd color row */
.pos-right .sub-row + .sub-row { display: none !important; } /* hide 2nd sub-row */
.pos-right .bottom-cats + .bottom-cats { display: none !important; } /* hide 2nd bottom row */

.cat-row { gap: 6px !important; }
.c-pill {
  padding: 6px 12px !important; font-size: 11px !important;
  border-radius: 4px !important;
}
/* shorter, cleaner category set */
.pos-right .cat-row-colors .c-pill:nth-child(n+5) { display: none !important; }

.sub-row { gap: 5px !important; }
.sub-tab {
  padding: 7px 6px !important;
  font-size: 11px !important;
  border-radius: 3px !important;
}

/* product grid: 4 columns × 2 rows = 8 items. Larger, readable tiles */
.pos-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}
/* hide the extra 4 items so we have exactly 8 */

.pos-item {
  padding: 8px 10px !important;
  font-size: 12px !important;
  border-radius: 4px !important;
}
.pos-item .pi-name { font-size: 12px !important; line-height: 1.25 !important; }
.pos-item em { font-size: 11px !important; font-weight: 700 !important; }

/* bottom cats row: fewer, larger */
.bottom-cats {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 5px !important;
}
.bottom-cats .b-cat:nth-child(n+6) { display: none !important; }
.b-cat {
  font-size: 10px !important;
  padding: 6px 4px !important;
  min-height: 32px !important;
  border-radius: 3px !important;
}

@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(3, 1fr) !important; }
  
  .pos-t-actions .tl-pill:nth-child(n+4) { display: none !important; }
  .bottom-cats { grid-template-columns: repeat(3, 1fr) !important; }
  .bottom-cats .b-cat:nth-child(n+4) { display: none !important; }
}

/* ============== v5: CLEANER BIGGER POS + line-reveal heading ============== */

.line-reveal .line { display: block; overflow: hidden; }
.line-reveal .line > span,
.line-reveal .line em > span {
  display: inline-block;
  opacity: 0; transform: translateY(105%);
  animation: lineUp 0.9s cubic-bezier(.2,.85,.25,1) forwards;
}
.line-reveal .line:nth-child(2) > em > span { animation-delay: 0.18s; }
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }

.hero-anim { aspect-ratio: 5 / 4 !important; max-width: 680px !important; }
.pos-frame {
  top: 3% !important; left: 1% !important;
  width: 98% !important; height: 94% !important;
  transform: perspective(2400px) rotateY(-2deg) rotateX(1deg) !important;
  border-radius: 12px !important;
}
.pos-toolbar { padding: 9px 14px !important; gap: 14px !important; }
.tl-weight, .tl-date { font-size: 11px !important; }
.tl-pill { padding: 6px 12px !important; font-size: 11px !important; border-radius: 4px !important; }
.pos-t-actions .tl-pill:nth-child(3),
.pos-t-actions .tl-pill:nth-child(5),
.pos-t-actions .tl-pill:nth-child(7) { display: none !important; }

.pos-body { grid-template-columns: 32% 1fr !important; }
.pos-left .ticket-lines { padding: 14px 14px 8px !important; }
.pos-left .ticket-lines li { font-size: 13px !important; padding: 7px 2px !important; gap: 10px !important; }
.pos-left-foot { padding: 10px 14px !important; gap: 10px !important; font-size: 12px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
.no-table { padding: 5px 13px !important; font-size: 11px !important; }
.send-btn, .pay-btn { padding: 9px 10px !important; font-size: 12px !important; }

.pos-right { padding: 14px !important; gap: 10px !important; }
.pos-right .cat-row-top { display: none !important; }
.pos-right .cat-row-colors + .cat-row-colors { display: none !important; }
.pos-right .sub-row + .sub-row { display: none !important; }
.pos-right .sub-row { display: none !important; }
.pos-right .bottom-cats + .bottom-cats { display: none !important; }
.pos-right .cat-row-colors .c-pill:nth-child(n+5) { display: none !important; }
.cat-row { gap: 7px !important; flex-wrap: nowrap !important; overflow: hidden !important; }
.c-pill { white-space: nowrap !important; flex: 0 0 auto !important; }
.c-pill { padding: 5px 10px !important; font-size: 10px !important; border-radius: 3px !important; font-weight: 700 !important; letter-spacing: 0.01em !important; }
.sub-row { gap: 6px !important; }
.sub-tab { padding: 8px 6px !important; font-size: 12px !important; font-weight: 600 !important; border-radius: 3px !important; }

.pos-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.pos-item {
  padding: 7px 9px !important;
  font-size: 11px !important;
  border-radius: 4px !important;
  justify-content: space-between !important;
}
.pos-item .pi-name {
  font-size: 11px !important; font-weight: 700 !important;
  line-height: 1.25 !important; letter-spacing: -0.01em !important;
  white-space: normal !important; word-wrap: break-word !important;
}
.pos-item em { font-size: 10px !important; font-weight: 700 !important; margin-top: 4px !important; }

.bottom-cats { grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; }
.bottom-cats .b-cat:nth-child(n+6) { display: none !important; }
.b-cat { font-size: 9.5px !important; padding: 6px 4px !important; min-height: 28px !important; border-radius: 3px !important; }

@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(3, 1fr) !important; }
  
  .pos-t-actions .tl-pill:nth-child(n+4) { display: none !important; }
  .bottom-cats { grid-template-columns: repeat(3, 1fr) !important; }
  .bottom-cats .b-cat:nth-child(n+4) { display: none !important; }
}



/* ═════════════  CUSTOMERS  ═════════════ */
.customers {
  padding: 96px 0 48px;
  background: var(--bg);
}
.customers .section-head { max-width: 920px; margin: 0 auto 56px; padding: 0 48px; text-align: center; }
.cust-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.cust-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.cust-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.customers-marquee { margin-top: 0; border: none; padding: 0; background: var(--bg); }
.customers-marquee .marquee-inner {
  gap: 18px;
  animation-duration: 60s;
}
.customers-marquee .cust-card {
  width: 160px;
  flex-shrink: 0;
}

@media (max-width: 1040px) {
  .customers { padding: 72px 0 32px; }
  .customers-marquee .cust-card { width: 140px; }
}
@media (max-width: 640px) {
  .customers { padding: 56px 0 24px; }
  .customers-marquee .cust-card { width: 120px; padding: 12px; }
  .customers-marquee .marquee-inner { gap: 12px; animation-duration: 45s; }
}


/* POS grid: 4 rows × 2 columns */
.pos-grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pos-grid .pos-item:nth-child(n+7) { display: inline-flex !important; }
}


/* POS grid: 4×4 uniform tiles */
.pos-grid { grid-template-columns: repeat(4, 1fr) !important; grid-auto-rows: 1fr !important; }
.pos-item { aspect-ratio: 1 / 1 !important; }
.pos-item.combo { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1 !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pos-grid .pos-item:nth-child(n) { display: inline-flex !important; }
}


/* Final: show all 16 products, 4×4 uniform, on all sizes */
.pos-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 5px !important; }
.pos-grid .pos-item { display: inline-flex !important; aspect-ratio: 1 / 1 !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pos-grid .pos-item { display: inline-flex !important; }
}


/* ═════════════  PRODUCTS — dark card grid + hardware showcase  ═════════════ */

.products-dark {
  background: var(--bg-2);
  padding-top: 120px;
  padding-bottom: 120px;
}

/* hardware showcase card above the product grid */
.hardware-showcase {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 40px;
  background: var(--mint);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.hardware-showcase img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  padding: 32px 32px 0;
  animation: hwFloat 8s ease-in-out infinite;
}
@keyframes hwFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hardware-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 32px 28px;
}
.hardware-caption .hardware-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255,107,43,0.10);
  border: 1px solid rgba(255,107,43,0.30);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.hardware-caption p {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .hardware-showcase img { padding: 20px 20px 0; max-height: 420px; }
  .hardware-caption { padding: 16px 20px 20px; flex-direction: column; align-items: flex-start; }
}

/* product grid — matches the page's light card pattern */
.pgrid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: inherit;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
  border-color: var(--line);
}

.pcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.pcard-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(140deg, rgba(255,107,43,0.18), rgba(255,107,43,0.06));
  border: 1px solid rgba(255,107,43,0.28);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pcard-icon svg { width: 22px; height: 22px; }

.pcard-badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(255,107,43,0.35);
}

.pcard h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.pcard p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

.pcard-tags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcard-tags li {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.pcard-tags li.on {
  background: rgba(255,107,43,0.10);
  color: var(--brand);
  border-color: rgba(255,107,43,0.35);
}

@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: 1fr; gap: 14px; }
  .pcard { padding: 22px 20px; }
  .pcard h3 { font-size: 19px; }
}


/* ═════════════  THE RIGHT SETUP  ═════════════ */
.setup {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--bg);
}
.setup-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.setup-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.setup-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
  border-color: rgba(255,107,43,0.35);
}
.setup-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.setup-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,107,43,0.10);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,107,43,0.22);
  flex-shrink: 0;
}
.setup-icon svg { width: 22px; height: 22px; }
.setup-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.setup-kicker.setup-kicker-hot {
  color: var(--brand);
  background: rgba(255,107,43,0.10);
  border-color: rgba(255,107,43,0.30);
}
.setup-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.setup-card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: -2px 0 6px;
}
.setup-stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.setup-stack li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 8px;
}
.setup-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  transition: color 0.2s ease, gap 0.2s ease;
}
.setup-cta span { transition: transform 0.2s ease; }
.setup-card:hover .setup-cta { color: var(--brand); }
.setup-card:hover .setup-cta span { transform: translateX(3px); }
.setup-help {
  max-width: 1280px;
  margin: 44px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 32px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(216,235,208,0.35);
}
.setup-help p {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-2);
  max-width: 640px;
}
@media (max-width: 1024px) {
  .setup-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .setup { padding-top: 80px; padding-bottom: 80px; }
  .setup-grid { grid-template-columns: 1fr; gap: 14px; }
  .setup-card { padding: 22px 20px 20px; }
  .setup-card h3 { font-size: 19px; }
  .setup-help { padding: 22px 20px; }
}


/* ═════════════  HARDWARE HERO (dark)  ═════════════ */
.hw-hero {
  padding-top: 120px;
  padding-bottom: 120px;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(255,107,43,0.18), transparent 55%),
    linear-gradient(180deg, #07080B 0%, #0D0F14 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
  pointer-events: none;
}
.hw-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.hw-hero-copy .eyebrow-line.light { color: rgba(255,255,255,0.65); }
.hw-hero-copy .h-section { color: #fff; }
.hw-hero-copy .h-section em { color: var(--brand); }
.hw-hero-copy .sub.light { color: rgba(255,255,255,0.72); max-width: 520px; }
.hw-hero-stats {
  list-style: none;
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hw-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hw-hero-stats li:last-child { border-right: 0; padding-right: 0; }
.hw-hero-stats b {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.hw-hero-stats span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.hw-hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hw-hero-cta .btn-primary { background: var(--brand); color: #fff; }
.hw-hero-cta .btn-primary:hover { background: var(--brand-2); }

.hw-hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}
.hw-hero-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.55));
  animation: hwFloat 8s ease-in-out infinite;
}
.hw-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,43,0.28) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 1;
  animation: hwPulse 5s ease-in-out infinite;
}
@keyframes hwPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}
.hw-tag {
  position: absolute;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  animation: tagIn 0.6s 0.8s cubic-bezier(.2,.9,.3,1) forwards;
}
.hw-tag-pos    { top: 22%; left: 2%;  animation-delay: 0.6s; }
.hw-tag-kiosk  { top: 10%; right: 12%; animation-delay: 0.9s; }
.hw-tag-eftpos { top: 54%; left: 38%; animation-delay: 1.2s; }
.hw-tag-phone  { bottom: 14%; right: 2%; animation-delay: 1.5s; }
@keyframes tagIn {
  0%   { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) {
  .hw-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hw-hero-stage { margin: 0 auto; max-width: 520px; }
}
@media (max-width: 640px) {
  .hw-hero { padding-top: 80px; padding-bottom: 80px; }
  .hw-hero-stats { gap: 20px; }
  .hw-hero-stats li { padding-right: 20px; }
  .hw-hero-stats b { font-size: 28px; }
  .hw-tag { font-size: 10px; padding: 5px 8px; }
}


/* ═════════════  INTEGRATIONS  ═════════════ */
.integrations {
  padding-top: 120px;
  padding-bottom: 120px;
  background: var(--bg-2);
}
.integrations-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.int-group {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.int-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.int-group-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.int-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.int-group h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.int-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.int-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.int-logo {
  aspect-ratio: 3 / 2;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.int-logo:hover {
  background: #fff;
  border-color: rgba(255,107,43,0.30);
  transform: translateY(-2px);
}
.int-logo img {
  max-width: 100%;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.95);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.int-logo:hover img {
  filter: none;
  opacity: 1;
}
.int-logo.int-logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.int-foot {
  max-width: 1280px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.int-foot a { color: var(--brand); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.int-foot a:hover { color: var(--brand-2); }
@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: 1fr; }
  .int-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .integrations { padding-top: 80px; padding-bottom: 80px; }
  .int-group { padding: 22px 20px 20px; }
  .int-group h3 { font-size: 19px; }
  .int-logos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}


/* ═════════════  CONTACT FORM  ═════════════ */

.contact-section .sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.contact-section .section-head { max-width: none; margin-bottom: 0; }
.contact-section .h-section { color: #fff; }
.contact-section .h-section em { color: var(--brand); }

.lead-form {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: left;
  position: relative;
  z-index: 2;
}
.lf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lf-field-full { grid-column: 1 / -1; }
.lf-field > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.lf-field input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  font-feature-settings: 'ss01';
}
.lf-field input::placeholder { color: rgba(255,255,255,0.3); font-weight: 400; }
.lf-field input:hover { border-color: rgba(255,255,255,0.22); }
.lf-field input:focus {
  border-color: var(--brand);
  background: rgba(255,107,43,0.06);
  box-shadow: 0 0 0 4px rgba(255,107,43,0.14);
}
.lf-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255,120,120,0.55);
}

/* autofill override — keep dark styling in Chrome/Safari */
.lf-field input:-webkit-autofill,
.lf-field input:-webkit-autofill:hover,
.lf-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 40px rgba(22,24,30,1) inset;
          box-shadow: 0 0 0 40px rgba(22,24,30,1) inset;
  caret-color: #fff;
  border-color: rgba(255,255,255,0.22);
  transition: background-color 10000s ease-in-out 0s;
}

.lf-services {
  margin-top: 30px;
  border: 0;
  padding: 0;
}
.lf-services legend {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  padding: 0;
}
.lf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lf-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.lf-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lf-check-box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.3);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.lf-check-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease-out;
}
.lf-check-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}
.lf-check:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.05); }
.lf-check input:checked ~ .lf-check-box {
  background: var(--brand);
  border-color: var(--brand);
}
.lf-check input:checked ~ .lf-check-box::after { transform: rotate(45deg) scale(1); }
.lf-check input:checked ~ .lf-check-label { color: #fff; }
.lf-check:has(input:checked) {
  border-color: rgba(255,107,43,0.5);
  background: rgba(255,107,43,0.08);
}
.lf-check input:focus-visible ~ .lf-check-box {
  box-shadow: 0 0 0 4px rgba(255,107,43,0.3);
}

.lf-submit-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lf-submit {
  min-width: 220px;
  padding: 16px 28px !important;
  font-size: 15px !important;
  position: relative;
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.lf-submit:hover { border-color: rgba(255,255,255,0.4); }
.lf-submit[aria-busy="true"] { opacity: 0.75; cursor: wait; }
.lf-submit[aria-busy="true"]::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: lfSpin 0.8s linear infinite;
  margin-right: 8px;
}
@keyframes lfSpin { to { transform: rotate(360deg); } }

.lf-error {
  color: #FFB4B4;
  font-size: 14px;
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.4;
  flex: 1 1 240px;
}

.lf-fineprint {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.lf-fineprint a { color: rgba(255,255,255,0.85); text-decoration: underline; text-decoration-color: rgba(255,107,43,0.4); text-underline-offset: 3px; }
.lf-fineprint a:hover { color: var(--brand); }

/* success state */
.lf-success {
  max-width: 520px;
  margin: 56px auto 0;
  text-align: center;
  padding: 40px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,107,43,0.35);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(255,107,43,0.12);
  animation: lfSuccessIn 0.5s cubic-bezier(.2,.9,.3,1) backwards;
}
@keyframes lfSuccessIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lf-success-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(255,107,43,0.4);
  animation: lfCheckPop 0.6s cubic-bezier(.2,1.6,.4,1);
}
@keyframes lfCheckPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.lf-success h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px;
}
.lf-success p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}
.lf-success a {
  color: var(--brand);
  font-weight: 600;
}

.contact-section .regions { margin-top: 48px; }

@media (max-width: 760px) {
  .lf-grid { grid-template-columns: 1fr; }
  .lf-services-grid { grid-template-columns: 1fr 1fr; }
  .lf-submit { width: 100%; min-width: 0; }
}
@media (max-width: 440px) {
  .lf-services-grid { grid-template-columns: 1fr; }
}

/* ───────── LEGAL PAGES (privacy, terms) ───────── */
.legal-page {
  padding: 64px clamp(20px, 5vw, 72px) 96px;
  max-width: 1100px;
  margin: 0 auto;
}
.legal-page .legal-head {
  max-width: 860px;
  margin: 0 auto 56px;
}
.legal-page .legal-head .eyebrow-line { margin-bottom: 14px; }
.legal-page .legal-head .h-section { margin: 0 0 18px; }
.legal-page .legal-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.legal-page .legal-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-page .legal-body .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-2);
}
.legal-page .legal-body h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 56px 0 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.legal-page .legal-body h2:first-of-type { margin-top: 0; }
.legal-page .legal-body h3 {
  font-size: 18px;
  margin: 32px 0 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.legal-page .legal-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.legal-page .legal-body ul,
.legal-page .legal-body ol {
  margin: 0 0 16px 22px;
  padding: 0;
  color: var(--ink-2);
}
.legal-page .legal-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 16px;
}
.legal-page .legal-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-page .legal-body a:hover { color: var(--brand-2); }
.legal-page .legal-body strong { color: var(--ink); font-weight: 600; }
.legal-page .legal-body hr {
  border: 0;
  border-top: 1px solid var(--line-2);
  margin: 48px 0;
}

/* ─── Responsive hardening across public pages ─── */
.hero-copy,
.story-copy,
.pcard,
.setup-card,
.int-group,
.t-card,
.lead-form,
.legal-page,
.legal-page .legal-body,
.foot-grid > div {
  min-width: 0;
}
.pcard p,
.setup-card > p,
.int-group p,
.t-card blockquote,
.legal-page .legal-body p,
.legal-page .legal-body li,
.foot-blurb {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .btn { white-space: normal; text-align: center; }
  .nav .btn { white-space: nowrap; }
  .story {
    gap: 40px;
    padding: 72px 0;
  }
  .story-anim {
    width: 100%;
    margin: 0 auto;
  }
  .int-group-head {
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  section,
  header.hero,
  .foot {
    padding-left: 18px;
    padding-right: 18px;
  }
  .nav {
    padding: 12px 18px;
    gap: 12px;
  }
  .nav .logo-full { height: 28px; }
  .nav .btn-sm {
    padding: 10px 14px;
    font-size: 13px;
  }
  .h-display,
  .h-section,
  .story h3,
  .pcard h3,
  .setup-card h3,
  .int-group h3,
  .legal-page .legal-body h2 {
    letter-spacing: 0;
  }
  .h-display {
    font-size: 44px;
    line-height: 1.02;
  }
  .h-section {
    font-size: 36px;
    line-height: 1.08;
  }
  .sub {
    font-size: 16px;
    line-height: 1.55;
  }
  .section-head {
    margin-bottom: 42px;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-grid {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 42px;
    gap: 32px;
  }
  .hero-copy .lede {
    margin: 22px 0 28px;
  }
  .cta-row {
    align-items: stretch;
  }
  .cta-row .btn {
    flex: 1 1 100%;
    min-height: 46px;
  }
  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
  }
  .hero-stats > div:not(.sep) {
    flex: 1 1 88px;
  }
  .hero-stats b {
    font-size: 30px;
  }
  .hero-anim {
    max-width: 100%;
  }
  .products,
  .setup,
  .how,
  .why,
  .testimonials,
  .integrations {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .story,
  .story.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0;
  }
  .story.reverse .story-copy,
  .story.reverse .story-anim {
    order: initial;
  }
  .story h3 {
    font-size: 32px;
    line-height: 1.08;
  }
  .story p {
    font-size: 16px;
  }
  .story-anim {
    max-width: 430px;
    min-height: 420px;
    aspect-ratio: 0.92 / 1;
  }
  .hardware-showcase {
    border-radius: 18px;
  }
  .hardware-caption {
    position: static;
    width: 100%;
    border-radius: 0;
  }
  .pcard,
  .setup-card,
  .int-group,
  .t-card {
    border-radius: 16px;
  }
  .pcard-tags,
  .setup-stack {
    gap: 8px;
  }
  .setup-help {
    align-items: stretch;
    text-align: left;
  }
  .setup-help .btn {
    width: 100%;
  }
  .hw-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hw-hero-stats {
    flex-wrap: wrap;
  }
  .hw-hero-stats li {
    flex: 1 1 120px;
    border-right: 0;
    padding-right: 0;
  }
  .hw-hero-cta {
    align-items: stretch;
  }
  .hw-hero-cta .btn {
    flex: 1 1 100%;
  }
  .int-group-head {
    flex-direction: column;
  }
  .int-count {
    align-self: flex-start;
  }
  .int-logo {
    min-height: 74px;
    padding: 12px;
  }
  .lead-form {
    margin-top: 36px;
  }
  .lf-check {
    align-items: flex-start;
  }
  .lf-fineprint {
    line-height: 1.6;
  }
  .foot {
    padding-top: 56px;
    padding-bottom: 36px;
  }
  .foot-grid {
    gap: 28px;
  }
  .legal-page {
    padding: 44px 18px 72px;
  }
  .legal-page .legal-head {
    margin-bottom: 36px;
  }
  .legal-page .legal-body .lede {
    font-size: 17px;
    margin-bottom: 30px;
    padding-bottom: 24px;
  }
  .legal-page .legal-body p,
  .legal-page .legal-body li {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 430px) {
  section,
  header.hero,
  .foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav .logo-full { height: 26px; }
  .nav .btn-sm {
    padding: 9px 12px;
    font-size: 12px;
  }
  .h-display { font-size: 40px; }
  .h-section { font-size: 32px; }
  .eyebrow {
    font-size: 10px;
    line-height: 1.3;
    align-items: flex-start;
  }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 12px; }
  .story-anim {
    min-height: 400px;
  }
  .online-phone {
    width: min(70%, 224px);
  }
  .kiosk-live-badge,
  .kiosk-pay-badge {
    max-width: calc(100% - 24px);
  }
  .lf-check-label {
    font-size: 13px;
    line-height: 1.25;
  }
  .regions {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ─── Mobile polish for POS mockup (<=640px) ─── */
@media (max-width: 640px) {
  .pos-item .pi-name {
    font-size: 9px !important;
    line-height: 1.15 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }
  .pos-item em {
    font-size: 9px !important;
    margin-top: 2px !important;
  }

  .pos-grid .pos-item {
    aspect-ratio: auto !important;
    min-height: 48px !important;
    padding: 4px 4px !important;
    overflow: visible !important;
  }

  .pos-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }

  .pos-right .bottom-cats {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
  .pos-right .bottom-cats .b-cat {
    font-size: 8.5px !important;
    padding: 5px 3px !important;
    line-height: 1.1 !important;
    min-width: 0 !important;
  }
  .pos-right .bottom-cats .b-cat.wide {
    grid-column: span 1 !important;
  }
  .pos-right .bottom-cats .b-cat:nth-child(4) { display: flex !important; }
  .pos-right .bottom-cats .b-cat:nth-child(n+5) { display: none !important; }

  .pos-body { grid-template-columns: 34% 1fr !important; }
  .cart-item, .cart-total { font-size: 10px !important; }
}
