/* =========================================================
   LOYALTY CHIPS — Luxury V2
   Slate + ivory + deep navy. Aurora lighting. Glass surfaces.
   Loaded after styles.css — overrides selectively.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
.theme-white-slate,
.theme-dark-app,
body {
  --lx-ink:        #0A1530;
  --lx-ink-2:      #1A2647;
  --lx-slate:      #475572;
  --lx-slate-2:    #6B7891;
  --lx-mist:       #94A2BB;
  --lx-line:       rgba(15, 27, 56, .08);
  --lx-line-2:     rgba(15, 27, 56, .14);
  --lx-line-soft:  rgba(15, 27, 56, .05);

  --lx-cream:      #F8F5EE;
  --lx-paper:      #FAFBFC;
  --lx-mist-bg:    #F1F4F9;

  --lx-blue:       #1E3A8A;
  --lx-blue-2:     #2A4FB7;
  --lx-blue-3:     #3D6FE0;
  --lx-aurora-1:   rgba(61, 111, 224, .26);
  --lx-aurora-2:   rgba(120, 167, 255, .22);
  --lx-aurora-3:   rgba(199, 168, 105, .14);

  --lx-gold:       #C7A869;
  --lx-gold-soft:  #E5D4A4;

  --lx-radius-sm:  10px;
  --lx-radius:     16px;
  --lx-radius-lg:  22px;
  --lx-radius-xl:  28px;

  --lx-shadow-1:   0 1px 2px rgba(10, 21, 48, .04), 0 1px 1px rgba(10, 21, 48, .03);
  --lx-shadow-2:   0 12px 32px -12px rgba(10, 21, 48, .12), 0 4px 12px -4px rgba(10, 21, 48, .06);
  --lx-shadow-3:   0 32px 64px -24px rgba(10, 21, 48, .22), 0 12px 24px -8px rgba(10, 21, 48, .08);
  --lx-shadow-glow:0 30px 80px -20px rgba(61, 111, 224, .35), 0 12px 32px -8px rgba(10, 21, 48, .18);

  --lx-ease:       cubic-bezier(.2, .7, .2, 1);
  --lx-ease-out:   cubic-bezier(.16, 1, .3, 1);

  /* Editorial system additions */
  --lx-mono:       'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --lx-tint-warm:    #F5EBD8;   /* hospitality */
  --lx-tint-cool:    #EAF0F7;   /* leisure */
  --lx-tint-emerald: #E5EFE9;   /* casino */
  --lx-rule:         1px solid var(--lx-line);
  --lx-rule-2:       1px solid var(--lx-line-2);
  --lx-grid-cols:    repeat(12, minmax(0, 1fr));
  --lx-gutter:       clamp(20px, 2.4vw, 40px);
  --lx-numeral:      clamp(72px, 12vw, 200px);
}

/* ---------- Public site (white-slate) base ---------- */
.theme-white-slate {
  background: var(--lx-paper);
  color: var(--lx-slate);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv11' on;
}

.theme-white-slate h1,
.theme-white-slate h2,
.theme-white-slate h3,
.theme-white-slate h4,
.theme-white-slate h5 {
  font-family: 'Fraunces', 'Outfit', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--lx-ink);
  font-feature-settings: 'ss01' on, 'ss02' on;
}

.theme-white-slate h1 {
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 500;
  max-width: none;
}

.theme-white-slate h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.028em;
  font-weight: 500;
}

.theme-white-slate h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -.018em;
  font-weight: 500;
}

.theme-white-slate p,
.theme-white-slate .muted,
.theme-white-slate .lede,
.theme-white-slate .sub {
  color: var(--lx-slate);
  font-family: 'Inter', system-ui, sans-serif;
}

.theme-white-slate .lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--lx-slate);
  max-width: 56ch;
}

.theme-white-slate .accent {
  color: var(--lx-ink);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 400;
}

.theme-white-slate .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lx-slate-2);
  font-weight: 600;
}

/* ---------- Aurora lighting ---------- */
.lx-aurora {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.lx-aurora::before,
.lx-aurora::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
  opacity: .9;
  border-radius: 50%;
  will-change: transform;
}

.lx-aurora::before {
  width: 70vw;
  height: 70vw;
  max-width: 1200px;
  max-height: 1200px;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, var(--lx-aurora-1), transparent 75%),
    radial-gradient(closest-side at 30% 60%, var(--lx-aurora-3), transparent 70%);
  animation: lx-drift 22s ease-in-out infinite alternate;
}

.lx-aurora::after {
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  top: -10%;
  right: -15%;
  background: radial-gradient(closest-side, var(--lx-aurora-2), transparent 70%);
  animation: lx-drift-2 28s ease-in-out infinite alternate;
}

@keyframes lx-drift {
  0%   { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-46%, 4%) scale(1.08); }
}
@keyframes lx-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4%, 6%) scale(1.12); }
}

/* Spotlight that follows the cursor */
.lx-spotlight {
  position: relative;
  isolation: isolate;
}
.lx-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    600px circle at var(--lx-mx, 50%) var(--lx-my, 0%),
    rgba(61, 111, 224, .14),
    transparent 60%
  );
  transition: background .2s var(--lx-ease);
  pointer-events: none;
}

/* Subtle grid + grain overlay */
.lx-grid-bg {
  background-image:
    linear-gradient(var(--lx-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--lx-line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 50% 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
}

.lx-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .04 0 0 0 0 .08 0 0 0 0 .18 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .35;
  mix-blend-mode: multiply;
  z-index: 0;
}

/* ---------- Buttons ---------- */
.theme-white-slate .btn,
.theme-dark-app .btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -.005em;
  border-radius: var(--lx-radius-sm);
  transition: transform .25s var(--lx-ease), box-shadow .25s var(--lx-ease), background .25s var(--lx-ease), border-color .25s var(--lx-ease), color .25s var(--lx-ease);
  border-width: 1px;
  border-style: solid;
}

.theme-white-slate .btn-primary {
  background: linear-gradient(180deg, var(--lx-ink-2) 0%, var(--lx-ink) 100%);
  color: var(--lx-cream);
  border-color: var(--lx-ink);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 24px -10px rgba(10, 21, 48, .35);
}
.theme-white-slate .btn-primary:hover {
  background: linear-gradient(180deg, #243363 0%, #15224A 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 14px 32px -10px rgba(10, 21, 48, .45);
  transform: translateY(-1px);
}

.theme-white-slate .btn-ghost {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--lx-line-2);
  color: var(--lx-ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.theme-white-slate .btn-ghost:hover {
  background: #fff;
  border-color: var(--lx-ink);
  transform: translateY(-1px);
  box-shadow: var(--lx-shadow-2);
}

/* ---------- Nav ---------- */
.theme-white-slate .nav {
  background: rgba(250, 251, 252, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--lx-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}

.theme-white-slate .nav-inner {
  padding-top: 18px;
  padding-bottom: 18px;
}

.theme-white-slate .nav-links a {
  color: var(--lx-slate);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  position: relative;
}
.theme-white-slate .nav-links a:hover {
  color: var(--lx-ink);
}
.theme-white-slate .nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--lx-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--lx-ease);
}
.theme-white-slate .nav-links a:hover::after { transform: scaleX(.6); }

/* ---------- Pill / Chip ---------- */
.theme-white-slate .pill,
.theme-white-slate .badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--lx-line-2);
  color: var(--lx-ink);
  border-radius: 999px;
  padding: 6px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-white-slate .pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lx-blue-3);
  box-shadow: 0 0 0 3px rgba(61, 111, 224, .15);
  animation: lx-pulse 2.4s ease-in-out infinite;
}

