:root {
  --bg: #f5f2ec;
  --surface: #fffdf8;
  --surface-2: #f0eadf;
  --ink: #1d211f;
  --muted: #6c716d;
  --line: #ded7ca;
  --brand: #123c36;
  --brand-2: #e05a3f;
  --gold: #d7a84a;
  --blue: #285c9a;
  --danger: #a43b36;
  --ok: #236a45;
  --shadow: 0 14px 32px rgba(29, 33, 31, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 280px),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.text-action {
  background: transparent;
  color: var(--danger);
  padding: 0;
  min-height: 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  max-width: 100vw;
  display: grid;
  grid-template-columns: 340px 1fr;
}

.side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  background: #17201d;
  color: #f8f4eb;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: conic-gradient(from 45deg, var(--gold), var(--brand-2), var(--brand), var(--blue), var(--gold));
  color: white;
  font-weight: 900;
}

.loyaltyspin-logo {
  display: block;
  object-fit: cover;
  object-position: center;
}

.brand-logo {
  width: 350px;
  height: 72px;
  border-radius: 8px;
  background: rgba(255,253,248,.82);
  padding: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

.side .brand-lockup {
  align-items: flex-start;
}

.side .brand-lockup .brand-logo + div {
  padding-top: 2px;
}

.brand-lockup strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand-lockup span {
  color: #c9d0c8;
  font-size: 13px;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav button {
  min-height: 44px;
  text-align: left;
  color: #f8f4eb;
  background: transparent;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav button:hover,
.nav button.active {
  background: rgba(255, 255, 255, .1);
}

.side-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #c9d0c8;
  font-size: 13px;
  line-height: 1.45;
}

.legal-link {
  width: 100%;
  min-height: 38px;
  margin: 0 0 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #f8f4eb;
  text-align: left;
  padding: 9px 10px;
  cursor: pointer;
}

.legal-link.active,
.legal-link:hover {
  background: rgba(255,255,255,.16);
}

.mobile-legal-link {
  display: none;
  padding: 0 14px 10px;
  background: #22302b;
}

.mobile-legal-link .legal-link {
  margin: 0;
  text-align: center;
}

.main {
  padding: 28px;
}

.mobile-top {
  display: none;
  padding: 14px;
  background: #17201d;
  color: #f8f4eb;
}

.mobile-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  background: #22302b;
}

.mobile-nav button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  color: white;
  background: rgba(255,255,255,.1);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
}

.landing-page {
  display: grid;
  gap: 22px;
}

.landing-page .reveal-item,
.live-sales-page .reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  transition:
    opacity .72s ease var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.16, .82, .24, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.landing-page .reveal-item.is-visible,
.live-sales-page .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .reveal-item,
  .live-sales-page .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.landing-hero {
  min-height: 520px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18,60,54,.92), rgba(18,60,54,.56), rgba(18,60,54,.12)),
    url("mockups/loyaltyspin-phone-mockups.svg") center right / cover no-repeat;
  color: #fffdf8;
  display: grid;
  align-items: end;
}

.landing-hero-overlay {
  max-width: 760px;
  padding: 48px;
}

.landing-hero .eyebrow {
  color: rgba(255,253,248,.78);
}

.landing-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .92;
  letter-spacing: 0;
}

.landing-hero p {
  max-width: 610px;
  margin: 0;
  color: var(--brand);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 850;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255,253,248,.94);
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.landing-hero .landing-actions {
  max-width: 420px;
}

.landing-hero .landing-primary {
  width: 100%;
  min-height: 58px;
  font-size: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.landing-primary,
.landing-ghost {
  width: auto;
  min-width: 180px;
  min-height: 50px;
}

.landing-hero .landing-ghost {
  border-color: rgba(255,255,255,.38);
  color: #fffdf8;
  background: rgba(255,255,255,.1);
}

.landing-section,
.landing-benefits,
.landing-trial {
  padding: 26px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-card {
  min-height: 174px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,253,248,.96)),
    #fffdf8;
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(18,60,54,.07);
}

.landing-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 108px;
  height: 108px;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  border-radius: 50%;
  opacity: .42;
}

.landing-card > * {
  position: relative;
  z-index: 1;
}

.landing-card span,
.solution-card strong,
.benefit-list span {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand));
  color: #fffdf8;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(18,60,54,.18);
}

.problem-card span {
  background: linear-gradient(135deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 74%, var(--gold)));
}

.problem-card p {
  line-height: 1.58;
}

.problem-card p strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  font-weight: 850;
}

.solution-card {
  counter-increment: solution-step;
}

.solution-card:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -34px;
  top: 44px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--gold), var(--brand-2));
  border: 4px solid #fffdf8;
  z-index: 4;
  box-shadow: 0 18px 40px rgba(18,60,54,.22);
}

.solution-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50px;
  color: #fffdf8;
  font-size: 42px;
  line-height: 1;
  font-weight: 1000;
  z-index: 5;
}

.landing-card h3,
.landing-benefits h2,
.landing-trial h2 {
  margin: 0;
}

.landing-benefits h2,
.landing-trial h2,
.landing-section .section-title h2 {
  font-size: clamp(38px, 3.6vw, 60px);
  line-height: 1;
}

.landing-card h3 {
  font-size: 24px;
  line-height: 1.08;
}

.landing-title-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 16px 34px rgba(18,60,54,.18);
}

.landing-title-icon .landing-icon {
  width: 28px;
  height: 28px;
}

.landing-card p,
.landing-trial p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.landing-benefits {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  gap: 24px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 10px;
}

.benefit-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 8%, #fffdf8), #fffdf8);
  border: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line));
  box-shadow: 0 12px 32px rgba(18,60,54,.06);
}

.landing-trial {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 28%),
    color-mix(in srgb, var(--brand) 8%, #fffdf8);
}

.landing-signup-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.landing-signup-steps span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.landing-faq {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), color-mix(in srgb, var(--brand) 5%, white));
  box-shadow: var(--shadow);
}

.landing-faq-list {
  display: grid;
  gap: 10px;
}

.landing-faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: hidden;
}

.landing-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 16px 18px;
  font-weight: 900;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, white);
  color: var(--brand);
  font-size: 1.1rem;
}

.landing-faq-item[open] summary::after {
  content: "-";
  background: var(--brand);
  color: white;
}

.landing-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.landing-hero {
  min-height: 620px;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 20px;
  padding: 44px;
  background:
    linear-gradient(135deg, #123c36 0%, #1b5248 46%, #f0eadf 46%, #fffdf8 100%);
  color: #fffdf8;
}

.landing-hero-copy {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.landing-hero-copy h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .94;
}

.landing-hero-copy .eyebrow {
  color: rgba(255,253,248,.78);
}

.landing-hero-logo {
  width: min(320px, 72vw);
  height: 98px;
  margin: 0 0 14px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: rgba(255,253,248,.95);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.landing-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 540px;
}

.landing-proof-strip span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,253,248,.94);
  border: 1px solid rgba(255,255,255,.72);
  color: #fffdf8;
  color: var(--brand);
  font-weight: 950;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.landing-visual {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.landing-visual::before {
  content: "";
  position: absolute;
  inset: 28px 0 10px 52px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(215,168,74,.22), rgba(40,92,154,.12)),
    #fffdf8;
  box-shadow: 0 28px 70px rgba(29,33,31,.18);
}

.landing-live-app-visual::before {
  display: none;
}

.landing-live-app-visual {
  min-height: 620px;
}

.landing-live-app-visual .landing-dashboard-card {
  display: none;
}

.landing-visual-panel,
.landing-dashboard-card,
.landing-phone,
.landing-phone-photo,
.landing-phone-shot,
.landing-admin-mockup {
  position: relative;
  z-index: 1;
}

.landing-phone-photo,
.landing-phone-shot {
  width: min(360px, 50vw);
  max-height: 560px;
  object-fit: contain;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(29,33,31,.26);
  transform: rotate(-2deg);
  z-index: 3;
}

.landing-phone-shot {
  border-radius: 26px;
  background: #101715;
  filter: saturate(1.03) contrast(1.02);
}

.landing-visual > .landing-phone-shot-home {
  width: min(430px, 52vw);
  max-height: 785px;
  transform: rotate(-2deg);
}

.landing-customer-phone {
  width: min(430px, 52vw);
  margin: 0 auto;
  transform: rotate(-2deg);
  z-index: 3;
  box-shadow: 0 34px 90px rgba(29,33,31,.28);
}

.landing-customer-phone .phone-screen {
  height: 760px;
  min-height: 760px;
}

.landing-demo-phone .phone-screen {
  background: var(--surface);
}

.landing-demo-screen {
  display: none;
  height: calc(100% - 66px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.landing-demo-phone[data-step="home"] .landing-demo-screen[data-screen="home"],
.landing-demo-phone[data-step="scan"] .landing-demo-screen[data-screen="scan"],
.landing-demo-phone[data-step="spin"] .landing-demo-screen[data-screen="spin"],
.landing-demo-phone[data-step="result"] .landing-demo-screen[data-screen="result"],
.landing-demo-phone[data-step="rewards"] .landing-demo-screen[data-screen="rewards"] {
  display: block;
}

.landing-demo-flow {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
}

.landing-demo-flow h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.landing-demo-flow .receipt-camera-visual {
  margin-top: 8px;
}

.landing-app-status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.landing-app-status-row span {
  padding: 9px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 8%, white);
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.landing-phone-reward-preview {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.landing-phone-reward-preview article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18,60,54,.06);
}

.landing-phone-reward-preview .reward-icon {
  width: 44px;
  height: 44px;
}

.landing-phone-reward-preview strong,
.landing-phone-reward-preview span {
  display: block;
}

.landing-phone-reward-preview strong {
  font-size: 13px;
}

.landing-phone-reward-preview span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.landing-demo-spin-wheel {
  animation: landing-demo-spin 2.2s cubic-bezier(.12,.72,.14,1) both;
}

.landing-demo-result {
  position: relative;
  text-align: center;
  justify-items: center;
}

.landing-demo-result::before,
.landing-demo-result::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--gold) 0 8%, transparent 9% 100%),
    radial-gradient(circle at 24% 78%, var(--brand-2) 0 7%, transparent 8% 100%),
    radial-gradient(circle at 82% 32%, var(--brand) 0 6%, transparent 7% 100%);
  opacity: .38;
}

.landing-demo-result::before {
  left: 18px;
  top: 78px;
}

.landing-demo-result::after {
  right: 18px;
  top: 138px;
}

.landing-demo-nav {
  grid-template-columns: repeat(5, 1fr);
}

@keyframes landing-demo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(1260deg); }
}

.landing-mockup-row .landing-phone-shot {
  width: 220px;
  max-height: 430px;
}

.landing-mockup-row .landing-phone-shot-wallet {
  transform: rotate(-5deg);
}

.landing-mockup-row .landing-phone-shot-live {
  transform: rotate(4deg);
}

.landing-phone {
  width: 250px;
  min-height: 500px;
  padding: 12px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,0) 18%),
    linear-gradient(145deg, #101513, #2d3431 52%, #070908);
  box-shadow:
    0 38px 90px rgba(17,23,21,.38),
    inset 0 0 0 1px rgba(255,255,255,.24),
    inset 0 -18px 40px rgba(0,0,0,.28);
  position: relative;
  transform: rotate(-4deg);
}

.landing-phone.small {
  width: 220px;
  min-height: 440px;
}

.landing-phone::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 27px;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.28), transparent 34%),
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.34), transparent 20%);
  z-index: 3;
  mix-blend-mode: screen;
}

.landing-phone::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 92px;
  width: 4px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(#555f5b, #111715);
  box-shadow: -264px 42px 0 -1px #111715;
}

.landing-phone-hardware {
  position: relative;
  z-index: 1;
  height: 100%;
}

.landing-phone-device {
  isolation: isolate;
}

.landing-phone-spin {
  z-index: 4;
}

.landing-visual > .landing-phone-live {
  position: absolute;
  right: 34px;
  top: 26px;
  width: 210px;
  min-height: 430px;
  transform: rotate(7deg) scale(.88);
  opacity: .94;
  z-index: 3;
}

.landing-mockup-row > .landing-phone-live {
  width: 210px;
  min-height: 430px;
  transform: rotate(5deg);
}

.landing-phone-top {
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #050706;
  margin: 0 auto -18px;
  position: relative;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.landing-phone-screen {
  min-height: 462px;
  border-radius: 24px;
  overflow: hidden;
  background: #fffdf8;
  color: var(--ink);
  padding: 18px 15px 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.36),
    inset 0 0 34px rgba(0,0,0,.18);
}

.landing-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255,255,255,.32), transparent 28%, transparent 64%, rgba(255,255,255,.16));
  pointer-events: none;
  z-index: 6;
}

.landing-phone.small .landing-phone-screen {
  min-height: 402px;
}

.landing-game-screen,
.landing-live-screen {
  min-height: 430px;
  border-radius: 20px;
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
  overflow: hidden;
  position: relative;
}

