:root {
  --yellow: #FFCB05;
  --on-yellow: #0d0d0c;   /* dark text/icons placed on top of yellow */

  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1c1c1c;
  --border: #2a2a2a;

  --ink: #f5f5f3;
  --ink-soft: #cfccc4;
  --muted: #97948d;
  --muted-light: #625f59;

  --radius: 12px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  padding-bottom: 64px; /* space for fixed bottom bar */
}

a { color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── NAVBAR (flat, solid) ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex; align-items: center;
  padding: 0 24px;
  background: var(--bg);
}

.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: 48px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ── LANGUAGE SWITCHER (flat) ── */
.lang-switch { position: relative; }

.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.lang-toggle:hover { background: rgba(255,255,255,0.14); }

.lang-chevron { width: 12px; height: 12px; transition: transform 0.15s; }
.lang-switch.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 130px;
  padding: 4px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.lang-switch.open .lang-menu { display: flex; }

.lang-option {
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-option:hover { background: var(--surface2); }
.lang-option.active { color: var(--on-yellow); font-weight: 700; background: var(--yellow); }

/* ── BURGER (always last → far right) ── */
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  cursor: pointer;
  order: 99; /* guarantees right-most position regardless of source order changes */
}
.nav-burger span { width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE MENU: slide-in panel from the right ── */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 198;
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh; height: 100dvh;
  width: 78%;
  max-width: 300px;
  background: var(--surface);
  z-index: 199;
  display: flex;
  flex-direction: column;
  padding: 76px 8px 24px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 10px;
}
.mobile-menu a:active { background: var(--surface2); color: var(--ink); }

/* ── HERO (flat yellow block, text left / image slot right) ── */
.hero {
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  padding-top: 60px;
}

.hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px 0px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  text-align: left;
}

.hero-content { min-width: 0; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(0,0,0,0.65);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-eyebrow .live {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 3px 8px;
  color: var(--on-yellow);
}
.hero-eyebrow .live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--on-yellow); }

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: var(--on-yellow);
  margin-bottom: 24px;
}
.hero-title .accent {
  position: relative;
  color: var(--on-yellow);
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px; bottom: 6px;
  height: 12px;
  background: rgba(255,255,255,0.4);
  z-index: -1;
}

.hero-desc {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(0,0,0,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }

.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; margin-top: 40px; }

.hero-tag {
  background: rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
  font-weight: 500;
}

/* image slot on the right of the hero */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  /*background: rgba(0,0,0,0.05);
  border: 1.5px dashed rgba(0,0,0,0.28);*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(0,0,0,0.45);
  text-align: center;
  padding: 24px;
}
.hero-media-placeholder svg { width: 38px; height: 38px; opacity: 0.65; }
.hero-media-placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-image {
  display: none; /* JS reveals this once it loads successfully */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── BUTTONS (flat, no shadow) ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow);
  color: var(--on-yellow);
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: #ffd633; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--on-yellow);
  border: 1.5px solid rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.5); }

.btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost-dark:hover { border-color: var(--ink-soft); background: var(--surface2); }

/* ── STATS ── */
.stats { border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.stat-item { background: var(--surface); text-align: center; padding: 34px 18px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 3.2vw, 38px); font-weight: 700; letter-spacing: -1px; }
.stat-num .unit { color: var(--yellow); -webkit-text-stroke: 0.5px var(--bg); }
.stat-lbl { font-size: 11px; letter-spacing: 0.5px; color: var(--muted); margin-top: 4px; }

/* ── SECTIONS ── */
.section { max-width: 1180px; margin: 0 auto; padding: 88px 24px; }
.section-header { margin-bottom: 48px; max-width: 600px; }
.section-header.center { text-align: center; margin: 0 auto 48px; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
  padding-bottom: 3px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.qr-title-sm { font-size: clamp(24px,3vw,36px); margin-bottom: 14px; }

.section-desc { font-size: 14.5px; color: var(--muted); line-height: 1.7; max-width: 460px; }
.qr-desc-margin { margin-bottom: 32px; }

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.how-card { background: var(--surface); padding: 32px 28px; }
.how-num { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; color: var(--yellow); margin-bottom: 16px; }
.how-title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.how-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.feat-card { background: var(--surface); padding: 28px 24px; }
.feat-num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted-light); margin-bottom: 16px; }
.feat-title { font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 700; margin-bottom: 7px; }
.feat-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ── SPLIT ── */
.split-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.split-card { background: var(--surface); padding: 64px 48px; position: relative; }
.split-card::before {
  content: attr(data-label);
  position: absolute; top: 24px; right: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted-light);
}
.split-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; }
.split-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; max-width: 340px; }
.pill-list { display: flex; flex-direction: column; gap: 9px; }
.pill-item { font-size: 13px; color: var(--ink-soft); font-weight: 500; padding-left: 14px; position: relative; }
.pill-item::before { content: '—'; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }

