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

@import url('https://fonts.googleapis.com/css2?family=Outfit: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;
}

.lp-proof {
  background: #f8fafc;
}

.lp-proof .section-head {
  margin-bottom: 28px;
}

.lp-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.lp-faq-item {
  min-height: 100%;
  padding: 18px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.lp-faq-item summary {
  cursor: pointer;
  color: #0b1736;
  font-weight: 800;
  line-height: 1.25;
}

.lp-faq-item p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .lp-faq-list {
    grid-template-columns: 1fr;
  }
}

/* Public conversion checkout and features additions */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line, var(--border));
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: currentColor;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.nav-toggle:focus-visible,
.checkout-close:focus-visible,
.checkout-modal .btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.modal-open { overflow: hidden; }
.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(7, 19, 38, .56);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .16s ease;
}
.checkout-modal-backdrop.open { opacity: 1; }
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.checkout-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.checkout-modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d9e2ee;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .22);
  color: #0b1736;
  padding: 30px;
}
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0b1736;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.checkout-modal-head { padding-right: 44px; }
.checkout-modal-head h2 {
  color: #0b1736;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.02;
  margin-top: 8px;
}
.checkout-modal-head p {
  max-width: 560px;
  color: #475569;
  margin-top: 10px;
}
.checkout-summary {
  margin-top: 22px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #f3f6fa;
  padding: 18px;
}
.checkout-price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  color: #0b1736;
  font-weight: 800;
}
.checkout-price-row strong {
  color: #102a56;
  font-size: 22px;
  white-space: nowrap;
}
.checkout-includes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.checkout-includes li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
}
.checkout-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #102a56;
}
.checkout-notes {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.checkout-notes p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}
.checkout-notes strong { color: #0b1736; }
.checkout-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #475569;
  font-size: 13px;
}
.checkout-status.err { color: #b42318; }
.checkout-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 226, 238, .8);
  background: #ffffff;
  box-shadow: 0 -14px 24px rgba(255, 255, 255, .92);
}
.checkout-actions .btn { min-height: 48px; }

.features-hero { min-height: auto; }
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-detail,
.capability-item {
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
  padding: 22px;
}
.feature-detail > img {
  width: 100%;
  max-width: 220px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}
.feature-detail h3,
.capability-item h3 {
  color: #0b1736;
  font-size: 22px;
  line-height: 1.12;
}
.feature-detail p,
.capability-item p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 8px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.capability-item span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #102a56;
  font-weight: 800;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { position: relative; }
  .nav-links[data-nav-links] {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    z-index: 20;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d9e2ee;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .14);
    flex-direction: column;
    gap: 4px;
  }
  .nav-links[data-nav-links].open { display: flex; }
  .nav-links[data-nav-links] a {
    display: flex;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .feature-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .checkout-modal {
    align-items: end;
    padding: 10px;
  }
  .checkout-modal-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 22px 18px 18px;
  }
  .checkout-includes,
  .checkout-actions,
  .feature-detail-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .checkout-actions {
    position: sticky;
    bottom: 0;
    padding-top: 12px;
    background: linear-gradient(to top, #ffffff 80%, rgba(255,255,255,0));
  }
  .checkout-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .checkout-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .checkout-modal-head h2 { font-size: 30px; }
  .checkout-modal-panel { border-radius: 8px; }
  .feature-detail,
  .capability-item { padding: 18px; }
}

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; scroll-padding-top: 84px; }
body {
  font-family: 'Outfit', 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', 'Outfit', sans-serif; font-weight: 800; font-size: clamp(44px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
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: 650; color: #c9c5bc;
  transition: color .15s ease, transform .15s ease;
}
.nav-links a:hover { color: var(--white); transform: translateY(-1px); }
.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: 12px;
  color: var(--white); font-weight: 800;
  font-size: 17px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px; height: 34px;
  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','Outfit',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); }
.logo-img {
  display: block;
  width: min(196px, 48vw);
  height: auto;
}

/* =========== 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-title { margin-top: 24px; max-width: 650px; }
.hero-title .accent {
  color: var(--brand);
  font-style: italic;
  text-shadow: 0 18px 52px rgba(232,80,10,.28);
}
.hero-title .accent-line {
  width: max-content;
  max-width: 100%;
  color: var(--brand);
  text-shadow: 0 18px 52px rgba(232,80,10,.28);
}
.hero .sub { margin-top: 24px; font-size: clamp(20px, 1.65vw, 23px); color: #f3e8d0; max-width: 650px; line-height: 1.38; letter-spacing: -.01em; }
.hero-price-line {
  margin-top: 18px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: #cfc8b9; font-size: 14px;
}
.hero-price-line strong { color: var(--cream); font-weight: 800; }
.hero-price-line .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(245,236,215,.38); }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-micro-trust {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  margin-top: 16px;
}
.hero-social { margin-top: 30px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero-social .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.hero-proof-chips span {
  display: inline-flex; align-items: center;
  min-height: 30px; padding: 6px 11px;
  border: 1px solid rgba(245,236,215,.13);
  border-radius: 999px;
  color: #d9d0bd;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.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', 'Outfit', 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', 'Outfit', 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', 'Outfit'; font-weight: 800; font-size: 18px;
  border: 1px solid rgba(232,80,10,.25);
  flex-shrink: 0;
}
.step-card h4 { color: var(--white); font-size: 17px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Tap -> Claim -> Dashboard flow connectors for the step-card row */
.step-head {
  display: flex; align-items: center; gap: 12px;
  justify-content: space-between;
}
.step-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(245,236,215,.05);
  border: 1px solid rgba(245,236,215,.1);
  color: #d9d0bd;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
}
.step-tag img {
  width: 13px; height: 13px;
  filter: brightness(0) invert(1) opacity(.72);
}
.flow-grid {
  position: relative;
}
@media (min-width: 901px) {
  .flow-grid { align-items: stretch; }
  .flow-grid .step-card { position: relative; }
  .flow-grid .step-card + .step-card::before {
    content: '';
    position: absolute;
    top: 50px;
    left: -22px;
    width: 18px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,80,10,.55), rgba(232,80,10,.0));
  }
  .flow-grid .step-card + .step-card::after {
    content: '';
    position: absolute;
    top: 46px;
    left: -10px;
    width: 0; height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid rgba(232,80,10,.55);
  }
}

/* =========== 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', 'Outfit'; 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', 'Outfit'; 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: 'Outfit', sans-serif; }
.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: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.socials a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.socials a svg { display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* =========================================================
   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: 'Outfit', sans-serif; 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', 'Outfit'; 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; } }

/* Reward redemption + plan snapshot cards */
.redemption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.redemption-grid .kpi { padding: 14px 16px; }
.redemption-grid .kval { font-size: 22px; }
.redemption-empty {
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.redemption-empty[hidden] { display: none; }
.redemption-empty strong { color: var(--white); font-size: 14px; }
.plan-snapshot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
}
.plan-snap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.plan-snap-row:last-child { border-bottom: 0; }
.plan-snap-row strong { color: var(--white); font-weight: 700; font-size: 13px; }
.plan-snap-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .redemption-grid { 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', 'Outfit'; 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-title { margin-left: auto; margin-right: auto; }
  .hero-title .accent-line { margin-left: auto; margin-right: auto; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .hero-price-line { justify-content: center; }
  .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-scan-visual picture { display: contents; }
.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: 640px;
}
.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 {
  display: grid;
  align-items: start;
  justify-items: center;
  align-content: center;
  aspect-ratio: auto;
  max-width: 640px;
  /* Soft slate lift sits behind the product family photo. */
  filter: drop-shadow(0 50px 90px rgba(0,0,0,.55)) drop-shadow(0 0 44px rgba(232,80,10,.08));
}
.hero-scan-visual.hero-product-family picture {
  display: block;
  width: 100%;
}
.hero-scan-visual.hero-product-family .hero-art-main {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
  box-shadow: none;
  /* Fade the bottom of the photo into the dark hero so the pale surface reads
     as an intentional stage rather than a cropped rectangle. */
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, rgba(0,0,0,.9) 82%, rgba(0,0,0,.35) 94%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, #000 72%, rgba(0,0,0,.9) 82%, rgba(0,0,0,.35) 94%, transparent 100%);
  animation: heroFloat 7s ease-in-out infinite;
}
.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: 480px; }
  .hero.hero-refined::after { opacity: .1; width: 340px; inset: auto -80px -40px auto; }
  .hero-scan-visual.hero-art { max-width: 480px; }
  .hero-scan-visual.hero-product-family { max-width: 480px; }
  .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', 'Outfit', 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', 'Outfit', 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','Outfit',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 { padding: 56px 0 72px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); line-height: 1; }
  .hero-title { margin-top: 18px; }
  .hero .sub { font-size: 15.5px; margin-top: 18px; line-height: 1.45; }
  .hero-price-line { margin-top: 14px; gap: 8px; font-size: 13px; }
  .hero-cta { margin-top: 22px; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-social { margin-top: 18px; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; }
  .hero-proof-chips span { padding: 5px 10px; font-size: 11.5px; }

  /* 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','Outfit',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 'Outfit', 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; }
}

/* Homepage upgrade loop + collapsed demo */
.upgrade-loop-section {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 20%, rgba(201,168,76,.08), transparent 58%),
    #09090b;
  border-top: 1px solid #1A1A1E;
  border-bottom: 1px solid #1A1A1E;
}
.upgrade-loop-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.upgrade-loop-grid h2 {
  max-width: 15ch;
  font-family: 'Syne','Outfit',sans-serif;
}
.upgrade-loop-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.upgrade-loop-steps span {
  border: 1px solid rgba(245,236,215,.14);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(245,236,215,.04);
  padding: 8px 12px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.upgrade-loop-figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.upgrade-loop-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.tour-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse 70% 50% at 84% 18%, rgba(232,80,10,.16), transparent 58%),
    var(--bg);
}
.tour-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.tour-hero h1 {
  max-width: 11ch;
  font-family: 'Syne','Outfit',sans-serif;
}
.tour-hero-media {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(0,0,0,.46);
}
.tour-hero-media img,
.tour-card-img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.tour-hero-media img { aspect-ratio: 4 / 3; }
.tour-card-img {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .tour-hero-grid { grid-template-columns: 1fr; }
  .tour-hero h1 { max-width: 100%; }
}

