/* BInfinite — modern redesign */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Brand — locked */
  --brand-pink: #EC228F;
  --brand-pink-2: #FF4DA6;
  --brand-navy: #011B6D;
  --brand-blue: #0828AF;

  /* Theme tokens (mutated by Tweaks) */
  --primary: var(--brand-pink);
  --primary-2: var(--brand-pink-2);
  --secondary: var(--brand-navy);
  --accent: var(--brand-blue);

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F6F4FA;
  --bg-tint: #FBE9F2;
  --surface: #FFFFFF;
  --ink: #0A0A1A;
  --ink-2: #4B4B66;
  --ink-3: #8A8AA3;
  --line: rgba(10,10,26,0.08);
  --line-2: rgba(10,10,26,0.16);

  /* Density */
  --pad-y: 7rem;
  --pad-x: clamp(20px, 4vw, 64px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Type */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(1,27,109,0.06);
  --shadow-md: 0 8px 24px rgba(1,27,109,0.08);
  --shadow-lg: 0 24px 60px rgba(1,27,109,0.18);
  --shadow-pink: 0 18px 40px rgba(236,34,143,0.32);
}

/* Prototype-only theme/palette/density tweaks removed for production. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { text-decoration: none; }

.font-display { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.0; }
.font-mono { font-family: var(--font-mono); }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 22px 50px rgba(236,34,143,0.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn-dark { background: var(--secondary); color: #fff; }
.btn-dark:hover { background: var(--accent); }

/* ───── Layout helpers ───── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-y) 0; }

/* ───── Top header ───── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-logo {
  height: 34px; width: 130px; flex: none;
  object-fit: contain; object-position: left center;
  display: block;
}
.footer-logo {
  height: 38px; width: 150px;
  /* Render the navy wordmark white on the dark footer */
  filter: brightness(0) invert(1);
}
.points-ribbon-card {
  width: 132px; height: auto; flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transform: rotate(-4deg);
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 20px;
  font-family: var(--font-display);
}
.nav {
  display: flex; align-items: center; gap: 4px;
}
.nav > a {
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all 0.15s ease;
}
.nav > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav > a.active { color: var(--primary); background: var(--bg-tint); font-weight: 600; }

/* Dropdown groups */
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all 0.15s ease;
  font-family: inherit;
}
.nav-trigger svg { transition: transform 0.2s ease; opacity: 0.6; }
.nav-group:hover .nav-trigger { color: var(--ink); background: var(--bg-soft); }
.nav-group:hover .nav-trigger svg { transform: rotate(180deg); }
.nav-group.active .nav-trigger { color: var(--primary); font-weight: 600; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}
.nav-menu::before {
  content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px;
}
.nav-group:hover .nav-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap;
  transition: all 0.12s ease;
}
.nav-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-menu a.active { background: var(--bg-tint); color: var(--primary); font-weight: 600; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* ───── Promotions toolbar ───── */
.promo-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.promo-search { flex: 1; min-width: 260px; }
.promo-sort { min-width: 200px; }
.promo-sort select {
  appearance: none; -webkit-appearance: none;
  background-image: none;
  cursor: pointer;
  padding-right: 40px;
}
.promo-sort { position: relative; }
.promo-sort::after {
  content: '▾';
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); pointer-events: none; font-size: 14px;
}
.promo-resultcount { font-size: 13.5px; margin-bottom: 20px; }

/* ───── Announcements (card grid) ───── */
.announce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .announce-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .announce-grid { grid-template-columns: 1fr; } }