.landing-game-screen {
  background:
    radial-gradient(circle at 50% 26%, rgba(215,168,74,.3), transparent 30%),
    linear-gradient(180deg, #fffaf0, #f2eadc);
}

.landing-aava-game-screen {
  padding: 0 0 14px;
  gap: 10px;
  background: #f6f1e8;
}

.landing-aava-hero {
  min-height: 142px;
  padding: 16px 14px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: end;
  color: #fffdf8;
  background:
    linear-gradient(180deg, rgba(18,60,54,.18), rgba(18,60,54,.9)),
    url("assets/aava-bistro-phone-demo.jpg") center top / cover no-repeat;
}

.landing-aava-hero strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.landing-aava-hero small {
  display: block;
  margin-top: 5px;
  color: rgba(255,253,248,.86);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.aava-mini-logo {
  min-width: 62px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,253,248,.95);
  color: var(--brand);
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .08em;
  box-shadow: 0 10px 26px rgba(29,33,31,.16);
}

.aava-mini-brand {
  color: inherit;
}

.aava-mini-brand .aava-mini-logo {
  min-width: 58px;
  min-height: 40px;
  font-size: 16px;
}

.landing-scan-button {
  margin: 0 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.landing-aava-game-screen .landing-game-status,
.landing-aava-game-screen .landing-receipt-line {
  margin: 0 14px;
}

.landing-live-screen {
  color: #fffdf8;
  background:
    radial-gradient(circle at 74% 12%, rgba(224,90,63,.52), transparent 26%),
    radial-gradient(circle at 20% 75%, rgba(215,168,74,.24), transparent 28%),
    linear-gradient(145deg, #123c36, #17201d);
}

.landing-phone-live .landing-phone-screen {
  background: #17201d;
}

.landing-aava-live-screen {
  align-content: center;
  justify-items: center;
}

.landing-live-phone-qr {
  width: 150px;
  aspect-ratio: 1;
  display: block;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
}

.landing-game-status,
.landing-live-meta,
.landing-live-feed,
.landing-stamp-copy {
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 11px;
  box-shadow: 0 12px 32px rgba(29,33,31,.12);
}

.landing-game-status span,
.landing-live-meta span,
.landing-live-feed span,
.landing-stamp-copy small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.landing-game-status strong,
.landing-live-meta strong,
.landing-stamp-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.05;
}

.landing-live-meta,
.landing-live-feed {
  background: rgba(255,255,255,.12);
  color: #fffdf8;
}

.landing-live-meta span,
.landing-live-feed span {
  color: rgba(255,253,248,.78);
}

.landing-mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
}

.landing-mini-logo {
  width: 62px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(29,33,31,.08);
}

.landing-wheel {
  width: 184px;
  height: 184px;
  margin: 8px auto;
  border-radius: 50%;
  background:
    conic-gradient(var(--gold) 0 25%, var(--brand-2) 0 50%, var(--blue) 0 75%, var(--brand) 0 100%);
  border: 8px solid #fff;
  box-shadow: 0 14px 32px rgba(29,33,31,.14);
  display: grid;
  place-items: center;
  position: relative;
}

.landing-live-wheel {
  width: 176px;
  height: 176px;
  margin: 0 auto;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,.94);
  background:
    radial-gradient(circle, #fffdf8 0 17%, transparent 17%),
    repeating-conic-gradient(from -8deg, #e05a3f 0 45deg, #f4c1ce 45deg 90deg, #d7a84a 90deg 135deg, #fff1a8 135deg 180deg, #285c9a 180deg 225deg, #b9dcff 225deg 270deg, #123c36 270deg 315deg, #a9d8bc 315deg 360deg);
  box-shadow: 0 18px 42px rgba(0,0,0,.26), 0 0 58px rgba(215,168,74,.28);
  position: relative;
}

.landing-live-wheel::after {
  content: "";
  position: absolute;
  right: -24px;
  top: calc(50% - 14px);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 24px solid #fffdf8;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.26));
}

.landing-live-wheel span {
  position: absolute;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-live-wheel span:nth-child(1) { top: 28px; left: 62px; }
.landing-live-wheel span:nth-child(2) { right: 20px; top: 80px; }
.landing-live-wheel span:nth-child(3) { bottom: 28px; left: 70px; }
.landing-live-wheel span:nth-child(4) { left: 16px; top: 82px; }

.landing-wheel::after {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: inset 0 0 0 8px rgba(18,60,54,.12);
}

.landing-wheel span {
  position: absolute;
  max-width: 72px;
  color: white;
  font-size: 10px;
  font-weight: 950;
  text-align: center;
}

.landing-wheel span:nth-child(1) { top: 28px; left: 58px; }
.landing-wheel span:nth-child(2) { right: 16px; top: 82px; }
.landing-wheel span:nth-child(3) { bottom: 30px; left: 76px; }
.landing-wheel span:nth-child(4) { left: 18px; top: 82px; }

.landing-receipt-line {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.landing-receipt-line small,
.landing-reward-ticket small,
.landing-admin-mockup small,
.landing-dashboard-card small,
.qr-panel small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.landing-phone button {
  min-height: 44px;
  border-radius: 10px;
  background: var(--brand-2);
  color: white;
  font-weight: 950;
}

.qr-panel {
  position: absolute;
  left: 6px;
  top: 58px;
  width: 190px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,253,248,.95);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(29,33,31,.18);
  text-align: center;
  backdrop-filter: blur(12px);
  z-index: 5;
}

.landing-real-qr {
  width: 138px;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.landing-fake-qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  margin: 0 auto 8px;
  background:
    linear-gradient(90deg, #17201d 12px, transparent 12px 18px, #17201d 18px 30px, transparent 30px 36px, #17201d 36px 48px, transparent 48px 60px, #17201d 60px 72px, transparent 72px 84px, #17201d 84px 96px, transparent 96px),
    linear-gradient(#17201d 12px, transparent 12px 18px, #17201d 18px 30px, transparent 30px 36px, #17201d 36px 48px, transparent 48px 60px, #17201d 60px 72px, transparent 72px 84px, #17201d 84px 96px, transparent 96px),
    #fff;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
}

.landing-fake-qr::before,
.landing-fake-qr::after,
.landing-fake-qr i {
  content: "";
  position: absolute;
  background: #fff;
  border: 8px solid #17201d;
  border-radius: 3px;
}

.landing-fake-qr::before {
  width: 28px;
  height: 28px;
  left: 8px;
  top: 8px;
}

.landing-fake-qr::after {
  width: 28px;
  height: 28px;
  right: 8px;
  top: 8px;
}

.landing-fake-qr i:first-child {
  width: 28px;
  height: 28px;
  left: 8px;
  bottom: 8px;
}

.landing-fake-qr i:not(:first-child) {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 1px;
  background: #17201d;
}

.landing-fake-qr i:nth-child(2) { left: 58px; top: 58px; }
.landing-fake-qr i:nth-child(3) { left: 76px; top: 58px; }
.landing-fake-qr i:nth-child(4) { left: 58px; top: 76px; }
.landing-fake-qr i:nth-child(5) { left: 94px; top: 76px; }
.landing-fake-qr i:nth-child(6) { left: 76px; top: 94px; }
.landing-fake-qr i:nth-child(7) { left: 94px; top: 94px; }
.landing-fake-qr i:nth-child(8) { left: 58px; top: 100px; }
.landing-fake-qr i:nth-child(9) { left: 100px; top: 58px; }
}

.landing-dashboard-card {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: 188px;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(18,60,54,.82), rgba(23,32,29,.68));
  color: #fffdf8;
  box-shadow: 0 18px 44px rgba(29,33,31,.24);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  z-index: 6;
}

.landing-dashboard-card span {
  color: rgba(255,253,248,.72);
  font-weight: 850;
  font-size: 12px;
}

.landing-dashboard-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  margin: 8px 0;
}

.landing-dashboard-card div,
.mockup-bars i {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}

.landing-dashboard-card i,
.mockup-bars i {
  display: block;
  background: var(--gold);
}

.landing-visual > .landing-dashboard-card {
  left: 34px;
  right: auto;
  bottom: 42px;
}

.landing-live-promo-section {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 16%, rgba(224,90,63,.34), transparent 31%),
    linear-gradient(135deg, #123c36, #17201d 58%, #2d1716);
  color: #fffdf8;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.landing-live-promo-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.landing-live-promo-copy .eyebrow {
  color: color-mix(in srgb, var(--gold) 82%, #fff);
}

.landing-live-promo-copy h2,
.landing-live-promo-copy p {
  margin: 0;
}

.landing-live-promo-copy h2 {
  max-width: 660px;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: .96;
}

.landing-live-promo-copy h2 span {
  display: block;
  margin-bottom: 8px;
  color: #fffdf8;
  font-size: clamp(72px, 8vw, 122px);
  line-height: .84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-live-promo-copy p {
  max-width: 620px;
  color: rgba(255,253,248,.78);
  font-weight: 750;
  line-height: 1.5;
}

.landing-live-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.landing-live-points span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 850;
}

.landing-live-promo-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.landing-live-real-screen {
  display: block;
  width: min(100%, 680px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}

.landing-live-join-demo {
  position: relative;
  width: min(100%, 680px);
  min-height: 390px;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(220px, .75fr);
  gap: 18px;
  align-items: end;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(215,168,74,.26), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(224,90,63,.28), transparent 28%),
    linear-gradient(135deg, #07100e, #123c36 54%, #20100e);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}

.landing-live-join-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 47%, rgba(255,255,255,.16) 50%, transparent 53% 100%);
  opacity: 0;
  animation: live-phase-flash 7.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.landing-live-join-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255,255,255,.08) 46%, transparent 54% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 24px);
  animation: live-join-sweep 4.8s linear infinite;
  opacity: .72;
}

.landing-live-join-header,
.landing-live-phase-strip,
.landing-live-join-card,
.landing-live-join-side,
.landing-live-spin-stage {
  position: relative;
  z-index: 1;
}

.landing-live-join-header {
  grid-column: 1 / -1;
  align-self: start;
  display: grid;
  gap: 4px;
}

.landing-live-join-header span,
.landing-live-join-header small,
.landing-live-join-code span,
.landing-live-countdown span {
  color: rgba(255,253,248,.72);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.landing-live-join-header strong {
  color: #fffdf8;
  font-size: clamp(34px, 4vw, 54px);
  line-height: .92;
}

.landing-live-phase-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: -8px;
}

.landing-live-phase-strip span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 950;
}

.landing-live-phase-strip b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brand);
}

.landing-live-join-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255,253,248,.95);
  color: var(--brand);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  animation: live-qr-phase 7.2s ease-in-out infinite;
}

.landing-live-qr-animated {
  position: relative;
  width: min(100%, 190px);
  aspect-ratio: 1;
  border-radius: 10px;
  background: white;
  display: grid;
  place-items: center;
}

.landing-live-qr-animated::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 14px;
  border: 2px solid color-mix(in srgb, var(--gold) 82%, white);
  animation: live-qr-pulse 1.8s ease-in-out infinite;
}

.landing-live-qr-animated img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.landing-live-qr-animated i {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 15%;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-2);
  box-shadow: 0 0 18px rgba(224,90,63,.9);
  animation: live-qr-scan 2.4s ease-in-out infinite;
}

.landing-live-join-code {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.landing-live-join-code strong {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: .08em;
  color: var(--brand);
}

.landing-live-join-side {
  align-self: stretch;
  display: grid;
  gap: 14px;
  animation: live-qr-phase 7.2s ease-in-out infinite;
}

.landing-live-spin-stage {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(45%, 290px);
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255,253,248,.96);
  color: var(--brand);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  opacity: 0;
  transform: translateX(30px) scale(.94);
  animation: live-wheel-phase 7.2s ease-in-out infinite;
}

.landing-live-spin-stage .eyebrow {
  color: var(--brand-2);
}

.landing-live-spin-stage strong {
  font-size: 28px;
  line-height: 1;
}

.landing-live-spin-stage small {
  color: var(--muted);
  font-weight: 850;
}

.landing-live-mini-wheel {
  position: relative;
  width: 156px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #fff;
  background:
    radial-gradient(circle, #fffdf8 0 20%, transparent 21%),
    repeating-conic-gradient(from -20deg, var(--brand) 0deg 45deg, var(--brand-2) 45deg 90deg);
  box-shadow: 0 18px 44px rgba(18,60,54,.22), inset 0 0 0 1px rgba(18,60,54,.16);
  animation: live-mini-wheel-spin 1.1s linear infinite;
}

.landing-live-mini-wheel::after {
  content: "";
  position: absolute;
  right: -12px;
  top: calc(50% - 13px);
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 23px solid var(--gold);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.22));
}

.landing-live-mini-wheel span {
  position: absolute;
  inset: 42%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 1000;
  letter-spacing: .08em;
}

.landing-live-countdown,
.landing-live-participants {
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}

.landing-live-countdown {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.landing-live-countdown strong {
  color: #fffdf8;
  font-size: 44px;
  line-height: 1;
}

.landing-live-countdown i {
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--brand-2));
  transform-origin: left;
  animation: live-countdown-bar 5.4s linear infinite;
}

.landing-live-participants {
  min-height: 168px;
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
}

.landing-live-participants span {
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,253,248,.92);
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  animation: live-participant-pop 4.8s ease-in-out infinite;
  animation-delay: var(--join-delay);
}

@keyframes live-join-sweep {
  from { background-position: -360px 0, 0 0; }
  to { background-position: 360px 0, 0 120px; }
}