/* ── QR / POSTER SECTION ── */
.qr-wrap-outer { max-width: 1180px; margin: 0 auto; padding: 0 24px 88px; }

.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.qr-left { padding: 52px 44px; border-right: 1px solid var(--border); }
/* ── QR RIGHT — live page preview viewport ── */
.qr-right {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--surface2);
  /* subtle dark checker to show it's a preview area */
  background-image:
    linear-gradient(45deg, #232323 25%, transparent 25%),
    linear-gradient(-45deg, #232323 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #232323 75%),
    linear-gradient(-45deg, transparent 75%, #232323 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  background-color: #171717;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

/* label at the top of the preview panel */
.qr-preview-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 16px;
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  position: relative;
  z-index: 2;
}

/* placeholder shown before first preview */
.qr-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}
.qr-placeholder-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-light);
  text-align: center;
  max-width: 180px;
  line-height: 1.6;
}
.qr-placeholder-hint {
  font-size: 10px;
  color: var(--muted-light);
  opacity: 0.7;
}

/* the scaled wrapper — sized by JS to match scaled height */
.qr-live-wrap {
  display: none; /* shown by JS */
  width: 100%;
  position: relative;   /* establishes stacking context for the absolute scaler */
  z-index: 2;
  /* height is set by JS: 1123 * scale px */
}

/* inner scaler — full A4 at screen resolution, scaled down.
   Absolute positioning removes it from flow so the 1123px height
   doesn't push the container open. Scale from top-center so the
   full width stays centred and the top is always flush. */
.qr-live-scaler {
  width: 794px;
  height: 1123px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -397px;   /* half of 794px — centres without transform tricks */
  transform-origin: top center;
  transform: scale(0.38); /* JS overrides this value */
  display: flex !important;
  flex-direction: column;
}

/* force the real page classes to render inline (not hidden by @media print rules) */
.qr-live-scaler .poster-page,
.qr-live-scaler .qrpage-page {
  width: 794px !important;
  height: 1123px !important;
  page-break-after: unset !important;
  break-after: unset !important;
  display: flex !important;
  flex-shrink: 0;
}