@keyframes lx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

/* ---------- Hero (luxury) ---------- */
.lx-hero {
  position: relative;
  padding: clamp(64px, 9vw, 140px) 0 clamp(72px, 10vw, 160px);
  overflow: hidden;
}

.lx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.lx-hero-copy { max-width: 640px; }

.lx-hero-copy .pill { margin-bottom: 22px; }

.lx-hero-title {
  margin: 0 0 24px;
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: .96;
  letter-spacing: -.038em;
  color: var(--lx-ink);
  font-weight: 500;
}

.lx-hero-title .lx-italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--lx-ink) 0%, var(--lx-blue-2) 50%, var(--lx-ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lx-hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--lx-slate);
  max-width: 540px;
  margin: 0 0 14px;
}

.lx-hero-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 28px;
  font-size: 16px;
  color: var(--lx-slate);
  line-height: 1.5;
}

.lx-hero-points span {
  display: block;
  color: var(--lx-ink);
  font-weight: 500;
}

.lx-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}

.lx-hero-cta .btn { padding: 14px 22px; min-height: 50px; font-size: 15px; }

.lx-hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--lx-slate-2);
  align-items: center;
}

.lx-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

.lx-hero-trust span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--lx-mist);
}

/* Hero visual — floating product on glass plinth */
.lx-hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lx-hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--lx-radius-xl);
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(255,255,255,.9) 0%, rgba(241, 244, 249, .9) 60%, rgba(225, 232, 244, .8) 100%);
  border: 1px solid var(--lx-line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -40px 80px -40px rgba(10, 21, 48, .08),
    var(--lx-shadow-3);
  overflow: hidden;
  isolation: isolate;
}

.lx-hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 30% 22%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(50% 40% at 75% 80%, rgba(61, 111, 224, .12), transparent 70%);
  pointer-events: none;
}

.lx-hero-stage img {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 40px rgba(10, 21, 48, .18)) drop-shadow(0 8px 16px rgba(10, 21, 48, .1));
}

.lx-hero-stage .lx-hero-tags {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 18px;
  z-index: 2;
}

.lx-hero-stage .lx-hero-tags span {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lx-slate);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--lx-line);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 500;
}

/* ---------- Section heads ---------- */
.theme-white-slate section { padding: clamp(72px, 9vw, 140px) 0; }

.lx-section-head {
  max-width: 740px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.lx-section-head .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.lx-section-head h2 {
  margin: 0 0 18px;
}

.lx-section-head .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Cards ---------- */
.lx-card {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #FAFBFD 100%);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .35s var(--lx-ease), box-shadow .35s var(--lx-ease), border-color .35s var(--lx-ease);
  isolation: isolate;
  overflow: hidden;
}

.lx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    400px circle at var(--lx-mx, 50%) var(--lx-my, 0%),
    rgba(61, 111, 224, .08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .4s var(--lx-ease);
}

.lx-card:hover {
  transform: translateY(-4px);
  border-color: var(--lx-line-2);
  box-shadow: var(--lx-shadow-3);
}
.lx-card:hover::before { opacity: 1; }

.lx-card.is-highlight {
  border-color: var(--lx-ink);
  box-shadow: var(--lx-shadow-glow);
  background:
    linear-gradient(180deg, #fff 0%, #FAFBFD 100%),
    radial-gradient(80% 60% at 50% 0%, rgba(61, 111, 224, .12), transparent 60%);
}

/* ---------- Product grid (luxury) ---------- */
.lx-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 960px) {
  .lx-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lx-product {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
}

.lx-product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: -36px -36px 24px;
  border-bottom: 1px solid var(--lx-line);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,1) 0%, var(--lx-mist-bg) 100%);
  overflow: hidden;
  border-radius: var(--lx-radius-lg) var(--lx-radius-lg) 0 0;
}

.lx-product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 35% at 50% 100%, rgba(10, 21, 48, .12), transparent 70%);
  pointer-events: none;
}

.lx-product-media img {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(10, 21, 48, .16));
  transition: transform .6s var(--lx-ease-out);
}
.lx-product:hover .lx-product-media img { transform: scale(1.04) translateY(-2px); }

.lx-product .lx-eyebrow-tag {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lx-slate-2);
  font-weight: 500;
  margin-bottom: 8px;
}

.lx-product h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.lx-product .lx-price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--lx-blue-2);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -.005em;
}

.lx-product p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--lx-slate);
  margin: 0 0 18px;
  flex: 1;
}

.lx-product .lx-product-cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--lx-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -.005em;
}

.lx-product .lx-product-cta::after {
  content: '→';
  transition: transform .3s var(--lx-ease);
}

.lx-product:hover .lx-product-cta::after { transform: translateX(4px); }

/* ---------- Loop / How it works ---------- */
.lx-loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

@media (max-width: 880px) {
  .lx-loop { grid-template-columns: 1fr; }
}

.lx-loop-step {
  position: relative;
  padding: 32px 28px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lx-loop-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 60px;
  line-height: 1;
  color: var(--lx-blue-2);
  font-weight: 300;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--lx-blue-3), var(--lx-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lx-loop-step h3,
.lx-loop-step h4 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--lx-ink);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -.018em;
}

.lx-loop-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--lx-slate);
  margin: 0;
}

/* ---------- Segments band (used by) ---------- */
.lx-segments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--lx-line);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  overflow: hidden;
}

.lx-segments .seg {
  background: rgba(255,255,255,.92);
  padding: 22px 18px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  letter-spacing: -.012em;
  color: var(--lx-ink);
  font-weight: 500;
  transition: background .3s var(--lx-ease);
  font-style: italic;
}
.lx-segments .seg:hover { background: var(--lx-mist-bg); }

/* ---------- Final CTA ---------- */
.lx-final {
  text-align: center;
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.lx-final h2 {
  max-width: 18ch;
  margin: 0 auto 18px;
}

.lx-final-card {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(61, 111, 224, .12), transparent 60%),
    linear-gradient(180deg, #0A1530 0%, #15224A 100%);
  color: var(--lx-cream);
  border-radius: var(--lx-radius-xl);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--lx-shadow-3);
  overflow: hidden;
  isolation: isolate;
}

.lx-final-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(61, 111, 224, .25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(199, 168, 105, .15), transparent 50%);
  z-index: -1;
}

.lx-final-card .eyebrow { color: var(--lx-gold-soft); }

.lx-final-card h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  margin: 14px auto 18px;
}

.lx-final-card p {
  color: rgba(248, 245, 238, .82);
  max-width: 50ch;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.5;
}

.lx-final-card .btn-primary {
  background: linear-gradient(180deg, #fff 0%, #F0EFEA 100%);
  color: var(--lx-ink);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.6);
}
.lx-final-card .btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.lx-final-card .btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: var(--lx-cream);
}
.lx-final-card .btn-ghost:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
}