/* Vertical ad landing pages */
.lp-body .nav-links,
.lp-body .nav-cta .btn-ghost { display: none; }
.lp-hero {
  min-height: 82vh;
  padding: 104px 0 72px;
  display: flex;
  align-items: center;
  background: #0a0a0a;
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.lp-hero h1 {
  max-width: 12ch;
  font-family: 'Syne','Outfit',sans-serif;
}
.lp-hero .sub {
  color: #f3e8d0;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.42;
  max-width: 620px;
  margin-top: 22px;
}
.lp-media {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 34px 90px rgba(0,0,0,.52);
}
.lp-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.lp-econ {
  padding: 76px 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-econ-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lp-econ-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.lp-econ-card strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
}
.lp-econ-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.lp-pricing {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lp-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.lp-footer .foot-bottom { padding-top: 0; border-top: 0; }
@media (max-width: 860px) {
  .lp-hero-grid,
  .lp-econ-grid,
  .lp-pricing { grid-template-columns: 1fr; }
  .lp-hero h1 { max-width: 100%; }
}
.demo-details {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}
.demo-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}
.demo-details summary::-webkit-details-marker { display: none; }
.demo-details summary strong {
  display: block;
  color: var(--white);
  font-family: 'Syne','Outfit',sans-serif;
  font-size: 21px;
  margin-bottom: 4px;
}
.demo-details summary em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.45;
}
.demo-details-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(232,80,10,.12);
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.demo-details[open] .demo-details-icon { transform: rotate(45deg); }
.demo-details .demo-simple {
  padding: 0 24px 24px;
}
@media (max-width: 860px) {
  .upgrade-loop-grid { grid-template-columns: 1fr; }
  .upgrade-loop-grid h2 { max-width: 100%; }
}

/* ===================================================================
   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', 'Outfit';
  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', 'Outfit';
  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', 'Outfit';
  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', 'Outfit';
  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', 'Outfit';
  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.62; cursor: not-allowed; transform: none; box-shadow: none;
}
.oauth-btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.oauth-row-pending .oauth-btn { position: relative; }
.oauth-pending-msg {
  margin: 4px 0 12px;
  padding: 10px 12px;
  background: rgba(245,236,215,.04);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--cream); font-size: 12.5px; line-height: 1.5;
}
.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; }

/* =========================================================
   Editorial pass — homepage UI redesign (Apr 2026)
   Skip link, asymmetric section heads, four-format product
   family grid, hero figcaption tags, honest pre-launch proof,
   demo bullets, "every plan includes" line.
   ========================================================= */

/* Skip-link for keyboard / screen-reader users */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--brand); color: #fff;
  padding: 12px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--cream); outline-offset: 2px; }

/* Asymmetric editorial section heads — left-aligned, generous, with a brand rule */
.section-head-asym {
  text-align: left;
  margin: 0 0 64px;
  max-width: 880px;
  padding-left: 0; padding-right: 0;
  position: relative;
}
.section-head-asym .eyebrow {
  display: inline-block;
  padding-left: 32px;
  position: relative;
}
.section-head-asym .eyebrow::before {
  content: ''; position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--brand);
  transform: translateY(-50%);
}
.section-head-asym h2 {
  margin-top: 16px;
  max-width: 18ch;
  font-family: 'Syne', 'Outfit', sans-serif;
}
.section-head-asym .lede {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  opacity: .82;
}
@media (max-width: 720px) {
  .section-head-asym { margin-bottom: 40px; }
  .section-head-asym h2 { max-width: 100%; }
}

/* Hero figcaption — small caps tags under the product family photo */
.hero-art-caption {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 520px);
  margin: 16px auto 0;
  padding: 0;
}
.hero-art-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(245,236,215,.06);
  border: 1px solid rgba(245,236,215,.14);
  padding: 6px 10px;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .hero-art-caption { width: min(100%, 480px); }
}

/* Pre-launch honest proof bar — replaces fake-luxury logo strip */
.hero-proof-honest {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 22px;
  margin-bottom: 56px;
  background: linear-gradient(90deg, rgba(232,80,10,.07), rgba(232,80,10,0));
  border: 1px solid rgba(232,80,10,.22);
  border-radius: 14px;
}
.hero-proof-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand);
  flex-shrink: 0;
}
.hero-proof-line {
  font-size: 14px; line-height: 1.5;
  color: var(--cream);
  margin: 0;
}
.hero-proof-line a {
  color: var(--brand); font-weight: 700;
  border-bottom: 1px solid rgba(232,80,10,.4);
  transition: border-color .15s ease, color .15s ease;
}
.hero-proof-line a:hover { color: var(--brand-hover); border-bottom-color: var(--brand-hover); }
@media (max-width: 600px) {
  .hero-proof-honest { padding: 12px 16px; }
}