@keyframes live-qr-pulse {
  0%, 100% { opacity: .32; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes live-qr-scan {
  0%, 100% { top: 14%; }
  50% { top: 84%; }
}

@keyframes live-countdown-bar {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(.18); }
}

@keyframes live-participant-pop {
  0%, 12% { opacity: 0; transform: translateY(12px); }
  24%, 78% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

@keyframes live-qr-phase {
  0%, 52% { opacity: 1; transform: translateX(0) scale(1); }
  60%, 86% { opacity: .2; transform: translateX(-18px) scale(.97); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes live-wheel-phase {
  0%, 50% { opacity: 0; transform: translateX(30px) scale(.94); }
  60%, 86% { opacity: 1; transform: translateX(0) scale(1); }
  100% { opacity: 0; transform: translateX(30px) scale(.94); }
}

@keyframes live-mini-wheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes live-phase-flash {
  0%, 48%, 100% { opacity: 0; transform: translateX(-30%); }
  55% { opacity: .8; transform: translateX(30%); }
}

.landing-live-tv {
  position: relative;
  width: min(100%, 640px);
  min-height: 350px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18,60,54,.18), rgba(18,60,54,.72)),
    linear-gradient(135deg, #103b34 0%, #17342f 48%, #e05a3f 100%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}

.landing-live-tv::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(255,255,255,.2), transparent 10%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
  opacity: .55;
}

.landing-live-tv-wheel {
  position: absolute;
  left: -252px;
  top: 50%;
  width: 540px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 12px solid rgba(255,255,255,.9);
  background:
    radial-gradient(circle at center, rgba(255,253,248,.96) 0 13%, transparent 13.4%),
    repeating-conic-gradient(from -18deg, var(--brand) 0deg 36deg, var(--brand-2) 36deg 72deg);
  box-shadow:
    0 26px 60px rgba(0,0,0,.26),
    inset 0 0 0 2px rgba(18,60,54,.28);
  overflow: hidden;
}

.landing-live-tv-wheel::before {
  content: "AAVA";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: var(--brand);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.landing-live-tv-wheel::after {
  content: "";
  position: absolute;
  right: -4px;
  top: calc(50% - 24px);
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 42px solid var(--gold);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

.landing-live-tv-wheel span {
  position: absolute;
  width: 128px;
  color: #fffdf8;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgba(0,0,0,.24);
  pointer-events: none;
}

.landing-live-tv-wheel .sector-name-1 { left: 336px; top: 104px; transform: rotate(-18deg); }
.landing-live-tv-wheel .sector-name-2 { left: 382px; top: 248px; transform: rotate(0deg); }
.landing-live-tv-wheel .sector-name-3 { left: 334px; top: 378px; transform: rotate(17deg); }
.landing-live-tv-wheel .sector-name-4 { left: 206px; top: 408px; transform: rotate(22deg); }
.landing-live-tv-wheel .sector-name-5 { left: 212px; top: 74px; transform: rotate(-22deg); }

.landing-live-tv-panel {
  position: absolute;
  right: 24px;
  top: 50%;
  width: min(52%, 310px);
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(255,253,248,.96);
  color: var(--brand);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.landing-live-tv-panel strong {
  font-size: 26px;
  line-height: 1;
}

.landing-live-tv-panel img {
  width: min(100%, 180px);
  aspect-ratio: 1;
  border-radius: 8px;
  background: #fff;
}

.landing-live-code-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: min(100%, 220px);
  padding: 18px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 92%, #fff);
  color: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.landing-live-code-card span {
  color: rgba(255,253,248,.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-live-code-card b {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: .08em;
}

.landing-live-tv-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-sales-page {
  display: grid;
  gap: 26px;
  color: #fffdf8;
}

.live-sales-page .eyebrow {
  color: color-mix(in srgb, var(--gold) 86%, white);
}

.live-sales-hero,
.live-sales-section,
.live-sales-flow,
.live-sales-split,
.live-demo-launch,
.live-sales-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.live-sales-hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(330px, .86fr) minmax(430px, 1.14fr);
  gap: 24px;
  align-items: center;
  padding: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(224,90,63,.46), transparent 25%),
    radial-gradient(circle at 8% 88%, rgba(215,168,74,.28), transparent 28%),
    linear-gradient(135deg, #07100e 0%, #123c36 48%, #2a1110 100%);
}

.live-sales-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}

.live-sales-copy h1,
.live-sales-flow h2,
.live-sales-cta h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .9;
  letter-spacing: 0;
}

.live-sales-flow h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: .96;
}

.live-sales-copy h1 {
  max-width: 540px;
  font-size: clamp(38px, 4.25vw, 62px);
  line-height: 1;
}

.live-sales-copy p,
.live-sales-flow p,
.live-sales-cta p,
.live-sales-split-copy p {
  margin: 0;
  color: rgba(255,253,248,.78);
  font-weight: 750;
  line-height: 1.55;
}

.live-sales-copy .live-sales-lead {
  max-width: 600px;
  color: #fffdf8;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 1000;
  line-height: 1.25;
}

.live-sales-proof,
.live-sales-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-sales-proof span,
.live-sales-mini-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 900;
}

.live-sales-stage {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.live-sales-screen {
  position: relative;
  width: min(100%, 680px);
  min-height: 470px;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 72% 30%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
}

.live-screen-top {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: min(100%, 340px);
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(7,16,14,.72);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.live-screen-top span,
.live-sales-qr-card span {
  color: rgba(255,253,248,.72);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-screen-top strong {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1;
}

.live-sales-big-wheel {
  position: absolute;
  left: -206px;
  bottom: -168px;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255,253,248,.98) 0 17%, transparent 17.5%),
    repeating-conic-gradient(from 0deg, var(--brand) 0 36deg, var(--brand-2) 36deg 72deg);
  box-shadow: 0 34px 90px rgba(0,0,0,.28), 0 0 70px rgba(215,168,74,.18);
  animation: live-sales-wheel-spin 96s cubic-bezier(.08,.66,.06,1) infinite;
  overflow: hidden;
}

.live-sales-big-wheel .live-wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,253,248,.84));
  color: var(--brand);
  font-size: 24px;
  font-weight: 1000;
  letter-spacing: .04em;
  box-shadow: 0 16px 40px rgba(0,0,0,.24), inset 0 0 0 7px rgba(18,60,54,.08);
  z-index: 2;
}

.live-sales-big-wheel .live-wheel-center small {
  max-width: 74%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-wheel-name {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  min-height: 30px;
  margin-left: -46px;
  margin-top: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffdf8;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgba(0,0,0,.26);
  white-space: nowrap;
  transform: rotate(var(--angle)) translateX(164px);
  transform-origin: center;
  z-index: 2;
}


.live-sales-wheel-pointer {
  position: absolute;
  left: 326px;
  bottom: 84px;
  z-index: 5;
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-right: 48px solid #ffd338;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.36)) drop-shadow(0 0 16px rgba(255,211,56,.56));
}

.live-sales-qr-card {
  position: absolute;
  right: 18px;
  top: 126px;
  z-index: 2;
  width: 178px;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,253,248,.96);
  color: var(--brand);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.live-sales-qr-card .landing-live-qr-animated {
  width: 118px;
}

.live-sales-qr-card strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: .08em;
}

.live-sales-qr-card span {
  color: var(--muted);
}

.live-sales-names {
  position: absolute;
  right: 18px;
  top: 372px;
  width: 178px;
  display: grid;
  gap: 6px;
  z-index: 2;
}

.live-sales-names span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,253,248,.92);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  animation: live-participant-pop 4.4s ease-in-out infinite;
  animation-delay: var(--join-delay);
}

.live-sales-section,
.live-sales-flow,
.live-sales-split,
.live-demo-launch,
.live-sales-cta {
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(224,90,63,.12), transparent 25%),
    linear-gradient(135deg, #111715, #17201d);
  border: 1px solid rgba(255,255,255,.12);
}

.live-demo-launch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(215,168,74,.18), transparent 30%),
    linear-gradient(135deg, #123c36, #17201d);
}

.live-demo-launch h2 {
  margin: 0;
  color: #fffdf8;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .96;
}

.live-demo-launch p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255,253,248,.76);
  font-weight: 750;
  line-height: 1.5;
}

.live-sales-demo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-sales-section .section-title h2 {
  color: #fffdf8;
}

.live-sales-grid,
.live-usecase-grid {
  display: grid;
  gap: 12px;
}

.live-sales-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-sales-card,
.live-usecase-card,
.live-flow-steps article {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  padding: 18px;
}

.live-sales-card h3,
.live-usecase-card h3,
.live-flow-steps h3,
.live-sales-split-copy h2 {
  margin: 0;
  color: #fffdf8;
}

.live-sales-card p,
.live-usecase-card p,
.live-flow-steps p {
  margin: 8px 0 0;
  color: rgba(255,253,248,.74);
  line-height: 1.55;
  font-weight: 700;
}

.live-sales-flow {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.live-flow-steps {
  display: grid;
  gap: 12px;
}

.live-flow-steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 14px;
}

.live-flow-steps strong {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand);
  font-size: 24px;
}

.live-sales-split {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 28px;
  align-items: center;
}

.live-sales-phone {
  width: 330px;
  margin: 0 auto;
  transform: rotate(-3deg);
}

.live-sales-phone .phone-screen {
  height: 640px;
  min-height: 640px;
}

.live-phone-content {
  display: grid;
  gap: 14px;
}

.live-phone-content h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.live-phone-qr {
  width: min(100%, 220px);
  margin: 8px auto;
}

.live-sales-split-copy {
  display: grid;
  gap: 14px;
}

.live-sales-split-copy h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: .95;
}

.live-usecase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.live-usecase-wheel-wrap {
  position: relative;
  width: 88px;
  margin-bottom: 14px;
}

.live-prize-section .section-title {
  align-items: end;
}

.live-prize-section .section-title p {
  max-width: 780px;
  margin-top: 10px;
  color: rgba(255,253,248,.76);
  font-weight: 760;
  line-height: 1.55;
}

.live-prize-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.live-prize-showcase,
.live-prize-rounds article {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
}

.live-prize-showcase {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 22px;
  display: grid;
  align-content: end;
}

.live-prize-showcase::before {
  content: "";
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  left: -92px;
  top: -118px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255,253,248,.98) 0 18%, transparent 18.5%),
    repeating-conic-gradient(from -18deg, var(--brand) 0 36deg, var(--brand-2) 36deg 72deg);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  animation: slowSpin 18s linear infinite;
}

.live-prize-countdown {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
}

.live-prize-countdown strong {
  color: #fffdf8;
  font-size: 24px;
  line-height: 1.05;
}

.live-prize-countdown span {
  color: rgba(255,253,248,.78);
  font-weight: 850;
}

.live-prize-rounds {
  display: grid;
  gap: 10px;
}

.live-prize-rounds article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
}

.live-prize-rounds article > strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd338, var(--gold));
  color: var(--brand);
  font-size: 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

.live-prize-rounds h3,
.live-prize-rounds p {
  margin: 0;
}

.live-prize-rounds h3 {
  color: #fffdf8;
}

.live-prize-rounds p {
  margin-top: 6px;
  color: rgba(255,253,248,.74);
  font-weight: 720;
  line-height: 1.5;
}

.live-usecase-card .landing-live-mini-wheel {
  width: 74px;
  animation-duration: 3.2s;
}

.live-usecase-card .landing-live-mini-wheel::after,
.live-usecase-card .landing-live-mini-wheel span {
  display: none;
}

.live-sales-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

@keyframes live-sales-wheel-spin {
  0% { transform: rotate(0deg); }
  21% { transform: rotate(2232deg); }
  25% { transform: rotate(2232deg); }
  46% { transform: rotate(4428deg); }
  50% { transform: rotate(4428deg); }
  71% { transform: rotate(6660deg); }
  75% { transform: rotate(6660deg); }
  96%, 100% { transform: rotate(8640deg); }
}

.landing-showcase {
  display: grid;
  grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(224,90,63,.08), rgba(40,92,154,.08)),
    var(--surface);
  border: 1px solid var(--line);
}

.landing-brand-experience {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(320px, 1.14fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 10px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 82% 12%, rgba(224,90,63,.46), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(215,168,74,.22), transparent 28%),
    linear-gradient(135deg, #123c36, #17201d);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.landing-brand-copy {
  display: grid;
  gap: 12px;
}

.landing-brand-copy .eyebrow {
  color: color-mix(in srgb, var(--gold) 84%, #fff);
}

.landing-brand-copy h2,
.landing-brand-copy p {
  margin: 0;
}

.landing-brand-copy h2 {
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1;
}

.landing-brand-copy p {
  color: rgba(255,253,248,.78);
  line-height: 1.48;
  font-weight: 760;
}

.landing-brand-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-brand-points span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255,253,248,.92);
  font-weight: 950;
  font-size: 13px;
}

.landing-brand-preview {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
}

.brand-preview-phone {
  width: min(330px, 100%);
  min-height: 610px;
  padding: 14px;
  border-radius: 30px;
  background: #101715;
  box-shadow: 0 36px 80px rgba(0,0,0,.32);
  transform: rotate(3deg);
  display: grid;
  gap: 12px;
  align-content: start;
}

.brand-preview-hero {
  min-height: 154px;
  padding: 14px;
  border-radius: 22px;
  display: grid;
  align-content: end;
  color: #fffdf8;
  background:
    linear-gradient(180deg, rgba(18,60,54,.08), rgba(18,60,54,.86)),
    url("assets/aava-bistro-phone-demo.jpg") center/cover;
}

.brand-preview-logo {
  width: 74px;
  min-height: 54px;
  margin-bottom: 10px;
}

.brand-preview-hero strong {
  font-size: 28px;
  line-height: 1;
}

.brand-preview-hero small {
  color: rgba(255,253,248,.78);
  font-weight: 850;
}

.brand-preview-wheel {
  width: 230px;
  aspect-ratio: 1;
  margin: 8px auto;
  border: 8px solid #fffdf8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background:
    repeating-conic-gradient(from -18deg, #123c36 0 30deg, #e05a3f 30deg 60deg);
  box-shadow: 0 18px 34px rgba(0,0,0,.2);
}

.brand-preview-wheel span {
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: #fffdf8;
  font-weight: 1000;
}

.brand-preview-wheel i {
  position: absolute;
  top: -24px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 32px solid var(--brand-2);
}

.brand-preview-rewards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.brand-preview-rewards span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 10px;
  color: var(--brand);
  background: #fffdf8;
  text-align: center;
  font-weight: 950;
  font-size: 12px;
}

.brand-preview-swatches {
  position: absolute;
  right: 32px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.brand-preview-swatches i {
  width: 42px;
  aspect-ratio: 1;
  border: 4px solid rgba(255,253,248,.82);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 12px 22px rgba(0,0,0,.22);
}

.landing-return-stats {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 92%, #000), color-mix(in srgb, var(--blue) 45%, var(--brand))),
    var(--brand);
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.landing-return-copy {
  display: grid;
  gap: 12px;
}

.landing-return-copy .eyebrow {
  color: color-mix(in srgb, var(--gold) 84%, #fff);
}

.landing-return-copy h2,
.landing-return-copy p {
  margin: 0;
}

.landing-return-copy h2 {
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1;
}

.landing-return-copy p {
  max-width: 620px;
  color: rgba(255,253,248,.78);
  line-height: 1.5;
  font-weight: 750;
}

.landing-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-stat-card {
  min-height: 164px;
  padding: 18px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.landing-stat-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 5px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--gold), var(--brand-2), rgba(255,255,255,.2));
}

.landing-stat-card > * {
  position: relative;
  z-index: 1;
}

.landing-stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 48px;
  line-height: 1;
}

.landing-stat-card span {
  color: #fffdf8;
  font-weight: 850;
  line-height: 1.32;
}

.landing-stat-card small {
  align-self: end;
  color: rgba(255,253,248,.65);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.landing-gamified {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 10%, rgba(224,90,63,.18), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #f7efe4 54%, color-mix(in srgb, var(--gold) 18%, #fffdf8) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.landing-gamified-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.landing-gamified-copy h2,
.landing-gamified-copy p {
  margin: 0;
}

.landing-gamified-copy h2 {
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1;
}

.landing-gamified-copy p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.landing-gamified-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-gamified-card {
  min-height: 250px;
  padding: 18px;
  border-radius: 10px;
  display: grid;
  align-content: start;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,253,248,.78));
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  box-shadow: 0 18px 48px rgba(18,60,54,.08);
  position: relative;
  overflow: hidden;
}

.landing-gamified-card > * {
  position: relative;
  z-index: 1;
}

.landing-gamified-card span {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fffdf8;
  background:
    linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 16px 34px rgba(18,60,54,.18);
}

.landing-gamified-card h3,
.landing-gamified-card p {
  margin: 0;
}

.landing-gamified-card p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.landing-showcase-copy h2,
.landing-showcase-copy p {
  margin: 0;
}

.landing-showcase-copy h2 {
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 1.02;
}

.landing-showcase-copy {
  display: grid;
  gap: 12px;
}

.landing-showcase-copy p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 750;
}

.landing-visibility {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
  padding: 20px 22px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 34%),
    linear-gradient(135deg, #fffdf8, color-mix(in srgb, var(--blue) 8%, #fffdf8));
  border: 1px solid var(--line);
}

.landing-visibility-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.landing-visibility-copy h2,
.landing-visibility-copy p {
  margin: 0;
}

.landing-visibility-copy h2 {
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.02;
}

.landing-visibility-copy p {
  color: var(--muted);
  line-height: 1.36;
  font-weight: 750;
}

.landing-visibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-visibility-card {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,253,248,.84));
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  box-shadow: 0 18px 50px rgba(18,60,54,.08);
  position: relative;
  overflow: hidden;
}

.landing-visibility-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--brand), var(--brand-2) 62%, color-mix(in srgb, var(--gold) 72%, #fff));
  opacity: .74;
}

.landing-visibility-card > * {
  position: relative;
  z-index: 1;
}

.landing-visibility-card span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fffdf8;
  background:
    linear-gradient(135deg, var(--brand), var(--blue));
  box-shadow: 0 14px 30px rgba(18,60,54,.16);
}

.landing-visibility-card h3,
.landing-visibility-card p {
  margin: 0;
}

.landing-visibility-card p {
  color: var(--muted);
  line-height: 1.32;
  font-weight: 750;
}

.landing-mockup-row {
  display: grid;
  grid-template-columns: 220px 210px 1fr;
  gap: 18px;
  align-items: center;
}

