/* =========================================================
   LOYALTY CHIPS — Design System
   Dark, confident, premium. For the 18-34 demographic.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&family=Syne:wght@700;800&display=swap');

:root {
  /* Brand palette */
  --bg:             #0A0A0A;
  --surface:        #141416;
  --surface-2:      #1C1C1E;
  --surface-3:      #24242A;
  --border:         #2A2A30;
  --border-strong:  #3A3A44;

  --brand:          #E8500A;
  --brand-hover:    #FF6B1F;
  --brand-dim:      #8A2F05;

  --cream:          #F5ECD7;
  --gold:           #C9A84C;
  --gold-dim:       #7A6628;

  --white:          #FAFAFA;
  --ink:            #E8E8EA;
  --muted:          #9A9AA3;
  --muted-2:        #6A6A73;

  --accent-blue:    #2E75B6;
  --good:           #3CCB7F;
  --warn:           #E8C330;
  --bad:            #E84A4A;

  /* Rhythm */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-5: 24px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.3);
  --shadow-2: 0 8px 24px rgba(0,0,0,.5);
  --shadow-3: 0 24px 48px rgba(0,0,0,.6);
  --shadow-brand: 0 10px 40px rgba(232, 80, 10, 0.35);

  --container: 1240px;
}

body[data-guard]:not([data-auth-ready]) {
  opacity: 0;
}

/* =========== Scan demo section =========== */
.scan-demo-section {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(232,80,10,.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 100%, rgba(201,168,76,.06), transparent 55%),
    #0A0A0A;
  border-top: 1px solid #1A1A1E;
  border-bottom: 1px solid #1A1A1E;
}
.scan-demo-grid {
  display: grid; gap: 32px; margin-top: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}