/* ---------- Footer ---------- */
.theme-white-slate footer {
  background: linear-gradient(180deg, var(--lx-paper) 0%, #ECF0F6 100%);
  border-top: 1px solid var(--lx-line);
  padding: clamp(56px, 7vw, 96px) 0 28px;
  margin-top: 0;
}

.theme-white-slate footer h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lx-slate-2);
  font-weight: 600;
  margin-bottom: 14px;
}

.theme-white-slate footer ul li a,
.theme-white-slate footer .foot a {
  color: var(--lx-slate);
  font-size: 14px;
  transition: color .25s var(--lx-ease);
}

.theme-white-slate footer ul li a:hover,
.theme-white-slate footer .foot a:hover {
  color: var(--lx-ink);
}

.theme-white-slate .foot-bottom {
  border-top: 1px solid var(--lx-line);
  margin-top: 36px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--lx-slate-2);
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .lx-hero-grid { grid-template-columns: 1fr; }
  .lx-hero-visual { aspect-ratio: 5 / 4; max-height: 420px; margin: 0 -8px; }
  .lx-hero-cta { flex-direction: column; align-items: stretch; }
  .lx-hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lx-aurora::before,
  .lx-aurora::after,
  .pill::before { animation: none !important; }
}

/* =========================================================
   DARK APP (DASHBOARD) — Luxury overrides
   ========================================================= */
.theme-dark-app {
  --bg: #06091A;
  --surface: rgba(18, 25, 50, .65);
  --surface-2: rgba(24, 33, 64, .55);
  --surface-3: rgba(32, 44, 82, .55);
  --border: rgba(255,255,255,.06);
  --border-strong: rgba(255,255,255,.12);
  --brand: #6F95F5;
  --brand-hover: #94B0FF;
  --cream: #F8F5EE;
  --gold: #C7A869;
  --white: #F0F3FA;
  --ink: #F8F5EE;
  --muted: #A8B2C6;
  --muted-2: #6E7993;
  background: #06091A;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.theme-dark-app::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(61, 111, 224, .18), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(199, 168, 105, .08), transparent 60%),
    linear-gradient(180deg, #06091A 0%, #08102A 100%);
  z-index: -2;
  pointer-events: none;
}

.theme-dark-app::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
  pointer-events: none;
}

.theme-dark-app h1,
.theme-dark-app h2,
.theme-dark-app h3,
.theme-dark-app h4 {
  font-family: 'Fraunces', 'Outfit', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.022em;
  color: var(--white);
}

.theme-dark-app h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.theme-dark-app h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.theme-dark-app h3 { font-size: 17px; line-height: 1.2; letter-spacing: -.012em; }

.theme-dark-app .app {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.theme-dark-app .sidebar {
  background: rgba(8, 12, 30, .7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.theme-dark-app .side-brand {
  padding: 6px 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.theme-dark-app .side-brand .logo-text {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.022em;
  color: var(--white);
}

.theme-dark-app .side-brand .logo-text em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.theme-dark-app .venue-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--lx-radius-sm);
  cursor: pointer;
  transition: background .25s var(--lx-ease);
}
.theme-dark-app .venue-switcher:hover { background: rgba(255,255,255,.05); }

.theme-dark-app .v-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lx-blue-3), var(--lx-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px -4px rgba(61, 111, 224, .5);
}

.theme-dark-app .v-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white);
}
.theme-dark-app .v-sub {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}
.theme-dark-app .v-caret {
  margin-left: auto;
  color: var(--muted-2);
}

.theme-dark-app .side-group-title {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  padding: 12px 12px 6px;
  margin-top: 6px;
}

.theme-dark-app .side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--lx-radius-sm);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 450;
  text-decoration: none;
  position: relative;
  transition: all .25s var(--lx-ease);
}

.theme-dark-app .side-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.04);
}

.theme-dark-app .side-nav a.active {
  color: var(--white);
  background: linear-gradient(180deg, rgba(61, 111, 224, .22), rgba(61, 111, 224, .08));
  border: 1px solid rgba(61, 111, 224, .28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.theme-dark-app .side-nav a .badge {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: .08em;
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
}

/* Existing nav-icon mask system in styles.css handles --icon-url; we only adjust opacity */
.theme-dark-app .side-nav a .nav-icon,
.theme-dark-app .qa .nav-icon { opacity: .85; }
.theme-dark-app .side-nav a:hover .nav-icon,
.theme-dark-app .side-nav a.active .nav-icon { opacity: 1; }

.theme-dark-app .side-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-dark-app .upgrade-card {
  position: relative;
  padding: 16px;
  border-radius: var(--lx-radius-sm);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(61, 111, 224, .25), transparent 60%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}

.theme-dark-app .upgrade-card h5 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 4px;
}
.theme-dark-app .upgrade-card p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.4;
}
.theme-dark-app .upgrade-card .btn { padding: 8px 12px; font-size: 12.5px; min-height: 34px; }

/* Main / topbar */
.theme-dark-app .main { min-width: 0; }

.theme-dark-app .topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(8, 12, 30, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.theme-dark-app .topbar .search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--lx-radius-sm);
  max-width: 480px;
}

.theme-dark-app .topbar .search input {
  background: transparent;
  border: 0;
  color: var(--white);
  flex: 1;
  font-size: 13.5px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.theme-dark-app .topbar .search input::placeholder { color: var(--muted-2); }

.theme-dark-app .topbar .actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-dark-app .avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lx-gold), #B58F4F);
  color: #1A1100;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .04em;
  box-shadow: 0 4px 12px -4px rgba(199, 168, 105, .35);
}

.theme-dark-app .content { padding: 28px; max-width: 1480px; }

.theme-dark-app .page-head { margin-bottom: 24px; }
.theme-dark-app .page-head p { color: var(--muted); margin-top: 6px; }

/* Cards */
.theme-dark-app .chart-card,
.theme-dark-app .table-card,
.theme-dark-app .set-card {
  background: rgba(18, 25, 50, .55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--lx-radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.theme-dark-app .chart-card::before,
.theme-dark-app .table-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}

.theme-dark-app .kpi {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(61, 111, 224, .14), transparent 60%),
    rgba(18, 25, 50, .55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--lx-radius);
  padding: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.theme-dark-app .kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

.theme-dark-app .kpi .klabel {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.theme-dark-app .kpi .kval {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 6px;
}

.theme-dark-app .kpi .ksub {
  font-size: 12.5px;
  color: var(--muted);
}

.theme-dark-app .kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.theme-dark-app .two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
}

@media (max-width: 1100px) {
  .theme-dark-app .two-col { grid-template-columns: 1fr; }
}

.theme-dark-app .chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.theme-dark-app .chart-head .sub {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.theme-dark-app .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.theme-dark-app .tag-good {
  color: #6ED1A8;
  background: rgba(110, 209, 168, .08);
  border-color: rgba(110, 209, 168, .18);
}

.theme-dark-app .tag-good::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6ED1A8;
  box-shadow: 0 0 0 3px rgba(110, 209, 168, .2);
  animation: lx-pulse 2.4s ease-in-out infinite;
}

.theme-dark-app .tag-brand {
  color: var(--brand);
  background: rgba(111, 149, 245, .1);
  border-color: rgba(111, 149, 245, .22);
}

/* Tables */
.theme-dark-app table {
  width: 100%;
  border-collapse: collapse;
}

.theme-dark-app table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: transparent;
}