.landing-admin-mockup {
  min-height: 300px;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.mockup-window-bar {
  display: flex;
  gap: 6px;
}

.mockup-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mockup-admin-head,
.mockup-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mockup-admin-head strong {
  font-size: 20px;
}

.mockup-stats span {
  flex: 1;
  min-height: 88px;
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 5%, #fffdf8);
}

.mockup-stats strong {
  display: block;
  font-size: 26px;
}

.mockup-bars {
  display: grid;
  gap: 10px;
}

.mockup-bars i {
  height: 14px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.landing-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-card span .landing-icon,
.benefit-list span .landing-icon {
  width: 23px;
  height: 23px;
}

.landing-visibility-card .landing-icon {
  width: 25px;
  height: 25px;
}

.landing-solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.solution-card {
  position: relative;
}

.landing-solution-grid .solution-card {
  min-height: 210px;
  padding: 22px 34px 22px 22px;
  border: 0;
  border-radius: 0;
  color: #fffdf8;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 92%, #fff), color-mix(in srgb, var(--brand) 68%, var(--brand-2)));
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%);
  margin-left: -18px;
  box-shadow: none;
  isolation: isolate;
}

.landing-solution-grid .solution-card:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
}

.landing-solution-grid .solution-card:nth-child(even) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-2) 78%, var(--brand)), color-mix(in srgb, var(--brand) 82%, #111));
}

.landing-solution-grid .solution-card::before,
.landing-solution-grid .solution-card::after {
  display: none;
}

.landing-solution-grid .solution-card h3,
.landing-solution-grid .solution-card p {
  color: #fffdf8;
}

.landing-solution-grid .solution-card p {
  color: rgba(255,253,248,.78);
}

.solution-card strong {
  position: static;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,253,248,.94);
  color: var(--brand);
  font-size: 20px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.landing-reward-ticket {
  padding: 14px;
  border-radius: 16px;
  color: #fffdf8;
  background:
    linear-gradient(135deg, rgba(18,60,54,.94), rgba(40,92,154,.82));
  box-shadow: 0 14px 30px rgba(29,33,31,.14);
}

.landing-reward-ticket strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.landing-reward-ticket > span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-reward-ticket small {
  color: rgba(255,253,248,.78);
}

.landing-stamp-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.landing-stamp-row span {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.landing-stamp-row span.filled {
  border-color: var(--brand);
  background: var(--brand);
  color: #fffdf8;
}

.landing-stamp-row span.reward {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--brand);
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 24px;
  align-items: start;
}

.phone {
  max-width: 430px;
  border-radius: 24px;
  background: #101715;
  padding: 12px;
  box-shadow: var(--shadow);
}

.preview-phone {
  margin: 0 auto;
  transform: scale(.88);
  transform-origin: top center;
}

.customer-preview-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 390px)) minmax(190px, 220px);
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  overflow: hidden;
}

.preview-phone-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  margin-bottom: -96px;
}

.preview-phone-card .preview-phone {
  width: 430px;
  transform: scale(.82);
}

.preview-test-panel {
  align-self: stretch;
  padding: 14px;
}

.preview-test-panel h2 {
  font-size: 18px;
}

.preview-test-panel .list {
  gap: 8px;
}

.preview-test-panel .list-row {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.preview-test-panel .ghost-action {
  width: 100%;
}

.single-customer-preview {
  display: grid;
  justify-items: center;
  overflow: hidden;
}

.single-customer-phone-card {
  display: grid;
  justify-items: center;
  width: min(100%, 520px);
  margin-bottom: -84px;
}

.active-preview-phone {
  width: 430px;
  transform: scale(.9);
}

.restaurant-inline-phone {
  width: 360px;
  max-width: 100%;
  transform: scale(.78);
  transform-origin: top center;
  align-self: start;
  margin-bottom: -150px;
}

.phone-screen {
  height: 760px;
  min-height: 760px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.customer-frame {
  position: relative;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.customer-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.restaurant-hero {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(224, 90, 63, .9), rgba(224, 90, 63, 0) 24%),
    radial-gradient(circle at 22% 12%, rgba(215, 168, 74, .75), rgba(215, 168, 74, 0) 22%),
    linear-gradient(135deg, rgba(18, 60, 54, .78), rgba(18, 60, 54, .92)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.restaurant-hero > :not(.restaurant-hero-photo) {
  position: relative;
  z-index: 1;
}

.brand-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.restaurant-hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: .3;
}

.brand-image-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 72%, #fff), color-mix(in srgb, var(--brand-2) 68%, #fff));
  color: rgba(255,255,255,.9);
  font-weight: 950;
}

.brand-image-placeholder span {
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(0,0,0,.16);
}

.restaurant-logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0;
}

.aava-logo {
  width: 82px;
  min-height: 62px;
  border-radius: 8px;
  background: #fffdf8;
  color: #123c36;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}

.aava-logo::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(18, 60, 54, .18);
  border-radius: 6px;
}

.aava-logo.image-logo {
  padding: 8px;
}

.aava-logo.image-logo::before {
  display: none;
}

.aava-logo.image-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.aava-flame {
  width: 22px;
  height: 28px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, #e05a3f, #d7a84a);
  clip-path: polygon(50% 0, 78% 34%, 64% 100%, 50% 82%, 34% 100%, 22% 34%);
  z-index: 1;
}

.aava-word,
.aava-sub {
  z-index: 1;
  letter-spacing: .08em;
}

.aava-word {
  font-weight: 950;
  font-size: 18px;
  line-height: 1;
}

.aava-sub {
  font-weight: 800;
  font-size: 9px;
  color: #e05a3f;
}

.stand-logo {
  margin: 0 auto;
  box-shadow: none;
  border: 1px solid var(--line);
}

.logo-editor {
  display: grid;
  gap: 12px;
}

.logo-preview-box {
  min-height: 120px;
  border: 1px dashed #b9ad9b;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fffdf8;
}

.brand-preview-logo {
  transform: scale(1.15);
}

.brand-visual-editor {
  display: grid;
  gap: 12px;
}

.brand-image-preview {
  min-height: 180px;
  border: 1px dashed #b9ad9b;
  border-radius: 8px;
  overflow: hidden;
  background: #f4efe6;
}

.brand-image-info {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 7%, #fffdf8);
}

.brand-image-info strong {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.brand-image-info span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.brand-editor-image {
  height: 180px;
}

.compact-brand-panel {
  padding-bottom: 18px;
}

.brand-page-grid {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(420px, 1.15fr);
  gap: 14px;
  align-items: start;
}

.brand-assets-column,
.brand-settings-column {
  display: grid;
  gap: 12px;
}

.brand-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.compact-logo-editor {
  gap: 10px;
}

.compact-logo-row,
.compact-image-grid,
.compact-form-grid {
  display: grid;
  gap: 12px;
}

.compact-logo-row {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
}

.compact-logo-row .logo-preview-box {
  min-height: 96px;
}

.compact-logo-row .brand-preview-logo {
  transform: scale(.9);
}

.compact-image-grid {
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1fr);
  align-items: start;
}

.compact-brand-visual .brand-image-preview {
  min-height: 132px;
}

.compact-brand-visual .brand-editor-image {
  height: 132px;
}

.compact-brand-visual textarea,
.brand-settings-column textarea {
  min-height: 70px;
}

.compact-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-review-switch {
  margin: 12px 0;
}

.compact-ai-card {
  padding: 12px;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.restaurant-hero h1,
.panel h1,
.panel h2,
.section-title h2 {
  margin: 0;
  letter-spacing: 0;
}

.restaurant-hero h1 {
  font-size: 30px;
  line-height: 1.02;
}

.restaurant-hero p {
  margin: 6px 0 0;
  max-width: 280px;
  color: #fffdf8;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 850;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(18, 60, 54, .72);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}

.content-pad {
  padding: 14px 18px 92px;
}

.primary-action {
  width: 100%;
  min-height: 58px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.inline-scan-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}

.inline-scan-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.primary-action:hover {
  filter: brightness(.96);
}

.secondary-action,
.ghost-action,
.danger-action {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 750;
  cursor: pointer;
}

.secondary-action {
  background: var(--ink);
  color: white;
}

.ghost-action {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.danger-action {
  background: #f7dfdc;
  color: var(--danger);
}

.icon-action {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--brand);
  cursor: pointer;
}

.icon-action:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.reward-card,
.metric,
.panel,
.list-row,
.receipt-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.reward-card {
  padding: 13px;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
}

.reward-card:nth-child(1) { background: linear-gradient(145deg, #fffdf8, #f7ead7); }
.reward-card:nth-child(2) { background: linear-gradient(145deg, #fffdf8, #e5f0ea); }
.reward-card:nth-child(3) { background: linear-gradient(145deg, #fffdf8, #f8e1dc); }
.reward-card:nth-child(4) { background: linear-gradient(145deg, #fffdf8, #ece6f7); }

.reward-path {
  display: grid;
  gap: 8px;
}

.reward-order-list {
  display: grid;
  gap: 8px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.restaurant-rewards-main .section-title p + h2 {
  display: none;
}

.reward-list-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 8%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), #fffdf8);
}

.reward-list-flow article {
  min-width: 136px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fffdf8;
  display: grid;
  gap: 2px;
}

.reward-list-flow article.active {
  color: #fffdf8;
  border-color: color-mix(in srgb, var(--brand) 70%, #fff);
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 70%, var(--brand-2)));
  box-shadow: 0 14px 32px rgba(18,60,54,.18);
}

.reward-list-flow strong,
.reward-list-flow span {
  display: block;
}

.reward-list-flow span {
  color: inherit;
  opacity: .78;
  font-size: 12px;
  font-weight: 850;
}

.reward-list-flow i {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
  position: relative;
}

.reward-list-flow i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--brand);
  border-right: 2px solid var(--brand);
  transform: translateY(-50%) rotate(45deg);
}

.active-reward-list {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  box-shadow: 0 18px 42px rgba(18,60,54,.1);
}

.reward-group-grid {
  display: grid;
  gap: 14px;
}

.audience-reward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.secondary-reward-groups {
  margin-top: 14px;
}

.reward-group-section {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 4%, #fffdf8), #fffdf8);
}

.single-reward-list {
  max-width: 880px;
}

.reward-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.reward-group-head h3 {
  margin: 0;
  font-size: 20px;
}

.reward-group-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.reward-step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, #fffdf8, color-mix(in srgb, var(--brand) 7%, #fffdf8));
  padding: 10px;
  display: grid;
  grid-template-columns: 30px 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 24px rgba(29,33,31,.06);
}

.reward-step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand), var(--gold));
}

.reward-step-card:nth-child(2n) {
  background:
    linear-gradient(145deg, #fffdf8, color-mix(in srgb, var(--brand-2) 7%, #fffdf8));
}

.reward-next-arrow {
  height: 24px;
  display: grid;
  place-items: center;
  margin: -1px 0;
}

.reward-next-arrow span {
  position: relative;
  width: 2px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--brand));
  opacity: .82;
}

.reward-next-arrow span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateX(-50%) rotate(45deg);
}

.reward-empty-slot {
  border-style: dashed;
  background: color-mix(in srgb, var(--surface-2) 62%, #fffdf8);
  box-shadow: none;
  opacity: .86;
}

.reward-empty-slot::before {
  background: color-mix(in srgb, var(--muted) 42%, var(--line));
}

.reward-empty-slot .reward-step-icon {
  background: #fffdf8;
  color: var(--muted);
  border: 1px dashed color-mix(in srgb, var(--muted) 38%, var(--line));
  box-shadow: none;
  font-size: 22px;
  font-weight: 900;
}

.reward-step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #17201d, color-mix(in srgb, var(--brand) 72%, #17201d));
  color: #fffdf8;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(23,32,29,.16);
}

.reward-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--gold) 70%, transparent), transparent 36%),
    linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand-2) 55%, var(--brand)));
}

.reward-step-content {
  min-width: 0;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.reward-step-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  width: 100%;
}

.reward-step-title > div {
  width: 100%;
}

.reward-value-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--gold) 24%, #fffdf8);
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  border: 1px solid color-mix(in srgb, var(--gold) 36%, var(--line));
}

.reward-title-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.reward-probability-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--brand) 12%, #fffdf8);
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
}

.reward-step-card h3 {
  margin: 1px 0 3px;
  font-size: 17px;
  line-height: 1.1;
}

.reward-step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.reward-rule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.reward-rule-row span {
  border-radius: 999px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--brand) 8%, #fffdf8);
}

.reward-stock {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.reward-stock .progress-track {
  height: 9px;
}

.reward-stock span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.reward-card-actions {
  margin-top: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.reward-card-actions .ghost-action,
.reward-card-actions .danger-action {
  min-height: 32px;
  padding-inline: 10px;
}

.reward-move-action {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 950;
}

.compact-path .reward-step-card {
  background:
    linear-gradient(145deg, #fffaf0, color-mix(in srgb, var(--gold) 10%, #fffaf0));
}

.reward-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.reward-type-tag {
  background: color-mix(in srgb, var(--brand) 10%, #fffdf8);
  color: var(--brand);
}

.reward-card > div:last-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.reward-card strong {
  font-size: 20px;
  line-height: 1.1;
}

.reward-card span,
.small,
.muted {
  color: var(--muted);
}

.valid-date {
  color: var(--brand);
  font-weight: 850;
}

.reward-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: white;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.reward-icon svg,
.redeem-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reward-icon.large {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

.reward-icon.large svg {
  width: 30px;
  height: 30px;
}

.small {
  font-size: 13px;
}

.powered {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0;
}

.powered-logo {
  width: 230px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  filter: saturate(1.15);
  background: rgba(255,253,248,.78);
  border-radius: 6px;
  padding: 0;
}

.panel {
  padding: 22px;
  box-shadow: 0 8px 20px rgba(29,33,31,.06);
}

.panel + .panel {
  margin-top: 16px;
}

.restaurant-admin-hero {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 85% 20%, rgba(224, 90, 63, .9), rgba(224, 90, 63, 0) 24%),
    linear-gradient(135deg, rgba(18, 60, 54, .92), rgba(18, 60, 54, .78)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.restaurant-powered-logo {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: rgba(255,253,248,.78);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.restaurant-loyalty-logo {
  width: 270px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  background: rgba(255,253,248,.82);
  box-shadow: 0 6px 14px rgba(0,0,0,.13);
}

.admin-hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: .24;
}

.admin-hero-content {
  position: relative;
  min-height: 230px;
  padding: 28px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
}

.admin-hero-content h1 {
  margin: 4px 0 8px;
  font-size: 42px;
  line-height: 1;
}

.admin-hero-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 253, 248, .84);
}

.admin-hero-content .eyebrow {
  color: rgba(255, 253, 248, .72);
}

.admin-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.admin-hero-meta span:not(.tag) {
  border-radius: 99px;
  padding: 6px 10px;
  background: rgba(255,255,255,.14);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 800;
}

.admin-hero-logo {
  width: 104px;
  min-height: 92px;
}

.editor-panel {
  background: #fffaf0;
}

.compact-feature-panel {
  padding: 16px;
}

.compact-feature-panel .section-title {
  margin-bottom: 10px;
}

.compact-feature-panel .section-title h2 {
  font-size: 22px;
}

.compact-feature-panel .section-title p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.panel-head,
.section-title,
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.switch-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.section-title {
  margin-bottom: 16px;
}

.panel h1 {
  font-size: 34px;
}

.panel h2,
.section-title h2 {
  font-size: 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.subscription-hero {
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), #fffdf8);
}

.subscription-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.subscription-price-card {
  min-height: 146px;
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--brand-2) 32%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 92%, #000), color-mix(in srgb, var(--brand) 68%, #fff));
  color: #fffdf8;
  display: grid;
  align-content: space-between;
  box-shadow: 0 12px 26px rgba(29,33,31,.12);
}

.subscription-price-card span,
.subscription-price-card small {
  color: rgba(255,253,248,.78);
  font-weight: 850;
}

.subscription-price-card strong {
  font-size: clamp(42px, 6vw, 68px);
  line-height: .95;
  letter-spacing: 0;
}

.legal-hero {
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, #fffdf8), #fffdf8);
}

.legal-document {
  display: grid;
  gap: 12px;
}

.legal-document > p {
  margin: 0;
  max-width: 820px;
}

.legal-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.legal-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffdf8;
}

.legal-section h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.legal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.receipt-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.restaurant-overview-split,
.restaurant-rewards-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
  overflow: hidden;
}

.restaurant-overview-split {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.restaurant-overview-split .restaurant-inline-phone {
  width: 390px;
  transform: scale(.9);
  margin-top: 116px;
  margin-bottom: -70px;
}

.restaurant-overview-main,
.restaurant-rewards-main {
  min-width: 0;
}

.restaurant-overview-split .dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restaurant-qr-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), #fffdf8);
}