@media (max-width: 960px) {
  .scan-demo-grid { grid-template-columns: 1fr; }
}
.scan-chip-card {
  background: linear-gradient(165deg, #17110E, #0F0D0B);
  border: 1px solid #2A2222;
  border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.scan-chip-header {
  display: flex; align-items: center; gap: 14px;
}
.scan-venue-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #E8500A, #5A1A00);
  color: #fff; font-family: 'Syne'; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.scan-venue-name { color: #F5ECD7; font-weight: 700; font-size: 20px; }
.scan-venue-sub  { color: #9A9AA3; font-size: 13px; }

.scan-offer-band {
  background: linear-gradient(135deg, rgba(232,80,10,.18), rgba(232,80,10,.04));
  border: 1px solid rgba(232,80,10,.35);
  border-radius: 16px; padding: 20px 22px;
  text-align: center;
}
.scan-offer-band .tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #E8500A; font-weight: 700; margin-bottom: 6px;
}
.scan-offer-title {
  font-family: 'Syne'; font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  color: #FAFAFA; line-height: 1;
}
.scan-offer-sub { color: #F5ECD7; font-size: 13px; margin-top: 6px; }

.scan-qr-wrap {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center;
}
@media (max-width: 640px) { .scan-qr-wrap { grid-template-columns: 1fr; } .scan-qr-wrap img { margin: 0 auto; } }
.scan-qr-wrap img {
  width: 180px; height: 180px;
  background: #F5ECD7; border-radius: 16px; padding: 10px;
  border: 1px solid #2A2A30;
}
.scan-qr-side { display: flex; flex-direction: column; gap: 14px; }
.scan-method {
  display: flex; gap: 12px; align-items: flex-start;
}
.scan-method .ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(232,80,10,.12); color: #E8500A;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.scan-method h5 { color: #FAFAFA; font-size: 14px; margin: 0 0 2px; }
.scan-method p  { color: #9A9AA3; font-size: 12px; line-height: 1.45; }

.scan-chip-picker {
  display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; border-top: 1px dashed #2A2222;
  padding-top: 18px;
}
.scan-chip-picker button {
  background: #1A1412; color: #9A9AA3;
  border: 1px solid #2A2222; border-radius: 999px;
  padding: 7px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  transition: all .15s ease;
}
.scan-chip-picker button:hover { color: #F5ECD7; border-color: #E8500A; }
.scan-chip-picker button.active {
  background: #E8500A; color: #fff; border-color: #E8500A;
  box-shadow: 0 8px 22px rgba(232,80,10,.35);
}

.demo-phone-frame {
  position: relative; margin: 0 auto;
  width: 100%; max-width: 360px; aspect-ratio: 9 / 19.5;
  background: #000; border-radius: 42px; padding: 12px;
  border: 1px solid #2A2A30;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 2px #1A1A1E;
  overflow: hidden;
}
.demo-phone-frame iframe {
  width: 100%; height: 100%;
  border: 0; border-radius: 30px; background: #050505;
  transition: transform .4s ease, filter .4s ease;
}
.demo-phone-frame iframe.tapping { transform: scale(.96); filter: brightness(1.4); }
.demo-phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 24px; background: #000; border-radius: 14px;
  z-index: 3;
}
.demo-phone-speaker {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 4px; background: #2A2A30; border-radius: 4px;
}
.demo-phone-actions {
  display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap;
}

/* ======== Walkthrough steps (home scan demo) ======== */
.scan-method-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin: 0 auto 22px; flex-wrap: wrap;
}
.scan-method-tabs button {
  background: #14100F; color: #9A9AA3;
  border: 1px solid #2A2222; border-radius: 999px;
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s ease;
}
.scan-method-tabs button:hover { color: #F5ECD7; border-color: #E8500A; }
.scan-method-tabs button.active {
  background: linear-gradient(135deg, #E8500A, #BF3D05);
  color: #fff; border-color: #E8500A;
  box-shadow: 0 10px 28px rgba(232,80,10,.4);
}
.scan-method-tabs .ic {
  width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.walkthrough {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 22px;
}
@media (max-width: 720px) { .walkthrough { grid-template-columns: repeat(2, 1fr); } }
.walkthrough .ws {
  padding: 14px; border: 1px solid #2A2222; border-radius: 12px;
  background: #14100F; transition: all .25s ease;
  position: relative;
}
.walkthrough .ws .n {
  width: 22px; height: 22px; border-radius: 50%;
  background: #1F1815; color: #9A9AA3; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 8px;
  border: 1px solid #2A2222;
}
.walkthrough .ws h6 { color: #F5ECD7; font-size: 13px; margin: 0 0 4px; }
.walkthrough .ws p  { color: #9A9AA3; font-size: 11px; line-height: 1.45; margin: 0; }
.walkthrough .ws.on {
  border-color: #E8500A; background: linear-gradient(160deg, rgba(232,80,10,.15), rgba(232,80,10,.04));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,80,10,.18);
}
.walkthrough .ws.on .n { background: #E8500A; color: #fff; border-color: #E8500A; }
.walkthrough .ws.done .n { background: #3CCB7F; color: #0A0A0A; border-color: #3CCB7F; }
.walkthrough .ws.done .n::after { content: ''; }

/* Tap-burst overlay on the phone */
.demo-phone-frame .tap-burst {
  position: absolute; inset: 0; border-radius: 42px; pointer-events: none;
  z-index: 4; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle at 50% 40%, rgba(232,80,10,.7) 0%, rgba(232,80,10,0) 58%);
}
.demo-phone-frame.bursting .tap-burst { opacity: 1; animation: burstPulse 1.1s ease-out; }
@keyframes burstPulse {
  0%   { opacity: 0; transform: scale(.5); }
  35%  { opacity: 1; transform: scale(1.0); }
  100% { opacity: 0; transform: scale(1.4); }
}
.demo-phone-frame .tap-ring {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) scale(0);
  width: 140px; height: 140px; border-radius: 50%;
  border: 2px solid #E8500A; pointer-events: none; z-index: 5;
  opacity: 0;
}
.demo-phone-frame.bursting .tap-ring { animation: tapRing 1.1s ease-out; }
@keyframes tapRing {
  0%   { opacity: .7; transform: translate(-50%, -50%) scale(.2); }
  100% { opacity: 0;  transform: translate(-50%, -50%) scale(2.5); }
}

/* Method-specific visual overlays on the chip card */
.method-visual {
  margin-top: 2px; display: none;
  padding: 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,80,10,.08), rgba(232,80,10,.02));
  border: 1px dashed rgba(232,80,10,.3);
  color: #F5ECD7; font-size: 13px; line-height: 1.5;
}
.method-visual.show { display: block; }
.method-visual strong { color: #FAFAFA; }
.method-visual .nfc-wave {
  display: inline-flex; align-items: center; gap: 4px; color: #E8500A;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px;
}
.method-visual .nfc-wave::after {
  content: ''; width: 32px; height: 14px; margin-left: 4px;
  background:
    radial-gradient(circle at 20% 50%, #E8500A 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, #E8500A 3px, transparent 4px),
    radial-gradient(circle at 80% 50%, #E8500A 4px, transparent 5px);
  background-repeat: no-repeat;
}

/* Demo telemetry inline in phone actions */
.demo-telemetry {
  margin-top: 14px; padding: 12px 16px;
  background: #0C0C0E; border: 1px solid #1F1815;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: #6A6A73; line-height: 1.6;
  max-width: 360px; margin-left: auto; margin-right: auto;
  white-space: pre-wrap;
}
.demo-telemetry .log-ok  { color: #3CCB7F; }
.demo-telemetry .log-hot { color: #E8500A; }

/* =========== Reset =========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font-family: inherit; }

/* =========== Typography =========== */
h1, h2, h3, h4 { margin: 0; color: var(--white); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-family: 'Syne', 'Inter', sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin: 0; }

.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); max-width: 620px; }
.accent { color: var(--brand); }
.cream { color: var(--cream); }

/* =========== Container =========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1480px; margin: 0 auto; padding: 0 24px; }

/* =========== Buttons =========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-3);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-hover); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.03); }

.btn-cream {
  background: var(--cream);
  color: #0A0A0A;
}
.btn-cream:hover { background: #fff; }

.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 18px 30px; font-size: 17px; border-radius: var(--r-4); }

.btn-full { width: 100%; }

/* =========== Pill / Badge =========== */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: rgba(232, 80, 10, 0.08);
}
.pill.pill-cream { border-color: var(--cream); color: var(--cream); background: rgba(245, 236, 215, 0.06); }
.pill.pill-gold  { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.08); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--border);
}
.tag-good { color: var(--good); border-color: rgba(60,203,127,.3); background: rgba(60,203,127,.08); }
.tag-warn { color: var(--warn); border-color: rgba(232,195,48,.3); background: rgba(232,195,48,.08); }
.tag-brand{ color: var(--brand); border-color: rgba(232,80,10,.3); background: rgba(232,80,10,.1); }
.tag-gold { color: var(--gold); border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.08); }

/* =========== Nav =========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.75);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.nav-scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* =========== Logo =========== */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 800;
  font-size: 16px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 35% 30%, #FF8C4A 0%, #E8500A 55%, #5A1A00 100%);
  border-radius: 9px;
  position: relative;
  box-shadow: 0 4px 14px rgba(232,80,10,.4), inset 0 0 0 1px rgba(255,255,255,.18);
  color: #F5ECD7;
  font-family: 'Syne','Inter',sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1px;
}
/* Rotating dashed inner ring — the "live signal" */
.logo-mark::before {
  content: ''; position: absolute; inset: 4px;
  border: 1.5px dashed rgba(245,236,215,.45);
  border-radius: 6px;
  animation: spin 22s linear infinite;
}
/* Monogram dot — subtle LC-inspired core */
.logo-mark::after {
  content: 'LC'; position: relative; z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .logo-mark::before { animation: none; }
}
.logo-text { letter-spacing: -0.02em; }
.logo-text em { font-style: normal; color: var(--brand); }

/* =========== Sections =========== */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lede { margin: 16px auto 0; }

/* =========== Hero =========== */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 120px;
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 85% 30%, rgba(232,80,10,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(201,168,76,0.08), transparent 60%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; text-align: left; } }
.hero h1 .line { display: block; }
.hero .sub { margin-top: 26px; font-size: 19px; color: var(--cream); max-width: 560px; line-height: 1.5; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-social { margin-top: 34px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero-social .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.hero-stars { color: var(--gold); letter-spacing: 2px; }

/* =========== Chip stack visual =========== */
.chip-stack {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px; margin-left: auto;
  perspective: 1400px;
}
.chip {
  position: absolute; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; letter-spacing: 0.02em;
  box-shadow:
    0 20px 40px rgba(0,0,0,.5),
    0 2px 2px rgba(0,0,0,.4),
    inset 0 2px 0 rgba(255,255,255,.15),
    inset 0 -2px 0 rgba(0,0,0,.3);
  border: 3px dashed rgba(255,255,255,.22);
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: -14px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 1.8s cubic-bezier(.2,.8,.2,1);
}
.chip .inner {
  width: 64%; height: 64%;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  gap: 4px;
}
.chip .inner .label { font-size: 9px; letter-spacing: 0.25em; color: rgba(255,255,255,.65); text-transform: uppercase; }
.chip .inner .value { font-family: 'Syne', Inter, sans-serif; font-weight: 800; font-size: 22px; color: #fff; line-height: 1; }
.chip .inner .meta { font-size: 8px; color: rgba(255,255,255,.5); letter-spacing: 0.18em; text-transform: uppercase; }

.chip-1 {
  width: 62%; aspect-ratio: 1; left: 2%; top: 10%;
  background: linear-gradient(135deg, #E8500A, #FF8C4A);
  color: #fff;
  transform: rotate(-14deg);
  animation: float1 7s ease-in-out infinite;
  z-index: 3;
}
.chip-2 {
  width: 50%; aspect-ratio: 1; right: 4%; top: 4%;
  background: linear-gradient(135deg, #141416, #2E2E34);
  color: var(--cream);
  transform: rotate(9deg);
  animation: float2 9s ease-in-out infinite;
  z-index: 2;
}
.chip-3 {
  width: 44%; aspect-ratio: 1; left: 22%; bottom: 2%;
  background: linear-gradient(135deg, #C9A84C, #E5C875);
  color: #1a1406;
  transform: rotate(-4deg);
  animation: float3 11s ease-in-out infinite;
  z-index: 1;
}
.chip-3 .inner { background: rgba(0,0,0,.15); border-color: rgba(0,0,0,.15); }
.chip-3 .inner .label, .chip-3 .inner .meta { color: rgba(26,20,6,.7); }
.chip-3 .inner .value { color: #1a1406; }

@keyframes float1 { 0%,100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-11deg) translateY(-10px); } }
@keyframes float2 { 0%,100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-14px); } }
@keyframes float3 { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-8px); } }

.scan-pulse {
  position: absolute; inset: 20%; border-radius: 50%;
  border: 1px solid var(--brand);
  opacity: 0.3;
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* =========== Marquee =========== */
.marquee {
  overflow: hidden; padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.marquee-track { display: flex; gap: 64px; animation: marq 35s linear infinite; width: max-content; }
.marquee-track span {
  font-family: 'Syne', Inter, sans-serif; font-weight: 800;
  font-size: 22px; color: var(--muted); opacity: .65;
  letter-spacing: -0.01em; white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.marquee-track span::after { content: '◉'; color: var(--brand); font-size: 12px; opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========== Cards / grids =========== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.step-card { display: flex; flex-direction: column; gap: 14px; }
.step-num {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,80,10,.1); color: var(--brand);
  font-family: 'Syne', Inter; font-weight: 800; font-size: 18px;
  border: 1px solid rgba(232,80,10,.25);
}
.step-card h4 { color: var(--white); font-size: 17px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* =========== Product gallery =========== */
.products {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
@media (max-width: 1060px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .products { grid-template-columns: repeat(2, 1fr); } }
.product {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 24px 20px 22px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
  overflow: hidden;
}
.product:hover { transform: translateY(-4px); border-color: var(--brand); }
.product .visual {
  height: 140px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product h4 { color: var(--white); font-size: 15px; margin-bottom: 4px; }
.product p { color: var(--muted); font-size: 12px; line-height: 1.4; }
.product .price { display: block; margin-top: 10px; font-size: 11px; color: var(--brand); font-family: 'JetBrains Mono'; font-weight: 500; }
.product.elite { border-color: rgba(201,168,76,.35); background: linear-gradient(180deg, rgba(201,168,76,.06), transparent); }
.product.elite .visual { filter: drop-shadow(0 6px 18px rgba(201,168,76,.3)); }

/* Mini chip visuals used inline */
.mini-chip {
  width: 110px; height: 110px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.22);
  outline: 2px solid rgba(0,0,0,.3); outline-offset: -10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.4), inset 0 2px 0 rgba(255,255,255,.12);
  background: linear-gradient(135deg, #E8500A, #FF8C4A);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Syne'; font-weight: 800; font-size: 11px; letter-spacing: 0.2em;
}
.mini-chip.plastic { background: linear-gradient(135deg,#2E75B6,#5BA3E8); }
.mini-chip.paper   { background: linear-gradient(135deg,#7A6628,#B89A3A); color: var(--cream); }
.mini-chip.wrist   {
  width: 120px; height: 46px; border-radius: 22px;
  background: linear-gradient(90deg,#E8500A,#FF6B1F);
  outline-offset: -6px;
}
.mini-chip.metal   { background: linear-gradient(135deg,#9A9AA3,#E5E5EA); color: #0A0A0A; }
.mini-chip.metal   { border-color: rgba(0,0,0,.3); }
.mini-chip.card    {
  width: 140px; height: 86px; border-radius: 10px;
  background: linear-gradient(135deg,#0A0A0A,#2E2E34);
  outline-offset: -6px; color: var(--cream);
  border: 1px dashed rgba(245,236,215,.25);
}
.mini-chip.gold    { background: linear-gradient(135deg,#C9A84C,#E5C875); color: #1a1406; border-color: rgba(0,0,0,.2); }

/* =========== Feature toggle =========== */
.toggle-row { display: flex; justify-content: center; margin-bottom: 40px; }
.toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 4px;
}
.toggle button {
  padding: 10px 22px; border-radius: var(--r-pill);
  background: transparent; border: none; color: var(--muted);
  font-weight: 600; font-size: 14px; transition: all .2s ease;
}
.toggle button.active { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .2s ease;
}
.feat:hover { border-color: var(--brand); background: var(--surface-2); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(232,80,10,.1); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(232,80,10,.2);
}
.feat h4 { font-size: 17px; color: var(--white); }
.feat p  { color: var(--muted); font-size: 14px; line-height: 1.55; }

.hidden { display: none !important; }

/* =========== Stats strip =========== */
.stats {
  background: var(--cream);
  color: #0A0A0A;
  padding: 60px 0;
}
.stats .grid-4 { text-align: center; gap: 40px; }
.stats .stat .big {
  font-family: 'Syne', Inter; font-weight: 800; color: #0A0A0A;
  font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em;
}
.stats .stat .big em { font-style: normal; color: var(--brand); }
.stats .stat p { font-size: 13px; color: #444; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 10px; }

/* =========== Testimonial =========== */
.testimonial {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(232,80,10,0.1), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.quote {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: 'Syne'; font-weight: 700; font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2; color: var(--white); letter-spacing: -0.02em;
}
.quote::before, .quote::after { content: '"'; color: var(--brand); font-size: 1.2em; }
.byline { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.byline .name { color: var(--white); font-weight: 600; }

/* =========== Pricing =========== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all .25s ease;
}
.tier:hover { border-color: var(--border-strong); }
.tier .tname { font-size: 13px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.tier .tprice { font-family: 'Syne', Inter; font-weight: 800; font-size: 48px; color: var(--white); line-height: 1; letter-spacing: -0.03em; }
.tier .tprice small { font-size: 14px; color: var(--muted); font-weight: 500; font-family: 'Inter'; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-size: 14px; }
.tier ul li::before { content: '→ '; color: var(--brand); font-weight: 700; }
.tier .tfee { color: var(--muted); font-size: 12px; font-family: 'JetBrains Mono'; }
.tier .tcta { margin-top: auto; }
.tier-highlight {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(232,80,10,.08), transparent 50%);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-brand);
}
.tier-highlight .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; padding: 5px 14px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.tier-elite .tprice { color: var(--gold); }
.tier-elite { border-color: rgba(201,168,76,.3); }
.tier-elite ul li::before { color: var(--gold); }

/* =========== Closing CTA =========== */
.closing {
  padding: 120px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 40% 70% at 50% 100%, rgba(232,80,10,0.18), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.closing h2 { max-width: 900px; margin: 0 auto 18px; font-family: 'Syne'; }
.closing p  { max-width: 560px; margin: 0 auto 32px; color: var(--cream); font-size: 18px; }
.closing .btn-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* =========== Footer =========== */
footer {
  background: #07070A;
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h5 { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; margin: 0 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot a:hover { color: var(--brand); }
.newsletter { display: flex; gap: 0; margin-top: 12px; border-radius: var(--r-3); overflow: hidden; }
.newsletter input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-right: 0;
  background: var(--surface); color: var(--white); font-size: 14px;
  border-radius: var(--r-3) 0 0 var(--r-3);
  outline: none;
}
.newsletter input:focus { border-color: var(--brand); }
.newsletter button {
  padding: 12px 18px; background: var(--brand); color: #fff; border: 0;
  border-radius: 0 var(--r-3) var(--r-3) 0;
  font-weight: 600; font-size: 14px;
}
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--muted-2); font-size: 13px;
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: all .15s ease;
}
.socials a:hover { color: var(--brand); border-color: var(--brand); }

/* =========================================================
   DASHBOARD SHELL (merchant + admin share this scaffold)
   ========================================================= */
.app {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
  background: #0C0C0F;
  border-right: 1px solid var(--border);
  padding: 24px 16px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.side-brand { padding: 6px 8px 16px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.venue-switcher {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--surface); border-radius: var(--r-3); border: 1px solid var(--border);
  margin-bottom: 14px; cursor: pointer; transition: all .15s;
}
.venue-switcher:hover { border-color: var(--border-strong); }
.venue-switcher .v-avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg,#E8500A,#FF8C4A); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.venue-switcher .v-name { font-weight: 600; font-size: 14px; color: var(--white); }
.venue-switcher .v-sub { font-size: 11px; color: var(--muted); }
.venue-switcher .v-caret { margin-left: auto; color: var(--muted); font-size: 12px; }

.side-group-title {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700;
  padding: 14px 10px 6px;
}
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-3);
  color: var(--muted); font-size: 14px; font-weight: 500;
  transition: all .15s ease;
}
.side-nav a .icon { font-size: 16px; width: 20px; text-align: center; opacity: .9; }
.side-nav a:hover { background: var(--surface); color: var(--white); }
.side-nav a.active { background: rgba(232,80,10,.12); color: var(--brand); border: 1px solid rgba(232,80,10,.25); }
.side-nav a .badge {
  margin-left: auto; background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill);
}
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.upgrade-card {
  background: linear-gradient(135deg, rgba(232,80,10,.15), rgba(201,168,76,.08));
  border: 1px solid rgba(232,80,10,.3);
  border-radius: var(--r-3);
  padding: 14px; margin-bottom: 12px;
}
.upgrade-card h5 { font-size: 12px; color: var(--brand); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin: 0 0 4px; }
.upgrade-card p  { font-size: 12px; color: var(--cream); margin-bottom: 10px; line-height: 1.4; }

.main {
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.topbar {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,.8);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 20;
}
.topbar .search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-3); padding: 8px 14px; width: 340px;
  color: var(--muted); font-size: 13px;
}
.topbar .search input { background: transparent; border: 0; outline: none; color: var(--white); font-size: 14px; flex: 1; }
.topbar .actions { display: flex; align-items: center; gap: 14px; }
.topbar .actions .iconbtn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px; transition: all .15s;
  position: relative;
}
.topbar .actions .iconbtn:hover { color: var(--white); border-color: var(--border-strong); }
.topbar .actions .iconbtn .notif-dot {
  position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  border: 2px solid var(--surface);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#C9A84C,#E5C875); color: #1a1406;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}

.content {
  padding: 32px 28px 60px;
  max-width: 1540px;
  width: 100%;
}
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.page-head h1 { font-family: 'Inter'; font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.page-head p  { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* KPI cards */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .kpis { grid-template-columns: 1fr; } }
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-4); padding: 22px;
  transition: border-color .15s;
}
.kpi:hover { border-color: var(--border-strong); }
.kpi .klabel {
  font-size: 12px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.kpi .klabel .spark { color: var(--brand); font-size: 14px; }
.kpi .kval { margin-top: 10px; font-family: 'Syne', Inter; font-weight: 800; font-size: 36px; color: var(--white); letter-spacing: -0.02em; }
.kpi .ksub { margin-top: 8px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .ksub .up { color: var(--good); }
.kpi .ksub .down { color: var(--bad); }

/* Tables */
.table-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-4);
  /* Let wide tables scroll horizontally on narrow viewports instead of clipping. */
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.table-head {
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.table-head h3 { font-size: 16px; font-weight: 700; color: var(--white); }
.table-head .filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters input, .filters select {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--white);
  border-radius: var(--r-3); padding: 8px 12px; font-size: 13px; outline: none;
}
.filters input:focus, .filters select:focus { border-color: var(--brand); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left; padding: 14px 22px; font-weight: 600;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  color: var(--ink); vertical-align: middle;
}
tbody tr { transition: background .12s; cursor: pointer; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }

.person {
  display: flex; align-items: center; gap: 12px;
}
.p-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-3); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; letter-spacing: 0.02em;
  border: 1px solid var(--border);
}
.p-avatar.c0 { background: linear-gradient(135deg,#E8500A,#FF8C4A); }
.p-avatar.c1 { background: linear-gradient(135deg,#2E75B6,#5BA3E8); color: #fff; }
.p-avatar.c2 { background: linear-gradient(135deg,#C9A84C,#E5C875); color: #1a1406; }
.p-avatar.c3 { background: linear-gradient(135deg,#3CCB7F,#6DE5A5); color: #072c17; }
.p-avatar.c4 { background: linear-gradient(135deg,#7A6628,#B89A3A); color: var(--cream); }
.p-avatar.c5 { background: linear-gradient(135deg,#5B5B65,#9A9AA3); color: #fff; }
.person .p-name { font-weight: 600; color: var(--white); font-size: 14px; }
.person .p-sub  { font-size: 12px; color: var(--muted); }

/* Charts — pure CSS bar & line fallbacks */
.chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-4); padding: 24px;
}
.chart-card .chart-head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}
.chart-card h3 { font-size: 15px; font-weight: 700; color: var(--white); }
.chart-card .sub { font-size: 12px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding: 8px 0 0; }
.bars .bar {
  flex: 1; background: linear-gradient(180deg, var(--brand), var(--brand-dim));
  border-radius: 4px 4px 0 0; position: relative; min-height: 4px;
  transition: all .2s;
}
.bars .bar:hover { filter: brightness(1.2); }
.bars .bar.alt { background: linear-gradient(180deg, var(--accent-blue), #1E5A8E); }
.bars .bar.gold { background: linear-gradient(180deg, var(--gold), var(--gold-dim)); }
.bars-x {
  display: flex; justify-content: space-between; margin-top: 8px;
  color: var(--muted-2); font-size: 10px; font-family: 'JetBrains Mono';
}

/* Donut (simple) */
.donut {
  --p: 64;
  --c: var(--brand);
  width: 120px; aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p)*1%), var(--surface-3) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.donut::after {
  content: ''; position: absolute; inset: 14px;
  background: var(--surface); border-radius: 50%;
}
.donut-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.donut-inner .v { font-family: 'Syne'; font-weight: 800; font-size: 24px; color: var(--white); line-height: 1; }
.donut-inner .l { font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

/* Activity feed */
.feed { display: flex; flex-direction: column; gap: 14px; }
.feed .row {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.feed .row:last-child { border-bottom: 0; padding-bottom: 0; }
.feed .dot {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 7px;
  background: var(--brand); flex-shrink: 0;
}
.feed .row.alt .dot { background: var(--accent-blue); }
.feed .row.gold .dot { background: var(--gold); }
.feed .body { flex: 1; }
.feed .body .t { font-size: 14px; color: var(--ink); }
.feed .body .t strong { color: var(--white); font-weight: 600; }
.feed .body .ts { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono'; margin-top: 2px; }

/* Quick actions row */
.quick-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 18px;
}
@media (max-width: 780px) { .quick-actions { grid-template-columns: 1fr; } }
.qa {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-3); color: var(--ink); font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.qa:hover { border-color: var(--brand); color: var(--white); }
.qa .icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,80,10,.12); color: var(--brand); font-size: 14px;
  border: 1px solid rgba(232,80,10,.2);
}

/* Two col layout */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
@media (max-width: 1100px) { .two-col { grid-template-columns: 1fr; } }

/* Slide-in panel (customer detail) */
.panel-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 60; backdrop-filter: blur(4px);
  display: none;
}
.panel-backdrop.open { display: block; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw;
  background: var(--surface); border-left: 1px solid var(--border);
  z-index: 70; padding: 28px; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease;
}
.panel.open { transform: translateX(0); }
.panel .close {
  background: var(--surface-2); border: 1px solid var(--border);
  width: 32px; height: 32px; border-radius: 8px; color: var(--muted); font-size: 16px;
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.panel-section { margin-top: 22px; }
.panel-section h4 { color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { color: var(--white); font-weight: 500; }
.redeem-form {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.redeem-input {
  width: 100%; min-width: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--white);
  padding: 10px 12px; font: 600 13px 'JetBrains Mono', monospace;
  letter-spacing: .08em; text-transform: uppercase;
}
.redeem-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(232,80,10,.12); }
.redeem-status { min-height: 16px; margin-top: 8px; }

/* Timeline in panel */
.timeline { display: flex; flex-direction: column; gap: 12px; }
.tl-row { display: flex; gap: 12px; font-size: 13px; padding: 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.tl-row .date { color: var(--muted); font-family: 'JetBrains Mono'; font-size: 11px; min-width: 64px; }
.tl-row .what { color: var(--white); font-weight: 500; }

/* =========================================================
   CONSUMER REWARDS PAGE (mobile-first)
   ========================================================= */
.rewards {
  max-width: 440px; margin: 0 auto; min-height: 100vh;
  padding: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.rew-head {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.rew-head .venue {
  display: flex; align-items: center; gap: 10px;
}
.rew-head .venue-logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg,#E8500A,#FF8C4A);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  box-shadow: 0 6px 18px rgba(232,80,10,.4);
}
.rew-head .venue-meta .n { font-weight: 700; color: var(--white); font-size: 14px; }
.rew-head .venue-meta .s { font-size: 11px; color: var(--muted); }
.rew-head .chip-badge {
  padding: 5px 10px; border-radius: 999px;
  background: rgba(232,80,10,.12); color: var(--brand);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(232,80,10,.3);
}

.rew-body { padding: 28px 24px 100px; flex: 1; }

/* Offer card */
.offer {
  position: relative; overflow: hidden;
  border-radius: var(--r-4);
  background: linear-gradient(155deg, #E8500A 0%, #FF8C4A 45%, #C9A84C 140%);
  padding: 28px 24px 30px;
  box-shadow: 0 20px 40px rgba(232,80,10,.3);
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
}
.offer::before {
  content: ''; position: absolute; inset: 6px;
  border: 2px dashed rgba(255,255,255,.35); border-radius: 14px;
  pointer-events: none;
}
.offer::after {
  content: ''; position: absolute; width: 160%; height: 160%;
  top: -40%; left: -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2) 0%, transparent 40%);
  pointer-events: none;
}
.offer .eyebrow { color: rgba(255,255,255,.85); }
.offer h1 {
  font-family: 'Syne', Inter; font-weight: 800;
  font-size: 44px; line-height: 0.95; color: #fff; letter-spacing: -0.03em;
  margin: 10px 0 8px;
}
.offer .venue-name { font-size: 14px; color: rgba(255,255,255,.85); font-weight: 500; }
.offer .countdown {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.28); padding: 8px 14px; border-radius: 999px;
  font-family: 'JetBrains Mono'; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
}
.offer .countdown .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* Data form */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-4); padding: 24px;
}
.form-card h3 { font-size: 18px; color: var(--white); margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }

.apple-btn {
  width: 100%; padding: 14px; border-radius: var(--r-3);
  background: #fff; color: #0A0A0A; font-weight: 600; font-size: 15px;
  border: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 16px;
}
.apple-btn:hover { background: #f0f0f0; }
.or-row {
  display: flex; align-items: center; gap: 12px; margin: 18px 0;
  color: var(--muted-2); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.or-row::before, .or-row::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 11px; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 6px;
}
.field input {
  width: 100%; padding: 14px 16px; border-radius: var(--r-3);
  background: var(--bg); border: 1px solid var(--border); color: var(--white);
  font-size: 15px; outline: none; transition: border-color .15s;
}
.field input:focus { border-color: var(--brand); }

.consent {
  display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 22px;
  font-size: 12px; color: var(--muted); line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--brand); }

.tiny-proof {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 12px; color: var(--muted);
}
.tiny-proof .avs { display: flex; }
.tiny-proof .avs .a {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--surface);
  background: linear-gradient(135deg,#E8500A,#FF8C4A);
  margin-left: -6px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.tiny-proof .avs .a:first-child { margin-left: 0; }
.tiny-proof .avs .a:nth-child(2){ background: linear-gradient(135deg,#2E75B6,#5BA3E8); }
.tiny-proof .avs .a:nth-child(3){ background: linear-gradient(135deg,#C9A84C,#E5C875); color: #1a1406; }

/* Reward success screen */
.success {
  text-align: center; padding: 50px 28px;
  max-width: 440px; margin: 0 auto;
}
.success .big-chip {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg,#E8500A,#FF8C4A);
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  border: 4px dashed rgba(255,255,255,.3);
  outline: 4px solid rgba(0,0,0,.3); outline-offset: -16px;
  box-shadow: 0 20px 60px rgba(232,80,10,.5);
  animation: pop .6s cubic-bezier(.2,1.3,.3,1);
  position: relative;
}
.success .big-chip::before {
  content: '✓'; font-size: 72px; color: #fff; font-weight: 900;
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success h1 {
  font-family: 'Syne'; font-size: 34px; color: var(--white); margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.success .sub { color: var(--cream); margin-bottom: 28px; font-size: 15px; }
.code-box {
  background: var(--surface); border: 2px dashed var(--brand);
  border-radius: var(--r-4); padding: 22px; margin: 0 auto 22px;
  max-width: 300px;
}
.code-box .cl { font-size: 11px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.code-box .cv {
  font-family: 'JetBrains Mono'; font-weight: 700;
  font-size: 34px; color: var(--brand); letter-spacing: 0.25em;
}
.code-box .ci { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Progress ring */
.progress-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-4); padding: 24px;
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 16px;
}
.ring {
  width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--brand) 40%, var(--surface-3) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.ring::after { content: ''; position: absolute; inset: 8px; background: var(--surface); border-radius: 50%; }
.ring-inner {
  position: relative; z-index: 1; font-family: 'Syne'; font-weight: 800;
  font-size: 22px; color: var(--white);
}
.progress-card .ptx h4 { font-size: 15px; color: var(--white); margin-bottom: 4px; }
.progress-card .ptx p  { color: var(--muted); font-size: 12px; line-height: 1.5; }
.wallet-card {
  align-items: flex-start;
  border-color: rgba(201,168,76,.35);
  background: linear-gradient(180deg, rgba(201,168,76,.10), rgba(20,20,26,.96));
}
.wallet-icon {
  width: 84px; height: 84px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #14141A, #2A2A30);
  border: 1px solid rgba(245,236,215,.20);
  color: var(--cream); font-family: 'JetBrains Mono'; font-weight: 800;
  font-size: 12px; letter-spacing: .14em; flex-shrink: 0;
}
.wallet-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.wallet-status {
  min-height: 16px; margin-top: 8px;
}

.upgrade-tease {
  background: linear-gradient(135deg, rgba(201,168,76,.1), rgba(232,80,10,.1));
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--r-4); padding: 18px;
  display: flex; gap: 14px; align-items: center;
}
.upgrade-tease .chip-preview {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#2E75B6,#5BA3E8);
  border: 2px dashed rgba(255,255,255,.3); outline: 2px solid rgba(0,0,0,.3); outline-offset: -6px;
}
.upgrade-tease .ut-body h4 { color: var(--gold); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.upgrade-tease .ut-body p { color: var(--cream); font-size: 13px; line-height: 1.5; }

/* =========== Utility =========== */
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }

/* Focus states (a11y) */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* =========================================================
   ALIGNMENT / SIZING TOUCH-UPS
   Last in the cascade so these win over section-specific rules.
   ========================================================= */

/* Nav — denser gap so 6+ links + CTAs don't overflow on narrow desktops */
.nav-links { gap: 22px; }
@media (max-width: 1100px) { .nav-links { gap: 16px; } .nav-links a { font-size: 13px; } }
@media (max-width: 960px)  { .nav-links { display: none; } }

/* Hero — stack and center on mobile so the chip stack doesn't push text out of frame */
@media (max-width: 960px) {
  .hero { padding: 72px 0 84px; min-height: auto; text-align: center; }
  .hero-grid { text-align: center; gap: 36px; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-social { justify-content: center; }
  .chip-stack { margin: 0 auto; max-width: 360px; }
}

/* Eyebrow + section heads — keep them actually centered when the section wraps */
.section-head { padding: 0 12px; }
.section-head .eyebrow { display: inline-block; }
.section-head h2 { margin-top: 12px; }

/* Pricing — tiers sometimes leave a solo card on a row; justify center */
.pricing-grid { justify-items: stretch; }
.tier .tprice { line-height: 0.95; }

/* Stats band — numbers should scale and wrap cleanly on narrow viewports */
.stats .stat .big {
  font-size: clamp(30px, 5.5vw, 64px);
  word-break: keep-all;
}
@media (max-width: 720px) {
  .stats { padding: 44px 0; }
  .stats .grid-4 { gap: 28px; }
  .stats .stat p { font-size: 11px; }
}

/* Page headers inside dashboards — let title + tags wrap, no horizontal scroll */
.page-head {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px;
}
.page-head h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.page-head > div:first-child { min-width: 260px; flex: 1 1 320px; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Dashboard cards — avoid text overflow in narrow KPI tiles */
.kpi .kval { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; word-break: break-word; }
.kpi .klabel { white-space: normal; }

/* Topbar — allow wrap, prevent actions getting cut off */
.topbar { flex-wrap: wrap; gap: 12px; }
.topbar .search { min-width: 240px; flex: 1 1 300px; }

/* Table head — let filters wrap below the title on narrow widths */
.table-head {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.table-head .filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* Hero heading breaks cleanly across the three spans */
.hero h1 .line { line-height: 1.02; }

/* Closing CTA: center-align line breaks */
.closing h2 { line-height: 1.05; }
.closing h2 br { display: inline; }
@media (max-width: 640px) { .closing h2 br { display: none; } }

/* Footer — tidy the 5-column grid at intermediate widths */
@media (max-width: 1100px) and (min-width: 861px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
  .foot-grid > .foot:nth-child(4) { display: none; } /* hide Legal duplicate collapse */
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Dashboard sidebar on very small viewports — collapse to a top strip */
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: static; height: auto; border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .side-foot { display: none; }
  .main .content { padding: 18px; }
}

/* Rewards page — long reward titles should never overflow the phone */
.rewards .offer h1 {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.02;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

/* Scan demo walkthrough fits narrow cards without clipping */
@media (max-width: 520px) {
  .scan-chip-card { padding: 22px; }
  .scan-offer-title { font-size: clamp(26px, 8vw, 34px); }
  .walkthrough { grid-template-columns: 1fr 1fr; }
}

/* Admin exec banner wraps cleanly on narrow viewports */
@media (max-width: 760px) {
  .exec-banner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   New additions — SVG assets, portals, flow diagram, polish
   ========================================================= */

/* Hero SVG scan visual */
.hero-scan-visual {
  position: relative;
  max-width: 560px; width: 100%;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.5));
}
.hero-scan-visual img {
  width: 100%; height: 100%; display: block;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero.hero-refined::after {
  content: '';
  position: absolute;
  inset: auto -6% -18% auto;
  width: min(560px, 48vw);
  aspect-ratio: 1 / 1;
  background: url("img/pattern-guilloche.svg") center/cover no-repeat;
  opacity: .18;
  pointer-events: none;
}
.hero-scan-visual.hero-art {
  max-width: 620px;
  min-height: 520px;
}
.hero-scan-visual.hero-art .hero-art-main {
  width: 84%;
  height: auto;
  margin-left: auto;
}
.hero-scan-visual.hero-art .hero-art-stack {
  position: absolute;
  width: 42%;
  max-width: 240px;
  height: auto;
  left: 2%;
  bottom: 6%;
  animation: heroFloat 7.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.45));
}
.hero-scan-visual.hero-product-family {
  aspect-ratio: 3 / 2;
  min-height: 420px;
}
.hero-scan-visual.hero-product-family .hero-art-main {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 34px 90px rgba(0,0,0,.45);
}
.hero-scan-visual.tapped img { animation: heroTap .8s ease-out; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes heroTap {
  0%   { transform: scale(1) rotate(0); }
  40%  { transform: scale(1.04) rotate(-2deg); }
  100% { transform: scale(1) rotate(0); }
}
@media (max-width: 960px) {
  .hero-scan-visual { margin: 24px auto 0; max-width: 440px; }
  .hero.hero-refined::after { opacity: .1; width: 340px; inset: auto -80px -40px auto; }
  .hero-scan-visual.hero-art { min-height: 360px; }
  .hero-scan-visual.hero-product-family { min-height: 300px; }
  .hero-scan-visual.hero-art .hero-art-main { width: 78%; margin-inline: auto 0; }
  .hero-scan-visual.hero-product-family .hero-art-main { width: 100%; margin-inline: auto; }
  .hero-scan-visual.hero-art .hero-art-stack { width: 36%; left: 10%; bottom: 0; }
}

/* Product gallery SVG visuals */
.visual-svg {
  height: 128px; width: 100%; margin: -4px auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.visual-svg img {
  max-height: 118px; max-width: 90%;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.45));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.product:hover .visual-svg img { transform: translateY(-4px) rotate(-2deg); }
.product.elite .visual-svg img { filter: drop-shadow(0 14px 28px rgba(201,168,76,.35)); }

/* Flow-diagram illustration (under How It Works) */
.flow-diagram {
  margin: 64px 0 0;
  padding: 28px 24px 22px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(232,80,10,.07), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  text-align: center;
}
.flow-diagram img {
  width: 100%; max-width: 960px; height: auto; display: block; margin: 0 auto;
}
.flow-diagram figcaption {
  margin-top: 18px; max-width: 640px; margin-inline: auto;
}

/* Scan-method tabs — SVG icons */
.scan-method-tabs button .ic-img {
  width: 18px; height: 18px; display: block;
  filter: grayscale(1) brightness(1.4);
  opacity: .7;
  transition: all .2s ease;
}
.scan-method-tabs button:hover .ic-img { filter: none; opacity: 1; }
.scan-method-tabs button.active .ic-img { filter: none; opacity: 1; }

/* =========== Portals section =========== */
.portals-section {
  padding: 120px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(201,168,76,.07), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(232,80,10,.06), transparent 55%),
    var(--bg);
  border-top: 1px solid #18181c;
}
.portals-grid {
  display: grid; gap: 22px; margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media (max-width: 1000px) {
  .portals-grid { grid-template-columns: 1fr; }
}
.portal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, border-color .25s ease;
}
.portal-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.portal-card .tag { align-self: flex-start; }
.portal-card h3 {
  color: var(--white); font-family: 'Syne', Inter, sans-serif;
  font-size: 24px; line-height: 1.1; font-weight: 800;
}
.portal-card > p {
  color: var(--muted); font-size: 14px; line-height: 1.55;
  margin-top: -4px;
}
.portal-bullets {
  list-style: none; padding: 0; margin: 6px 0 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.portal-bullets li {
  position: relative; padding-left: 22px;
  color: var(--ink); font-size: 13.5px; line-height: 1.5;
}
.portal-bullets li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(232,80,10,.2); border: 1px solid rgba(232,80,10,.5);
}
.portal-actions {
  display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap;
}
.portal-creds {
  margin-top: 10px; padding: 9px 12px;
  background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: 10px; font-size: 12px; color: var(--cream);
  text-align: center; letter-spacing: .02em;
}
.portal-ic {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.portal-ic img { width: 32px; height: 32px; }
.portal-ic-customer { background: linear-gradient(135deg, rgba(46,117,182,.2), rgba(46,117,182,.05)); border-color: rgba(46,117,182,.35); }
.portal-ic-merchant { background: linear-gradient(135deg, rgba(232,80,10,.22), rgba(232,80,10,.06)); border-color: rgba(232,80,10,.4); }
.portal-ic-admin    { background: linear-gradient(135deg, rgba(201,168,76,.22), rgba(201,168,76,.08)); border-color: rgba(201,168,76,.35); }

.portal-card-featured {
  border-color: rgba(232,80,10,.5);
  background:
    linear-gradient(165deg, rgba(232,80,10,.08), rgba(232,80,10,0) 55%),
    var(--surface);
  box-shadow: 0 30px 60px rgba(232,80,10,.12);
}
.portal-card-featured .badge {
  position: absolute; top: -10px; right: 18px;
  background: var(--brand); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--shadow-brand);
}
.portal-card-gold {
  border-color: rgba(201,168,76,.45);
  background:
    linear-gradient(165deg, rgba(201,168,76,.08), rgba(201,168,76,0) 55%),
    var(--surface);
}
.portal-foot { text-align: center; margin-top: 28px; }
.portal-foot code { color: var(--gold); }

/* ========= Global text/alignment touchups ========= */

/* Section headings: balance wrapping on wide screens */
.section-head h2 { text-wrap: balance; letter-spacing: -0.01em; }
.section-head .lede { text-wrap: pretty; max-width: 640px; }

/* Hero headline tightening */
.hero h1 {
  text-wrap: balance;
  font-size: clamp(44px, 6.4vw, 96px);
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.hero .sub { text-wrap: pretty; }

/* Consistent step-card body sizing */
.step-card p { font-size: 14.5px; line-height: 1.55; }

/* Product cards — title alignment under SVG */
.product h4 { font-size: 16px; margin-top: 2px; }
.product p  { font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 52px; }
.product .price { display: block; margin-top: 10px; font-family: 'JetBrains Mono', monospace; color: var(--cream); font-size: 12.5px; letter-spacing: 0.02em; }

/* Pricing card tier list alignment */
.tier ul li { text-align: left; line-height: 1.5; }

/* Consent checkbox alignment on the rewards page */
.rewards .consent { align-items: flex-start; gap: 10px; }
.rewards .consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--brand); }
.rewards .consent span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Long reward titles: allow 2-line balanced wraps on phone mock */
.rewards .offer h1 { text-wrap: balance; }

/* Demo phone frame: keep telemetry on one line on desktop */
.demo-telemetry { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Nav CTA gap tweak on small screens */
@media (max-width: 720px) {
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding: 8px 12px; font-size: 12.5px; }
}

/* Buttons: inline-flex to center icons + text cleanly */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* Footer grid: tighter on mid-size screens */
@media (max-width: 1080px) and (min-width: 861px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; }
}

/* Shared small quick-login toast (home portals) */
.quick-login-toast {
  position: fixed; left: 50%; bottom: 36px; transform: translate(-50%, 40px);
  background: var(--surface); border: 1px solid var(--brand); color: var(--cream);
  padding: 12px 18px; border-radius: 999px; font-size: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: all .35s cubic-bezier(.2,.8,.2,1);
  z-index: 200;
}
.quick-login-toast.show { opacity: 1; transform: translate(-50%, 0); }


/* Rewards page demo banner (the little pill above the phone) */
.r-demo-banner {
  display: inline-flex; gap: 10px; align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px dashed var(--brand);
  border-radius: 999px;
  background: rgba(232,80,10,.08);
}
.r-demo-banner img { width: 18px; height: 18px; }
.r-demo-banner .pill { padding: 3px 9px; font-size: 10px; }
.r-demo-banner .r-demo-url { font-size: 12px; color: var(--cream); font-family: 'JetBrains Mono', monospace; }

/* =========================================================
   Launch-readiness additions: segment switcher, SVG icons,
   billing banner, legal pages, and fit-and-finish tweaks.
   ========================================================= */

/* --- Per-segment accent tokens (reuse existing palette) --- */
:root {
  --accent-bar:        #E8500A;
  --accent-cafe:       #C9A84C;
  --accent-restaurant: #E8500A;
  --accent-pizza:      #E8C330;
  --accent-salon:      #E27BB8;
  --accent-gym:        #3CCB7F;
  --accent-dispensary: #3CCB7F;
  --accent-retail:     #F5ECD7;
  --accent-hotel:      #C9A84C;
  --accent-festival:   #FF6B1F;
  --accent-nightclub:  #2E75B6;
  --accent-casino:     #E84A4A;
}

/* --- Vertical switcher section --- */
.verticals-section { padding: 96px 0; background: linear-gradient(180deg, #0A0A0A 0%, #0D0D10 100%); border-top: 1px solid #1A1A1E; border-bottom: 1px solid #1A1A1E; }
.seg-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin: 40px 0 32px;
}
.seg-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 12px;
  cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600;
  text-align: left;
  transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.seg-tab:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.seg-tab.active {
  background: linear-gradient(180deg, rgba(232,80,10,.14), rgba(232,80,10,.04));
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(232,80,10,.15);
}
.seg-tab .seg-ic {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--cream);
  filter: drop-shadow(0 0 0 currentColor);
}
.seg-tab.active .seg-ic { color: var(--brand); }

.seg-card {
  background: linear-gradient(165deg, #141416, #0F0F12);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.seg-headline { max-width: 780px; margin-bottom: 28px; }
.seg-headline h3 {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  line-height: 1.1;
}
.seg-headline p { margin-top: 10px; font-size: 15px; }
.seg-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.seg-feat {
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.seg-feat h5 { color: var(--white); font-size: 15px; margin: 12px 0 6px; font-weight: 700; }
.seg-feat p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.seg-feat-ic {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(232,80,10,.08);
  border: 1px solid rgba(232,80,10,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.seg-feat-ic img { width: 22px; height: 22px; }

/* --- Replace emoji feature-icons when they contain inline SVGs --- */
.feat-icon img { width: 22px; height: 22px; color: var(--brand); }

/* --- Newsletter status --- */
.newsletter[data-newsletter] { position: relative; }
.newsletter[data-newsletter].ok button { background: var(--good); border-color: var(--good); color: #0A0A0A; }
.newsletter[data-newsletter].err button { background: var(--bad); border-color: var(--bad); }
[data-newsletter-msg].ok { color: var(--good); }
[data-newsletter-msg].err { color: var(--bad); }

/* --- Signup plan chip --- */
.plan-chip {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 12px;
  background: rgba(232,80,10,.1); border: 1px solid var(--brand);
  color: var(--cream); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 10px;
}
.plan-chip strong { color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }

/* --- Billing banner for the dashboard --- */
.billing-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(232,80,10,.12), rgba(232,80,10,0));
  border: 1px solid rgba(232,80,10,.3);
  color: var(--cream); font-size: 14px;
  margin-bottom: 24px;
}
.billing-banner .btn { margin-left: auto; }
.error-card {
  border-color: rgba(232,74,74,.36);
  background:
    linear-gradient(180deg, rgba(232,74,74,.09), rgba(232,74,74,.03)),
    var(--surface);
}
.error-card .sub {
  color: var(--muted);
}

/* --- :focus-visible accessibility ring --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- prefers-reduced-motion guards --- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .confetti, .tap-burst, .tap-ring, .nfc-wave { animation: none !important; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* --- legal page minimal styling --- */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 72px 24px 120px; color: var(--ink); }
.legal-wrap h1 { font-family: 'Syne','Inter',sans-serif; font-size: clamp(32px,4vw,44px); color: var(--white); margin-bottom: 8px; }
.legal-wrap h2 { color: var(--white); margin: 28px 0 8px; font-size: 20px; }
.legal-wrap p, .legal-wrap li { color: var(--ink); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 12px; }
.legal-wrap a { color: var(--brand); }
.legal-wrap .muted-note {
  padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--muted); font-size: 13px; margin-bottom: 24px;
}
.legal-wrap .back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 32px; color: var(--muted); font-size: 13px; }

/* --- table-scroll utility --- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- scan-demo-grid gap fix when right column is shorter --- */
@media (min-width: 960px) and (max-width: 1240px) {
  .scan-demo-grid { align-content: start; }
}



/* ===================================================================
   PHONE-WIDTH POLISH  (≤ 480px)
   Tightens copy padding, typography, and modals on actual phones.
   =================================================================== */
@media (max-width: 480px) {
  /* Containers — less horizontal padding so text has room to breathe */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero typography scales down */
  .hero h1 { font-size: clamp(38px, 11vw, 56px); line-height: 1; }
  .hero .sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-social { flex-wrap: wrap; gap: 6px 10px; font-size: 12px; }

  /* Section heads */
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); line-height: 1.05; }
  .section-head .lede { font-size: 14.5px; }

  /* Closing CTA */
  .closing h2 { font-size: clamp(32px, 9vw, 52px); }
  .closing .btn-row .btn { width: 100%; }

  /* Pricing — already stacked, but tighten card padding */
  .tier { padding: 24px 20px; }
  .tier .tprice { font-size: 40px; }

  /* Products 2-col → 1-col on phone */
  .products { grid-template-columns: 1fr !important; gap: 14px; }

  /* Nav CTAs: only show "Get started" label — "Sign in" link still clickable, sized down */
  .nav-cta .btn { padding: 8px 12px; font-size: 12px; }

  /* Testimonial block */
  .testimonial .quote { font-size: 18px; line-height: 1.35; }

  /* Marketing segment tabs (if using the vertical switcher) */
  .seg-tab { flex: 0 0 auto; scroll-snap-align: start; }
  .seg-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; gap: 6px; padding-bottom: 6px; }

  /* Footer: tighten */
  .foot-grid { gap: 28px; }
  .foot h5 { font-size: 12px; }
  .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Generic modal on phones — full-bleed sheet */
  .lc-modal { border-radius: 16px !important; padding: 20px !important; width: 100% !important; max-height: 92vh !important; }
  .lc-modal h3 { font-size: 18px !important; }
  .lc-modal-actions { flex-direction: column-reverse; }
  .lc-modal-actions .btn { width: 100%; justify-content: center; }
  .lc-modal-backdrop { padding: 12px !important; align-items: flex-end !important; }

  /* Toasts: full width */
  #lc-toast-host { left: 12px !important; right: 12px !important; bottom: 12px !important; }
  #lc-toast-host > div { width: 100%; max-width: 100% !important; min-width: 0 !important; }

  /* Dashboard sidebar — collapse on mobile (viewed via admin/merchant login) */
  .app { grid-template-columns: 1fr !important; }
  .sidebar { position: sticky; top: 0; z-index: 40; padding: 12px 16px; border-bottom: 1px solid var(--border); border-right: 0; max-height: none; }
  .sidebar .side-foot, .sidebar .side-nav .side-group-title { display: none; }
  .sidebar .side-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 8px 0 0; overflow-x: auto; }
  .sidebar .side-nav a { padding: 6px 10px; font-size: 12px; white-space: nowrap; }

  /* Dashboard topbar — shrink search; hide ⌘K hint */
  .topbar { padding: 10px 12px; gap: 8px; }
  .topbar .search { flex: 1 1 auto; min-width: 0; }
  .topbar .search .mono { display: none; }
  .topbar .actions .btn { display: none; }
  .topbar .actions { gap: 6px; }

  /* Dashboard content padding */
  .content { padding: 16px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* KPIs already stack; tighten value text */
  .kpi .kval { font-size: 28px; }

  /* Tables — allow horizontal scroll instead of crushing */
  .table-card table { min-width: 640px; }
  .table-card .table-head { flex-direction: column; align-items: flex-start; gap: 10px; position: sticky; left: 0; }
  .table-card .filters { flex-wrap: wrap; gap: 6px; width: 100%; }
  .table-card .filters input, .table-card .filters select { min-width: 0; flex: 1; }

  /* Lead / visitor grid rows — give them a comfy min-width when filtering on mobile */
  #leads-table .lead-row, #leads-table .lead-head,
  #visits-table .visitor-row, #visits-table .visitor-head { min-width: 520px; }

  /* Hero chip stack doesn't dominate on phones */
  .hero-scan-visual { max-width: 340px; }
  .hero .hero-social { gap: 6px 10px; font-size: 11px; }
  .hero .hero-social .dot { display: none; }

  /* Tap target boost — 44px min on small buttons in sidebars and action bars */
  .btn-sm { min-height: 40px; }
  .iconbtn { min-height: 40px; min-width: 40px; }

  /* Method tabs and chip picker on home demo — lay out horizontally scrollable */
  .scan-method-tabs, .scan-chip-picker { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scroll-snap-type: x mandatory; }
  .scan-method-tabs button, .scan-chip-picker button { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ===================================================================
   TABLET POLISH (481-820)
   =================================================================== */
@media (min-width: 481px) and (max-width: 820px) {
  .hero-cta { flex-wrap: wrap; }
  .closing .btn-row { flex-wrap: wrap; }
  .lc-modal { max-width: 560px; }
  .lc-modal-actions { flex-wrap: wrap; }

  /* Dashboard: sidebar narrower */
  .sidebar { padding: 14px; }
  .sidebar .side-foot { padding: 10px; }
}

/* ===================================================================
   INLINE LEAD CAPTURE (home #scan-demo)
   Appears right after the demo so owners can grab their own demo venue
   =================================================================== */
.lead-capture {
  margin-top: 60px;
  background:
    radial-gradient(ellipse 60% 80% at 18% 0%, rgba(232,80,10,.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 90% 100%, rgba(201,168,76,.10), transparent 60%),
    linear-gradient(180deg, #141011 0%, #0D0B0C 100%);
  border: 1px solid rgba(232,80,10,.28);
  border-radius: 22px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.lead-capture::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 40%, rgba(232,80,10,.08), transparent 40%);
  pointer-events: none;
}
.lead-capture-inner { position: relative; z-index: 1; }
.lead-capture-head { max-width: 720px; margin-bottom: 24px; }
.lead-capture-head .eyebrow {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin-bottom: 10px;
}
.lead-capture-head h3 {
  font-family: 'Syne','Inter',sans-serif; font-weight: 800;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.15;
  color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px;
}
.lead-capture-head .accent { color: var(--brand); font-style: italic; }
.lead-capture-head .muted { font-size: 13px; max-width: 600px; }

.lead-capture-form { display: flex; flex-direction: column; gap: 14px; }
.lc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.lc-field { display: flex; flex-direction: column; gap: 6px; }
.lc-field > span {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.lc-field > span em { color: var(--brand); font-style: normal; }
.lc-field input, .lc-field select {
  width: 100%; padding: 12px 14px;
  background: rgba(10,10,10,.6); border: 1px solid var(--border);
  color: var(--white); border-radius: 10px; font: 14px/1.3 Inter, system-ui;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lc-field input:focus, .lc-field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232,80,10,.2);
}
.lc-field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%),
                    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 36px;
}
.lc-actions {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 6px;
}
.lc-msg {
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
}
.lc-msg.ok  { color: var(--good); }
.lc-msg.err { color: #ff6b4a; }
.lc-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 12px; font-size: 12px; color: var(--muted-2);
}
.lc-trust .dot {
  width: 3px; height: 3px; background: var(--muted-2); border-radius: 50%; display: inline-block;
}

@media (max-width: 720px) {
  .lead-capture { padding: 28px 22px; margin-top: 48px; }
  .lc-row { grid-template-columns: 1fr; gap: 12px; }
  .lc-actions .btn { width: 100%; justify-content: center; }
  .lc-trust { gap: 8px 10px; }
}

/* ===================================================================
   Admin HQ — Visitor activity + Leads panel
   =================================================================== */
.visitor-row {
  display: grid; grid-template-columns: 120px 1fr 100px 110px 110px 120px;
  gap: 14px; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.visitor-row:last-child { border-bottom: 0; }
.visitor-row .v-path {
  color: var(--white); font-family: 'JetBrains Mono', monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.visitor-row .v-time { color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.visitor-row .v-dev  { text-transform: capitalize; }
.visitor-row .v-dev.mobile  { color: var(--brand); }
.visitor-row .v-dev.desktop { color: var(--accent-blue); }
.visitor-row .v-dev.tablet  { color: var(--gold); }
.visitor-row .v-ip {
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted-2);
  font-size: 11px;
}
.visitor-head {
  display: grid; grid-template-columns: 120px 1fr 100px 110px 110px 120px;
  gap: 14px; padding: 10px 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) {
  .visitor-row, .visitor-head { grid-template-columns: 1fr; gap: 4px; }
  .visitor-head .v-c { display: none; }
  .visitor-head .v-path-head { display: block; }
  .visitor-row .v-path { font-weight: 700; }
}
.lead-row {
  display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 1.2fr 120px;
  gap: 14px; align-items: center; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.lead-row:last-child { border-bottom: 0; }
.lead-row .l-email  { color: var(--white); font-weight: 600; }
.lead-row .l-venue  { color: var(--cream); }
.lead-row .l-city   { color: var(--muted); }
.lead-row .l-seg    { text-transform: capitalize; color: var(--muted-2); }
.lead-row .l-time   { font-family: 'JetBrains Mono', monospace; color: var(--muted); font-size: 11px; }
.lead-row select {
  background: var(--surface-2); color: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 8px; font-size: 11px; width: 100%;
}
.lead-head {
  display: grid; grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 1.2fr 120px;
  gap: 14px; padding: 10px 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) {
  .lead-row, .lead-head { grid-template-columns: 1fr; gap: 4px; }
  .lead-row .l-time, .lead-row .l-seg { font-size: 11px; }
}

/* =========================================================
   SIMPLIFIED OVERHAUL — trust strip, features, hardware, FAQ, two-plan pricing
   ========================================================= */

/* Trust strip under the hero — compact, no segment switching */
.trust-strip {
  background: #0E0E12;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.trust-strip .trust-item {
  color: var(--cream);
  position: relative;
}
.trust-strip .trust-item:not(:last-child)::after {
  content: '·';
  margin-left: 24px;
  color: var(--border-strong);
}

/* Features section (replaces the giant venue/customer toggle) */
.features-section { padding: 80px 0; }
.features-section .feat-grid { margin-top: 32px; }

/* Hardware section (replaces the 5-product grid) */
.hardware-section { padding: 80px 0; background: #0D0D11; }
.hardware-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 32px;
}
@media (max-width: 960px) { .hardware-grid { grid-template-columns: 1fr; } }
.hardware-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s ease, transform .25s ease;
}
.hardware-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.hardware-card h4 {
  color: var(--white);
  font-family: 'Syne', Inter;
  font-size: 20px; font-weight: 700;
  margin: 0;
}
.hardware-visual {
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #141418 0%, #0B0B10 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.hardware-visual img {
  max-width: 100%; max-height: 140px; object-fit: contain;
}
.hardware-price {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.hardware-price strong {
  font-family: 'Syne', Inter;
  font-size: 32px; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em;
}
.hardware-price span { color: var(--muted); font-size: 14px; }
.hardware-price em {
  margin-left: 6px; font-style: normal;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.hardware-card-elite {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(180deg, rgba(201,168,76,0.06) 0%, var(--surface) 100%);
}
.hardware-card-elite h4 { color: var(--gold); }
.hardware-card-elite .hardware-price strong { color: var(--gold); }
.hardware-card-elite .badge.badge-gold {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #0A0A0A;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  padding: 4px 10px; border-radius: 20px;
}
.hardware-note {
  text-align: center; margin-top: 22px;
}

/* Two-plan pricing grid (replaces 4-column grid) */
.pricing-grid-two {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  gap: 22px;
}
@media (max-width: 720px) { .pricing-grid-two { grid-template-columns: 1fr !important; } }
.pricing-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
}
@media (max-width: 980px) { .pricing-grid-three { grid-template-columns: 1fr !important; } }

.tier-v2 {
  padding: 36px 32px;
  gap: 18px;
}
.tier-v2 .tier-summary {
  margin: -6px 0 4px;
  font-size: 13px;
}
.tier-v2 ul { gap: 12px; }
.tier-v2 ul li { font-size: 14.5px; line-height: 1.5; }

/* Add-on strip under pricing */
.addon-strip {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--surface);
}
.addon-strip h4 {
  color: var(--white);
  font-family: 'Syne', Inter;
  font-size: 16px; font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.addon-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .addon-grid { grid-template-columns: 1fr; } }
.addon {
  background: #0B0B10;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.addon strong {
  color: var(--cream); font-size: 14px; font-weight: 700;
}
.addon span {
  color: var(--muted); font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
}

.hardware-price-table {
  margin-top: 42px;
}

.hardware-price-table table {
  min-width: 760px;
}

.hardware-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .hardware-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hardware-grid-five { grid-template-columns: 1fr; }
}

.demo-simple {
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}

.demo-simple .card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 32px;
  max-width: 980px; margin-left: auto; margin-right: auto;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: border-color .2s ease;
}
.faq[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer; list-style: none;
  color: var(--white);
  font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--brand);
  font-size: 22px; font-weight: 400; line-height: 1;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px; line-height: 1.55;
}

/* =========================================================
   AUDIT PASS — styles for JS-injected founder counter, trust row,
   logo strip, testimonials, OAuth buttons, Google Reviews nudge.
   ========================================================= */

.hero-proof-bar {
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  margin: 0 0 48px;
  padding: 24px;
  background: #0E0E12;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.founder-counter {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(232, 80, 10, 0.08);
  border: 1px solid rgba(232, 80, 10, 0.35);
  color: var(--cream);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; line-height: 1.3;
}
.founder-counter strong { color: var(--white); font-weight: 700; }
.founder-counter .fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(232, 80, 10, 0.6);
  animation: fc-pulse 2.2s ease-out infinite;
}
@keyframes fc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 80, 10, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(232, 80, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 80, 10, 0); }
}
.founder-counter-closing {
  display: inline-flex;
  margin: 18px auto 6px;
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.4);
}
.founder-counter-closing .fc-dot { background: var(--gold); }

.hero-stats-row {
  display: flex; gap: 12px 18px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.hero-stats-row strong { color: var(--white); font-weight: 700; margin-right: 4px; }

.logo-strip {
  display: flex; gap: 10px 22px; flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.logo-strip-label {
  color: var(--muted);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}
.logo-strip-name {
  color: var(--cream);
  font-family: 'Syne', Inter;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  opacity: 0.85;
}

.pricing-fineprint {
  margin: 22px auto 0;
  max-width: 820px;
  text-align: center;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  display: flex; gap: 6px 10px; flex-wrap: wrap;
  justify-content: center; align-items: center;
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
}

.cta-subline { margin-top: 10px; font-size: 12.5px; }
.cta-subline-hero { margin-top: 12px; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto 34px;
}
@media (max-width: 760px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 0;
  text-align: left;
}
.testimonial-card blockquote {
  margin: 0;
  color: var(--white);
  font-family: 'Syne', Inter;
  font-size: 16.5px; font-weight: 500; line-height: 1.45;
  letter-spacing: -0.01em;
}
.testimonial-card blockquote::before {
  content: '\201C';
  color: var(--brand);
  margin-right: 4px;
  font-size: 28px;
  vertical-align: -6px;
}
.testimonial-card figcaption {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.testimonial-card figcaption strong {
  color: var(--cream); font-size: 14px; font-weight: 700;
}

.oauth-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 0 0 14px;
}
@media (max-width: 440px) { .oauth-row { grid-template-columns: 1fr; } }
.oauth-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--white); color: #0A0A0A;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 600; font-size: 13.5px;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.oauth-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
.oauth-btn.oauth-apple {
  background: #0A0A0A; color: var(--white); border-color: var(--border-strong);
}
.oauth-btn[aria-disabled="true"] {
  opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none;
}
.oauth-divider {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; margin: 8px 0 14px;
}
.oauth-divider::before, .oauth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.review-nudge {
  margin-top: 22px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(66,133,244,0.10) 0%, rgba(66,133,244,0.02) 100%);
  border: 1px solid rgba(66,133,244,0.35);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.review-nudge h4 { color: var(--white); font-size: 15px; margin: 0; font-weight: 700; }
.review-nudge p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.5; }
.review-nudge .review-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #4285F4; color: #fff;
  border-radius: 10px; padding: 10px 14px;
  font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.review-nudge .review-cta:hover { background: #3367D6; }