.theme-dark-app table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13.5px;
  color: var(--ink);
}

.theme-dark-app table tbody tr {
  transition: background .25s var(--lx-ease);
}
.theme-dark-app table tbody tr:hover { background: rgba(255,255,255,.025); }

.theme-dark-app .filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-dark-app .filters input {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--lx-radius-sm);
  font-size: 13px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.theme-dark-app .filters input::placeholder { color: var(--muted-2); }

/* Quick actions */
.theme-dark-app .quick-actions {
  display: grid;
  gap: 10px;
}
.theme-dark-app .qa {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--lx-radius-sm);
  color: var(--white);
  font-size: 13.5px;
  text-decoration: none;
  transition: all .25s var(--lx-ease);
}
.theme-dark-app .qa:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.theme-dark-app .qa .tag {
  margin-left: auto;
  font-size: 10px;
}

/* Buttons in dashboard */
.theme-dark-app .btn-primary {
  background: linear-gradient(180deg, #5C82E5 0%, #3D6FE0 100%);
  border-color: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 8px 20px -8px rgba(61, 111, 224, .5), inset 0 1px 0 rgba(255,255,255,.18);
}
.theme-dark-app .btn-primary:hover {
  background: linear-gradient(180deg, #6F95F5 0%, #4D80F0 100%);
  transform: translateY(-1px);
}

.theme-dark-app .btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}
.theme-dark-app .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

/* Bars / chart */
.theme-dark-app .bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding: 12px 0;
}

.theme-dark-app .bars-x {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 8px;
}

/* Donut wrapper */
.theme-dark-app .donut {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: conic-gradient(var(--brand) calc(var(--p, 0) * 1%), rgba(255,255,255,.06) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.theme-dark-app .donut-inner {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: rgba(8, 12, 30, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.06);
}
.theme-dark-app .donut-inner .v {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
}
.theme-dark-app .donut-inner .l {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Plan snapshot */
.theme-dark-app .plan-snapshot {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.theme-dark-app .plan-snap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: var(--lx-radius-sm);
}

.theme-dark-app .plan-snap-row strong { color: var(--white); font-weight: 500; }

.theme-dark-app .plan-snap-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Activity feed */
.theme-dark-app .feed { display: flex; flex-direction: column; gap: 0; }
.theme-dark-app .feed .row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  align-items: flex-start;
}
.theme-dark-app .feed .row:last-child { border-bottom: 0; }
.theme-dark-app .feed .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand);
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(111, 149, 245, .2);
  flex-shrink: 0;
}
.theme-dark-app .feed .body { font-size: 13.5px; color: var(--ink); }
.theme-dark-app .feed .body .t { color: var(--white); }

/* Mobile dashboard */
@media (max-width: 880px) {
  .theme-dark-app .app {
    grid-template-columns: 1fr;
  }
  .theme-dark-app .sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 14px;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .theme-dark-app .side-brand,
  .theme-dark-app .venue-switcher,
  .theme-dark-app .side-group-title,
  .theme-dark-app .side-foot { display: none; }
  .theme-dark-app .side-nav {
    display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .theme-dark-app .side-nav a {
    white-space: nowrap;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.06);
  }
  .theme-dark-app .side-nav a .badge { display: none; }
  .theme-dark-app .content { padding: 18px; }
  .theme-dark-app .topbar { padding: 12px 18px; }
}

/* =========================================================
   CUSTOMER REWARD PAGE — Luxury overrides
   ========================================================= */
body.reward-page.theme-white-slate {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(61, 111, 224, .12), transparent 60%),
    radial-gradient(60% 40% at 80% 90%, rgba(199, 168, 105, .08), transparent 60%),
    var(--lx-paper);
  min-height: 100dvh;
  position: relative;
}

body.reward-page .reward-stage {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: center;
  padding: clamp(20px, 4vw, 56px) clamp(16px, 4vw, 28px);
  gap: 32px;
  min-height: 100dvh;
}

@media (min-width: 980px) {
  body.reward-page .reward-stage {
    grid-template-columns: minmax(0, 480px) minmax(0, 410px);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
    justify-items: end;
  }
  body.reward-page .reward-stage .phone-wrap { justify-self: start; }
}

body.reward-page .reward-context {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
  width: 100%;
}

body.reward-page .reward-context .logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 6px;
}

body.reward-page .reward-context h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -.034em;
  color: var(--lx-ink);
  font-weight: 500;
  margin: 0;
}

body.reward-page .reward-context p {
  color: var(--lx-slate);
  font-size: 16px;
  line-height: 1.55;
}

body.reward-page .reward-context-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.reward-page .reward-context-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--lx-slate);
  line-height: 1.5;
}

body.reward-page .reward-context-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lx-blue-3);
}

body.reward-page .phone {
  background: linear-gradient(180deg, #0A1530 0%, #15224A 100%);
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 50px 100px -30px rgba(10, 21, 48, .4),
    0 20px 40px -16px rgba(10, 21, 48, .25),
    inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}

body.reward-page .phone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(61, 111, 224, .25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.reward-page .phone .rewards { position: relative; z-index: 1; }

body.reward-page .rew-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.reward-page .venue {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.reward-page .venue-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lx-gold), #B58F4F);
  color: #1A1100;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

body.reward-page .venue-meta .n {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  letter-spacing: -.012em;
  color: #fff;
  font-weight: 500;
}
body.reward-page .venue-meta .s {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

body.reward-page .chip-badge {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lx-gold-soft);
  background: rgba(199, 168, 105, .1);
  border: 1px solid rgba(199, 168, 105, .25);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
  font-weight: 500;
}

body.reward-page .rew-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.reward-page .offer {
  text-align: center;
  padding: 22px 18px;
  background: radial-gradient(80% 60% at 50% 20%, rgba(199, 168, 105, .15), transparent 70%);
  border-radius: 20px;
  border: 1px solid rgba(199, 168, 105, .25);
}

body.reward-page .offer .eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--lx-gold-soft);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

body.reward-page .offer h1 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  font-weight: 500;
  letter-spacing: -.028em;
  margin: 0 0 12px;
}

body.reward-page .offer .venue-name {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}

body.reward-page .countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
}

body.reward-page .countdown .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--lx-gold);
  box-shadow: 0 0 0 3px rgba(199, 168, 105, .25);
  animation: lx-pulse 2.4s ease-in-out infinite;
}

body.reward-page .form-card {
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
}

body.reward-page .form-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -.018em;
}

body.reward-page .form-card .sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  margin: 0 0 16px;
}

body.reward-page .form-card .or-row {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}

body.reward-page .form-card .or-row::before,
body.reward-page .form-card .or-row::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(255,255,255,.08);
}
body.reward-page .form-card .or-row::before { left: 0; }
body.reward-page .form-card .or-row::after { right: 0; }

body.reward-page .field { margin-bottom: 12px; }

body.reward-page .field label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

body.reward-page .field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .25s var(--lx-ease), background .25s var(--lx-ease);
}

body.reward-page .field input:focus {
  border-color: var(--lx-gold);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(199, 168, 105, .12);
}

body.reward-page .field input::placeholder { color: rgba(255,255,255,.3); }

body.reward-page .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.65);
  margin: 12px 0;
}

body.reward-page .consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--lx-gold);
}