.restaurant-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.restaurant-qr-preview {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(29,33,31,.08);
}

.restaurant-qr-preview img {
  width: 100%;
  max-width: 188px;
  border-radius: 8px;
}

.restaurant-qr-preview strong,
.restaurant-qr-preview span {
  display: block;
}

.restaurant-qr-preview strong {
  color: var(--brand);
  font-size: 15px;
}

.restaurant-qr-preview span {
  max-width: 180px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.metric {
  padding: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 5%, #fffdf8), color-mix(in srgb, var(--brand) 12%, #fffdf8));
  border-color: color-mix(in srgb, var(--brand) 16%, var(--line));
}

.metric strong {
  display: block;
  font-size: 28px;
  color: var(--brand);
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.dash-metric {
  min-height: 164px;
  border-radius: 8px;
  padding: 18px;
  color: #fffdf8;
  display: grid;
  align-content: space-between;
  box-shadow: 0 12px 26px rgba(29,33,31,.12);
  position: relative;
  overflow: hidden;
}

.dash-metric::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: -34px;
  top: -34px;
  background: rgba(255,255,255,.12);
}

.dash-metric.brand {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--brand-2) 42%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 90%, #000), color-mix(in srgb, var(--brand) 74%, #fff));
}

.dash-metric.gold {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--brand-2) 34%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 82%, #000), color-mix(in srgb, var(--brand) 62%, #fff));
}

.dash-metric.coral {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--brand-2) 48%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 76%, #000), color-mix(in srgb, var(--brand) 54%, var(--brand-2)));
}

.dash-metric.blue {
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--brand-2) 30%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 94%, #000), color-mix(in srgb, var(--brand) 70%, #dce7df));
}

.dash-metric span {
  font-size: 13px;
  font-weight: 850;
  color: rgba(255,253,248,.78);
}

.dash-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 1;
}

.dash-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  color: #fffdf8;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}

.dash-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-metric strong {
  font-size: clamp(38px, 5vw, 58px);
  line-height: .95;
  letter-spacing: 0;
  z-index: 1;
}

.dash-metric em {
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,253,248,.88);
}

.dash-meter {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
  z-index: 1;
}

.dash-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,.92), color-mix(in srgb, var(--brand-2) 54%, #fff));
}

.usage-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 18px;
}

.usage-analytics-grid h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.usage-bars {
  display: grid;
  gap: 10px;
}

.usage-row {
  display: grid;
  grid-template-columns: 34px 1fr 42px;
  gap: 10px;
  align-items: center;
}

.usage-row span {
  color: var(--muted);
  font-weight: 850;
}

.usage-row strong {
  color: var(--brand);
  text-align: right;
}

.usage-track {
  height: 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 9%, #fffdf8);
  overflow: hidden;
}

.usage-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 58%, var(--brand-2)));
}

.hour-heatmap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.hour-cell {
  min-height: 72px;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) var(--level), #fffdf8), color-mix(in srgb, var(--brand-2) calc(var(--level) * .55), #fffdf8));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
}

.hour-cell strong {
  color: var(--brand);
  font-size: 22px;
}

.hour-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 12px;
  margin-bottom: 16px;
}

.won-rewards-filter {
  grid-template-columns: minmax(220px, 520px);
}

.sales-pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.sales-column {
  min-width: 180px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8, #f6efe4);
}

.sales-column-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sales-column-head span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fffdf8;
  font-weight: 900;
  font-size: 13px;
}

.sales-card-list,
.sales-card,
.sales-editor {
  display: grid;
  gap: 10px;
}

.sales-card,
.sales-editor {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  border-radius: 8px;
  background: #fffdf8;
}

.sales-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.player-list {
  display: grid;
  gap: 10px;
}

.player-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(340px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background: #fffdf8;
}

.player-main,
.player-meta {
  display: grid;
  gap: 5px;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(74px, 1fr));
  gap: 8px;
}

.player-stats span {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 6%, #fffdf8);
  border: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line));
  text-align: center;
}

.player-stats strong {
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
}

.player-stats small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.sales-card-meta {
  display: grid;
  gap: 8px;
}

.sales-card-meta select {
  min-height: 38px;
}

.compact-action {
  min-height: 42px;
}

.sales-editor {
  margin-bottom: 16px;
  background: linear-gradient(145deg, #fffdf8, #eef6f1);
}

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

.reward-rules-box {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 5%, #fffdf8), color-mix(in srgb, var(--brand-2) 7%, #fffdf8));
}

.compact-reward-editor {
  padding: 16px;
}

.reward-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compact-reward-editor .field {
  gap: 4px;
}

.compact-reward-editor .field label {
  font-size: 12px;
}

.compact-reward-editor .field input,
.compact-reward-editor .field select,
.compact-reward-editor .field textarea {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 13px;
}

.compact-reward-editor .field textarea {
  min-height: 78px;
}

.reward-limit-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 5%, #fffdf8);
}

.reward-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.compact-rules-box {
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.compact-rules-box .eyebrow {
  grid-column: 1 / -1;
}

.compact-save {
  margin-top: 12px;
  min-height: 46px;
}

.progress-save-action {
  max-width: 260px;
  margin-left: auto;
}

.happy-hour-settings {
  display: grid;
  grid-template-columns: 1.15fr .75fr .75fr 1.25fr;
  gap: 8px;
  margin-bottom: 8px;
}

.happy-hour-preview,
.happy-hour-card,
.happy-hour-spin-note {
  border: 1px solid color-mix(in srgb, var(--brand-2) 28%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, #fffdf8), color-mix(in srgb, var(--brand-2) 10%, #fffdf8));
}

.happy-hour-preview {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
}

.happy-hour-preview span {
  color: var(--muted);
}

.happy-hour-card {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 13px;
}

.happy-hour-card.active {
  box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-2) 18%, transparent);
}

.happy-hour-card p,
.happy-hour-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.happy-hour-badge {
  width: max-content;
  border-radius: 99px;
  padding: 5px 9px;
  background: var(--brand);
  color: #fffdf8;
  font-size: 12px;
  font-weight: 900;
}

.happy-hour-spin-note {
  width: 100%;
  padding: 10px 12px;
  text-align: center;
  color: var(--brand);
  font-weight: 900;
}

.social-unlock-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(180px, 1.2fr);
  gap: 8px;
  align-items: end;
}

.social-unlock-card {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 34%),
    linear-gradient(145deg, #fffdf8, color-mix(in srgb, var(--brand) 7%, #fffdf8));
}

.social-unlock-card h3 {
  margin: 0;
  font-size: 18px;
}

.social-unlock-list {
  display: grid;
  gap: 8px;
}

.social-unlock-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  border: 1px solid color-mix(in srgb, var(--brand) 10%, var(--line));
}

.social-unlock-item.done {
  background: color-mix(in srgb, var(--ok) 10%, #fffdf8);
}

.social-unlock-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.social-unlock-item button {
  min-height: 38px;
  padding-inline: 12px;
  white-space: nowrap;
}

.customer-growth-card {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 32%),
    linear-gradient(145deg, #fffdf8, color-mix(in srgb, var(--brand) 7%, #fffdf8));
}

.customer-live-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--brand-2) 36%, transparent), transparent 34%),
    linear-gradient(135deg, var(--brand), #17201d 76%);
  border: 1px solid color-mix(in srgb, var(--brand-2) 26%, var(--brand));
  box-shadow: 0 16px 34px rgba(18, 60, 54, .18);
}

.customer-live-promo h3 {
  margin: 4px 0 6px;
  font-size: 20px;
  line-height: 1.05;
  color: #fff;
}

.customer-live-promo p {
  margin: 0;
  color: rgba(255,253,248,.82);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.customer-live-promo-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.live-day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--brand-2);
  color: #fff;
  font-weight: 1000;
  white-space: nowrap;
}

.customer-live-promo .secondary-action {
  min-height: 38px;
  background: #fffdf8;
  color: var(--brand);
  white-space: nowrap;
}

.growth-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.growth-card-head h3 {
  margin: 0;
  font-size: 18px;
}

.growth-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.growth-action {
  min-height: 56px;
  padding: 8px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
}

.growth-action.done {
  background: color-mix(in srgb, var(--ok) 10%, #fffdf8);
  border-color: color-mix(in srgb, var(--ok) 28%, var(--line));
}

.growth-action strong,
.growth-action small {
  display: block;
}

.growth-action strong {
  font-size: 13px;
  line-height: 1.15;
}

.growth-action small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.service-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.service-logo.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4);
}

.service-logo.tiktok {
  background: linear-gradient(135deg, #111, #25f4ee 52%, #fe2c55);
}

.service-logo.google {
  background: conic-gradient(from -45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

.service-logo.friend {
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 58%, var(--brand-2)));
}

.compact-field {
  min-width: 190px;
}

.admin-notes-field {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.compact-title {
  margin-bottom: 4px;
}

.admin-notes-timeline {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 0;
  padding: 4px 2px 4px 0;
}

.compact-timeline {
  max-height: 230px;
}

.timeline-note {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 0 0 16px;
}

.timeline-note::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-note:last-child::before {
  display: none;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 3px;
  background: var(--brand);
  box-shadow: 0 0 0 4px #eef5ed;
}

.activity-dot {
  background: var(--brand-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, #fff);
}

.timeline-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.timeline-meta span {
  color: var(--muted);
  font-size: 13px;
}

.admin-brand-preview {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 8px;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--preview-accent) 86%, transparent), transparent 26%),
    linear-gradient(135deg, color-mix(in srgb, var(--preview-primary) 94%, #000), var(--preview-primary));
  display: grid;
  align-content: space-between;
  box-shadow: var(--shadow);
}

.admin-brand-preview > :not(.admin-brand-image) {
  position: relative;
  z-index: 1;
}

.admin-brand-image {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: .22;
}

.admin-brand-logo {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--preview-primary);
  display: grid;
  place-items: center;
  font-weight: 950;
  letter-spacing: .04em;
}

.admin-brand-preview h2 {
  margin: 0;
  font-size: 34px;
}

.admin-brand-preview p {
  color: rgba(255,255,255,.78);
}

.swatch-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.swatch-row span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.swatch-row p {
  margin: 2px 0 0;
  color: var(--muted);
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: var(--ink);
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.upload-zone {
  border: 1px dashed #a99f90;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  background: #faf7f0;
}

.receipt-camera-visual {
  position: relative;
  width: 182px;
  height: 138px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.camera-phone {
  position: absolute;
  left: 8px;
  top: 14px;
  width: 82px;
  height: 104px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1d2522, #34433e);
  box-shadow: 0 16px 30px rgba(18, 60, 54, .22);
}

.camera-phone::before {
  content: "";
  position: absolute;
  inset: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
}

.camera-lens {
  position: absolute;
  left: 28px;
  top: 38px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf8 0 12%, #e05a3f 13% 28%, #123c36 29% 100%);
  box-shadow: 0 0 0 8px rgba(255,255,255,.08);
}

.camera-flash {
  position: absolute;
  right: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7a84a;
}

.receipt-preview {
  position: absolute;
  right: 9px;
  bottom: 8px;
  width: 92px;
  min-height: 116px;
  padding: 16px 13px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  text-align: left;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 9px, #fffdf8 0) top left,
    linear-gradient(225deg, transparent 9px, #fffdf8 0) top right,
    linear-gradient(45deg, transparent 9px, #fffdf8 0) bottom left,
    linear-gradient(315deg, transparent 9px, #fffdf8 0) bottom right;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  box-shadow: 0 14px 26px rgba(29,33,31,.14);
  border: 1px solid #ece3d4;
}

.receipt-preview span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #d9d0c0;
}

.receipt-preview span:nth-child(2) {
  width: 74%;
}

.receipt-preview span:nth-child(3) {
  width: 54%;
}

.receipt-preview strong {
  margin-top: 5px;
  color: var(--brand);
  font-size: 13px;
}

.camera-scan-beam {
  position: absolute;
  left: 78px;
  right: 28px;
  top: 56px;
  height: 36px;
  background: linear-gradient(90deg, rgba(224, 90, 63, .28), rgba(215, 168, 74, .48), rgba(224, 90, 63, 0));
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  animation: cameraBeam 2s ease-in-out infinite;
}

@keyframes cameraBeam {
  0%, 100% { opacity: .45; transform: translateY(-3px); }
  50% { opacity: 1; transform: translateY(5px); }
}

.privacy-note {
  margin: 14px 0;
  padding: 12px;
  border-radius: 8px;
  background: #e7f1eb;
  color: #123c36;
  text-align: left;
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.privacy-note span {
  color: #46635c;
}

.demo-receipt {
  position: relative;
  overflow: hidden;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.95)),
    repeating-linear-gradient(0deg, #fffdf8, #fffdf8 16px, #f6f1e8 17px);
}

.demo-receipt.compact {
  margin-top: 16px;
}

.receipt-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 3px;
  background: var(--brand-2);
  box-shadow: 0 0 18px rgba(201, 79, 45, .65);
  animation: scanLine 2.2s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(142px); opacity: 1; }
}

.receipt-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin-top: 14px;
  font-size: 14px;
}

.receipt-lines span {
  color: var(--muted);
}

.status {
  padding: 12px;
  border-radius: 8px;
  font-weight: 750;
}

.status.ok {
  background: #dff0e4;
  color: var(--ok);
}

.status.warn {
  background: #faecd1;
  color: #8a5b11;
}

.status.bad {
  background: #f7dfdc;
  color: var(--danger);
}

.wheel-wrap {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.wheel {
  width: min(300px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: #123c36;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.15), 0 18px 38px rgba(0,0,0,.18);
  transform: rotate(var(--wheel-rotation, 0deg));
  transition: transform .6s ease;
  overflow: hidden;
}

.wheel.is-spinning {
  animation: activeSpin 4s cubic-bezier(.08,.78,.12,1) forwards;
}

@keyframes activeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(var(--wheel-rotation, 3600deg)); }
}

.slow-wheel {
  width: min(330px, 86vw);
  animation: slowSpin 22s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.home-wheel-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 10px 0 16px;
}

.wheel-terms {
  max-width: 280px;
  text-align: center;
  line-height: 1.35;
}

.customer-scan-action {
  margin-top: 0;
}

.customer-qr-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 8%, #fffdf8), #fffdf8);
}

.customer-qr-card img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #fff;
}