.announce-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.announce-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.announce-banner {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  color: #fff;
  overflow: hidden;
}
.announce-banner-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.04em;
  opacity: 0.92;
}
.announce-banner-kicker {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.85;
}
.announce-banner-badge {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 0.98; letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.22);
}
.announce-banner-sub {
  font-size: 12px; opacity: 0.85; font-weight: 500;
}
/* Banner themes */
.ann-yellow { background: linear-gradient(135deg, #FFD23F, #F5A300); color: #3a2a00; }
.ann-yellow .announce-banner-badge { color: #7A1FA2; -webkit-text-fill-color: #7A1FA2; }
.ann-orange { background: linear-gradient(135deg, #FF8A3D, #E8590C); }
.ann-purple { background: linear-gradient(135deg, #7A1FA2, #2A0A52); }
.ann-navy { background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy)); }
.ann-teal { background: linear-gradient(135deg, #1CA7A0, #0B6E78); }
.ann-pink { background: linear-gradient(135deg, var(--brand-pink), #B8156D); }

/* Image-backed announcement banner (real thumbnails from the CMS) */
.announce-banner-img { padding: 0; background: var(--bg-soft); }
.announce-banner-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.announce-banner-img .announce-banner-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: #fff; background: rgba(1,27,109,0.7);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}

.announce-card-body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.announce-card-date {
  font-size: 13px; color: var(--primary); font-weight: 600;
}
.announce-card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: pretty;
}

/* ───── Page scaffold (stub pages) ───── */
.scaffold {
  min-height: 52vh;
  display: flex; flex-direction: column;
}
.scaffold-card {
  margin-top: 28px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  padding: clamp(32px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
.scaffold-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--primary);
  background: var(--bg-tint); padding: 6px 12px; border-radius: 999px;
}
.scaffold-card p { color: var(--ink-2); max-width: 60ch; font-size: 15.5px; line-height: 1.6; }

/* ───── Hero ───── */
.hero {
  position: relative; padding: 32px 0 0;
}
.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  isolation: isolate;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-bg-pink {
  background: radial-gradient(120% 120% at 0% 0%, #FF7AB8 0%, var(--primary) 40%, #B8156D 100%);
  color: #fff;
}
.hero-bg-navy {
  background: radial-gradient(120% 120% at 100% 100%, var(--brand-blue) 0%, var(--brand-navy) 70%);
  color: #fff;
}
.hero-bg-cream {
  background: linear-gradient(135deg, #FFE9F2 0%, #FBE9F2 60%, #E6EAFA 100%);
  color: var(--ink);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.hero-bg-cream .hero-eyebrow { background: rgba(1,27,109,0.08); color: var(--brand-navy); }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5.6vw, 78px); line-height: 0.96; letter-spacing: -0.03em;
  margin: 18px 0 16px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 17px; opacity: 0.92; max-width: 460px;
  line-height: 1.5;
}
.hero-cta {
  display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap;
}
.hero-cta .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.hero-cta .btn-primary:hover { background: #fff; color: var(--primary-2); }
.hero-bg-cream .hero-cta .btn-primary { background: var(--primary); color: #fff; }
.hero-cta .btn-ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.hero-bg-cream .hero-cta .btn-ghost { background: transparent; border-color: var(--brand-navy); color: var(--brand-navy); }

.hero-art {
  position: relative; aspect-ratio: 4/3;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-tag {
  position: absolute; top: 22px; right: 22px;
  background: #FFD23F; color: #1a1a1a;
  padding: 14px 18px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; line-height: 1;
  transform: rotate(-4deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-controls {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 28px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero-dot.is-active { width: 56px; background: #fff; }
.hero-bg-cream .hero-dot { background: rgba(1,27,109,0.25); }
.hero-bg-cream .hero-dot.is-active { background: var(--brand-navy); }
.hero-dot.dot-live.is-active { background: #22C55E; }
.hero-dot.dot-future.is-active { background: #F59E0B; }

/* ───── Banner stage (single live banner) ───── */
.hero-banner-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0a1a;
  isolation: isolate;
  /* Maintain banner aspect ratio (2000:585 = 3.42:1) — fills container width naturally */
  aspect-ratio: 2000 / 585;
  min-height: 380px;
}
.hero-banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-banner-bg {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Scrim — left-side gradient so the editorial overlay is readable */
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(1, 27, 109, 0.78) 0%,
    rgba(1, 27, 109, 0.55) 32%,
    rgba(1, 27, 109, 0.18) 55%,
    rgba(1, 27, 109, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 5vw, 64px);
  max-width: min(60%, 720px);
}
.hero-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-banner-sub {
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.45;
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero-banner-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.hero-banner-cta {
  pointer-events: auto;
}
.hero-banner-dates {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

@media (max-width: 720px) {
  .hero-banner-stage {
    aspect-ratio: 767 / 367;
    min-height: 280px;
  }
  .hero-banner-overlay {
    max-width: 92%;
    padding: 22px;
    gap: 10px;
  }
  .hero-banner-scrim {
    background: linear-gradient(
      180deg,
      rgba(1, 27, 109, 0.15) 0%,
      rgba(1, 27, 109, 0.55) 55%,
      rgba(1, 27, 109, 0.85) 100%
    );
  }
  .hero-banner-overlay {
    justify-content: flex-end;
  }
}
/* Legacy live-mode rules — neutralised */
.hero-bg-image { background: #0a0a1a; color: #fff; }
.hero-slide.is-live { display: none; }
.hero-live-link {
  display: flex; flex-direction: column;
  width: 100%;
  gap: 14px;
  text-decoration: none; color: inherit;
}
.hero-live-banner {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a1a;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero-live-banner img { display: block; width: 100%; height: auto; }
.hero-live-img-mobile { display: none; }
@media (max-width: 720px) {
  .hero-live-img-desktop { display: none; }
  .hero-live-img-mobile { display: block; }
}
.hero-live-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.85);
}
.hero-live-meta b {
  color: rgba(255,255,255,0.5);
  font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 10px;
  margin-right: 6px;
}
.hero-live-url {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-mode-badge {
  position: absolute; top: 18px; left: 18px;
  z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.hero-mode-badge.live { background: rgba(34,197,94,0.92); border-color: rgba(34,197,94,0.6); color: #022; }
.hero-mode-badge.future { background: rgba(245,158,11,0.92); border-color: rgba(245,158,11,0.6); color: #221b00; }
.hero-mode-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-live-meta-old {
  display: none;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: rgba(255,255,255,0.85);
}
.hero-live-meta b {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  margin-right: 6px;
}
.hero-live-url {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Hero legend — internal team note */
.hero-legend {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  font-size: 13px; color: var(--ink-2);
}
.hero-legend-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-legend-row code {
  font-family: var(--font-mono); font-size: 11.5px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  padding: 2px 6px; border-radius: 4px;
  color: var(--ink);
}
.hero-legend-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; font-weight: 600;
  flex-shrink: 0;
}
.hero-legend-pill.live { background: #DCFCE7; color: #166534; }
.hero-legend-pill.future { background: #FEF3C7; color: #92400E; }
.hero-legend-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: grid; place-items: center;
  z-index: 10;
  transition: transform 0.15s ease;
}
.hero-arrow:hover { transform: translateY(-50%) scale(1.08); }
.hero-arrow.left { left: 16px; }
.hero-arrow.right { right: 16px; }

/* Hero variant: split */
.hero-stage.layout-split .hero-slide { grid-template-columns: 1fr; padding: clamp(40px, 6vw, 80px); }
.hero-stage.layout-split .hero-art { display: none; }
.hero-stage.layout-split .hero-title { font-size: clamp(48px, 8vw, 110px); }

/* Hero variant: marquee */
.hero-stage.layout-marquee { min-height: 480px; }
.hero-stage.layout-marquee .hero-slide { grid-template-columns: 1fr 0.7fr; }

/* ───── BPoints ribbon ───── */
.points-ribbon {
  margin-top: 18px;
  background: var(--secondary);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.points-ribbon-text {
  display: flex; align-items: center; gap: 18px;
}
.points-ribbon-text .bcard {
  width: 110px; height: 70px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative; flex-shrink: 0;
  transform: rotate(-6deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.points-ribbon-text .bcard::after {
  content: '6'; position: absolute; top: 8px; left: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: rgba(255,255,255,0.85);
}
.points-ribbon h3 { font-size: 18px; font-weight: 600; }
.points-ribbon p { font-size: 14px; opacity: 0.8; }

/* ───── Section headers ───── */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 500;
}
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 4.5vw, 56px); line-height: 1.0;
  letter-spacing: -0.025em;
}
.sec-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2); font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: all 0.15s ease;
}
.sec-link:hover { color: var(--primary); border-color: var(--primary); }

/* ───── Offer cards ───── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
[data-density="compact"] .offer-grid { gap: 14px; }
@media (max-width: 1080px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  display: flex; flex-direction: column;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.offer-img {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: var(--bg-soft);
}
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.offer-card:hover .offer-img img { transform: scale(1.05); }

.offer-flag {
  position: absolute; top: 0; left: 16px;
  background: var(--primary); color: #fff;
  padding: 8px 12px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.05;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  min-width: 56px;
  text-align: center;
}
.offer-flag.new { background: var(--accent); }

.offer-body {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.offer-merchant {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.offer-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink);
}
.offer-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line-2);
}
.offer-valid { font-size: 12px; color: var(--ink-3); }
.offer-cta {
  font-size: 13px; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px;
}
.offer-cta:hover { color: var(--primary-2); }

/* ───── BPoints story ───── */
.story-block {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.story-step {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.2s ease;
}
.story-step:hover { transform: translateY(-4px); }
.story-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 64px; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.story-step h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.story-step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ───── Partner marquee ───── */
.marquee {
  margin-top: 64px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex; gap: 56px;
  animation: scroll 40s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee-item {
  display: flex; align-items: center;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s;
}
.marquee-item:hover { opacity: .65; }
.marquee-item img {
  height: 44px; width: auto; max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s;
}
.marquee-item:hover img { filter: grayscale(0) opacity(1); }
.marquee-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--ink-3);
  letter-spacing: -0.01em;
}
.marquee-item::after { content: '✦'; font-size: 13px; color: var(--primary); margin-left: 56px; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ───── App download CTA ───── */
.app-cta-section { background: var(--bg-soft); }
.app-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.app-cta-text { flex: 1; min-width: 280px; }
.app-cta-sub { font-size: 16px; color: var(--ink-2); line-height: 1.6; max-width: 460px; margin-bottom: 28px; }
.app-cta-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.app-badge-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); border: 1.5px solid var(--ink);
  color: #fff; text-decoration: none; border-radius: 12px;
  padding: 10px 20px; font-family: var(--font-body); font-size: 15px;
  font-weight: 700; transition: background .2s, border-color .2s;
}
.app-badge-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.app-badge-sub { font-size: 11px; font-weight: 400; opacity: .75; }
.app-badge-btn:hover { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; text-decoration: none; }
.app-badge-btn svg { flex-shrink: 0; }
.app-cta-image { flex-shrink: 0; }
.app-cta-image img { height: 220px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,.14)); }
@media (max-width: 640px) {
  .app-cta-image { display: none; }
  .app-cta-inner { flex-direction: column; }
}

/* ───── Stats strip ───── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4.5vw, 56px); line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.stat-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 8px;
}

/* ───── Footer ───── */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1fr 1fr;
  gap: 40px 28px;
  margin-bottom: 48px;
  align-items: start;
}
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14.5px; opacity: 0.85; transition: opacity 0.15s ease, color 0.15s ease; }
.footer ul a:hover { opacity: 1; color: var(--brand-pink); }
.footer-logo { height: 32px; width: 130px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-tagline { font-size: 14.5px; opacity: 0.72; max-width: 300px; line-height: 1.55; }
.app-badges { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.app-badge {
  background: #000; color: #fff; padding: 8px 16px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; transition: transform 0.15s ease;
  border: 1px solid rgba(255,255,255,0.15);
}
.app-badge:hover { transform: translateY(-2px); }
.app-badge .label { display: flex; flex-direction: column; line-height: 1.1; }
.app-badge .label .small { font-size: 9px; opacity: 0.7; }
.app-badge .label .big { font-size: 14px; font-weight: 600; }
.footer-follow { margin-top: 26px; }
.footer-follow h5 { margin-bottom: 12px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16);
  display: grid; place-items: center; color: #fff;
  transition: all 0.15s ease;
}
.footer-social a:hover { background: var(--brand-pink); border-color: var(--brand-pink); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; opacity: 0.55; flex-wrap: wrap; gap: 8px 24px;
}
.footer-addr { max-width: 70ch; }

/* ───── Page transition ───── */
.page-enter { animation: pageIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───── Partners page ───── */
.filters-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 8px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  width: max-content;
  max-width: 100%;
}
.filter-pill {
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all 0.15s ease;
}
.filter-pill:hover { color: var(--ink); }
.filter-pill.is-active { background: var(--ink); color: var(--bg); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

.partner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex; flex-direction: column;
  min-height: 240px;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.partner-logo {
  aspect-ratio: 16/10;
  display: grid; place-items: center;
  padding: 20px;
  background: var(--bg-soft);
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  color: var(--ink); letter-spacing: -0.02em;
  text-align: center;
}
.partner-info {
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.partner-name { font-weight: 600; font-size: 14px; }
.partner-rate {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--primary); font-weight: 600;
  font-family: var(--font-mono);
}

/* ───── Convert BPoints ───── */
.convert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 720px) { .convert-grid { grid-template-columns: 1fr; } }
.convert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  transition: all 0.2s ease;
}
.convert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.convert-rate {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 700;
}
.convert-rate .from, .convert-rate .to {
  display: flex; flex-direction: column;
  font-size: 28px; line-height: 1;
}
.convert-rate .from .label, .convert-rate .to .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  font-weight: 500; color: var(--ink-3); margin-top: 6px;
}
.convert-rate .arrow {
  flex: 1; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
  position: relative;
}
.convert-rate .arrow::after {
  content: '→'; position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 1; color: var(--accent);
  background: var(--surface); padding-left: 4px;
}
.convert-note {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--primary);
  background: var(--bg-tint); padding: 9px 14px; border-radius: 999px;
}

/* ───── How To pages ───── */
.howto-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .howto-layout { grid-template-columns: 1fr; gap: 32px; } }
.howto-aside {
  position: sticky; top: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
@media (max-width: 860px) { .howto-aside { position: static; } }
.howto-intro {
  font-size: 18px; line-height: 1.6; color: var(--ink-2);
}
.howto-card-img {
  width: 200px; height: auto; margin-top: 24px;
  border-radius: 12px; box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
}
.howto-callout {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.howto-callout-big {
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.howto-callout-sub { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.howto-steps-title {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.01em; margin-bottom: 24px;
}
.howto-step-list {
  list-style: none; display: flex; flex-direction: column; gap: 0;
  counter-reset: none;
}
.howto-step {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.howto-step:last-child { border-bottom: none; }
.howto-step-num {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.howto-step-text {
  font-size: 17px; line-height: 1.5; color: var(--ink);
  padding-top: 9px;
}
.howto-step-text strong { font-weight: 700; color: var(--ink); }

/* ───── Sign Up (2-column with pitch) ───── */
.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 820px) { .signup-layout { grid-template-columns: 1fr; } }
.signup-pitch {
  position: relative;
  background: radial-gradient(120% 120% at 0% 0%, #FF4DA6 0%, var(--primary) 45%, #B8156D 100%);
  color: #fff;
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.signup-pitch-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -0.025em;
  margin: 10px 0 12px;
}
.signup-pitch-sub { font-size: 16px; opacity: 0.92; line-height: 1.5; max-width: 38ch; }
.signup-reasons {
  list-style: none; display: flex; flex-direction: column; gap: 18px;
  margin-top: 32px;
}
.signup-reason { display: flex; gap: 14px; align-items: flex-start; }
.signup-reason-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff;
}
.signup-reason strong { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.signup-reason-d { display: block; font-size: 14px; opacity: 0.88; line-height: 1.5; }
.signup-pitch-card {
  width: 180px; height: auto; margin-top: auto; align-self: flex-end;
  transform: rotate(-6deg);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.3));
  margin-right: -8px;
}
.signup-formwrap {
  background: var(--surface);
  padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: center;
}

/* ───── Membership ───── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  position: relative; overflow: hidden;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.2s ease;
}
.tier-card:hover { transform: translateY(-6px); }
.tier-pink { background: linear-gradient(135deg, var(--primary), #B8156D); }
.tier-navy { background: linear-gradient(135deg, var(--accent), var(--secondary)); }
.tier-dark { background: linear-gradient(135deg, #2a2a4a, #0a0a1a); }
.tier-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.tier-price { font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 8px 0; }
.tier-price small { font-size: 18px; opacity: 0.8; }
.tier-perk { font-size: 14px; opacity: 0.92; margin-bottom: 6px; display: flex; gap: 8px; align-items: start; }
.tier-perk::before { content: '✓'; font-weight: 700; }

/* ───── Form ───── */
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px;
  margin-top: 32px;
}
.form-grid > .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 8px; font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit; font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}
.field textarea { min-height: 120px; resize: vertical; }
.checkbox-group {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 600px) { .checkbox-group { grid-template-columns: repeat(2, 1fr); } }
.checkbox-pill {
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex; align-items: center; gap: 8px;
  user-select: none;
}
.checkbox-pill input { display: none; }
.checkbox-pill .box {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--line-2);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 11px; color: #fff;
  transition: all 0.15s ease;
}
.checkbox-pill.checked { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary); }
.checkbox-pill.checked .box { background: var(--primary); border-color: var(--primary); }

/* ───── FAQ ───── */
.faq-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 24px;
  font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.faq-q:hover { color: var(--primary); }
.faq-q .chev {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.faq-item.open .faq-q .chev { background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 24px 24px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ───── BCard showcase ───── */
.bcard-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
}
@media (max-width: 900px) { .bcard-row { grid-template-columns: repeat(2, 1fr); } }
.bcard {
  aspect-ratio: 16/10;
  border-radius: 14px;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #fff;
  padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bcard:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.bcard .b { font-family: var(--font-display); font-weight: 800; font-size: 32px; }
.bcard .city { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.bcard-1 { background: linear-gradient(135deg, var(--primary), #B8156D); }
.bcard-2 { background: linear-gradient(135deg, #6B1832, #2A0510); }
.bcard-3 { background: linear-gradient(135deg, var(--accent), var(--secondary)); }
.bcard-4 { background: linear-gradient(135deg, #FFB546, #E8730A); }
.bcard-5 { background: linear-gradient(135deg, var(--secondary), #000); }

/* ───── Wow icons ───── */
.icon-circle {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 18px;
}
.icon-circle.alt { background: linear-gradient(135deg, var(--accent), var(--secondary)); }

/* ───── Misc ───── */
.divider { height: 1px; background: var(--line); margin: 56px 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-2); }

/* responsive hero */
@media (max-width: 800px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 16/9; }
  .points-ribbon { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ───── Mobile nav (prototype was desktop-hover only) ───── */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--ink); border: 1px solid var(--line-2);
}
.nav-toggle svg { display: block; }
.topbar-actions .btn-label { display: inline; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .topbar-inner { gap: 12px; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px var(--pad-x) 20px;
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a, .nav-trigger { width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav-group { position: static; }
  .nav-menu {
    position: static; transform: none; box-shadow: none; border: none;
    min-width: 0; padding: 2px 0 6px 14px; opacity: 1; visibility: hidden;
    height: 0; overflow: hidden; transition: none;
  }
  .nav-group.is-open .nav-menu { visibility: visible; height: auto; }
  .nav-group:hover .nav-menu { transform: none; }
  .topbar-actions .btn-label-long { display: none; }
}

@media (max-width: 560px) {
  .topbar-actions .btn .btn-text-hide { display: none; }
}

/* Authenticated profile chip in topbar */
.topbar-profile {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.topbar-profile .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.topbar-profile .pts { color: var(--ink-3); font-weight: 500; font-family: var(--font-mono); font-size: 11px; }
.topbar-profile-group { position: relative; }
.topbar-profile-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 130;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.topbar-profile-group:hover .topbar-profile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.topbar-profile-menu a {
  padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.topbar-profile-menu a:hover { background: var(--bg-soft); color: var(--ink); }

/* reCAPTCHA spacing */
.field .g-recaptcha { margin-top: 4px; }

/* ───── Flash messages ───── */
.flash-wrap {
  max-width: 1320px; margin: 18px auto 0; padding: 0 var(--pad-x);
  display: flex; flex-direction: column; gap: 10px;
}
.flash {
  border-radius: var(--radius-md); padding: 14px 18px;
  font-size: 14.5px; font-weight: 500; border: 1px solid var(--line);
}
.flash-success { background: #DCFCE7; color: #166534; border-color: #86EFAC; }
.flash-error { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }
.flash-warning { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.flash-info { background: var(--bg-tint); color: var(--primary); border-color: var(--line-2); }

/* ───── Legal prose (terms / privacy) ───── */
.legal-body { margin-top: 48px; }
.legal-body h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--ink); margin: 40px 0 12px; padding-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body h3 {
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  color: var(--ink); margin: 24px 0 8px;
}
.legal-body p { color: var(--ink-2); line-height: 1.8; margin-bottom: 14px; font-size: 15px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul, .legal-body ol {
  color: var(--ink-2); font-size: 15px; line-height: 1.8;
  padding-left: 24px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px;
}
.legal-body a { color: var(--primary); }
.legal-body address { color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* ───── OTP verify page flash ───── */
.flash-msg {
  padding: 14px 18px; border-radius: var(--radius-md);
  font-size: 14.5px; font-weight: 500; border: 1px solid var(--line);
}
.flash-msg.flash-success { background: #DCFCE7; color: #166534; border-color: #86EFAC; }
.flash-msg.flash-error   { background: #FEE2E2; color: #991B1B; border-color: #FCA5A5; }
.flash-info { background: var(--bg-tint); color: var(--primary); border-color: var(--line-2); }