body.reward-page .form-card .btn-primary {
  width: 100%;
  background: linear-gradient(180deg, var(--lx-gold) 0%, #B58F4F 100%);
  color: #1A1100;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform .25s var(--lx-ease), box-shadow .25s var(--lx-ease);
  box-shadow: 0 10px 24px -8px rgba(199, 168, 105, .4), inset 0 1px 0 rgba(255,255,255,.4);
}

body.reward-page .form-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px rgba(199, 168, 105, .5), inset 0 1px 0 rgba(255,255,255,.5);
}

/* Success view */
body.reward-page .success {
  text-align: center;
  padding: 24px 12px 8px;
}

body.reward-page .success h1 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -.028em;
  margin: 16px 0 8px;
}

body.reward-page .success .sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin: 0 0 18px;
}

body.reward-page .big-chip {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--lx-gold-soft) 0%, var(--lx-gold) 50%, #8C6E37 100%);
  position: relative;
  box-shadow:
    0 20px 40px -10px rgba(199, 168, 105, .4),
    inset 0 -8px 16px rgba(0,0,0,.25),
    inset 0 4px 8px rgba(255,255,255,.4);
}

body.reward-page .big-chip::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

body.reward-page .code-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(199, 168, 105, .25);
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0;
  text-align: center;
}

body.reward-page .code-box .cl {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}

body.reward-page .code-box .cv {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  letter-spacing: .12em;
  color: var(--lx-gold-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

body.reward-page .code-box .ci {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

body.reward-page .progress-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
}

body.reward-page .progress-card .ring {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.reward-page .progress-card .ring-inner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(8, 12, 30, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lx-gold-soft);
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 500;
}

body.reward-page .progress-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  color: #fff;
  margin: 0 0 4px;
  font-weight: 500;
}

body.reward-page .progress-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.45;
}

body.reward-page .progress-card strong {
  color: var(--lx-gold-soft);
}

/* =========================================================
   Additional dashboard surfaces & login polish
   ========================================================= */

/* Bars (capture trend) */
.theme-dark-app .bars > div {
  flex: 1;
  background: linear-gradient(180deg, rgba(111, 149, 245, .8) 0%, rgba(61, 111, 224, .35) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  position: relative;
  transition: opacity .25s var(--lx-ease);
}

.theme-dark-app .bars > div:hover {
  opacity: 1;
  background: linear-gradient(180deg, var(--lx-gold-soft) 0%, var(--lx-gold) 100%);
}

/* Redemption grid */
.theme-dark-app .redemption-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.theme-dark-app .redemption-grid .kpi { padding: 14px 16px; }

@media (max-width: 720px) {
  .theme-dark-app .redemption-grid { grid-template-columns: 1fr; }
}

.theme-dark-app .redemption-empty {
  padding: 18px;
  background: rgba(255,255,255,.025);
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: var(--lx-radius-sm);
  text-align: left;
}

.theme-dark-app .redemption-empty strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.018em;
}

/* Chip mix list */
.theme-dark-app [data-chip-mix-list] .row,
.theme-dark-app [data-chip-mix-list] > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13.5px;
}
.theme-dark-app [data-chip-mix-list] > div:last-child { border-bottom: 0; }

/* Billing banner */
.theme-dark-app .billing-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(232, 195, 48, .15), rgba(232, 195, 48, .05));
  border: 1px solid rgba(232, 195, 48, .25);
  border-radius: var(--lx-radius-sm);
  margin-bottom: 18px;
  color: var(--white);
}

.theme-dark-app .billing-banner strong { font-weight: 600; }

/* Customer panel */
.theme-dark-app .panel {
  background: linear-gradient(180deg, rgba(8, 12, 30, .96) 0%, rgba(12, 18, 42, .96) 100%);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -32px 0 80px rgba(0,0,0,.5);
}

.theme-dark-app .panel-head {
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.theme-dark-app .panel-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -.022em;
}

.theme-dark-app .panel .close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--white);
  cursor: pointer;
}

.theme-dark-app .panel-section {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.theme-dark-app .panel-section h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin: 0 0 12px;
  font-family: 'Inter', sans-serif;
}

.theme-dark-app .kv {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.03);
  font-size: 13.5px;
}
.theme-dark-app .kv:last-child { border-bottom: 0; }
.theme-dark-app .kv .k { color: var(--muted); }
.theme-dark-app .kv .v { color: var(--white); }
.theme-dark-app .kv .v.mono { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }

/* Owner-today / live tag */
.theme-dark-app .page-head .tag.mono {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0;
  text-transform: none;
}

/* =========================================================
   AUTH / LOGIN PAGE — luxury polish
   ========================================================= */
.theme-white-slate .auth-wrap {
  position: relative;
  isolation: isolate;
}

.theme-white-slate .auth-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(61, 111, 224, .14), transparent 60%),
    radial-gradient(50% 40% at 90% 90%, rgba(199, 168, 105, .08), transparent 60%);
  pointer-events: none;
}

.theme-white-slate .auth-card {
  border-radius: var(--lx-radius-lg) !important;
  border-color: var(--lx-line) !important;
  box-shadow: var(--lx-shadow-3) !important;
  background: linear-gradient(180deg, #fff 0%, #FAFBFD 100%) !important;
}

.theme-white-slate .auth-card h2 {
  font-family: 'Fraunces', serif !important;
  font-weight: 500;
  letter-spacing: -.022em;
}

.theme-white-slate .auth-side h1 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -.034em;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1 !important;
}

.theme-white-slate .auth-tabs {
  border-radius: 999px !important;
  border-color: var(--lx-line) !important;
  background: var(--lx-mist-bg) !important;
}

.theme-white-slate .auth-tabs button.active {
  background: var(--lx-ink) !important;
  box-shadow: 0 4px 12px -4px rgba(10, 21, 48, .35) !important;
}

.theme-white-slate .auth-form input {
  border-radius: 10px !important;
  border-color: var(--lx-line-2) !important;
  font-family: 'Inter', sans-serif;
}

.theme-white-slate .auth-form input:focus {
  border-color: var(--lx-ink) !important;
  box-shadow: 0 0 0 3px rgba(10, 21, 48, .08) !important;
}

.theme-white-slate .auth-side-list li {
  font-size: 14px !important;
  padding-left: 24px !important;
}
.theme-white-slate .auth-side-list li::before {
  content: '' !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 999px !important;
  background: var(--lx-blue-3) !important;
  top: 5px !important;
  display: block !important;
  font-size: 0 !important;
  box-shadow: 0 0 0 3px rgba(61, 111, 224, .15);
}

/* =========================================================
   PRODUCT TOUR / FEATURES / LP page polish (homepage was already redone) 
   Keep their existing system but match the new typography
   ========================================================= */
.theme-white-slate .features-section,
.theme-white-slate .verticals-section,
.theme-white-slate .case-study-section,
.theme-white-slate .closing,
.theme-white-slate .upgrade-loop-section { padding: clamp(72px, 9vw, 140px) 0; }

.theme-white-slate section .container > .section-head h2,
.theme-white-slate .lp-hero h1 {
  font-family: 'Fraunces', serif !important;
  font-weight: 500 !important;
  letter-spacing: -.028em !important;
}

/* Section/page heads consistent with hero */
.theme-white-slate .section-head .accent { font-style: italic; font-weight: 400; }