/* Four-format hardware grid — asymmetric, the "feature" card spans wider */
.hardware-section-v2 { padding: 96px 0; }
.hardware-grid-four {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.hardware-grid-four .hardware-card-format {
  grid-column: span 6;
  display: flex; flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.hardware-grid-four .hardware-card-format .hardware-visual {
  aspect-ratio: 16 / 10;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: linear-gradient(180deg, #1B1B22 0%, #0F0F14 100%);
  padding: 32px;
}
.hardware-grid-four .hardware-card-format .hardware-visual img {
  max-height: 180px; max-width: 78%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.5));
}
.hardware-grid-four .hardware-card-format .hardware-visual img[src*="assets/img/product/"] {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 12px;
}
.hardware-visual picture,
.tour-hero-media picture,
.lp-media picture,
.demo-card-visual picture,
.upgrade-loop-figure picture {
  display: block;
  width: 100%;
  height: 100%;
}
.card > picture {
  display: block;
  width: 100%;
}
.hardware-visual picture img,
.tour-hero-media picture img,
.lp-media picture img,
.demo-card-visual picture img,
.upgrade-loop-figure picture img {
  display: block;
  width: 100%;
  height: 100%;
}
.card > picture img {
  display: block;
  width: 100%;
}
.hardware-grid-four .hardware-card-body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.hardware-grid-four .hardware-card-body h3 {
  font-family: 'Syne', 'Outfit', sans-serif;
  font-size: 26px; line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
}
.hardware-grid-four .hardware-card-body .muted { line-height: 1.55; max-width: 46ch; }
.hardware-grid-four .hardware-card-feature {
  grid-column: span 6;
  border-color: rgba(232,80,10,.28);
  background: linear-gradient(180deg, rgba(232,80,10,.04) 0%, var(--surface) 60%);
}
.hardware-grid-four .hardware-card-feature .hardware-visual {
  background: linear-gradient(180deg, rgba(232,80,10,.10) 0%, #100D0B 100%);
}
.hardware-eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  width: max-content;
}
.hardware-eyebrow-brand {
  color: var(--brand);
  border-color: rgba(232,80,10,.4);
  background: rgba(232,80,10,.08);
}
.hardware-eyebrow-gold {
  color: var(--gold);
  border-color: rgba(201,168,76,.4);
  background: rgba(201,168,76,.08);
}
.hardware-aux {
  margin: 28px 0 0;
  padding: 16px 20px;
  border-top: 1px dashed var(--border);
  text-align: left;
  line-height: 1.6;
}
.hardware-aux strong { color: var(--cream); font-weight: 700; }

.hardware-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.hardware-addon-card {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.hardware-addon-card .hardware-visual {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
}
.hardware-addon-card .hardware-visual img {
  object-fit: cover;
  border-radius: 0;
}
.hardware-addon-card h3 {
  margin: 8px 0 8px;
  font-size: 21px;
  line-height: 1.12;
}

@media (max-width: 1080px) {
  .hardware-grid-four .hardware-card-format,
  .hardware-grid-four .hardware-card-feature { grid-column: span 6; }
}
@media (max-width: 720px) {
  .hardware-grid-four { grid-template-columns: 1fr; }
  .hardware-grid-four .hardware-card-format,
  .hardware-grid-four .hardware-card-feature { grid-column: span 1; }
  .hardware-grid-four .hardware-card-format .hardware-visual { aspect-ratio: 16 / 11; padding: 24px; }
  .hardware-grid-four .hardware-card-body { padding: 22px 22px 24px; }
  .hardware-grid-four .hardware-card-body h3 { font-size: 22px; }
  .hardware-addon-grid,
  .hardware-addon-card { grid-template-columns: 1fr; }
  .hardware-addon-card { padding: 0; overflow: hidden; gap: 0; }
  .hardware-addon-card > div:not(.hardware-visual) { padding: 20px; }
}

/* "Every plan includes" line above the pricing grid */
.pricing-included {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  align-items: center;
  margin: 0 0 28px;
  padding: 18px 22px;
  background: rgba(245,236,215,.04);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pricing-included-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  flex-shrink: 0;
}
.pricing-included-list {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  list-style: none; margin: 0; padding: 0;
}
.pricing-included-list li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: var(--ink);
}
.pricing-included-list li::before {
  content: '✓';
  color: var(--brand); font-weight: 700;
  font-size: 13px;
}

/* Demo section — split card with copy on the left, image on the right */
.demo-card-copy { display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.demo-card-copy h3 {
  font-family: 'Syne', 'Outfit', sans-serif;
  font-size: 26px;
  margin: 0;
}
.demo-bullets {
  list-style: none; margin: 6px 0 4px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.demo-bullets li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink);
}
.demo-bullets li::before {
  content: '→';
  position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 700;
}
.demo-card-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: linear-gradient(180deg, #1B1B22 0%, #0E0E12 100%);
}
.demo-card-visual img {
  width: 100%; max-height: 420px; object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(0,0,0,.55));
  border-radius: 12px;
}

@media (max-width: 720px) {
  .demo-card-copy { padding: 24px; }
  .demo-card-copy h3 { font-size: 22px; }
}

/* Hide stale founder-counter / logo-strip CSS impact if any old DOM lingers */
.founder-counter-closing { display: none; }

/* =========================================================
   Conversion polish — Apr 2026, ui-redesign-hermes
   Sharper hero rhythm, tighter trust strip, mobile CTA hit area
   ========================================================= */

/* Hero proof chips read like reassurance pills — bump contrast and breathing room */
.hero-proof-chips {
  margin-top: 26px;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-proof-chips span {
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* Trust strip text — keep one line on tablet, wrap politely on phone */
.hero-proof-honest {
  margin-bottom: 48px;
}
.hero-proof-line {
  font-size: 14.5px;
}

/* Pricing fineprint — center-aligned and a little more open on small screens */
@media (max-width: 720px) {
  .pricing-fineprint { font-size: 11.5px; line-height: 1.6; padding: 12px 14px; }
}

/* Pricing included strip — tighten spacing on phone */
@media (max-width: 720px) {
  .pricing-included { padding: 14px 16px; gap: 10px 16px; }
  .pricing-included-list { gap: 8px 16px; }
  .pricing-included-list li { font-size: 13px; }
}

/* FAQ summary — sturdier hover/focus state */
.faq summary { cursor: pointer; }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }

/* Closing CTA buttons stack cleanly on phone */
@media (max-width: 480px) {
  .closing .btn-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .closing .btn-row .btn { width: 100%; justify-content: center; }
}

/* Make every primary CTA at least 44px tall for touch */
.btn-lg { min-height: 48px; }
.btn-primary, .btn-ghost { min-height: 40px; }

/* Sign-in side checklist — let it breathe on small auth screens */
@media (max-width: 820px) {
  .auth-side-list { display: none; }
}

/* =========================================================
   White / slate public redesign test — Apr 2026
   Scoped to public pages that opt into .theme-white-slate.
   ========================================================= */
.theme-white-slate {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --surface-3: #e7edf5;
  --border: #d9e2ee;
  --border-strong: #9fb0c6;
  --brand: #102a56;
  --brand-hover: #183b72;
  --brand-dim: #6b7f99;
  --cream: #0b1736;
  --gold: #667c9a;
  --white: #0b1736;
  --ink: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-2: 0 18px 44px rgba(15, 23, 42, .07);
  --shadow-3: 0 30px 70px rgba(15, 23, 42, .11);
  --shadow-brand: 0 14px 28px rgba(15, 23, 42, .14);
  background: #f8fafc;
  color: #334155;
  overflow-x: hidden;
}

.theme-white-slate h1,
.theme-white-slate h2,
.theme-white-slate h3,
.theme-white-slate h4,
.theme-white-slate .tier .tprice,
.theme-white-slate .lp-econ-card strong,
.theme-white-slate .scan-venue-name,
.theme-white-slate .scan-method h5,
.theme-white-slate .walkthrough .ws h6 {
  color: #0b1736;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0;
}

.theme-white-slate h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  max-width: 11.5ch;
  font-weight: 650;
}

.theme-white-slate h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 650;
}

.theme-white-slate p,
.theme-white-slate .muted,
.theme-white-slate .lede,
.theme-white-slate .sub,
.theme-white-slate .tier ul,
.theme-white-slate .demo-bullets li,
.theme-white-slate .scan-method p,
.theme-white-slate .walkthrough .ws p,
.theme-white-slate .lp-econ-card p {
  color: #475569;
}

.theme-white-slate .accent,
.theme-white-slate .eyebrow,
.theme-white-slate .logo-text em {
  color: #102a56;
}

.theme-white-slate .eyebrow,
.theme-white-slate .pill,
.theme-white-slate .hardware-eyebrow,
.theme-white-slate .badge,
.theme-white-slate .tag {
  letter-spacing: .08em;
}

.theme-white-slate .pill {
  color: #102a56;
  border-color: #c7d4e6;
  background: #f1f5fb;
}

.theme-white-slate .nav {
  background: rgba(248, 250, 252, .94);
  border-bottom: 1px solid #d9e2ee;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.theme-white-slate .nav-links a {
  color: #475569;
}

.theme-white-slate .nav-links a:hover {
  color: #0b1736;
}

@media (max-width: 1180px) and (min-width: 961px) {
  .theme-white-slate .nav-inner {
    gap: 18px;
  }

  .theme-white-slate .logo-img {
    width: 178px;
    height: auto;
  }

  .theme-white-slate .nav-links {
    gap: 14px;
  }

  .theme-white-slate .nav-links a {
    font-size: 12.5px;
  }

  .theme-white-slate .nav-links a[href="#case-studies"],
  .theme-white-slate .nav-links a[href="tour.html"] {
    display: none;
  }

  .theme-white-slate .nav-cta {
    gap: 8px;
  }

  .theme-white-slate .nav-cta .btn-sm {
    min-height: 42px;
    padding: 9px 13px;
  }
}

@media (max-width: 1040px) and (min-width: 961px) {
  .theme-white-slate .nav-cta a[href="dashboard/login.html"] {
    display: none;
  }
}

.theme-white-slate .logo {
  color: #0b1736;
}