/* uuid line below the preview */
.qr-preview-uuid {
  font-size: 9px;
  color: var(--muted-light);
  word-break: break-all;
  text-align: center;
  max-width: 260px;
  line-height: 1.5;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

/* ── QR MODE TABS ── */
.qr-tabs {
  display: flex;
  gap: 2px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 24px;
  width: fit-content;
}

.qr-tab {
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.qr-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.qr-tab:hover:not(.active) { color: var(--ink-soft); }

.qr-form { margin-top: 8px; }
.qr-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.qr-input {
  width: 100%;
  max-width: 160px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}
.qr-input:focus { border-color: var(--yellow); }
.qr-input::-webkit-outer-spin-button,
.qr-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qr-input[type=number] { -moz-appearance: textfield; }

.qr-hint { font-size: 12px; color: var(--muted-light); margin: 10px 0 22px; line-height: 1.5; }

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

.qr-status {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  min-height: 16px;
}
.qr-status.ready { color: #3ecb7a; }
.qr-status.working { color: var(--ink); }
.qr-status.error { color: #e0564a; }

/* (preview card replaced by live scaled page — see .qr-live-wrap) */

/* ── CTA ── */
.cta-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner { max-width: 1180px; margin: 0 auto; padding: 88px 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.cta-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -1px; line-height: 1.08; margin-bottom: 12px; }
.cta-desc { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 400px; }
.cta-btns { display: flex; gap: 10px; flex-direction: column; }

.btn-store {
  display: inline-flex; align-items: center;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-store small { display: block; font-size: 8px; font-weight: 500; opacity: 0.65; letter-spacing: 0.4px; text-transform: uppercase; }
.btn-store.apple { background: var(--bg); color: #fff; border: 1px solid var(--border); }
.btn-store.android { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }

/* ── SUPPORT ── */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.support-card { background: var(--surface); padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.support-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; }
.support-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.support-link { font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }

/* ── FOOTER ── */
.footer-border { border-top: 1px solid var(--border); }
footer { max-width: 1180px; margin: 0 auto; padding: 36px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 11px; color: var(--muted-light); }

/* ── FIXED BOTTOM APP BAR ── */
.app-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--bg);
  border-top: 2px solid var(--yellow);
  transform: translateY(0);
  transition: transform 0.25s ease;
}
.app-bar.dismissed { transform: translateY(100%); }

.app-bar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px;
}

.app-bar-tagline { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); flex: 1; min-width: 0; }

.app-bar-btns { display: flex; gap: 8px; flex-shrink: 0; }

.app-bar-badge {
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.app-bar-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  flex-shrink: 0;
}
.app-bar-close:hover { color: #fff; }

/* ── BUSINESS REGISTRATION — small popup ── */
.biz-popup {
  position: fixed;
  right: 20px;
  bottom: 84px; /* sits above the fixed app bar */
  width: 300px;
  max-width: calc(100vw - 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 260;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.biz-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.biz-popup-close {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: none;
  color: var(--muted-light);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.biz-popup-close:hover { color: var(--ink); }

.biz-popup-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,203,5,0.12);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.biz-popup-icon svg { width: 20px; height: 20px; }

.biz-popup-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
  padding-right: 14px;
}
.biz-popup-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.biz-popup-actions { display: flex; gap: 8px; margin-bottom: 12px; }
.biz-popup-actions .btn-primary,
.biz-popup-actions .btn-ghost-dark {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
}
.biz-popup-dontask {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px;
  color: var(--muted-light);
  cursor: pointer;
}
.biz-popup-dontask input { accent-color: var(--yellow); width: 13px; height: 13px; }

/* ── BUSINESS REGISTRATION — full modal ── */
.biz-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 298;
}
.biz-modal-overlay.open { display: block; }

.biz-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  z-index: 299;
}
.biz-modal.open { display: block; }

.biz-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 30px; height: 30px;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.biz-modal-close:hover { color: var(--ink); border-color: var(--ink-soft); }

.biz-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.biz-modal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.biz-field { margin-bottom: 16px; }
.biz-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.biz-field input,
.biz-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.biz-field input:focus,
.biz-field textarea:focus { border-color: var(--yellow); }
.biz-field input::placeholder,
.biz-field textarea::placeholder { color: var(--muted-light); }

.biz-form-msg { font-size: 12.5px; min-height: 16px; margin-bottom: 14px; }
.biz-form-msg.error { color: #e0564a; }
.biz-form-msg.success { color: #3ecb7a; }

.biz-submit { width: 100%; }
.biz-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.biz-modal-success { display: none; text-align: center; padding: 12px 4px 4px; }
.biz-modal-success.open { display: block; }
.biz-modal-success svg { width: 46px; height: 46px; color: var(--yellow); margin: 0 auto 16px; }
.biz-modal-success h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.biz-modal-success p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 72px 20px 0px;
    gap: 32px;
    text-align: left;
  }
  .hero-media { aspect-ratio: 10 / 10; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .split-card { padding: 40px 26px; }

  .qr-wrap-outer { padding: 0 16px 64px; }
  .qr-card { grid-template-columns: 1fr; }
  .qr-left { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 24px; }
  .qr-right { padding: 24px 16px; min-height: 380px; }

  .cta-inner { grid-template-columns: 1fr; padding: 56px 20px; gap: 28px; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; }

  .support-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 18px; }
  footer { flex-direction: column; text-align: center; padding: 28px 18px; }
  footer .footer-links { justify-content: center; }

  .app-bar-tagline { font-size: 12px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn-store { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; }

  .qr-btn-row { flex-direction: column; }
  .qr-btn-row .btn-primary, .qr-btn-row .btn-ghost-dark { width: 100%; }
  .qr-input { max-width: 100%; }

  .app-bar-inner { flex-wrap: wrap; padding: 10px 16px; }
  .app-bar-tagline { width: 100%; order: -1; margin-bottom: 4px; }
  .app-bar-badge { font-size: 11px; padding: 8px 11px; }

  .lang-toggle { padding: 8px 9px; }

  .biz-popup { left: 16px; right: 16px; width: auto; bottom: 76px; }
  .biz-modal { padding: 28px 20px; }
}

/* ══════════════════════════════════════════
   PRINT — shared setup
══════════════════════════════════════════ */
@media print {
  /* Kill ALL default browser print margins, headers, footers */
  @page {
    margin: 0;
    size: A4 portrait;
  }

  html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    overflow: hidden !important;
    background: transparent !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* hide entire site; only the active print area shows */
  body > *:not(#print-poster):not(#print-qrpages) { display: none !important; }
  #print-poster.print-active  { display: block !important; }
  #print-qrpages.print-active { display: block !important; }
}

/* both containers hidden by default */
#print-poster  { display: none; }
#print-qrpages { display: none; }

/* ══════════════════════════════════════════
   PRINT AREA A — OUTSIDE POSTER (doc 9)
   Layout: logo fills top 2/3, QR + tagblock at bottom
══════════════════════════════════════════ */
.poster-page {
  width: 210mm;
  height: 297mm;
  max-height: 297mm;
  page-break-after: always;
  break-after: page;
  background-color: #FFCB05;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 28px,
    rgba(0,0,0,0.03) 28px, rgba(0,0,0,0.03) 29px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overflow: hidden;
  font-family: 'Inter', Arial, sans-serif;
  box-sizing: border-box;
}
.poster-page:last-child { page-break-after: avoid; break-after: avoid; }

.poster-logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 22mm 20mm 10mm;
}
.poster-logo { width: 90mm; max-width: 65%; }

.poster-footer { width: 100%; padding: 8mm 18mm 14mm; }

.poster-download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10mm;
}

.poster-qr-wrap { flex-shrink: 0; }
.poster-qr-wrap canvas,
.poster-qr-wrap img {
  display: block;
  width: 54mm !important;
  height: 54mm !important;
}

.poster-separator {
  width: 0.3mm; height: 44mm;
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.poster-tagblock { text-align: left; max-width: 72mm; }

.poster-brand {
  display: block;
  font-size: 6pt;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 3mm;
}

.poster-headline {
  display: block;
  font-size: 9.5pt;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.45;
  margin-bottom: 4mm;
}

.poster-body {
  display: block;
  font-size: 6.5pt;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
  line-height: 1.8;
  margin-bottom: 4mm;
}

.poster-rule {
  display: block;
  width: 9mm; height: 0.5mm;
  background: #111;
  margin-bottom: 4mm;
}

.poster-scan-label {
  font-size: 6pt;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

.poster-uuid-tag {
  font-size: 5pt;
  color: rgba(0,0,0,0.25);
  margin-top: 5mm;
  word-break: break-all;
}

/* ══════════════════════════════════════════
   PRINT AREA B — QR-CENTERED REWARD PAGES (doc 8)
   Layout: large QR hero top, logo + tagblock bottom
══════════════════════════════════════════ */
.qrpage-page {
  width: 210mm;
  height: 297mm;
  max-height: 297mm;
  page-break-after: always;
  break-after: page;
  background-color: #FFCB05;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 28px,
    rgba(0,0,0,0.03) 28px, rgba(0,0,0,0.03) 29px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  overflow: hidden;
  font-family: 'Inter', Arial, sans-serif;
  box-sizing: border-box;
}
.qrpage-page:last-child { page-break-after: avoid; break-after: avoid; }

.qrpage-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24mm 20mm 12mm;
  gap: 8mm;
}

.qrpage-uuid {
  font-size: 6pt;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
}

.qrpage-qr-box {
  background: #fff;
  border-radius: 5mm;
  padding: 5mm;
}
.qrpage-qr-box canvas,
.qrpage-qr-box img {
  display: block;
  width: 80mm !important;
  height: 80mm !important;
}

.qrpage-scan {
  font-size: 7pt;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
}

.qrpage-footer {
  width: 100%;
  padding: 7mm 12mm 10mm;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7mm;
}

.qrpage-logo { width: 42mm; object-fit: contain; }

.qrpage-sep {
  width: 0.3mm; height: 18mm;
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.qrpage-tagblock { text-align: left; }

.qrpage-brand {
  display: block;
  font-size: 5.5pt;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 2.5mm;
}

.qrpage-tagline {
  display: block;
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.55;
  margin-bottom: 2.5mm;
}

.qrpage-rule {
  display: block;
  width: 8mm; height: 0.4mm;
  background: #111;
  margin-bottom: 2.5mm;
}

.qrpage-body {
  display: block;
  font-size: 5pt;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  line-height: 1.9;
  margin-bottom: 2mm;
}

.qrpage-stores {
  font-size: 5.5pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}