/* Small fix: search icon spacing in dashboard topbar */
.theme-dark-app .topbar .search > span:first-child {
  color: var(--muted-2);
  font-size: 14px;
}

.theme-dark-app .topbar .search .mono.small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.06);
  letter-spacing: .04em;
}

/* Logo mark / logo text in dashboard sidebar */
.theme-dark-app .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--lx-gold-soft) 0%, var(--lx-gold) 60%, #8C6E37 100%);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(199, 168, 105, .4);
}

.theme-dark-app .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Spotlight polish for products grid hover */
.theme-white-slate .lx-product:hover { z-index: 2; }

/* =========================================================
   REWARD PAGE — defeat existing .theme-white-slate .rewards overrides
   ========================================================= */
body.reward-page.theme-white-slate .rewards { background: transparent; }

body.reward-page.theme-white-slate .rewards .rew-head,
body.reward-page.theme-white-slate .rewards .venue-meta .n {
  color: #fff;
}
body.reward-page.theme-white-slate .rewards .venue-meta .s {
  color: rgba(255,255,255,.55);
}

body.reward-page.theme-white-slate .rewards .offer {
  background: radial-gradient(80% 60% at 50% 20%, rgba(199, 168, 105, .15), transparent 70%) !important;
  border-color: rgba(199, 168, 105, .25) !important;
}
body.reward-page.theme-white-slate .rewards .offer h1 { color: #fff; }
body.reward-page.theme-white-slate .rewards .offer .venue-name,
body.reward-page.theme-white-slate .rewards .offer [data-reward-sub] {
  color: rgba(255,255,255,.65);
}
body.reward-page.theme-white-slate .rewards .offer .countdown {
  color: rgba(255,255,255,.7) !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
}
body.reward-page.theme-white-slate .rewards .offer .countdown .dot {
  background: var(--lx-gold);
}

body.reward-page.theme-white-slate .rewards .form-card,
body.reward-page.theme-white-slate .rewards .wallet-card,
body.reward-page.theme-white-slate .rewards .error-card {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.07) !important;
}
body.reward-page.theme-white-slate .rewards .form-card h3 { color: #fff; }
body.reward-page.theme-white-slate .rewards .form-card .sub { color: rgba(255,255,255,.6); }

body.reward-page.theme-white-slate .rewards .field label,
body.reward-page.theme-white-slate .rewards .or-row {
  color: rgba(255,255,255,.55);
}

body.reward-page.theme-white-slate .rewards .field input {
  color: #fff !important;
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.08) !important;
}

body.reward-page.theme-white-slate .rewards .field input:focus {
  border-color: var(--lx-gold) !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: 0 0 0 3px rgba(199, 168, 105, .12) !important;
}

body.reward-page.theme-white-slate .rewards .consent {
  color: rgba(255,255,255,.65);
}

body.reward-page.theme-white-slate .rewards .consent input[type="checkbox"] {
  accent-color: var(--lx-gold);
}

body.reward-page.theme-white-slate .phone-wrap { background: transparent; }

body.reward-page.theme-white-slate .phone {
  background: linear-gradient(180deg, #0A1530 0%, #15224A 100%) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow:
    0 50px 100px -30px rgba(10, 21, 48, .4),
    0 20px 40px -16px rgba(10, 21, 48, .25),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

body.reward-page.theme-white-slate .status-bar,
body.reward-page.theme-white-slate .status-bar .right {
  color: rgba(255,255,255,.85) !important;
}

body.reward-page.theme-white-slate .chip-badge {
  color: var(--lx-gold-soft) !important;
  background: rgba(199, 168, 105, .1) !important;
  border-color: rgba(199, 168, 105, .25) !important;
}

body.reward-page.theme-white-slate .venue-logo {
  background: linear-gradient(135deg, var(--lx-gold), #B58F4F) !important;
  color: #1A1100 !important;
  border: 0 !important;
}

body.reward-page.theme-white-slate .form-card .btn-primary {
  background: linear-gradient(180deg, var(--lx-gold) 0%, #B58F4F 100%) !important;
  color: #1A1100 !important;
}

body.reward-page.theme-white-slate .form-card .btn-primary:hover {
  background: linear-gradient(180deg, #D5B97A 0%, #C5A266 100%) !important;
}

body.reward-page.theme-white-slate .rewards .progress-card,
body.reward-page.theme-white-slate .rewards .code-box {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.07) !important;
}

body.reward-page.theme-white-slate .rewards .code-box {
  border-color: rgba(199, 168, 105, .25) !important;
}

body.reward-page.theme-white-slate .rewards .code-box .cv {
  color: var(--lx-gold-soft) !important;
}

body.reward-page.theme-white-slate .rewards .code-box .cl,
body.reward-page.theme-white-slate .rewards .code-box .ci {
  color: rgba(255,255,255,.55) !important;
}

body.reward-page.theme-white-slate .rewards .success h1 { color: #fff !important; }
body.reward-page.theme-white-slate .rewards .success .sub { color: rgba(255,255,255,.6) !important; }

/* =========================================================
   DASHBOARD — fix [hidden] for billing banner & similar
   ========================================================= */
.theme-dark-app [hidden] { display: none !important; }
.theme-white-slate [hidden] { display: none !important; }

/* Page head tag wrap */
.theme-dark-app .page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page head — better alignment when wrapped */
@media (max-width: 720px) {
  .theme-dark-app .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .theme-dark-app .page-head > div:first-child { width: 100%; }
  .theme-dark-app .page-head > div:nth-child(2) { width: 100%; justify-content: flex-start !important; }
}

@media (max-width: 720px) {
  .theme-dark-app .page-head > div:first-child {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .theme-dark-app .page-head > div:nth-child(2) {
    flex: 0 0 auto !important;
  }
}

/* =========================================================
   DASHBOARD — light luxury (theme-cream-app)
   Cream/navy/gold palette. Mirrors dashboard component classes
   from styles.css and re-skins them on a light surface.
   ========================================================= */

.theme-cream-app {
  background:
    radial-gradient(circle at 16% 0%, rgba(199,168,105,.10), transparent 32%),
    radial-gradient(circle at 84% 8%, rgba(61,111,224,.06), transparent 30%),
    var(--lx-cream);
  color: var(--lx-ink);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv11' on;
  min-height: 100vh;
}

/* Headlines — Fraunces, like marketing */
.theme-cream-app h1,
.theme-cream-app h2,
.theme-cream-app h3,
.theme-cream-app h4,
.theme-cream-app h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--lx-ink);
  font-feature-settings: 'ss01' on, 'ss02' on;
}

.theme-cream-app .page-head h1 {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: clamp(28px, 3.4vw, 44px) !important;
  font-weight: 500 !important;
  letter-spacing: -.025em !important;
  color: var(--lx-ink) !important;
  line-height: 1.04;
}
.theme-cream-app .page-head p { color: var(--lx-slate); }
.theme-cream-app .page-head strong[data-venue-name] { color: var(--lx-ink) !important; }

/* App shell */
.theme-cream-app .app { background: transparent; }

/* Sidebar */
.theme-cream-app .sidebar {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(1.2);
  border-right: 1px solid var(--lx-line);
}

.theme-cream-app .side-brand {
  border-bottom: 1px solid var(--lx-line);
}
.theme-cream-app .logo { color: var(--lx-ink); }
.theme-cream-app .logo-mark { background: var(--lx-ink); }
.theme-cream-app .logo-text { color: var(--lx-ink); }
.theme-cream-app .logo-text em { color: var(--lx-gold); font-style: normal; }

.theme-cream-app .venue-switcher {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
}
.theme-cream-app .venue-switcher .v-avatar {
  background: linear-gradient(135deg, var(--lx-ink) 0%, var(--lx-ink-2) 100%);
  color: #fff;
}
.theme-cream-app .venue-switcher .v-name { color: var(--lx-ink); }
.theme-cream-app .venue-switcher .v-sub { color: var(--lx-slate-2); }
.theme-cream-app .venue-switcher .v-caret { color: var(--lx-slate-2); }

.theme-cream-app .side-group-title {
  color: var(--lx-slate-2);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

.theme-cream-app .side-nav a {
  color: var(--lx-slate);
  border: 1px solid transparent;
  border-radius: var(--lx-radius-sm);
  font-family: 'Inter', sans-serif;
}
.theme-cream-app .side-nav a:hover {
  background: rgba(255,255,255,.7);
  color: var(--lx-ink);
}
.theme-cream-app .side-nav a.active {
  background: rgba(199,168,105,.12);
  color: var(--lx-ink);
  border-color: rgba(199,168,105,.28);
}
.theme-cream-app .side-nav a .badge {
  background: var(--lx-gold);
  color: #fff;
  font-family: var(--lx-mono);
}

.theme-cream-app .side-foot {
  border-top: 1px solid var(--lx-line);
}
.theme-cream-app .upgrade-card {
  background: linear-gradient(160deg, rgba(255,255,255,.85) 0%, rgba(199,168,105,.10) 100%);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
}
.theme-cream-app .upgrade-card h5 { color: var(--lx-gold); }
.theme-cream-app .upgrade-card p { color: var(--lx-slate); }
.theme-cream-app .side-foot .avatar { color: #fff; }
.theme-cream-app .side-foot div[data-user-name] { color: var(--lx-ink) !important; }
.theme-cream-app .side-foot div[data-user-email] { color: var(--lx-slate-2) !important; }

/* Main content area */
.theme-cream-app .main {
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent 220px);
}

/* Topbar */
.theme-cream-app .topbar {
  border-bottom: 1px solid var(--lx-line);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(12px);
}
.theme-cream-app .topbar .search {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-sm);
  color: var(--lx-ink);
}
.theme-cream-app .topbar .search input {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--lx-ink);
  font-family: 'Inter', sans-serif;
}
.theme-cream-app .topbar .search input::placeholder { color: var(--lx-mist); }
.theme-cream-app .topbar .search:focus-within {
  border-color: var(--lx-gold);
  box-shadow: 0 0 0 3px rgba(199,168,105,.18);
}
.theme-cream-app .topbar .search .mono { color: var(--lx-slate-2) !important; }

/* Avatar */
.theme-cream-app .avatar {
  background: linear-gradient(135deg, var(--lx-ink) 0%, var(--lx-ink-2) 100%);
  color: #fff;
}

/* Cards (chart-card, table-card, set-card, etc.) */
.theme-cream-app .chart-card,
.theme-cream-app .table-card,
.theme-cream-app .kpi,
.theme-cream-app .set-card,
.theme-cream-app .export-card,
.theme-cream-app .crm-card,
.theme-cream-app .queue-item,
.theme-cream-app .empty-card,
.theme-cream-app .map-card {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.88) 100%);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-1);
  color: var(--lx-ink);
}