.theme-white-slate .logo-mark {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: none;
  color: #0b1736;
}

.theme-white-slate .logo-mark::before {
  border-color: #2b5f9e;
  opacity: .65;
}

.theme-white-slate .logo-mark::after {
  color: #0b1736;
  text-shadow: none;
}

.theme-white-slate .btn {
  border-radius: 8px;
  box-shadow: none;
}

.theme-white-slate .btn-primary {
  color: #ffffff;
  background: #102a56;
  border-color: #102a56;
  box-shadow: 0 16px 30px rgba(16, 42, 86, .2);
}

.theme-white-slate .btn-primary:hover {
  background: #183b72;
}

.theme-white-slate .btn-ghost,
.theme-white-slate .btn-cream {
  color: #0b1736;
  background: #ffffff;
  border-color: #cbd5e1;
}

.theme-white-slate .btn-ghost:hover,
.theme-white-slate .btn-cream:hover {
  border-color: #64748b;
  background: #f7f8fa;
}

.theme-white-slate section {
  background: #f8fafc;
  border-color: #e3e7ed;
}

.theme-white-slate .hero,
.theme-white-slate .hero.hero-refined,
.theme-white-slate .tour-hero,
.theme-white-slate .lp-hero {
  min-height: auto;
  padding: 72px 0 56px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 54%, #eef3f9 100%);
  border-bottom: 1px solid #d9e2ee;
}

.theme-white-slate .hero.hero-refined::after,
.theme-white-slate .hero-scan-visual::before {
  content: none;
}

.theme-white-slate .hero-grid,
.theme-white-slate .tour-hero-grid,
.theme-white-slate .lp-hero-grid {
  gap: 56px;
}

.theme-white-slate .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 58px;
}

.theme-white-slate .hero-title {
  max-width: 660px;
  font-size: clamp(44px, 5vw, 62px);
  margin-top: 22px;
}

.theme-white-slate .hero-title .line {
  display: block;
}

