:root {
  --primary: #1a1a2e;
  --accent: #e94560;
  --accent-strong: #c81e45;
  --accent-strong-hover: #b3163c;
  --accent-deep: #9f1239;
  --accent-soft: #fdeef1;
  --dark: #0f0f1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --border: #ececf3;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(26, 26, 46, 0.08);
  --nav-h: 68px;
  --nav-h-total: 69px; /* 68 px bar + 1 px border */
  --nav-gap: clamp(12px, 1.6vw, 24px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.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;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h-total) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.container--narrow { width: min(760px, 92%); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; text-align: center; }
.btn--primary { background: var(--accent-strong); color: #fff; box-shadow: 0 8px 24px rgba(233, 69, 96, 0.35); }
.btn--primary:hover { background: var(--accent-strong-hover); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:disabled:hover { transform: none; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h);
}
.nav__logo {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800; letter-spacing: -0.5px;
}
.nav__logo img { display: block; height: 34px; width: auto; }
.nav__logo-dot { color: var(--accent); }
.nav__links {
  display: flex; align-items: center; gap: var(--nav-gap);
  min-width: 0; margin-inline: auto;
}
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--primary); }
.nav__links a:not(.btn).is-active { color: var(--primary); font-weight: 700; position: relative; }
.nav__links a:not(.btn).is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav__links .btn.is-active { box-shadow: 0 0 0 2px var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.lang { display: flex; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang__btn {
  flex: 0 0 auto; min-width: 40px; min-height: 32px;
  padding: 0 10px; border: 0; background: transparent;
  font: 700 13px/1 inherit; color: var(--muted); cursor: pointer;
}
.lang__btn.is-active { background: var(--primary); color: #fff; }

.nav__burger {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--primary); transition: transform .2s, opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .nav__inner { justify-content: space-between; }
  .nav__links {
    position: fixed; inset: var(--nav-h-total) 0 auto 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 10px max(16px, 4%) 18px;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-h-total));
    max-height: calc(100dvh - var(--nav-h-total));
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  body.has-cookie-banner .nav__links {
    max-height: calc(100dvh - var(--nav-h-total) - var(--cookie-banner-space, 0px));
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a {
    display: flex; align-items: center; min-height: 48px;
    padding: 0 8px; border-radius: 10px; font-size: 16px; white-space: normal;
  }
  .nav__links a:not(.btn):hover { background: var(--bg-alt); color: var(--primary); }
  .nav__links a[href="/account.html"] { margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0; }
  .nav__links .btn { justify-content: center; margin-top: 8px; min-height: 48px; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 420px) {
  .nav__inner { gap: 8px; }
  .nav__logo img { height: 30px; }
  .lang__btn { min-width: 30px; min-height: 44px; padding: 0 6px; font-size: 12px; }
}
@media (max-width: 360px) {
  .nav > .container { width: min(1120px, 96%); }
  .nav__inner { gap: 4px; }
  .nav__actions { gap: 6px; }
  .lang__btn { min-width: 28px; padding: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__links { transition: none; transform: none; }
  .nav__burger span { transition: none; }
}

/* HERO */
.hero {
  padding: 150px 0 80px;
  background: radial-gradient(900px 500px at 85% -10%, var(--accent-soft), transparent 60%), var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__copy h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -1.5px; font-weight: 800; }
.hero__sub { margin: 22px 0 30px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__points { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.hero__points li { padding-left: 28px; position: relative; color: var(--primary); font-weight: 500; }
.hero__points li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Phone mockup */
.phone { position: relative; width: 300px; margin-inline: auto; }
.phone__frame {
  width: 300px; height: 600px;
  border-radius: 44px;
  background: var(--primary);
  padding: 14px;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone__screen { height: 100%; border-radius: 32px; background: #fff; overflow: hidden; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.phone__glow { position: absolute; inset: 30px -40px -40px -40px; background: radial-gradient(closest-side, rgba(233, 69, 96, 0.25), transparent); z-index: -1; }

/* App preview (client-app recreation) */
.phone__screen--app {
  background: #1c1c1e;
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.app__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}
.app__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9024e9, #6b1fb8);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #fff;
}
.app__points {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 14px;
  font-weight: 600;
}
.app__points svg { width: 18px; height: 18px; fill: #9024e9; }
.app__points span:first-of-type { color: #fff; }
.app__topright { display: flex; align-items: center; gap: 10px; }
.app__cardbtn {
  width: 34px; height: 34px; border-radius: 10px;
  background: #2c2c2e; border: 1px solid #3a3a3c;
  display: grid; place-items: center; padding: 0;
  color: #fff; cursor: pointer;
}
.app__cardbtn svg { width: 18px; height: 18px; fill: currentColor; }
.app__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 14px;
  scrollbar-width: none;
}
.app__body::-webkit-scrollbar { display: none; }
.app__screen { display: none; }
.app__screen--active { display: block; }

.app__greet { color: #8e8e93; font-size: 14px; margin-bottom: 14px; }
.app__banner {
  position: relative;
  height: 150px;
  border-radius: 18px;
  background: #2c2c2e;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}
.app__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(144, 36, 233, 0.35), transparent 60%);
  pointer-events: none;
}
.app__banner-title { font-size: 20px; font-weight: 800; }
.app__banner-sub { color: #8e8e93; font-size: 12px; }
.app__banner-btn {
  align-self: flex-start;
  margin-top: 8px;
  background: #fff;
  color: #1c1c1e;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

.app__section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 12px;
}
.app__section-head > span { font-size: 16px; font-weight: 700; }
.app__seeall { color: #9024e9; font-size: 12px; font-weight: 600; }

.app__carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px 4px;
}
.app__carousel::-webkit-scrollbar { display: none; }
.app__card { border-radius: 16px; }
.app__label-light { color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.app__value-light { color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-top: 4px; }
.app__bar { height: 8px; background: rgba(255, 255, 255, 0.25); border-radius: 999px; margin-top: 14px; overflow: hidden; }
.app__bar span { display: block; height: 100%; background: #fff; border-radius: 999px; }
.app__reward {
  flex: 0 0 118px;
  background: #2c2c2e;
  border-radius: 14px;
  overflow: hidden;
}
.app__reward-img {
  height: 76px;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.app__reward-name {
  padding: 10px 10px 2px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__reward-pts { padding: 0 10px 10px; color: #9024e9; font-size: 11px; font-weight: 700; }

.app__history { background: #2c2c2e; border-radius: 14px; overflow: hidden; }
.app__history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.app__history-item + .app__history-item { border-top: 1px solid #3a3a3c; }
.app__history-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.app__history-ico--plus { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.app__history-ico--minus { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.app__history-item b { font-size: 13px; }
.app__history-item small {
  display: block;
  color: #8e8e93;
  font-size: 11px;
  margin-top: 2px;
}

/* events */
.app__event {
  background: #2c2c2e;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.app__event-img {
  height: 96px;
  display: grid;
  place-items: center;
  font-size: 34px;
}
.app__event-body { padding: 12px 14px 14px; }
.app__event-title { font-size: 15px; font-weight: 700; }
.app__event-desc { color: #8e8e93; font-size: 12px; margin-top: 3px; }
.app__event-meta { color: #8e8e93; font-size: 11px; margin-top: 8px; }
.app__event-pts { color: #9024e9; font-size: 12px; font-weight: 700; margin-top: 8px; }

/* qr */
.app__qr {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin: 6px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.app__qr-code {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  gap: 1px;
  width: 170px;
  height: 170px;
}
.app__qr-code i { background: #fff; }
.app__qr-code i.on { background: #1c1c1e; }
.app__qr-hint { color: #8e8e93; font-size: 11px; }

/* location */
.app__loc {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #2c2c2e;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}
.app__loc-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(144, 36, 233, 0.15);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.app__loc-body { flex: 1; }
.app__loc-name { font-size: 14px; font-weight: 700; }
.app__loc-addr, .app__loc-phone { color: #8e8e93; font-size: 12px; margin-top: 2px; }
.app__loc-links { display: flex; gap: 12px; margin-top: 8px; }
.app__loc-links span { color: #9024e9; font-size: 12px; font-weight: 600; }
.app__loc-chev { color: #8e8e93; font-size: 18px; }

/* profile */
.app__avatar {
  width: 72px;
  height: 72px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: #2c2c2e;
  border: 2px solid #3a3a3c;
  display: grid;
  place-items: center;
  font-size: 30px;
}
.app__avatar-name { text-align: center; font-weight: 700; margin-top: 10px; }
.app__avatar-email { text-align: center; color: #8e8e93; font-size: 12px; margin-top: 2px; }
.app__menu {
  margin-top: 20px;
  background: #2c2c2e;
  border-radius: 14px;
  overflow: hidden;
}
.app__menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  font-size: 14px;
}
.app__menu-item + .app__menu-item,
.app__menu-sep + .app__menu-item { border-top: 1px solid #3a3a3c; }
.app__menu-sep { height: 8px; }
.app__menu-chev, .app__menu-val { color: #8e8e93; font-size: 13px; }
.app__menu-item--danger > span:first-child { color: #ff3b30; }

/* nav */
.app__nav {
  display: flex;
  justify-content: space-around;
  background: #2c2c2e;
  border-top: 1px solid #3a3a3c;
  padding: 8px 0 10px;
}
.app__tab {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #8e8e93;
  font-family: inherit;
  font-size: 9px;
  padding: 2px 8px;
}
.app__tab svg { width: 22px; height: 22px; fill: currentColor; }
.app__tab--active { color: #fff; }

/* Business dashboard (owner panel) */
.biz__appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}
.biz__title { font-size: 16px; font-weight: 800; }
.biz__icons { display: flex; align-items: center; gap: 12px; }
.biz__icons svg { width: 22px; height: 22px; fill: #fff; }
.biz__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 8px;
}
.biz__card {
  background: #2c2c2e;
  border: none;
  border-radius: 14px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.biz__card:active { transform: scale(0.97); }
.biz__ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  display: grid;
  place-items: center;
}
.biz__ico svg {
  width: 30px;
  height: 30px;
  fill: var(--c);
}
.biz__card:hover { outline: 1px solid #3a3a3c; }
.biz__back {
  background: none;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #8e8e93;
}
.biz__back svg { width: 22px; height: 22px; fill: currentColor; }
.biz__back:hover { color: #fff; }
.biz__back[hidden] { display: none; }
.biz__screen { display: none; }
.biz__screen--active { display: block; }
.biz__grid.biz__screen--active { display: grid; }
.biz__screen-title { font-size: 15px; font-weight: 700; margin: 14px 0 12px; }
.biz__list { background: #2c2c2e; border-radius: 14px; overflow: hidden; }
.biz__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.biz__row + .biz__row { border-top: 1px solid #3a3a3c; }
.biz__row-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.biz__row-body { flex: 1; min-width: 0; }
.biz__row-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz__row-meta { color: #8e8e93; font-size: 12px; margin-top: 2px; }
.biz__row-chev { color: #8e8e93; font-size: 16px; }
.biz__scan-btn {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, #9024e9, #6b1fb8);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.biz__scan-btn:active { transform: scale(0.98); }
.biz__scan-ok { margin-top: 10px; font-weight: 700; color: #10b981; text-align: center; font-size: 13px; }
.biz__scan-ok[hidden] { display: none; }
.biz__section-title { font-size: 15px; font-weight: 700; margin: 20px 0 12px; }
.biz__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.biz__stat {
  background: #2c2c2e;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.biz__stat-val { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.biz__stat-label { color: #8e8e93; font-size: 11px; margin-top: 2px; }

/* SECTIONS */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; font-weight: 800; text-align: center; }
.section__sub { text-align: center; color: var(--muted); font-size: 17px; margin: 14px auto 48px; max-width: 560px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

/* GRID / CARDS */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__icon { font-size: 30px; display: inline-block; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* WHITE LABEL */
.white { background: var(--primary); color: #fff; }
.white__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.white__copy .tag { background: rgba(233, 69, 96, 0.2); color: #ff9db0; }
.white__copy h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -1px; margin-bottom: 16px; }
.white__copy p { color: #c9c9dd; }
.white__list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.white__list li { padding-left: 28px; position: relative; color: #e8e8f4; }
.white__list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* PLANS */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; margin-top: 34px; }
.plan { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--accent); box-shadow: 0 18px 50px rgba(233, 69, 96, 0.18); }
.pricing__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pricing__controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.price-mode { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.price-mode__btn { background: transparent; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; padding: 7px 14px; cursor: pointer; }
.price-mode__btn.is-active { background: var(--accent-strong); color: #fff; }
.price-mode__btn:focus-visible { outline: 2px solid #1a1a2e; outline-offset: -2px; }
.price-mode__btn.is-active:focus-visible { outline-color: #fff; }
.price-mode__badge { display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.price-mode__btn.is-active .price-mode__badge { background: #fff; color: #c9304a; }
@media (pointer: coarse) { .price-mode__btn { padding: 14px 16px; min-height: 44px; } .lang__btn { min-height: 44px; min-width: 44px; } .cookie-banner button, .cookie-banner .btn { min-height: 44px; } }
@media (max-width: 640px) {
  .pricing__controls { width: 100%; justify-content: stretch; gap: 8px; }
  .pricing__controls .price-mode { flex: 1 1 0; }
  .pricing__controls .price-mode__btn { flex: 1; padding: 10px 6px; font-size: 12px; min-height: 44px; }
  .cookie-banner button, .cookie-banner .btn { min-height: 44px; }
}
body.price-net .plan__price--gross, body.price-net .setup-gross { display: none; }
body.price-gross .plan__price--net, body.price-gross .setup-net { display: none; }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-strong); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.plan__name { font-size: 18px; }
.plan__tagline { color: var(--muted); font-size: 14px; margin-top: 2px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 22px 0 4px; }
.plan__per { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 0; white-space: nowrap; }
.plan__list { list-style: none; margin: 18px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan__list li { padding-left: 26px; position: relative; font-size: 15px; }
.plan__list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan__setup { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 12px; }
.pricing__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 36px; }
.pricing__note + .pricing__note { margin-top: 8px; }
.pricing__note + .pricing__note--hold { margin-top: 20px; }
.pricing__note--hold { color: var(--accent-deep); font-weight: 700; }

.hold-form {
  max-width: 760px; margin: 28px auto 0; padding: 22px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-alt); text-align: left;
  scroll-margin-top: calc(var(--nav-h-total) + 16px);
}
.hold-form__title { font-size: 18px; margin-bottom: 4px; }
.hold-form__sub { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.hold-form__row { display: flex; flex-wrap: wrap; gap: 12px; }
.hold-form input[type="text"],
.hold-form input[type="email"],
.hold-form input[type="tel"],
.hold-form select {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--primary); font: inherit;
}
.hold-form select:has(option[value=""]:checked) { color: var(--muted); }
.hold-form input:focus,
.hold-form select:focus { outline: 2px solid var(--accent-strong); outline-offset: -1px; }
.hold-form__company { width: 100%; margin-top: 12px; }
.hold-form__request {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 12px 0 10px; font-size: 12px; line-height: 1.5; color: var(--muted);
}
.hold-form__request input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent-strong); }
.hold-form__request a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.hold-form__request--optional { margin-top: 0; }
.hold-form__msg { margin-top: 8px; font-size: 13px; min-height: 1em; }
.hold-form__msg.is-ok { color: #166534; }
.hold-form__msg.is-error { color: #b91c1c; }

/* DEMO */
.demo__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.demo__copy h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -1px; margin-bottom: 14px; }
.demo__copy p { color: var(--muted); margin-bottom: 26px; max-width: 480px; }
.demo__note { font-size: 13px; margin-top: 18px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; }
.faq__item summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 700; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--muted); padding-bottom: 18px; }

/* CTA / FORM */
.cta { background: radial-gradient(700px 400px at 50% -20%, var(--accent-soft), transparent 60%), var(--bg); }
.cta__title { text-align: center; font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.cta__sub { text-align: center; color: var(--muted); margin: 12px 0 36px; }

/* QUOTE FORM (extended) */

.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.popup { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; }
.popup[hidden] { display: none; }
.popup__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.popup__card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.popup__close { position: absolute; top: 6px; right: 10px; background: transparent; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.popup__close:hover { color: var(--primary); }
.popup__title { margin: 0 0 8px; font-size: 20px; }
.popup__text { color: var(--muted); margin: 0 0 18px; }
.popup__form { display: grid; gap: 10px; margin-top: 4px; text-align: left; }
.popup__form input { width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; color: var(--primary); font-size: 15px; font-family: inherit; }
.popup__form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.popup__msg { display: none; margin: 0; font-size: 14px; text-align: center; }
.popup__legal { margin: 2px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); text-align: left; }
.popup__legal a { color: var(--primary); text-decoration: underline; }
.popup__msg.is-ok { display: block; color: #0f7b3e; }
.popup__msg.is-error { display: block; color: #c0392b; }
.popup__mail { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.popup__mail:hover { color: var(--primary); }

/* Subscription plan cards in the quote form */

/* Quote live preview */

/* Preview view switcher (splash <-> main screen) */

/* Preview screens */

/* Live preview theming (colors bound to --qp-* variables) */
.qp .app__logo { background: linear-gradient(135deg, var(--qp-primary), color-mix(in srgb, var(--qp-primary) 55%, #000)); }
.qp .app__points svg { fill: var(--qp-primary); }
.qp .app__points span:first-of-type { color: var(--qp-primary); }
.qp__card {
  background: linear-gradient(135deg, var(--qp-primary), color-mix(in srgb, var(--qp-primary) 55%, #000));
  border-radius: 16px; padding: 18px;
}
.qp .app__seeall { color: var(--qp-accent); }
.qp .app__reward-pts { color: var(--qp-primary); }
.qp .app__event-pts { color: var(--qp-primary); }
.qp .app__loc-ico { background: color-mix(in srgb, var(--qp-primary) 15%, transparent); }
.qp .app__loc-links span { color: var(--qp-primary); }
.qp .app__reward { background: var(--qp-surface, #2c2c2e); }
.qp .app__nav {
  background: var(--qp-surface, #2c2c2e);
  border-top-color: color-mix(in srgb, var(--qp-surface, #2c2c2e) 78%, #fff);
}
.qp .app__tab--active { color: var(--qp-primary); }

/* HERO badge + stats */
.hero__badge {
  display: inline-block;
  background: rgba(233, 69, 96, 0.1);
  color: var(--accent-strong);
  border: 1px solid rgba(233, 69, 96, 0.25);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__stats { display: flex; gap: 28px; margin-top: 34px; }
.hero__stat { display: grid; gap: 2px; }
.hero__stat strong { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; color: var(--primary); }
.hero__stat span { font-size: 13px; color: var(--muted); }

/* ROI CALCULATOR */
.roi { background: var(--bg-alt); }
#how .tag, #features .tag, .roi .tag { display: table; margin-inline: auto; }
.roi__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.roi__controls { display: grid; gap: 22px; }
.roi__field { display: grid; gap: 8px; }
.roi__field > span { font-weight: 600; font-size: 14px; }
.roi__field output { font-weight: 800; color: var(--accent-strong); font-size: 15px; }
.roi__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 40%, var(--border) 40%, var(--border) 100%);
  outline: none;
  cursor: pointer;
}
.roi__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.roi__field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: pointer;
}
.roi__result {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
}
.roi__result-label { font-size: 14px; color: #c9c9dd; }
.roi__result-value { font-size: 46px; font-weight: 800; letter-spacing: -1.5px; margin: 10px 0 20px; }
.roi__result-value span:last-child { font-size: 22px; font-weight: 600; color: #c9c9dd; }
.roi__result .btn--primary { width: 100%; }
.roi__note { font-size: 12px; color: #8f8fae; margin-top: 14px; }

/* IMPLEMENTATION timeline */
.flow { list-style: none; display: grid; gap: 18px; counter-reset: none; }
.flow__item {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px 24px 96px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.flow__item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.flow__num {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}
.flow__item h3 { font-size: 19px; margin-bottom: 6px; }
.flow__item p { color: var(--muted); }
.flow__item::before {
  content: "";
  position: absolute;
  left: 49px;
  top: 76px;
  bottom: -18px;
  width: 2px;
  background: var(--border);
}
.flow__item:last-child::before { display: none; }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pillar__icon { font-size: 32px; }
.pillar h3 { font-size: 19px; margin: 14px 0 14px; }
.pillar__list { list-style: none; display: grid; gap: 10px; }
.pillar__list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.pillar__list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* DATA OWNERSHIP */
.own { background: var(--primary); color: #fff; }
.own__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.own__copy .tag { background: rgba(233, 69, 96, 0.2); color: #ff9db0; }
.own__copy h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -1px; margin-bottom: 16px; }
.own__copy p { color: #c9c9dd; }
.own__list { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.own__list li { padding-left: 28px; position: relative; color: #e8e8f4; }
.own__list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.own__note { margin-top: 18px; color: #a7a7c0; font-size: 12.5px; line-height: 1.5; }
.own__cards { display: grid; gap: 14px; }
.own__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 22px;
  display: grid;
  gap: 4px;
}
.own__card strong { font-size: 22px; letter-spacing: 1px; color: var(--accent); }
.own__card span { color: #c9c9dd; font-size: 14px; }

.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* FOOTER */
.footer { background: var(--dark); color: #c9c9dd; padding: 56px 0 28px; margin-top: 0; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.footer .nav__logo { color: #fff; display: inline-block; width: fit-content; }
.footer .nav__logo img { height: 42px; }
.footer__tag { margin-top: 10px; color: #8f8fae; font-size: 15px; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { color: #c9c9dd; font-size: 15px; }
.footer__nav a:hover { color: #fff; }
.footer__contact { text-align: right; }
.footer__contact a { color: #c9c9dd; font-size: 15px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #8f8fae; }
.footer__legal {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0 12px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px; color: #8f8fae;
}
.footer__legal a {
  display: inline-flex; align-items: center;
  min-height: 24px; padding-block: 4px;
  color: #c9c9dd; font-size: 13px;
  white-space: nowrap;
}
.footer__legal a:hover { color: #fff; }
.footer__legal a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
@media (pointer: coarse) {
  .footer__nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__legal a { min-height: 44px; padding-block: 0; }
}
@media (max-width: 760px) {
  .footer__legal { gap: 0 16px; }
  .footer__legal > span { display: none; }
}
/* Reserve the fixed banner's footprint so it never covers the legal row. */
body.has-cookie-banner .footer { padding-bottom: calc(28px + var(--cookie-banner-space, 0px)); }
.footer__company { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
.footer__company a { color: #c9c9dd; }
.footer__company a:hover { color: #fff; }
.footer__label { color: #8f8fae; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.footer__note { color: #8f8fae; font-size: 13px; margin-top: 6px; }

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  width: min(1120px, calc(100% - 32px)); margin-inline: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--primary); color: #fff;
  border-radius: var(--radius); padding: 18px 22px;
  box-shadow: 0 18px 50px rgba(15, 15, 26, 0.35);
}
.cookie-banner__text { font-size: 14px; line-height: 1.5; color: #d7d7e6; flex: 1 1 320px; }
.cookie-banner__legal { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.cookie-banner__legal .cookie-banner__link { white-space: nowrap; margin-right: 0; }
.cookie-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-banner__link { color: #fff; text-decoration: underline; font-size: 14px; font-weight: 600; margin-right: 4px; }
.cookie-banner__link:focus-visible,
.cookie-banner .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.cookie-banner .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cookie-banner .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cookie-banner__customize { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: 100%; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); }
.cookie-banner__customize[hidden] { display: none; }
.cookie-banner__customize label { display: inline-flex; align-items: center; gap: 6px; color: #d7d7e6; font-size: 13px; }
.cookie-banner__customize input { accent-color: #fff; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero__grid, .white__grid, .demo__grid, .roi__grid, .own__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .roi__result { order: -1; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-preview { position: static; order: -1; }
  .hero { padding-top: 130px; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__points { text-align: left; max-width: 420px; margin-inline: auto; }
  .grid, .plans { grid-template-columns: 1fr 1fr; }
  .demo__grid { text-align: center; }
  .demo__copy p { margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
}

@media (max-width: 640px) {
  .grid, .grid--4, .pillars, .plans { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 18px; }
  .flow__item { padding: 22px 20px 22px 20px; }
  .flow__num { position: static; margin-bottom: 12px; }
  .flow__item::before { display: none; }
  .roi__grid { padding: 22px; }
  .phone, .phone__frame { width: 260px; height: 540px; }
  .phone__screen--app { border-radius: 26px; }
  .section { padding: 64px 0; }
}