/* Chart head */
.theme-cream-app .chart-card h3,
.theme-cream-app .table-card h3 {
  color: var(--lx-ink);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.012em;
}
.theme-cream-app .chart-card .sub,
.theme-cream-app .table-card .sub,
.theme-cream-app .chart-card .muted,
.theme-cream-app .table-card .muted {
  color: var(--lx-slate-2);
}
.theme-cream-app .chart-card .small,
.theme-cream-app .table-card .small { color: var(--lx-slate-2); }

/* KPI tiles */
.theme-cream-app .kpi {
  padding: 18px 20px;
}
.theme-cream-app .kpi .klabel {
  color: var(--lx-slate-2);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
.theme-cream-app .kpi .klabel .spark { color: var(--lx-gold); }
.theme-cream-app .kpi .kval {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  color: var(--lx-ink);
  letter-spacing: -.02em;
  font-feature-settings: 'lnum' on, 'ss01' on;
  font-variation-settings: 'opsz' 96;
}
.theme-cream-app .kpi .ksub {
  color: var(--lx-slate-2);
}

/* Bars chart */
.theme-cream-app .bars .bar {
  background: linear-gradient(180deg, var(--lx-gold) 0%, #b59550 100%);
  border-radius: 6px 6px 0 0;
}
.theme-cream-app .bars .bar.alt {
  background: linear-gradient(180deg, var(--lx-blue-3) 0%, var(--lx-blue) 100%);
}
.theme-cream-app .bars .bar.gold {
  background: linear-gradient(180deg, var(--lx-gold-soft) 0%, var(--lx-gold) 100%);
}
.theme-cream-app .bars-x { color: var(--lx-slate-2); }

/* Donut */
.theme-cream-app .donut {
  background: conic-gradient(var(--lx-gold) calc(var(--p, 0) * 1%), var(--lx-mist-bg) 0);
}
.theme-cream-app .donut-inner {
  background: #fff;
  border: 1px solid var(--lx-line);
}
.theme-cream-app .donut-inner .v {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--lx-ink);
}
.theme-cream-app .donut-inner .l { color: var(--lx-slate-2); }

/* Live activity feed */
.theme-cream-app .feed .row {
  border-bottom: 1px solid var(--lx-line);
}
.theme-cream-app .feed .dot {
  background: var(--lx-gold);
}
.theme-cream-app .feed .row.alt .dot { background: var(--lx-blue-3); }
.theme-cream-app .feed .row.gold .dot { background: var(--lx-gold-soft); }
.theme-cream-app .feed .body .t { color: var(--lx-ink); }
.theme-cream-app .feed .body .t strong { color: var(--lx-ink); font-weight: 600; }
.theme-cream-app .feed .body .ts {
  color: var(--lx-slate-2);
  font-family: var(--lx-mono);
}

/* Quick actions / qa */
.theme-cream-app .qa {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--lx-line);
  color: var(--lx-ink);
  border-radius: var(--lx-radius-sm);
  transition: all .18s var(--lx-ease);
}
.theme-cream-app .qa:hover {
  background: #fff;
  border-color: var(--lx-line-2);
  transform: translateY(-1px);
  box-shadow: var(--lx-shadow-1);
}
.theme-cream-app .qa .tag {
  background: rgba(199,168,105,.14);
  color: var(--lx-gold);
  border-color: rgba(199,168,105,.3);
}

/* Tags */
.theme-cream-app .tag {
  background: rgba(10,21,48,.05);
  border: 1px solid var(--lx-line);
  color: var(--lx-slate);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 500;
}
.theme-cream-app .tag.tag-good {
  background: rgba(60, 203, 127, .12);
  border-color: rgba(60, 203, 127, .35);
  color: #2A9F62;
}
.theme-cream-app .tag.tag-brand {
  background: rgba(199,168,105,.14);
  border-color: rgba(199,168,105,.35);
  color: #8A7536;
}
.theme-cream-app .tag.mono { font-family: var(--lx-mono); }