.customer-qr-card strong,
.customer-qr-card span,
.customer-qr-card small {
  display: block;
}

.customer-qr-card strong {
  color: var(--brand);
  font-size: 14px;
}

.customer-qr-card span {
  margin: 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.customer-qr-card small {
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.customer-spin-help {
  max-width: 310px;
  margin: 8px auto 0;
  text-align: center;
  color: var(--brand);
  font-weight: 850;
}

.scan-terms {
  margin: 0 auto;
}

.home-benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  justify-content: center;
}

.home-benefit-list span {
  border-radius: 99px;
  padding: 7px 10px;
  background: #f6f1e8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.customer-share-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 6%, #fffdf8), #fffdf8);
}

.customer-share-card .share-icon {
  align-self: start;
}

.customer-share-card .nav-icon {
  width: 42px;
  height: 42px;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--brand-2)));
}

.customer-share-card strong,
.customer-share-card span,
.customer-share-card small {
  display: block;
}

.customer-share-card span,
.customer-share-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.referral-bonus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.referral-bonus-row span {
  width: max-content;
  border-radius: 99px;
  padding: 5px 8px;
  background: color-mix(in srgb, var(--brand) 10%, #fffdf8);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.customer-share-card small {
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.customer-share-card .secondary-action {
  grid-column: 1 / -1;
  min-height: 42px;
}

.wheel::after {
  content: "";
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fffdf8;
  border: 6px solid #123c36;
  position: absolute;
  z-index: 2;
}

.wheel-label {
  z-index: 1;
  width: 66px;
  text-align: center;
  font-weight: 900;
  font-size: 12px;
}

.wheel-center-logo {
  z-index: 3;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  color: #123c36;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
}

.wheel-center-logo .aava-flame {
  width: 18px;
  height: 22px;
}

.wheel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wheel-slice {
  stroke: rgba(255, 253, 248, .8);
  stroke-width: .7;
}

.slice-a {
  fill: #123c36;
}

.slice-b {
  fill: #e05a3f;
}

.wheel-text {
  fill: #fffdf8;
  font-size: 3.65px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(18, 60, 54, .42);
  stroke-width: .55px;
}

.wheel-text.compact {
  font-size: 3.2px;
  stroke-width: .48px;
}

.wheel-text.tiny {
  font-size: 2.65px;
  stroke-width: .36px;
}

.wheel-text.compact.tiny {
  font-size: 2.45px;
}

.pointer {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 32px solid var(--brand-2);
  margin-bottom: -8px;
  z-index: 2;
}

.spin-result {
  text-align: center;
}

.no-win-result {
  display: grid;
  gap: 14px;
  padding: 12px 0 4px;
}

.no-win-result .won-prize-card {
  border-color: color-mix(in srgb, var(--muted) 38%, var(--line));
  background:
    linear-gradient(145deg, #fffdf8, color-mix(in srgb, var(--muted) 9%, #fffdf8));
  box-shadow: none;
  animation: none;
}

.no-win-result .won-prize-card::after {
  display: none;
}

.no-win-result .reward-icon {
  background: #6f746f;
}

.win-celebration {
  position: relative;
  width: 100%;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 14px 0 4px;
}

.won-prize-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px;
  border: 2px solid color-mix(in srgb, var(--brand-2) 55%, #fffdf8);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.72), transparent 31%),
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 12%, #fffdf8), color-mix(in srgb, var(--brand-2) 18%, #fffdf8));
  box-shadow: 0 18px 42px rgba(18, 60, 54, .2), 0 0 0 8px color-mix(in srgb, var(--brand-2) 12%, transparent);
  text-align: left;
  animation: wonPrizePulse 1.35s ease-in-out 2;
}

.won-prize-card::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 42%;
  z-index: -1;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: prizeShine 1.6s ease .25s both;
}

.won-prize-card h2 {
  margin: 0 0 5px;
  font-size: 25px;
  line-height: 1.05;
}

.won-prize-card p {
  margin: 0;
}

.won-prize-card .reward-icon {
  background: var(--brand);
  color: #fffdf8;
  box-shadow: 0 10px 22px rgba(18, 60, 54, .22);
  animation: rewardIconPop .8s cubic-bezier(.2,1.4,.3,1) both;
}

.prize-pop {
  animation: prizePop .55s ease both;
}

@keyframes prizePop {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wonPrizePulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.025); box-shadow: 0 22px 50px rgba(18, 60, 54, .28), 0 0 0 11px color-mix(in srgb, var(--brand-2) 18%, transparent); }
}

@keyframes prizeShine {
  from { left: -45%; }
  to { left: 118%; }
}

@keyframes rewardIconPop {
  from { transform: scale(.72) rotate(-8deg); opacity: 0; }
  65% { transform: scale(1.12) rotate(4deg); opacity: 1; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 8;
}

.reward-confetti {
  inset: -18px 0 0;
  z-index: 3;
}

.confetti i {
  position: absolute;
  left: var(--x);
  top: -18px;
  width: 9px;
  height: 15px;
  border-radius: 2px;
  background: hsl(calc(var(--x) * 3.6), 76%, 54%);
  animation: confettiFall 3.2s ease-in forwards;
  animation-delay: var(--d);
  transform: rotate(var(--r));
}

@keyframes confettiFall {
  to {
    top: 100%;
    transform: translateX(24px) rotate(540deg);
    opacity: .2;
  }
}

.customer-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: rgba(255, 253, 248, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.customer-bottom-nav button {
  min-height: 66px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 2px;
  cursor: pointer;
  font-size: 10px;
  position: relative;
}

.customer-bottom-nav button[data-preview-nav] {
  cursor: default;
}

.nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.scan-icon svg {
  width: 22px;
  height: 22px;
}

.customer-bottom-nav button.active {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, #fffdf8);
}

.customer-bottom-nav button.active .nav-icon {
  color: #fffdf8;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 68%, var(--brand-2)));
  box-shadow: 0 7px 16px color-mix(in srgb, var(--brand) 24%, transparent);
  transform: translateY(-1px);
}

.customer-bottom-nav button:hover .nav-icon {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tabs button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.tabs button.active {
  background: var(--ink);
  color: white;
}

.receipt-mode-tabs {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 6%, white);
}

.receipt-mode-tabs button {
  min-width: 120px;
  font-weight: 800;
}

.list {
  display: grid;
  gap: 10px;
}

.wallet-grid {
  display: grid;
  gap: 12px;
}

.is-list-hidden {
  display: none !important;
}

.list-more-wrap {
  display: grid;
  place-items: center;
  padding-top: 4px;
}

.list-more-button {
  min-width: 160px;
}

.wallet-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.wallet-card.redeemed {
  opacity: .72;
  background: #f6f1e8;
}

.wallet-place-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  max-width: 100%;
  margin-bottom: 4px;
}

.wallet-place-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
}

.wallet-place-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.wallet-place {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 9%, #fffdf8);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.wallet-card .row-between {
  grid-column: 1 / -1;
}

.place-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.place-filter-row button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 850;
}

.place-filter-row button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fffdf8;
}

.loyalty-map {
  position: relative;
  min-height: 320px;
  margin: 8px 0 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  border-radius: 10px;
  background:
    linear-gradient(28deg, transparent 0 34%, rgba(255,255,255,.68) 34.5% 39%, transparent 39.5%),
    linear-gradient(118deg, transparent 0 48%, rgba(255,255,255,.58) 48.5% 53%, transparent 53.5%),
    linear-gradient(90deg, rgba(56,89,75,.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56,89,75,.09) 1px, transparent 1px),
    #edf1e9;
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.loyalty-map::before,
.loyalty-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loyalty-map::before {
  background:
    linear-gradient(26deg, transparent 0 23%, rgba(255,255,255,.88) 23.4% 27.2%, transparent 27.6%),
    linear-gradient(153deg, transparent 0 58%, rgba(255,255,255,.86) 58.4% 62%, transparent 62.4%),
    linear-gradient(84deg, transparent 0 44%, rgba(255,255,255,.72) 44.4% 47.4%, transparent 47.8%);
  filter: drop-shadow(0 1px 0 rgba(88,100,92,.08));
}

.loyalty-map::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(81,112,95,.11) 37px 38px, transparent 39px 74px),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(81,112,95,.09) 53px 54px, transparent 55px 96px);
  opacity: .8;
}

.map-water,
.map-park,
.map-road,
.map-label {
  position: absolute;
  pointer-events: none;
}

.map-water {
  right: -16%;
  bottom: -18%;
  width: 54%;
  height: 46%;
  border-radius: 58% 42% 0 0;
  background: linear-gradient(135deg, #b9d9e2, #86bfce);
  opacity: .82;
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.map-park {
  border-radius: 18px;
  background: color-mix(in srgb, #7fb069 26%, #eff4e8);
  border: 1px solid rgba(90,126,76,.16);
}

.map-park.one {
  left: 6%;
  top: 9%;
  width: 27%;
  height: 24%;
  transform: rotate(-9deg);
}

.map-park.two {
  right: 11%;
  top: 12%;
  width: 22%;
  height: 20%;
  transform: rotate(8deg);
}

.map-road {
  z-index: 1;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(96,107,100,.12);
  box-shadow: 0 1px 0 rgba(73,82,78,.08);
}

.map-road.main {
  left: -5%;
  top: 47%;
  width: 112%;
  height: 24px;
  border-radius: 999px;
  transform: rotate(-12deg);
}

.map-road.ring {
  left: 21%;
  top: 22%;
  width: 62%;
  height: 48%;
  border-radius: 50%;
  background: transparent;
  border: 12px solid rgba(255,255,255,.82);
}

.map-road.cross {
  width: 74%;
  height: 13px;
  border-radius: 999px;
}

.map-road.cross.one {
  left: -10%;
  top: 24%;
  transform: rotate(31deg);
}

.map-road.cross.two {
  right: -16%;
  top: 34%;
  transform: rotate(61deg);
}

.map-road.cross.three {
  left: 8%;
  bottom: 18%;
  transform: rotate(-31deg);
}

.map-label {
  z-index: 2;
  color: rgba(37,58,51,.52);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.map-label.downtown {
  left: 45%;
  top: 47%;
}

.map-label.market {
  left: 9%;
  top: 37%;
}

.map-label.station {
  right: 9%;
  top: 39%;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--place-color), color-mix(in srgb, var(--place-color) 60%, var(--place-accent)));
  color: #fffdf8;
  box-shadow: 0 10px 18px rgba(29,33,31,.2);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-pin span {
  transform: rotate(45deg);
  font-size: 10px;
  font-weight: 950;
}

.map-pin.muted {
  opacity: .34;
  filter: grayscale(.45);
}

.map-pin.visible {
  opacity: 1;
}

.place-list {
  display: grid;
  gap: 10px;
}

.place-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.place-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--place-color);
  color: #fffdf8;
  font-weight: 950;
}

.place-card p {
  margin: 5px 0;
}

.suggest-restaurant-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  border-radius: 8px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), #fffdf8);
}

.suggest-receipt-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fffdf8;
}

.suggest-receipt-icon .inline-scan-icon {
  width: 26px;
  height: 26px;
}

.suggest-restaurant-card strong,
.suggest-restaurant-card span {
  display: block;
}

.suggest-restaurant-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.suggest-restaurant-card .secondary-action {
  grid-column: 1 / -1;
  min-height: 42px;
}

.source-tag {
  width: max-content;
  margin: 6px 0 4px;
}

.google-review-prompt {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), color-mix(in srgb, var(--brand-2) 8%, #fffdf8));
  display: grid;
  gap: 12px;
}

.google-review-prompt h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}

.review-switch {
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.social-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 5%, #fffdf8), color-mix(in srgb, var(--brand-2) 6%, #fffdf8));
}

.social-fields h3 {
  margin: 0;
  font-size: 18px;
}

.customer-info-panel,
.account-editor-panel {
  display: grid;
  gap: 12px;
}

.customer-info-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.customer-info-row:last-child {
  border-bottom: 0;
}

.customer-info-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.customer-info-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.account-editor-panel .primary-action {
  width: 100%;
}

.account-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 5%, #fffdf8);
}

.account-support-card strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.account-support-card p {
  margin: 4px 0 0;
}

.account-support-card .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.account-danger-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.compact-danger {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.marketing-consent-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.consent-service-row,
.consent-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) max-content auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.consent-service-row {
  grid-template-columns: 42px minmax(0, 1fr) max-content auto;
}

.consent-details {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.consent-details strong,
.consent-details span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consent-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--consent-color), color-mix(in srgb, var(--consent-color) 55%, #fff));
  color: #fffdf8;
  font-weight: 950;
}

.service-mark {
  --consent-color: var(--brand);
}

.switch-control {
  width: 46px;
  height: 26px;
  position: relative;
  display: inline-block;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-control span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d6d0c5;
  transition: background .18s ease;
}

.switch-control span::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 2px 7px rgba(0,0,0,.2);
  transition: transform .18s ease;
}

.switch-control input:checked + span {
  background: var(--brand);
}

.switch-control input:checked + span::before {
  transform: translateX(20px);
}

.redeem-visual {
  min-height: 150px;
  border-radius: 8px;
  margin: 14px 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 72% 22%, rgba(224, 90, 63, .88), transparent 26%),
    linear-gradient(145deg, #123c36, #1c6a5e);
  box-shadow: var(--shadow);
}

.redeem-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffdf8;
  color: #123c36;
  font-size: 38px;
  font-weight: 950;
}

.redeem-icon svg {
  width: 38px;
  height: 38px;
}

.redeem-visual span {
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,253,248,.78);
}