.theme-white-slate .hero-copy .sub,
.theme-white-slate .lp-hero .sub,
.theme-white-slate .tour-hero .sub {
  max-width: 640px;
  color: #334155;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

.theme-white-slate .hero-price-line {
  margin-top: 20px;
  display: flex;
  align-items: center;
  color: #475569;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}

.theme-white-slate .hero-price-line > span:not(.dot) {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
  white-space: nowrap;
}

.theme-white-slate .hero-price-line strong {
  color: #0f172a;
}

.theme-white-slate .hero-price-line .dot {
  display: none;
}

.theme-white-slate .dot {
  background: #cbd5e1;
}

.theme-white-slate .hero-micro-trust,
.theme-white-slate .scan-note {
  color: #64748b;
}

.theme-white-slate .hero-micro-trust {
  max-width: 620px;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.48;
}

.theme-white-slate .hero-cta {
  margin-top: 28px;
}

.theme-white-slate .hero-proof-chips span,
.theme-white-slate .hero-art-tag,
.theme-white-slate .upgrade-loop-steps span {
  color: #334155;
  background: #ffffff;
  border: 1px solid #e3e7ed;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.theme-white-slate .hero-proof-chips {
  margin-top: 20px;
  gap: 8px;
}

.theme-white-slate .hero-proof-chips span {
  min-height: 28px;
  padding: 5px 10px;
  color: #475569;
  background: #f4f7fb;
  border-color: #dbe4ef;
  box-shadow: none;
  font-size: 12px;
}

.theme-white-slate .hero-scan-visual,
.theme-white-slate .hero-scan-visual.hero-product-family {
  filter: none;
}

.theme-white-slate .hero-scan-visual.hero-product-family {
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.theme-white-slate .hero-scan-visual.hero-product-family picture {
  overflow: hidden;
  border-radius: 22px;
}

.theme-white-slate .hero-scan-visual.hero-product-family .hero-art-main {
  display: block;
  border: 1px solid #d9dee6;
  border-radius: 22px;
  box-shadow: 0 28px 64px rgba(15, 23, 42, .11);
  -webkit-mask-image: none;
          mask-image: none;
}

.theme-white-slate .hero-art-caption {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
}

.theme-white-slate .hero-art-tag {
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-align: center;
}

.theme-white-slate .hero-proof-honest {
  background: rgba(255, 255, 255, .88);
  border-color: #d9dee6;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.theme-white-slate .hero-proof-line,
.theme-white-slate .hero-proof-eyebrow {
  color: #475569;
}

.theme-white-slate .hero-proof-line a {
  color: #102a56;
}

.theme-white-slate .section-head-asym,
.theme-white-slate .section-head {
  text-align: left;
  margin-left: 0;
}

.theme-white-slate .section-head .lede,
.theme-white-slate .section-head-asym .lede {
  margin-left: 0;
}

.theme-white-slate #how,
.theme-white-slate .features-section,
.theme-white-slate .lp-econ,
.theme-white-slate .faq-section {
  background: #f6f8fb;
}

.theme-white-slate .hardware-section,
.theme-white-slate .verticals-section,
.theme-white-slate .case-study-section,
.theme-white-slate .upgrade-loop-section,
.theme-white-slate .google-review-section,
.theme-white-slate .closing {
  background: #ffffff;
}

.theme-white-slate .card,
.theme-white-slate .tier,
.theme-white-slate .tier-v2,
.theme-white-slate .table-card,
.theme-white-slate .seg-card,
.theme-white-slate .seg-feat,
.theme-white-slate .faq,
.theme-white-slate .demo-details,
.theme-white-slate .lead-capture,
.theme-white-slate .lp-econ-card,
.theme-white-slate .flow-diagram,
.theme-white-slate .upgrade-loop-figure,
.theme-white-slate .lp-media {
  background: rgba(255, 255, 255, .92);
  border-color: #e3e7ed;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .055);
}

.theme-white-slate .card:hover,
.theme-white-slate .tier:hover,
.theme-white-slate .hardware-card:hover {
  border-color: #b7c0cc;
  transform: translateY(-1px);
}

.theme-white-slate .step-card,
.theme-white-slate .feat,
.theme-white-slate .hardware-card,
.theme-white-slate .hardware-card-format,
.theme-white-slate .scan-chip-card,
.theme-white-slate .walkthrough .ws,
.theme-white-slate .scan-offer-band {
  background: rgba(255, 255, 255, .94);
  border-color: #e3e7ed;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.theme-white-slate .step-num,
.theme-white-slate .step-tag,
.theme-white-slate .seg-feat-ic,
.theme-white-slate .feat-icon,
.theme-white-slate .scan-method .ic {
  color: #102a56;
  background: #f1f5fb;
  border-color: #c7d4e6;
}

.theme-white-slate .flow-diagram {
  padding: 24px;
}

.theme-white-slate .flow-diagram img,
.theme-white-slate .demo-card-visual img,
.theme-white-slate .upgrade-loop-figure img,
.theme-white-slate .hardware-visual img,
.theme-white-slate .tour-card-img {
  filter: none;
}

.theme-white-slate .hardware-visual,
.theme-white-slate .demo-card-visual {
  background: #f3f6fa;
}

.hardware-visual-paper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: #102a56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 10px;
}

.case-card .demo-bullets {
  margin-top: 18px;
}

.hardware-fulfillment {
  margin-top: 14px;
}

.theme-white-slate .hardware-grid-four .hardware-card-format .hardware-visual,
.theme-white-slate .hardware-grid-four .hardware-card-feature .hardware-visual,
.theme-white-slate .demo-card-visual,
.theme-white-slate .upgrade-loop-figure,
.theme-white-slate .tour-hero-media,
.theme-white-slate .lp-media {
  background: #f3f6fa;
  border-color: #d9e2ee;
}

.theme-white-slate .hardware-addon-card {
  background: #ffffff;
  border-color: #e3e7ed;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.theme-white-slate .hardware-price strong,
.theme-white-slate .hardware-eyebrow-brand,
.theme-white-slate .hardware-eyebrow-gold {
  color: #0f172a;
}

.theme-white-slate .hardware-card-feature,
.theme-white-slate .hardware-card-elite,
.theme-white-slate .tier-highlight {
  border-color: #b7c0cc;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .08);
}

.theme-white-slate .pricing-included,
.theme-white-slate .pricing-fineprint {
  color: #475569;
  background: #f7f8fa;
  border-color: #e3e7ed;
}

.theme-white-slate .pricing-included-label,
.theme-white-slate .table-head h3,
.theme-white-slate .faq summary,
.theme-white-slate .demo-details summary strong {
  color: #0f172a;
}

.theme-white-slate .pricing-fineprint strong {
  color: #0f172a !important;
}

.theme-white-slate .table-card th,
.theme-white-slate .table-card td {
  border-color: #e3e7ed;
}

.theme-white-slate .table-card th {
  color: #475569;
}

.theme-white-slate .seg-tabs {
  background: transparent;
}

.theme-white-slate .seg-tab {
  color: #475569;
  background: #ffffff;
  border-color: #e3e7ed;
}

.theme-white-slate .seg-tab.active,
.theme-white-slate .seg-tab[aria-selected="true"] {
  color: #ffffff;
  background: #102a56;
  border-color: #102a56;
}

.theme-white-slate .lead-capture {
  background: #f7f8fa;
}

.theme-white-slate .lead-capture-inner {
  background: transparent;
}

.theme-white-slate .lc-field input,
.theme-white-slate .lc-field select,
.theme-white-slate .lc-field textarea,
.theme-white-slate .newsletter input,
.theme-white-slate .field input {
  color: #0f172a;
  background: #ffffff;
  border-color: #cbd5e1;
}

.theme-white-slate .lc-field span,
.theme-white-slate .field label,
.theme-white-slate .or-row {
  color: #475569;
}

.theme-white-slate footer,
.theme-white-slate .lp-footer {
  color: #475569;
  background: #f6f8fb;
  border-top-color: #e3e7ed;
}

.theme-white-slate .foot-bottom {
  border-top-color: #e3e7ed;
}

.theme-white-slate .socials a {
  color: #475569;
  background: #ffffff;
  border-color: #e3e7ed;
}

.theme-white-slate .tour-hero-media,
.theme-white-slate .demo-phone-frame {
  background: #ffffff;
  border-color: #d9dee6;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .11);
}

.theme-white-slate .tour-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  background: #f7f8fa;
}

.theme-white-slate.lp-body .nav {
  position: sticky;
}

.theme-white-slate.lp-body .nav-cta {
  display: none;
}

.theme-white-slate.lp-body .lp-hero {
  min-height: auto;
}

.theme-white-slate.lp-body .lp-hero h1 {
  max-width: 13ch;
}

.theme-white-slate.lp-body .lp-media img {
  border-radius: 0;
}

.theme-white-slate .phone-wrap {
  background: #f7f8fa;
}

.theme-white-slate .phone {
  width: min(100%, 410px);
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border-color: #d9dee6;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.theme-white-slate .status-bar,
.theme-white-slate .status-bar .right,
.theme-white-slate .rewards .rew-head,
.theme-white-slate .rewards .venue-meta .n,
.theme-white-slate .rewards .form-card h3,
.theme-white-slate .rewards .reward-success h1 {
  color: #0f172a;
}

.theme-white-slate .rewards {
  background: #ffffff;
}

.theme-white-slate .rewards .offer {
  color: #0b1736;
  background: #f3f6fa;
  border-color: #9fb0c6;
}

.theme-white-slate .rewards .offer h1 {
  color: #0b1736;
}

.theme-white-slate .rewards .offer .venue-name,
.theme-white-slate .rewards .offer [data-reward-sub] {
  color: #475569;
}

.theme-white-slate .rewards .offer .countdown {
  color: #0b1736;
  background: #ffffff;
  border: 1px solid #d9e2ee;
}

.theme-white-slate .rewards .offer .countdown .dot {
  background: #102a56;
}

.theme-white-slate .rewards .form-card,
.theme-white-slate .rewards .wallet-card,
.theme-white-slate .rewards .error-card,
.theme-white-slate .review-nudge {
  background: #ffffff;
  border-color: #d9e2ee;
}

.theme-white-slate .chip-badge,
.theme-white-slate .venue-logo {
  background: #f1f5fb;
  color: #102a56;
  border-color: #c7d4e6;
}

@media (max-width: 960px) {
  .theme-white-slate .hero,
  .theme-white-slate .tour-hero,
  .theme-white-slate .lp-hero {
    padding: 56px 0 48px;
  }

  .theme-white-slate .hero-grid,
  .theme-white-slate .tour-hero-grid,
  .theme-white-slate .lp-hero-grid,
  .theme-white-slate .upgrade-loop-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .theme-white-slate .hero-title,
  .theme-white-slate.lp-body .lp-hero h1,
  .theme-white-slate .tour-hero h1 {
    max-width: 100%;
  }

  .theme-white-slate .section-head,
  .theme-white-slate .section-head-asym {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .theme-white-slate .container {
    padding: 0 18px;
  }

  .theme-white-slate .hero {
    padding: 36px 0 32px;
  }

  .theme-white-slate .hero-grid {
    gap: 24px;
  }

  .theme-white-slate .hero-scan-visual {
    display: block;
    max-width: 340px;
    margin: 22px auto 0;
  }

  .theme-white-slate .hero-art-caption {
    display: none;
  }

  .theme-white-slate .nav-inner {
    height: 64px;
  }

  .theme-white-slate .nav-cta .btn-ghost {
    display: none;
  }

  .theme-white-slate .nav-cta {
    display: none;
  }

  .theme-white-slate h1 {
    font-size: clamp(30px, 8vw, 32px);
    max-width: 100%;
    overflow-wrap: normal;
  }

  .theme-white-slate .hero-copy,
  .theme-white-slate .tour-hero-grid > div,
  .theme-white-slate .lp-hero-grid > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .theme-white-slate .hero-title {
    max-width: 350px;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: normal;
  }

  .theme-white-slate .hero-title .line {
    display: block;
    max-width: 100%;
  }

  .theme-white-slate .hero-copy .sub,
  .theme-white-slate .hero-micro-trust {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .theme-white-slate .hero-copy .sub {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.45;
  }

  .theme-white-slate .hero-micro-trust {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
  }

  .theme-white-slate .pill {
    width: min(100%, 340px);
    max-width: 340px;
    white-space: normal;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
  }

  .theme-white-slate .hero-price-line {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .theme-white-slate .hero-price-line .dot {
    display: none;
  }

  .theme-white-slate .hero-proof-chips {
    display: none;
  }

  .theme-white-slate section,
  .theme-white-slate .features-section,
  .theme-white-slate .hardware-section,
  .theme-white-slate .upgrade-loop-section,
  .theme-white-slate .verticals-section,
  .theme-white-slate .case-study-section,
  .theme-white-slate .google-review-section,
  .theme-white-slate .faq-section {
    padding: 56px 0;
  }

  .theme-white-slate .hero-cta,
  .theme-white-slate .btn-row,
  .theme-white-slate .lc-actions {
    margin-top: 22px;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .theme-white-slate .hero-cta .btn,
  .theme-white-slate .btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .theme-white-slate .pricing-grid-three,
  .theme-white-slate .hardware-grid-four,
  .theme-white-slate .feat-grid,
  .theme-white-slate .grid-3,
  .theme-white-slate .grid-2 {
    grid-template-columns: 1fr;
  }

  .theme-white-slate .phone-wrap {
    padding: 12px 6px;
  }

  .theme-white-slate .phone {
    max-width: calc(100vw - 12px);
    border-radius: 24px;
  }

  .theme-white-slate .chip-badge {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Late overrides for the public conversion modal and mobile nav. */
@media (max-width: 960px) {
  .theme-white-slate .nav-toggle { display: inline-flex; }
  .theme-white-slate .nav-links[data-nav-links] {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    z-index: 30;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d9e2ee;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 54px rgba(15, 23, 42, .14);
    flex-direction: column;
    gap: 4px;
  }
  .theme-white-slate .nav-links[data-nav-links].open { display: flex; }
}

/* =========================================================
   Conversion cleanup — newsletter, case studies, two-plan pricing, mobile polish
   ========================================================= */

.theme-white-slate *,
.theme-white-slate *::before,
.theme-white-slate *::after {
  min-width: 0;
}

.theme-white-slate p,
.theme-white-slate li,
.theme-white-slate h1,
.theme-white-slate h2,
.theme-white-slate h3,
.theme-white-slate h4,
.theme-white-slate a,
.theme-white-slate button {
  overflow-wrap: anywhere;
}

.theme-white-slate .section-head-asym h2 {
  max-width: 22ch;
}

.theme-white-slate .section-head-asym .lede,
.theme-white-slate .lead-capture-head .muted,
.theme-white-slate .case-card p,
.theme-white-slate .newsletter-copy .lede {
  max-width: 62ch;
}

.case-study-grid {
  align-items: stretch;
}

.case-card-v2 {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-card-v2 .demo-bullets {
  margin-top: 18px;
}

.case-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.case-card-actions .btn {
  width: 100%;
  min-height: 44px;
  white-space: normal;
  text-align: center;
}

.newsletter-section {
  background: #f6f8fb;
  border-top: 1px solid #e3e7ed;
  border-bottom: 1px solid #e3e7ed;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 44px;
  align-items: center;
}

.newsletter-copy h2 {
  max-width: 20ch;
}

.newsletter-value-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.newsletter-value-list li {
  position: relative;
  padding-left: 24px;
  color: #334155;
  line-height: 1.55;
}

.newsletter-value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #102a56;
}

.newsletter-card {
  background: #ffffff;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
  padding: 28px;
}

.newsletter-card h3 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.12;
}

.newsletter-card p {
  margin-top: 10px;
}

.newsletter-home-form {
  margin-top: 18px;
}

.newsletter-msg {
  min-height: 1.4em;
  margin-top: 10px;
}

.newsletter button:disabled {
  opacity: .72;
  cursor: progress;
}

.pricing-grid-two .tier {
  min-height: 100%;
}

.pricing-grid-two .tier .tcta {
  align-self: stretch;
}

.hardware-price-table {
  max-width: 100%;
}

.theme-white-slate .table-card {
  max-width: 100%;
}

@media (max-width: 900px) {
  .newsletter-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsletter-card {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .theme-white-slate .nav-inner {
    gap: 10px;
  }

  .theme-white-slate .logo-img {
    width: min(172px, 48vw);
  }

  .theme-white-slate .hero-copy,
  .theme-white-slate .tour-hero-grid > div,
  .theme-white-slate .lp-hero-grid > div {
    text-align: left;
  }

  .theme-white-slate .hero-title,
  .theme-white-slate .hero-copy .sub,
  .theme-white-slate .hero-micro-trust,
  .theme-white-slate .hero-cta,
  .theme-white-slate .btn-row,
  .theme-white-slate .lc-actions {
    margin-left: 0;
    margin-right: 0;
  }

  .theme-white-slate .hero-title,
  .theme-white-slate .hero-copy .sub,
  .theme-white-slate .hero-micro-trust {
    max-width: 100%;
  }

  .theme-white-slate .hero-price-line {
    justify-items: start;
  }

  .theme-white-slate .pill {
    justify-content: flex-start;
    text-align: left;
  }

  .theme-white-slate .hero-scan-visual {
    margin-left: 0;
    margin-right: auto;
    max-width: min(100%, 380px);
  }

  .case-card-actions {
    grid-template-columns: 1fr;
  }

  .newsletter-section {
    padding: 56px 0;
  }

  .newsletter-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .theme-white-slate .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .theme-white-slate h2,
  .newsletter-copy h2 {
    max-width: 100%;
  }

  .theme-white-slate .tier,
  .theme-white-slate .card,
  .theme-white-slate .lead-capture,
  .newsletter-card {
    padding: 22px;
  }

  .theme-white-slate .btn {
    min-height: 46px;
    white-space: normal;
    text-align: center;
  }

  .theme-white-slate .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .theme-white-slate .newsletter {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .theme-white-slate h1 {
    font-size: clamp(30px, 8.4vw, 36px);
  }

  .theme-white-slate .hero {
    padding-top: 30px;
  }

  .theme-white-slate .hero-scan-visual {
    max-width: 100%;
  }

  .newsletter,
  .newsletter-home-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    border-radius: 0;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
  }

  .newsletter input {
    border-right: 1px solid var(--border);
  }

  .theme-white-slate .pricing-included,
  .theme-white-slate .pricing-included-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .theme-white-slate .checkout-modal {
    padding: 8px;
  }

  .theme-white-slate .checkout-modal-panel {
    padding: 22px 16px 16px;
  }
}

/* =========================================================
   Homepage guided product tour
   ========================================================= */
.product-tour-section {
  overflow: visible;
}

.product-tour-layout {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  margin-top: 30px;
}

.product-tour-visual-col {
  position: relative;
  min-height: 100%;
}

.product-tour-sticky {
  position: sticky;
  top: 92px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.product-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid #d9e2ee;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.92), transparent 34%),
    radial-gradient(circle at 72% 78%, rgba(16,42,86,.08), transparent 38%),
    linear-gradient(145deg, #f8fafc 0%, #eef3f9 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .1);
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(16, 42, 86, .07);
  border-radius: 14px;
  pointer-events: none;
}

.product-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
  opacity: 0;
  transform: translateY(18px) scale(.975);
  transition: opacity .42s ease, transform .48s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.product-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-panel picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-panel img,
.product-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.product-panel[data-product-panel="chips"] img {
  width: min(84%, 460px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 24px 48px rgba(15, 23, 42, .18);
}

.product-panel[data-product-panel="cards"] img,
.product-panel[data-product-panel="metal"] img,
.product-panel[data-product-panel="review-stand"] img {
  box-shadow: 0 24px 48px rgba(15, 23, 42, .12);
}

.product-panel[data-product-panel="loyalty-stand"] img,
.product-step[data-product-step="loyalty-stand"] .product-step-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow: 0 28px 60px rgba(16, 42, 86, .14);
}

.product-panel[data-product-panel="loyalty-stand"] {
  padding: clamp(10px, 1.5vw, 18px);
}

.product-stage-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
}

.product-stage-count {
  display: inline-flex;
  min-width: 74px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #c7d4e6;
  background: #f1f5fb;
  color: #102a56;
  font: 700 11px/1 'JetBrains Mono', monospace;
  letter-spacing: .06em;
}

.product-stage-footer h3 {
  font-size: 20px;
  line-height: 1.1;
}

.product-stage-footer p {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.product-tour-copy-col {
  display: grid;
  gap: 0;
}

.product-step {
  position: relative;
  min-height: clamp(500px, 62vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 34px 0 64px 34px;
  border-left: 1px solid #d9e2ee;
  opacity: .46;
  transition: opacity .28s ease, border-color .28s ease, transform .28s ease;
}

.product-step::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 46px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d9e2ee;
  box-shadow: 0 0 0 6px #ffffff;
  transition: background .28s ease, transform .28s ease, box-shadow .28s ease;
}

.product-step.is-active {
  opacity: 1;
  border-left-color: #102a56;
  transform: translateX(2px);
}

.product-step.is-active::before {
  background: #102a56;
  transform: scale(1.15);
  box-shadow: 0 0 0 6px #ffffff, 0 0 0 10px rgba(16, 42, 86, .08);
}

.product-step-kicker {
  color: #102a56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-step h3 {
  max-width: 12ch;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.product-step p {
  max-width: 54ch;
  color: #475569;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
}

.product-step-price,
.product-step-addon {
  color: #0b1736 !important;
  font-weight: 800;
}

.product-step-addon {
  padding: 12px 14px;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  background: #f7f8fa;
  font-size: 15px !important;
}

.product-step-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  max-width: 420px;
}

.product-step-list li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  line-height: 1.5;
}

.product-step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #102a56;
}

.product-step .btn {
  width: max-content;
  margin-top: 6px;
}

.product-step-visual {
  display: none;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .product-panel,
  .product-step,
  .product-step::before {
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .product-tour-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-tour-visual-col {
    display: none;
  }

  .product-tour-copy-col {
    gap: 18px;
  }

  .product-step {
    min-height: auto;
    gap: 12px;
    opacity: 1;
    transform: none !important;
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid #e3e7ed;
  }

  .product-step::before {
    content: none;
  }

  .product-step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 22px;
    border: 1px solid #d9e2ee;
    border-radius: 14px;
    background:
      radial-gradient(circle at 30% 15%, rgba(255,255,255,.9), transparent 35%),
      linear-gradient(145deg, #f8fafc, #eef3f9);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .07);
  }

  .product-step-visual picture {
    display: flex;
    width: 100%;
    height: 240px;
    align-items: center;
    justify-content: center;
  }

  .product-step-visual img {
    max-height: 240px;
  }

  .product-step h3 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 40px);
  }

  .product-step p {
    max-width: 100%;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .product-tour-layout {
    margin-top: 26px;
  }

  .product-step-visual {
    min-height: 220px;
    padding: 16px;
  }

  .product-step-visual picture {
    height: 210px;
  }

  .product-step-visual img {
    max-height: 210px;
  }

  .product-step .btn {
    width: 100%;
  }
}

/* =========================================================
   Full-app UI refresh foundation — shared primitives + page polish
   ========================================================= */
:root {
  --z-menu: 80;
  --z-drawer: 90;
  --z-modal: 100;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

.ui-modal-backdrop,
.ui-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 15, .68);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .2s var(--ease-out);
}

.ui-modal-backdrop.is-open,
.ui-drawer-backdrop.is-open {
  opacity: 1;
}

.ui-modal {
  --ui-modal-width: 560px;
  width: min(var(--ui-modal-width), 100%);
  max-height: min(820px, calc(100dvh - 48px));
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 36px 100px rgba(0, 0, 0, .42);
  transform: translateY(16px) scale(.985);
  transition: transform .24s var(--ease-out);
}

.ui-modal-backdrop.is-open .ui-modal {
  transform: translateY(0) scale(1);
}

.ui-modal-sm { --ui-modal-width: 440px; }
.ui-modal-lg { --ui-modal-width: 720px; }

.ui-modal-head,
.ui-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px 12px;
}

.ui-modal-head h2,
.ui-drawer-head h2 {
  color: var(--white);
  font-size: 24px;
  line-height: 1.12;
  margin: 6px 0 0;
  letter-spacing: 0;
}

.ui-eyebrow {
  display: inline-flex;
  width: max-content;
  min-height: 24px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(232,80,10,.32);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(232,80,10,.08);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ui-close {
  min-width: 38px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ui-close:hover {
  color: var(--white);
  border-color: var(--border-strong);
}

.ui-modal-body,
.ui-drawer-body {
  padding: 8px 28px 28px;
}

.ui-modal-body p,
.ui-drawer-body p {
  line-height: 1.6;
}

.ui-modal-body .ui-list,
.ui-drawer-body .ui-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.ui-modal-body strong,
.ui-drawer-body strong {
  color: var(--white);
}

.ui-modal-body code,
.ui-drawer-body code {
  color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
  font-size: .92em;
}

.ui-modal-actions,
.ui-drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 28px 28px;
  border-top: 1px solid var(--border);
}

.ui-drawer-backdrop {
  place-items: stretch end;
  padding: 0;
}

.ui-drawer {
  width: min(460px, 94vw);
  height: 100dvh;
  overflow: auto;
  border-left: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: -24px 0 70px rgba(0,0,0,.38);
  transform: translateX(100%);
  transition: transform .24s var(--ease-out);
}

.ui-drawer-backdrop.is-open .ui-drawer {
  transform: translateX(0);
}

.ui-toast-host {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: calc(var(--z-modal) + 2);
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 24px));
  pointer-events: none;
}

.ui-toast {
  pointer-events: auto;
  border: 1px solid var(--border);
  border-left: 4px solid var(--good);
  border-radius: 12px;
  background: #14141a;
  color: var(--cream);
  padding: 12px 14px;
  box-shadow: 0 20px 54px rgba(0,0,0,.38);
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
}

.ui-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}

.ui-toast-warn { border-left-color: var(--warn); }
.ui-toast-bad { border-left-color: var(--bad); }

.ui-menu,
.lc-drop {
  position: fixed;
  z-index: var(--z-menu);
  min-width: var(--ui-menu-width, 280px);
  max-width: min(360px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #1a1a20;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

.ui-menu a,
.lc-drop a,
.lc-note {
  border-radius: 9px;
}

.ui-menu a:hover,
.lc-drop a:hover,
.lc-note:hover {
  background: rgba(255,255,255,.05);
}

.ui-form-grid {
  display: grid;
  gap: 12px;
}

.ui-field {
  display: grid;
  gap: 6px;
}

.ui-field label,
.ui-field .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ui-field input,
.ui-field select,
.ui-field textarea,
.checkout-field {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--white);
  padding: 10px 12px;
  font: inherit;
}

.checkout-field {
  background: #ffffff;
  color: #0f172a;
  border-color: #d9e2ee;
}

.ui-field input:focus,
.ui-field select:focus,
.ui-field textarea:focus,
.checkout-field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232,80,10,.12);
}

/* Public shell polish */
.theme-white-slate .nav-links a[aria-current="page"],
.theme-white-slate .nav-links a.active {
  color: #0b1736;
  background: #ffffff;
  box-shadow: inset 0 -2px 0 #102a56;
}

.theme-white-slate .btn:active,
.theme-dark-app .btn:active,
.ui-close:active {
  transform: translateY(1px) scale(.99);
}

.theme-white-slate .hero-art-tag:nth-child(4) {
  color: #0b1736;
  border-color: #b7c0cc;
  background: linear-gradient(135deg, #ffffff, #eef3f9);
  font-size: 10px;
  letter-spacing: .08em;
}

.theme-white-slate .hardware-price-table table {
  min-width: 720px;
}

@media (max-width: 720px) {
  .theme-white-slate .hardware-price-table {
    overflow: visible;
  }

  .theme-white-slate .hardware-price-table table,
  .theme-white-slate .hardware-price-table thead,
  .theme-white-slate .hardware-price-table tbody,
  .theme-white-slate .hardware-price-table tr,
  .theme-white-slate .hardware-price-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .theme-white-slate .hardware-price-table table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .theme-white-slate .hardware-price-table thead {
    display: none;
  }

  .theme-white-slate .hardware-price-table tr {
    border: 1px solid #e3e7ed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15,23,42,.05);
    overflow: hidden;
  }

  .theme-white-slate .hardware-price-table td {
    display: grid;
    grid-template-columns: minmax(96px, .36fr) minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e3e7ed;
    color: #334155;
  }

  .theme-white-slate .hardware-price-table td:last-child {
    border-bottom: 0;
  }

  .theme-white-slate .hardware-price-table td::before {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .theme-white-slate .hardware-price-table td:nth-child(1)::before { content: "Item"; }
  .theme-white-slate .hardware-price-table td:nth-child(2)::before { content: "Price"; }
  .theme-white-slate .hardware-price-table td:nth-child(3)::before { content: "Minimum"; }
  .theme-white-slate .hardware-price-table td:nth-child(4)::before { content: "Best for"; }
}

.theme-white-slate.lp-body .nav {
  background: rgba(248,250,252,.96);
}

.theme-white-slate.lp-body .lp-hero {
  position: relative;
  overflow: hidden;
}

.theme-white-slate.lp-body .lp-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(16,42,86,.045));
  pointer-events: none;
}

.theme-white-slate .lp-econ-grid {
  grid-template-columns: 1.25fr .9fr .9fr;
}

.theme-white-slate .lp-econ-card:first-child {
  border-color: #b7c0cc;
  background: #ffffff;
}

.theme-white-slate .lp-pricing {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
}

@media (max-width: 760px) {
  .theme-white-slate .lp-econ-grid,
  .theme-white-slate .lp-pricing {
    grid-template-columns: 1fr;
  }
}

/* Reward claim page desktop context */
.reward-page {
  min-height: 100dvh;
  background: #f6f8fb !important;
}

.reward-stage {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(410px, .9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 5vw, 72px);
  background:
    radial-gradient(circle at 15% 12%, rgba(16,42,86,.10), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.reward-context {
  max-width: 470px;
}

.reward-context .logo {
  margin-bottom: 28px;
}

.reward-context h1 {
  max-width: 10ch;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}

.reward-context p {
  max-width: 56ch;
  margin-top: 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
}

.reward-context-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.reward-context-list li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  line-height: 1.5;
}

.reward-context-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #102a56;
}

.reward-stage .phone-wrap {
  min-height: auto;
  padding: 0;
  background: transparent;
}

@media (max-width: 880px) {
  .reward-stage {
    display: block;
    padding: 12px 6px;
    background: #f7f8fa;
  }

  .reward-context {
    display: none;
  }
}

/* Legal and 404 public shells */
.legal-shell {
  background: #f8fafc;
}

.legal-main {
  padding: 54px 0 84px;
}

.legal-hero {
  max-width: 920px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  max-width: 12ch;
}

.legal-card {
  max-width: 920px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(15,23,42,.07);
}

.theme-white-slate .legal-card h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.theme-white-slate .legal-card p,
.theme-white-slate .legal-card li {
  max-width: 76ch;
  line-height: 1.72;
}

.theme-white-slate .legal-card ul {
  padding-left: 20px;
}

.legal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid #d9e2ee;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #102a56;
  background: #f3f6fb;
  font-weight: 750;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
  font-size: 15px;
}

.lead-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(16,42,86,.22);
  border-color: #102a56;
}

.theme-white-slate .legal-hero h1 {
  max-width: none;
}

@media (max-width: 720px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.not-found-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  background:
    radial-gradient(circle at 72% 28%, rgba(16,42,86,.10), transparent 34%),
    linear-gradient(180deg, #f8fafc, #eef3f9);
}

.not-found-panel {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(15,23,42,.09);
}

.not-found-chip {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 14px solid #102a56;
  background:
    radial-gradient(circle at center, #ffffff 0 44%, transparent 45%),
    repeating-conic-gradient(from 0deg, #d9e2ee 0 9deg, #ffffff 9deg 18deg);
  color: #102a56;
  font: 800 30px/1 'JetBrains Mono', monospace;
}

@media (max-width: 720px) {
  .not-found-panel {
    grid-template-columns: 1fr;
  }

  .not-found-chip {
    width: 170px;
    margin: 0 auto;
    order: -1;
  }
}

/* Auth surface consolidation */
.theme-white-slate .auth-card {
  border-radius: 14px;
}

.theme-white-slate .oauth-btn.oauth-google,
.theme-white-slate .oauth-btn {
  color: #0f172a;
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.theme-white-slate .oauth-btn.oauth-google:hover,
.theme-white-slate .oauth-btn:hover {
  border-color: #102a56;
  box-shadow: 0 14px 32px rgba(16,42,86,.12);
}

.theme-white-slate .oauth-btn.oauth-apple {
  color: #ffffff;
  background: #0f172a;
  border-color: #0f172a;
}

.theme-white-slate .oauth-btn.oauth-apple:hover {
  background: #111827;
  border-color: #111827;
}

.theme-white-slate .auth-tabs button:focus-visible {
  outline: 2px solid #102a56;
  outline-offset: 2px;
}

/* Dark app shell refinement */
.theme-dark-app {
  background:
    radial-gradient(circle at 16% 0%, rgba(232,80,10,.10), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(201,168,76,.07), transparent 28%),
    #0b0b0d;
  color: var(--ink);
}

.theme-dark-app .app {
  background: transparent;
}

.theme-dark-app .sidebar {
  background: rgba(12,12,15,.94);
  backdrop-filter: blur(14px);
}

.theme-dark-app .main {
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 220px);
}

.theme-dark-app .chart-card,
.theme-dark-app .table-card,
.theme-dark-app .kpi,
.theme-dark-app .set-card,
.theme-dark-app .export-card,
.theme-dark-app .crm-card,
.theme-dark-app .queue-item,
.theme-dark-app .empty-card,
.theme-dark-app .map-card {
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

.side-nav a .nav-icon,
.qa .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
          mask: var(--icon-url) center / contain no-repeat;
}

.nav-icon-home { --icon-url: url("img/icons/icon-home.svg"); }
.nav-icon-users { --icon-url: url("img/icons/icon-users.svg"); }
.nav-icon-campaigns { --icon-url: url("img/icons/icon-campaigns.svg"); }
.nav-icon-chart { --icon-url: url("img/icons/icon-chart.svg"); }
.nav-icon-chip { --icon-url: url("img/icons/icon-chip.svg"); }
.nav-icon-gear { --icon-url: url("img/icons/icon-gear.svg"); }
.nav-icon-signout { --icon-url: url("img/icons/icon-signout.svg"); }
.nav-icon-bell { --icon-url: url("img/icons/icon-bell.svg"); }
.nav-icon-plus { --icon-url: url("img/icons/icon-plus.svg"); }
.nav-icon-target { --icon-url: url("img/icons/icon-target.svg"); }

.side-nav a .icon:not(.nav-icon),
.qa .icon:not(.nav-icon) {
  font-size: 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  background: currentColor;
  opacity: .88;
}

.topbar .search:focus-within {
  border-color: rgba(232,80,10,.55);
  box-shadow: 0 0 0 3px rgba(232,80,10,.10);
}

.panel {
  width: min(470px, 94vw);
  box-shadow: -24px 0 70px rgba(0,0,0,.34);
}

@media (max-width: 720px) {
  .theme-dark-app {
    overflow-x: hidden;
  }

  .theme-dark-app .app {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .theme-dark-app .sidebar,
  .theme-dark-app .main,
  .theme-dark-app .topbar,
  .theme-dark-app .content {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    box-sizing: border-box;
  }

  .theme-dark-app .topbar {
    height: auto;
    min-height: 58px;
    align-items: center;
  }

  .theme-dark-app .topbar .search {
    width: auto;
    max-width: 100%;
  }

  .theme-dark-app .topbar .actions {
    flex: 0 0 auto;
  }

  .theme-dark-app .table-card,
  .theme-dark-app .chart-card,
  .theme-dark-app .kpi,
  .theme-dark-app .set-card,
  .theme-dark-app .exec-banner {
    max-width: 100%;
  }

  .panel {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    max-height: 88dvh;
    border-left: 0;
    border-top: 1px solid var(--border);
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }

  .panel.open {
    transform: translateY(0);
  }

  .ui-modal-backdrop {
    padding: 10px;
    place-items: end center;
  }

  .ui-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 18px 18px 10px 10px;
  }

  .ui-modal-head,
  .ui-modal-body,
  .ui-modal-actions,
  .ui-drawer-head,
  .ui-drawer-body,
  .ui-drawer-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ui-modal-actions,
  .ui-drawer-actions {
    flex-direction: column-reverse;
  }

  .ui-modal-actions .btn,
  .ui-drawer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .ui-toast-host {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

/* =========================================================
   MOBILE PARITY PATCH — keep desktop actions discoverable on phones.
   All desktop-visible CTAs are either kept inline or cloned into the
   hamburger sheet by app.js; modals/drawers become scroll-safe sheets.
   ========================================================= */
.mobile-nav-ctas {
  display: none;
}

@media (max-width: 960px) {
  .nav-links[data-nav-links].open .mobile-nav-ctas,
  .theme-white-slate .nav-links[data-nav-links].open .mobile-nav-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, .28);
  }

  .mobile-nav-ctas .btn,
  .mobile-nav-ctas .mobile-nav-cta {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .theme-white-slate.nav-menu-open .nav-cta {
    display: none;
  }

  .theme-white-slate .nav-links[data-nav-links] {
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
  }

  .theme-white-slate .nav-links[data-nav-links] .mobile-nav-ctas a::after {
    content: none;
  }

  .theme-white-slate .nav-links[data-nav-links] .mobile-nav-ctas .btn-primary {
    background: linear-gradient(180deg, #1A2647 0%, #0A1530 100%);
    border-color: #0A1530;
    color: #F8F5EE;
  }

  .theme-white-slate .nav-links[data-nav-links] .mobile-nav-ctas .btn-ghost {
    background: #ffffff;
    border-color: #d9e2ee;
    color: #0b1736;
  }
}

@media (max-width: 720px) {
  .theme-white-slate .nav-cta {
    display: flex;
    gap: 8px;
  }

  .theme-white-slate .nav-cta .btn-ghost {
    display: inline-flex;
  }

  .theme-white-slate .nav-cta .btn-sm {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .theme-white-slate.nav-menu-open .nav-cta {
    display: none;
  }

  .theme-dark-app .topbar {
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
  }

  .theme-dark-app .topbar .search {
    flex: 1 1 100%;
    order: 2;
  }

  .theme-dark-app .topbar .actions {
    flex: 1 1 100%;
    order: 3;
    display: flex;
    justify-content: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .theme-dark-app .topbar .actions .btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 40px;
    white-space: nowrap;
  }

  .theme-dark-app .sidebar .side-foot,
  .side-foot {
    display: block;
  }

  .theme-dark-app .sidebar .side-foot {
    flex: 1 0 100%;
    width: 100%;
    margin-top: 8px;
    padding-top: 10px;
  }

  .theme-dark-app .upgrade-card {
    display: block;
    margin: 0 0 8px;
  }

  .theme-dark-app .panel,
  .panel {
    max-height: min(92dvh, calc(100dvh - 18px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-modal {
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .checkout-modal-panel {
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .checkout-actions {
    grid-template-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .ui-modal,
  .lc-modal {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

@media (max-width: 430px) {
  .theme-white-slate .nav-cta .btn-primary {
    display: none;
  }
}