/* Tables */
.theme-cream-app .table-card table { color: var(--lx-ink); }
.theme-cream-app .table-card thead th {
  color: var(--lx-slate-2);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--lx-line);
  padding: 12px 14px;
  text-align: left;
}
.theme-cream-app .table-card tbody td {
  border-bottom: 1px solid var(--lx-line);
  padding: 14px;
  color: var(--lx-ink);
  font-size: 14px;
}
.theme-cream-app .table-card tbody tr:hover { background: rgba(199,168,105,.05); }

/* Filters */
.theme-cream-app .filters input,
.theme-cream-app .filters select {
  background: #fff;
  border: 1px solid var(--lx-line-2);
  color: var(--lx-ink);
  border-radius: var(--lx-radius-sm);
  font-family: 'Inter', sans-serif;
  padding: 9px 12px;
  font-size: 13px;
}
.theme-cream-app .filters input:focus,
.theme-cream-app .filters select:focus {
  border-color: var(--lx-gold);
  box-shadow: 0 0 0 3px rgba(199,168,105,.18);
  outline: none;
}

/* Side panel (customer drawer) */
.theme-cream-app .panel {
  background: linear-gradient(180deg, #fff 0%, var(--lx-cream) 100%);
  border-left: 1px solid var(--lx-line);
  box-shadow: -24px 0 70px rgba(10,21,48,.18);
  color: var(--lx-ink);
}
.theme-cream-app .panel-head h2 {
  font-family: 'Fraunces', Georgia, serif !important;
  color: var(--lx-ink);
}
.theme-cream-app .panel .close {
  background: rgba(10,21,48,.04);
  border: 1px solid var(--lx-line);
  color: var(--lx-slate);
}
.theme-cream-app .panel .close:hover {
  background: rgba(10,21,48,.08);
  color: var(--lx-ink);
}
.theme-cream-app .panel-section h4 {
  color: var(--lx-slate-2);
  font-family: 'Inter', sans-serif;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 500;
}
.theme-cream-app .kv {
  border-bottom: 1px solid var(--lx-line);
}
.theme-cream-app .kv .k { color: var(--lx-slate-2); }
.theme-cream-app .kv .v { color: var(--lx-ink); }
.theme-cream-app .kv .v.mono { font-family: var(--lx-mono); }

/* Billing banner */
.theme-cream-app .billing-banner {
  background: linear-gradient(160deg, rgba(199,168,105,.14) 0%, rgba(255,255,255,.6) 100%);
  border: 1px solid rgba(199,168,105,.35);
  border-radius: var(--lx-radius);
  color: var(--lx-ink);
}
.theme-cream-app .billing-banner strong { color: var(--lx-ink); }

/* Buttons inside dashboard */
.theme-cream-app .btn-primary {
  background: linear-gradient(180deg, var(--lx-ink-2) 0%, var(--lx-ink) 100%);
  color: #fff;
  border: 1px solid var(--lx-ink);
  border-radius: var(--lx-radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(10,21,48,.08);
  transition: transform .18s var(--lx-ease), box-shadow .18s var(--lx-ease);
}
.theme-cream-app .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 14px -4px rgba(10,21,48,.18);
}
.theme-cream-app .btn-ghost {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--lx-line-2);
  color: var(--lx-ink);
  border-radius: var(--lx-radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.theme-cream-app .btn-ghost:hover {
  background: #fff;
  border-color: var(--lx-ink);
}

/* Pill (in dashboard) */
.theme-cream-app .pill {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--lx-line);
  color: var(--lx-slate);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Plan snapshot rows */
.theme-cream-app .plan-snap-row {
  border-bottom: 1px solid var(--lx-line);
}
.theme-cream-app .plan-snap-row strong { color: var(--lx-ink); }
.theme-cream-app .plan-snap-foot { border-top: 1px solid var(--lx-line); }

/* Redemption empty state */
.theme-cream-app .redemption-empty strong { color: var(--lx-ink); }
.theme-cream-app .redemption-empty .muted { color: var(--lx-slate-2); }

/* Chip badge */
.theme-cream-app .chip-badge {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--lx-line);
  color: var(--lx-slate);
  border-radius: 999px;
}

/* Eyebrow inside dashboard */
.theme-cream-app .eyebrow {
  font-family: 'Inter', sans-serif;
  color: var(--lx-slate-2);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

/* Mono utility values */
.theme-cream-app .mono { font-family: var(--lx-mono); }

/* Text helpers */
.theme-cream-app .muted { color: var(--lx-slate-2); }
.theme-cream-app .small { font-size: 12.5px; }

/* Nav icons — change tint to match palette */
.theme-cream-app .side-nav a .nav-icon,
.theme-cream-app .qa .nav-icon {
  background: currentColor;
  opacity: .85;
}

/* Page head responsive */
.theme-cream-app .page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 720px) {
  .theme-cream-app .page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .theme-cream-app .page-head > div:first-child { width: 100%; }
}

/* Mobile sidebar */
@media (max-width: 720px) {
  .theme-cream-app {
    overflow-x: hidden;
  }
  .theme-cream-app .app {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .theme-cream-app .sidebar,
  .theme-cream-app .main,
  .theme-cream-app .topbar,
  .theme-cream-app .content {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    box-sizing: border-box;
  }
  .theme-cream-app .sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lx-line);
    border-right: 0;
    max-height: none;
  }
  .theme-cream-app .sidebar .side-foot,
  .theme-cream-app .sidebar .side-nav .side-group-title { display: none; }
  .theme-cream-app .sidebar .side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding: 8px 0 0;
    overflow-x: auto;
  }
  .theme-cream-app .sidebar .side-nav a {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .theme-cream-app .topbar { padding: 10px 12px; gap: 8px; }
  .theme-cream-app .topbar .search { flex: 1 1 auto; min-width: 0; }
  .theme-cream-app .topbar .search .mono { display: none; }
}

/* Hidden helper */
.theme-cream-app [hidden] { display: none !important; }

/* Outfit/Syne overrides — dashboard inline styles often hardcode them */
.theme-cream-app .kval,
.theme-cream-app .donut-inner .v,
.theme-cream-app h1[style*="Outfit"],
.theme-cream-app .page-head h1[style*="Outfit"] {
  font-family: 'Fraunces', Georgia, serif !important;
}

/* Inline color overrides — many dashboard inline styles use var(--white)/var(--brand).
   These render correctly under cream because :root vars in styles.css remain dark-keyed.
   Force the most common inline color overrides: */
.theme-cream-app [style*="color:var(--white)"],
.theme-cream-app [style*="color: var(--white)"] { color: var(--lx-ink) !important; }
.theme-cream-app [style*="color:var(--muted)"],
.theme-cream-app [style*="color: var(--muted)"] { color: var(--lx-slate-2) !important; }
.theme-cream-app [style*="color:var(--brand)"],
.theme-cream-app [style*="color: var(--brand)"] { color: var(--lx-gold) !important; }
.theme-cream-app [style*="color:var(--cream)"],
.theme-cream-app [style*="color: var(--cream)"] { color: var(--lx-ink) !important; }