.list-row {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.selected-row {
  border-color: var(--brand);
  box-shadow: inset 4px 0 0 var(--brand);
}

.list-row strong {
  display: block;
}

.restaurant-card-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-trend-hero {
  margin-top: 16px;
  padding: 18px;
  border-radius: 8px;
  color: #fffdf8;
  background:
    radial-gradient(circle at 88% 8%, rgba(224, 90, 63, .34), transparent 28%),
    radial-gradient(circle at 12% 86%, rgba(215, 168, 74, .22), transparent 32%),
    linear-gradient(135deg, #123c36, #17201d 58%, #0f1715);
  box-shadow: 0 24px 70px rgba(18,60,54,.22);
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 16px;
  overflow: hidden;
}

.admin-trend-copy h2 {
  margin: 6px 0 8px;
  color: #fffdf8;
  font-size: 28px;
  line-height: 1.04;
}

.admin-trend-copy p,
.admin-trend-copy .eyebrow {
  color: rgba(255,253,248,.76);
}

.admin-trend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-trend-card {
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.admin-trend-card span,
.admin-trend-card small {
  display: block;
  color: rgba(255,253,248,.72);
  font-weight: 800;
}

.admin-trend-card strong {
  display: block;
  margin: 4px 0;
  color: #fffdf8;
  font-size: 34px;
  line-height: 1;
}

.admin-sparkline {
  width: 100%;
  height: 58px;
  align-self: end;
  overflow: visible;
}

.admin-sparkline polygon {
  fill: rgba(215,168,74,.18);
}

.admin-sparkline polyline {
  fill: none;
  stroke: #d7a84a;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.2));
}

.admin-sparkline circle {
  fill: #fffdf8;
  stroke: #d7a84a;
  stroke-width: 1.1;
}

.admin-sparkline.coral polyline,
.admin-sparkline.coral circle {
  stroke: #e05a3f;
}

.admin-sparkline.coral polygon {
  fill: rgba(224,90,63,.18);
}

.admin-sparkline.blue polyline,
.admin-sparkline.blue circle {
  stroke: #78a8ff;
}

.admin-sparkline.blue polygon {
  fill: rgba(120,168,255,.18);
}

.admin-chart-card {
  min-height: 250px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 6%, #fffdf8), #fffdf8 58%);
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 14px;
}

.admin-chart-card.wide {
  grid-column: span 2;
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chart-head h3 {
  margin: 3px 0 0;
  font-size: 18px;
}

.chart-head > strong {
  color: var(--brand);
  font-size: 18px;
  white-space: nowrap;
}

.admin-bar-chart {
  height: 178px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding-top: 8px;
}

.admin-bar-column {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 5px;
  text-align: center;
  color: var(--muted);
}

.admin-bar-column i {
  width: 100%;
  min-height: 20px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.admin-bar-column strong {
  color: var(--ink);
  font-size: 13px;
}

.admin-bar-column span {
  font-size: 12px;
}

.admin-donut {
  width: 164px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffdf8 0 52%, transparent 53%),
    conic-gradient(var(--ok) 0 var(--active), #e2a534 var(--active) calc(var(--active) + var(--risk)), #d9d4c9 calc(var(--active) + var(--risk)) 360deg);
  display: grid;
  place-items: center;
  text-align: center;
}

.admin-donut strong,
.admin-donut span {
  grid-area: 1 / 1;
}

.admin-donut strong {
  transform: translateY(-8px);
  font-size: 28px;
  color: var(--ink);
}

.admin-donut span {
  transform: translateY(18px);
  color: var(--muted);
  font-size: 13px;
}

.admin-chart-legend {
  display: grid;
  gap: 7px;
}

.admin-chart-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.admin-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.admin-chart-legend .ok {
  background: var(--ok);
}

.admin-chart-legend .warn {
  background: #e2a534;
}

.admin-chart-legend .neutral {
  background: #d9d4c9;
}

.admin-funnel {
  display: grid;
  gap: 10px;
  align-content: center;
}

.admin-funnel-step {
  height: 42px;
  display: flex;
  justify-content: center;
}

.admin-funnel-step div {
  min-width: 42%;
  height: 100%;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent) 72%, var(--brand)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-funnel-step span {
  font-weight: 700;
}

.admin-funnel-step strong {
  font-size: 18px;
}

.admin-revenue-bars {
  display: grid;
  gap: 11px;
  align-content: center;
}

.admin-revenue-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.admin-revenue-row span {
  color: var(--ink);
  font-weight: 700;
}

.admin-revenue-row div {
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  overflow: hidden;
}

.admin-revenue-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.admin-revenue-row strong {
  text-align: right;
}

.admin-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.admin-opportunity-list {
  display: grid;
  gap: 10px;
}

.admin-opportunity-list article,
.admin-customer-risk-box {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand) 5%, #fffdf8);
  display: grid;
  gap: 7px;
}

.admin-opportunity-list span,
.admin-customer-risk-box span {
  color: var(--muted);
  line-height: 1.4;
}

.admin-restaurant-card-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.health-dot {
  font-size: 13px;
  line-height: 1;
}

.health-dot.ok {
  color: var(--ok);
}

.health-dot.warn {
  color: #b87811;
}

.health-dot.bad {
  color: var(--danger);
}

.restaurant-card-log {
  display: block;
  margin-top: 6px;
  max-width: 560px;
}

.tag {
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-2);
  color: var(--ink);
}

.tag.ok {
  background: #dff0e4;
  color: var(--ok);
}

.tag.warn {
  background: #faecd1;
  color: #8a5b11;
}

.tag.bad {
  background: #f7dfdc;
  color: var(--danger);
}

.progress-track {
  height: 12px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.funnel {
  display: grid;
  gap: 8px;
}

.funnel div {
  min-height: 52px;
  border-radius: 8px;
  padding: 9px 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, #fffdf8), color-mix(in srgb, var(--brand) 18%, #fffdf8));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.funnel div:nth-child(2) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 13%, #fffdf8), color-mix(in srgb, var(--brand) 22%, #fffdf8));
}

.funnel div:nth-child(3) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 17%, #fffdf8), color-mix(in srgb, var(--brand-2) 16%, #fffdf8));
}

.funnel div:nth-child(4) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 20%, #fffdf8), color-mix(in srgb, var(--brand-2) 22%, #fffdf8));
}

.funnel strong {
  font-size: 28px;
  color: var(--brand);
}

.funnel span {
  color: var(--muted);
}

.efficiency-panel {
  overflow: hidden;
}

.efficiency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.visual-funnel {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, #fffdf8), color-mix(in srgb, var(--brand-2) 7%, #fffdf8));
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
}

.visual-funnel-step {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.visual-funnel-step div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.visual-funnel-step span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.visual-funnel-step strong {
  color: var(--brand);
  font-size: 24px;
}

.visual-funnel-step i {
  height: 42px;
  width: var(--funnel-width);
  min-width: 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 88%, #000), color-mix(in srgb, var(--brand-2) calc(30% + var(--step) * 12%), var(--gold)));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 14%, transparent);
}

.efficiency-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.efficiency-cards article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background: #fffaf0;
}

.efficiency-cards span,
.efficiency-cards small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.efficiency-cards strong {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.customer-pass-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.customer-pass-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.customer-pass-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.customer-pass-head strong,
.customer-pass-head span {
  display: block;
  min-width: 0;
}

.compact-stamp-grid {
  gap: 7px;
  margin: 0;
}

.customer-pass-card .stamp {
  border-color: color-mix(in srgb, var(--place-color, var(--brand)) 30%, #b9ad9b);
}

.customer-pass-card .stamp.active {
  border-color: var(--place-color, var(--brand));
  background: color-mix(in srgb, var(--place-color, var(--brand)) 12%, #fffaf0);
  color: var(--place-color, var(--brand));
}

.compact-stamp-prize {
  grid-template-columns: 44px 1fr;
  gap: 10px;
  margin-top: 0;
  padding-top: 2px;
}

.compact-stamp-prize .reward-icon.large {
  width: 44px;
  height: 44px;
}

.stamp-pass-reward-note {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--gold) 18%, #fffdf8);
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line));
  text-align: center;
}

.stamp-pass-reward-note strong {
  color: var(--brand);
  font-size: 13px;
}

.stamp-pass-reward-note span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.stamp-pass-reward-note small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.stamp {
  aspect-ratio: 1;
  border: 2px dashed #b9ad9b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffaf0;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  padding: 5px;
  overflow: hidden;
}

.stamp.active {
  border-style: solid;
  border-color: var(--brand);
  background: #dff0e4;
  color: var(--brand);
}

.stamp strong {
  width: 82%;
  height: 82%;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

.stamp img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

.stamp-logo-mark {
  width: 86%;
  height: 86%;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), rgba(255,255,255,.68)),
    color-mix(in srgb, var(--brand-2) 10%, #fff);
  color: var(--brand);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
  padding: 5px;
}

.stamp-logo-mark i {
  width: 10px;
  height: 13px;
  border-radius: 75% 75% 70% 18%;
  background: linear-gradient(180deg, var(--brand-2), var(--gold));
  transform: rotate(18deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.stamp .stamp-logo-mark strong,
.restaurant-stamp .stamp-logo-mark strong {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  display: block;
  font-size: 9px;
  line-height: .95;
  font-weight: 950;
  color: currentColor;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.stamp.prize {
  grid-column: auto;
  aspect-ratio: 1;
  min-height: 0;
  border-style: solid;
  border-color: color-mix(in srgb, var(--gold) 76%, #8b5c10);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.92), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, var(--gold), #f4d77a);
  color: #17201d;
  box-shadow: 0 10px 18px rgba(139, 92, 16, .2);
}

.customer-stamp-prize {
  display: grid;
  place-items: center;
  gap: 0;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.customer-stamp-prize small {
  font-size: 10px;
  color: rgba(23,32,29,.68);
}

.customer-stamp-prize-text {
  display: block;
  font-size: 11px;
  font-weight: 950;
  color: #17201d;
  letter-spacing: .02em;
}

.stamp-prize {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.stamp-pass-preview {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 6%, #fffdf8), color-mix(in srgb, var(--brand-2) 8%, #fffdf8));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.stamp-pass-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.stamp-pass-head h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.stamp-pass-track {
  height: 10px;
}

.stamp-pass-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.stamp-pass-mini-row strong {
  color: var(--brand);
  white-space: nowrap;
}

.restaurant-stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.restaurant-stamp {
  min-height: 58px;
  aspect-ratio: 1;
  border: 2px dashed color-mix(in srgb, var(--brand) 28%, #b9ad9b);
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6px;
  background: rgba(255,255,255,.68);
  color: var(--muted);
  overflow: hidden;
}

.restaurant-stamp.stamped {
  border-style: solid;
  border-color: color-mix(in srgb, var(--brand) 76%, #000);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  transform: rotate(-4deg);
}

.restaurant-stamp.stamped:nth-child(2n) {
  transform: rotate(3deg);
}

.restaurant-stamp strong {
  width: 82%;
  height: 82%;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.restaurant-stamp img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
}

.restaurant-stamp .stamp-logo-mark {
  width: 88%;
  height: 88%;
  border-radius: 12px;
}

.restaurant-stamp .stamp-logo-mark strong {
  font-size: 10px;
}

.restaurant-stamp.prize {
  grid-column: auto;
  aspect-ratio: 1;
  min-height: 58px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--gold) 76%, #8b5c10);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.92), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, var(--gold), #f4d77a);
  color: #17201d;
  box-shadow: 0 10px 18px rgba(139, 92, 16, .2);
}

.stamp-prize-label {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.stamp-pass-condition {
  margin: 14px 0 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  display: grid;
  gap: 2px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
}

.stamp-pass-condition strong {
  color: var(--brand);
  font-size: 14px;
}

.stamp-pass-condition span {
  color: var(--muted);
  font-size: 13px;
}

.stand {
  max-width: 360px;
  min-height: 520px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 8px;
  display: grid;
  align-content: space-between;
  text-align: center;
}

.qr {
  width: 180px;
  height: 180px;
  margin: 18px auto;
  display: block;
  background: #fff;
  border: 12px solid #fff;
  box-shadow: 0 0 0 3px #111, var(--shadow);
}

.qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.qr-sticker-sheet {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.qr-sticker {
  min-height: 176px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  padding: 10px;
  border: 1px dashed color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: 8px;
  background: #fff;
  text-align: center;
  page-break-inside: avoid;
}

.qr-sticker strong,
.qr-sticker span,
.qr-sticker small {
  display: block;
}

.qr-sticker strong {
  font-size: 13px;
  line-height: 1.1;
}

.qr-sticker span,
.qr-sticker p,
.qr-sticker small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.qr-sticker img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.qr-sticker p {
  margin: 0;
  font-weight: 800;
}

.qr-sticker small {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
}

.live-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 16px;
  align-items: start;
}

.live-form textarea {
  min-height: 118px;
}

.live-prize-editor {
  gap: 8px;
}

.live-prize-row {
  display: grid;
  grid-template-columns: 34px 1fr 38px;
  gap: 8px;
  align-items: center;
}

.live-prize-row span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fffdf8;
  font-weight: 950;
}

.live-prize-row .icon-action {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.live-admin-panel .field:has(#liveDrawEventStart),
.live-admin-panel .field:has(#liveDrawTotalDuration),
.live-admin-panel .field:has(#liveDrawQrRotationSeconds),
.live-admin-panel .field:has(#liveDrawRequestedFields),
.live-admin-panel .field:has(#liveDrawProfileMode),
.live-admin-panel .live-toggle-grid,
.live-admin-panel .live-join-note {
  display: none;
}

.live-event-settings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.live-toggle-grid label {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.live-player-visible-note {
  grid-column: 1 / -1;
  padding: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ok) 8%, #fffdf8);
  border: 1px solid color-mix(in srgb, var(--ok) 18%, var(--line));
  display: grid;
  gap: 6px;
}

.live-player-visible-note strong {
  color: var(--brand);
}

.live-player-visible-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field label .live-visible-badge {
  margin-left: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.live-event-timeline {
  display: grid;
  gap: 7px;
}

.live-event-timeline span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.live-current-participants {
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  background:
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 32%),
    #fffdf8;
}

.live-current-participants .row-between {
  align-items: flex-start;
}

.live-join-note,
.live-participant-card {
  padding: 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 6%, #fffdf8);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  display: grid;
  gap: 8px;
}

.live-join-note strong,
.live-participant-card strong {
  color: var(--brand);
}

.live-join-note span,
.live-participant-list em {
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.live-participant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.live-participant-list span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.live-preview-card {
  display: grid;
  gap: 14px;
}

.live-qr-card {
  padding: 18px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 32%),
    color-mix(in srgb, var(--brand) 8%, #fffdf8);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.live-qr-card img {
  width: min(280px, 100%);
  border: 12px solid #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.live-qr-card strong,
.live-qr-card span {
  display: block;
}

.live-qr-card span {
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.live-join-code {
  width: min(220px, 100%);
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.live-join-code span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.live-join-code strong {
  color: var(--brand);
  font-size: 30px;
  letter-spacing: .08em;
}

.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.live-actions {
  align-items: stretch;
}

.live-actions .primary-action {
  width: auto;
  flex: 1;
}

.live-window-link {
  width: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.receipt-card {
  padding: 14px;
}

.receipt-card pre {
  white-space: pre-wrap;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23,32,29,.55);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
}

.modal {
  position: relative;
  max-width: 420px;
  width: 100%;
  max-height: min(860px, calc(100svh - 36px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.modal-close-button {
  position: sticky;
  top: 0;
  justify-self: end;
  margin: -8px -8px 4px auto;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, white);
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  z-index: 3;
  cursor: pointer;
}

.trial-modal {
  max-width: 860px;
  display: grid;
  gap: 18px;
}

.trial-modal-head {
  display: grid;
  gap: 6px;
}

.trial-modal h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.trial-signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: stretch;
}

.trial-signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trial-signup-form .full-field {
  grid-column: 1 / -1;
}

.trial-plan-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 28%),
    linear-gradient(135deg, var(--brand), #17201d);
  color: #fffdf8;
}

.trial-plan-card strong {
  font-size: 34px;
  line-height: 1;
}

.trial-plan-card span {
  color: color-mix(in srgb, var(--gold) 86%, white);
  font-weight: 950;
}

.trial-plan-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255,253,248,.84);
  font-weight: 750;
}

.trial-success-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trial-success-steps span {
  padding: 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 8%, white);
  color: var(--brand);
  font-weight: 900;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .app-shell {
    display: block;
  }

  .side {
    display: none;
  }

  .mobile-top,
  .mobile-nav,
  .mobile-legal-link {
    display: flex;
  }

  .mobile-top {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
  }

  .mobile-top .brand-lockup {
    min-width: 0;
    max-width: 100%;
  }

  .mobile-top .brand-logo {
    width: min(238px, 68vw);
    height: 54px;
    padding: 0;
  }

  .main {
    padding: 16px;
  }

  .split,
  .two-col,
  .landing-card-grid,
  .landing-solution-grid,
  .landing-benefits,
  .landing-trial,
  .landing-hero,
  .landing-live-promo-section,
  .landing-return-stats,
  .landing-stat-grid,
  .landing-gamified,
  .landing-gamified-grid,
  .landing-showcase,
  .landing-brand-experience,
  .landing-visibility,
  .landing-visibility-grid,
  .landing-mockup-row,
  .live-sales-hero,
  .live-sales-flow,
  .live-sales-split,
  .live-demo-launch,
  .live-sales-cta,
  .live-admin-grid,
  .restaurant-overview-split,
  .restaurant-qr-overview,
  .restaurant-rewards-split,
  .customer-preview-layout,
  .efficiency-grid,
  .audience-reward-grid,
  .brand-page-grid,
  .compact-image-grid,
  .filter-bar,
  .happy-hour-settings,
  .social-unlock-settings,
  .player-row,
  .reward-editor-grid,
  .compact-rules-box {
    grid-template-columns: 1fr;
  }

  .compact-rules-box {
    grid-column: auto;
  }

  .compact-logo-row,
  .compact-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    margin: 0 auto;
  }

  .restaurant-inline-phone {
    margin: 0 auto -130px;
  }

  .preview-phone-card {
    margin-bottom: -130px;
  }

  .preview-phone-card .preview-phone {
    width: 360px;
    transform: scale(.78);
  }

  .single-customer-phone-card {
    margin-bottom: -130px;
  }

  .active-preview-phone {
    width: 390px;
    transform: scale(.82);
  }

  .restaurant-overview-split .restaurant-inline-phone {
    width: 360px;
    transform: scale(.78);
    margin: 0 auto -130px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-sales-grid,
  .live-usecase-grid,
  .live-prize-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-sales-hero {
    min-height: 0;
    padding: 30px;
  }

  .live-sales-stage {
    min-height: 470px;
  }

  .live-sales-cta {
    align-items: stretch;
  }

  .live-demo-launch {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-kpi-grid,
  .admin-trend-hero,
  .admin-visual-grid,
  .admin-ops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-chart-card.wide {
    grid-column: span 2;
  }

  .sales-pipeline {
    grid-template-columns: repeat(6, minmax(220px, 1fr));
  }

  .subscription-grid {
    grid-template-columns: 1fr 1fr;
  }

  .usage-analytics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .restaurant-overview-split .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .visual-funnel-step {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: 0;
    padding: 30px;
    background:
      linear-gradient(180deg, #123c36 0%, #1b5248 55%, #f0eadf 55%, #fffdf8 100%);
  }

  .landing-visual {
    min-height: 500px;
  }

  .landing-mockup-row {
    justify-items: center;
  }

  .landing-admin-mockup {
    width: 100%;
  }

  .landing-hero-overlay {
    padding: 32px;
  }

  .landing-live-promo-section {
    padding: 28px;
  }

  .landing-live-promo-visual {
    min-height: 320px;
  }

  .landing-live-tv {
    min-height: 320px;
  }

  .landing-live-tv-wheel {
    left: -230px;
    width: 470px;
  }

  .landing-live-tv-panel {
    right: 16px;
    width: min(58%, 270px);
  }
}

@media (max-width: 560px) {
  .main {
    padding: 0;
  }

  .page {
    width: 100%;
  }

  .landing-hero,
  .landing-section,
  .landing-benefits,
  .landing-live-promo-section,
  .landing-return-stats,
  .landing-gamified,
  .landing-showcase,
  .landing-trial,
  .landing-faq,
  .live-sales-hero,
  .live-sales-section,
  .live-sales-flow,
  .live-sales-split,
  .live-demo-launch,
  .live-sales-cta {
    border-radius: 0;
  }

  .landing-hero-overlay,
  .landing-hero,
  .landing-section,
  .landing-benefits,
  .landing-live-promo-section,
  .landing-return-stats,
  .landing-gamified,
  .landing-showcase,
  .landing-trial,
  .landing-faq,
  .live-sales-hero,
  .live-sales-section,
  .live-sales-flow,
  .live-sales-split,
  .live-demo-launch,
  .live-sales-cta {
    padding: 22px;
  }

  .live-sales-grid,
  .live-usecase-grid,
  .live-prize-grid {
    grid-template-columns: 1fr;
  }

  .live-prize-showcase {
    min-height: 240px;
  }

  .live-prize-showcase::before {
    width: 310px;
    left: -96px;
    top: -104px;
  }

  .live-prize-countdown strong {
    font-size: 20px;
  }

  .live-sales-screen {
    min-height: 560px;
  }

  .live-sales-big-wheel {
    left: -205px;
    bottom: -84px;
    width: 460px;
  }

  .live-sales-wheel-pointer {
    left: 222px;
    bottom: 118px;
  }

  .live-wheel-name {
    width: 74px;
    min-height: 24px;
    margin-left: -37px;
    margin-top: -12px;
    font-size: 13px;
    transform: rotate(var(--angle)) translateX(132px);
  }

  .live-sales-qr-card,
  .live-sales-names {
    right: 14px;
    width: min(50%, 178px);
  }

  .live-sales-names {
    top: 330px;
  }

  .live-sales-qr-card .landing-live-qr-animated {
    width: 96px;
  }

  .live-sales-phone {
    width: min(100%, 330px);
  }

  .landing-live-promo-visual {
    min-height: 290px;
  }

  .landing-live-join-demo {
    grid-template-columns: 1fr;
    min-height: 560px;
    padding: 18px;
  }

  .landing-live-join-side {
    align-self: start;
  }

  .landing-live-spin-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 240px;
  }

  .landing-live-tv {
    min-height: 290px;
  }

  .landing-live-tv-wheel {
    left: -242px;
    width: 430px;
  }

  .landing-live-tv-wheel span {
    font-size: 24px;
  }

  .landing-live-tv-panel {
    right: 12px;
    width: min(62%, 230px);
    padding: 14px;
  }

  .landing-live-tv-panel strong {
    font-size: 22px;
  }

  .trial-signup-grid,
  .trial-signup-form,
  .trial-success-steps {
    grid-template-columns: 1fr;
  }

  .modal-backdrop {
    align-items: start;
    padding: 10px;
  }

  .modal {
    max-height: calc(100svh - 20px);
    border-radius: 12px;
    padding: 16px;
  }

  .trial-modal {
    gap: 12px;
  }

  .trial-modal h2 {
    font-size: 28px;
  }

  .trial-signup-form {
    gap: 10px;
  }

  .trial-plan-card {
    padding: 14px;
  }

  .trial-plan-card strong {
    font-size: 28px;
  }

  .trial-modal .row-between,
  .modal .row-between {
    position: sticky;
    left: 0;
    right: 0;
    bottom: -16px;
    z-index: 4;
    margin: 4px -16px -16px;
    padding: 12px 16px 16px;
    background: linear-gradient(180deg, rgba(255,253,248,.72), var(--surface) 34%);
    gap: 8px;
  }

  .trial-modal .row-between button,
  .modal .row-between button {
    flex: 1 1 0;
    min-width: 0;
  }

  .landing-actions,
  .landing-trial {
    align-items: stretch;
  }

  .landing-primary,
  .landing-ghost {
    width: 100%;
  }

  .landing-visual {
    min-height: 420px;
  }

  .landing-phone {
    width: 210px;
    min-height: 430px;
  }

  .landing-phone-screen {
    min-height: 392px;
  }

  .landing-phone.small {
    width: 210px;
  }

  .qr-panel {
    left: 0;
    top: 24px;
    width: 146px;
  }

  .landing-fake-qr {
    width: 110px;
    height: 110px;
  }

  .landing-dashboard-card {
    right: 0;
    bottom: 24px;
    width: 150px;
  }

  .landing-dashboard-card strong {
    font-size: 32px;
  }

  .mockup-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .phone {
    border-radius: 0;
    max-width: none;
    padding: 0;
    box-shadow: none;
  }

  .restaurant-inline-phone {
    width: 100%;
    transform: none;
    margin-bottom: 0;
  }

  .preview-phone-card {
    margin-bottom: 0;
  }

  .preview-phone-card .preview-phone {
    width: 100%;
    transform: none;
  }

  .single-customer-phone-card {
    width: 100%;
    margin-bottom: 0;
  }

  .active-preview-phone {
    width: 100%;
    transform: none;
  }

  .restaurant-overview-split .restaurant-inline-phone {
    width: 100%;
    transform: none;
    margin: 0;
  }

  .phone-screen {
    border-radius: 0;
    height: calc(100vh - 104px);
    min-height: calc(100vh - 104px);
  }

  .landing-live-app-visual {
    min-height: auto;
    width: 100%;
    overflow: hidden;
    padding: 4px 0 0;
  }

  .landing-live-app-visual .landing-demo-phone {
    width: min(340px, 100%);
    max-width: 340px;
    min-height: 0;
    margin: 0 auto;
    padding: 10px;
    border-radius: 30px;
    transform: none;
    background:
      linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,0) 18%),
      #111715;
    box-shadow: 0 24px 58px rgba(29,33,31,.28);
  }

  .landing-live-app-visual .landing-demo-phone .phone-screen {
    height: min(640px, calc(100svh - 132px));
    min-height: 540px;
    border-radius: 22px;
    overflow: hidden;
  }

  .landing-live-app-visual .landing-demo-screen {
    height: calc(100% - 58px);
  }

  .landing-live-app-visual .content-pad {
    padding: 12px;
  }

  .landing-live-app-visual .restaurant-hero {
    min-height: 112px;
    padding: 10px 12px;
    gap: 8px;
  }

  .landing-live-app-visual .restaurant-hero h1 {
    font-size: 22px;
    line-height: 1;
  }

  .landing-live-app-visual .restaurant-hero p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.3;
  }

  .landing-live-app-visual .landing-app-status-row {
    gap: 6px;
  }

  .landing-live-app-visual .landing-app-status-row span,
  .landing-live-app-visual .customer-spin-help,
  .landing-live-app-visual .wheel-terms {
    font-size: 10px;
  }

  .landing-live-app-visual .customer-scan-action,
  .landing-live-app-visual .primary-action,
  .landing-live-app-visual .secondary-action {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .landing-live-app-visual .home-wheel-block {
    margin: 8px 0 10px;
    gap: 5px;
  }

  .landing-live-app-visual .wheel,
  .landing-live-app-visual .slow-wheel {
    width: min(228px, 70vw);
  }

  .landing-live-app-visual .wheel::after {
    width: 58px;
    height: 58px;
  }

  .landing-live-app-visual .wheel-center-logo {
    width: 54px;
    height: 54px;
  }

  .landing-live-app-visual .landing-phone-reward-preview {
    gap: 6px;
    margin-top: 8px;
  }

  .landing-live-app-visual .landing-phone-reward-preview article,
  .landing-live-app-visual .wallet-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .landing-live-app-visual .landing-phone-reward-preview .reward-icon,
  .landing-live-app-visual .wallet-card .reward-icon,
  .landing-live-app-visual .landing-demo-result .reward-icon {
    width: 38px;
    height: 38px;
  }

  .landing-live-app-visual .landing-demo-flow {
    gap: 10px;
  }

  .landing-live-app-visual .landing-demo-flow h2 {
    font-size: 22px;
    line-height: 1.05;
  }

  .landing-live-app-visual .receipt-camera-visual {
    min-height: 150px;
  }

  .landing-live-app-visual .demo-receipt {
    margin: 8px 0;
    padding: 12px;
  }

  .landing-live-app-visual .landing-demo-result::before,
  .landing-live-app-visual .landing-demo-result::after {
    width: 74px;
    height: 74px;
  }

  .landing-live-app-visual .landing-demo-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .landing-live-app-visual .landing-demo-nav button {
    min-height: 58px;
    padding: 5px 2px;
    gap: 3px;
    font-size: 10px;
  }

  .landing-live-app-visual .landing-demo-nav .nav-icon {
    width: 24px;
    height: 24px;
  }

  .landing-live-app-visual .landing-demo-nav .nav-icon svg {
    width: 17px;
    height: 17px;
  }

  .panel {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .metric-grid,
  .admin-kpi-grid,
  .admin-trend-grid,
  .admin-visual-grid,
  .admin-ops-grid,
  .receipt-summary-grid,
  .subscription-grid,
  .legal-section-grid,
  .usage-analytics-grid,
  .dashboard-grid,
  .efficiency-cards,
  .compact-logo-row,
  .compact-form-grid,
  .reward-grid,
  .qr-sticker-sheet {
    grid-template-columns: 1fr;
  }

  .admin-chart-card.wide {
    grid-column: auto;
  }

  .admin-revenue-row {
    grid-template-columns: 1fr;
  }

  .hour-heatmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-unlock-item {
    grid-template-columns: 1fr;
  }

  .consent-row,
  .consent-service-row {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  .customer-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .reward-step-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .reward-step-icon {
    grid-column: 1 / 2;
    width: 42px;
    height: 42px;
  }

  .reward-step-content {
    grid-column: 1 / -1;
  }

  .reward-step-title,
  .reward-stock {
    grid-template-columns: 1fr;
    display: grid;
  }

  .reward-value-pill {
    width: max-content;
  }

  .consent-row .tag,
  .consent-service-row .tag {
    grid-column: 2 / 3;
    width: max-content;
  }

  .restaurant-admin-hero {
    border-radius: 0;
  }

  .admin-hero-content {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .admin-hero-content h1 {
    font-size: 34px;
  }

  .restaurant-powered-logo {
    right: 22px;
    bottom: 18px;
    justify-items: end;
  }

  .restaurant-loyalty-logo {
    width: 238px;
    height: 38px;
  }
}
