/* ==========================================================================
   SVIP Slots — design system v2
   Palette: deep teal dominant, hot pink sharp accent, gold tertiary, cool
   light canvas, pure black chrome (the brand mark sits on #000, so header
   and footer let it blend rather than framing it).
   Type: Outfit (display) over Plus Jakarta Sans (body).
   Signature: the payline — a hot-pink rule that cuts across reels, cards
   and section heads.

   SHAPE LOCK  : pills 999px (interactive) · panels 16px · chips 10px
   COLOR LOCK  : one accent (hot pink). Gold is tertiary and never text.
   THEME LOCK  : light page, black chrome. Sections never invert.
   ========================================================================== */

:root {
  /* Colors */
  --brand:         #0F7B8A;
  --brand-dark:    #08525D;
  --brand-light:   #16A8BC;

  --accent:        #FF4D8D;   /* decorative only: 3.1:1 on white */
  --accent-deep:   #C4185C;   /* text + button fills: 5.8:1 on white */
  --accent-warm:   #FFB020;   /* gold, tertiary, never used as text */
  --accent-soft:   #FFC9DD;

  --bg:            #F4FAFB;
  --bg-card:       #FFFFFF;
  --bg-elevated:   #FBFDFD;
  --bg-panel:      #000000;

  --text:          #0C2429;
  --text-muted:    #4A6970;
  --text-dim:      #7B959B;
  --text-on-dark:  #EAF6F8;

  --border:        #DCEAED;
  --border-strong: #B9D3D8;
  --border-soft:   #EBF4F6;

  /* Typography */
  --font-body:    'Plus Jakarta Sans', 'Noto Sans Gurmukhi', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Noto Sans Gurmukhi', system-ui, sans-serif;

  /* Radius — shape lock */
  --r-chip: 10px;
  --r-panel: 16px;
  --r-pill: 999px;

  /* Shadows — tinted to the canvas hue, never pure black */
  --shadow-soft:  0 1px 2px rgba(12,36,41,.04), 0 6px 18px rgba(15,123,138,.06);
  --shadow-card:  0 2px 6px rgba(12,36,41,.05), 0 14px 32px rgba(15,123,138,.10);
  --shadow-lift:  0 4px 10px rgba(12,36,41,.07), 0 22px 48px rgba(196,24,92,.16);
  --shadow-cta:   0 8px 22px rgba(196,24,92,.30);

  /* Layout — ONE measure for the whole site */
  --container:      1200px;
  --container-wide: 1320px;
  --gutter:         1.5rem;
  --header-h:       72px;

  /* Vertical rhythm: the gap between two sections is exactly --section-gap */
  --section-gap: 50px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  counter-reset: img-div;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  background-image:
    radial-gradient(52rem 34rem at 104% -6%, rgba(255,77,141,.10), transparent 60%),
    radial-gradient(46rem 32rem at -8% 18%, rgba(22,168,188,.13), transparent 58%);
  background-attachment: fixed;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 .55em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .45rem; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent-deep); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-chip) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Inline icons default to text size so an unsized one can never blow up. */
svg { flex: 0 0 auto; width: 1em; height: 1em; }

/* --------------------------------------------------------------------------
   THE SHARED MEASURE — every bounded element rides these two guide lines
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.plain-card, .support-card, .intro-block,
.feature-check-list, .feature-check-list--plain, .faq-list,
.floor-grid, .floor-grid--rich,
.floor-grid--cols-1, .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4,
.image-divider, .bento-floor, .security-grid, .rewards-bento, .split-layout,
.hero-stats-strip, .footer-cta, .footer-map, .footer-trust, .footer-bottom-inner,
.page-hero-inner, .hero-inner, .err-404, .trust-strip-inner {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons — pill lock. Every fill passes WCAG AA against its own label.
   -------------------------------------------------------------------------- */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  letter-spacing: .005em; padding: .85rem 1.6rem; border-radius: var(--r-pill);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #8E0F42 100%);
  color: #fff; box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(196,24,92,.40); color: #fff; }
.btn-primary:active { transform: translateY(0) scale(.985); }

.btn-secondary { background: transparent; color: var(--brand-dark); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); background: rgba(15,123,138,.06); color: var(--brand-dark); transform: translateY(-2px); }
.btn-secondary:active { transform: translateY(0) scale(.985); }

/* On black chrome */
.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(234,246,248,.32); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,77,141,.12); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(.985); }

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-secondary, .btn-ghost { transition: background .2s, color .2s, border-color .2s; }
  .btn-primary:hover, .btn-secondary:hover, .btn-ghost:hover,
  .btn-primary:active, .btn-secondary:active, .btn-ghost:active { transform: none; }
}

/* --------------------------------------------------------------------------
   HEADER — single row, 72px, pure black so the brand mark blends
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(234,246,248,.10);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: 0 8px 30px rgba(0,0,0,.45);
}
/* The payline: brand signature, a hot-pink rule under the chrome */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 42%, var(--accent-warm) 100%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-main .container {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.25rem;
}

.brand-mark { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-mark img { height: 56px; width: auto; object-fit: contain; }

.primary-nav { position: relative; margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.primary-nav a {
  position: relative; padding: .5rem .72rem; border-radius: var(--r-chip);
  color: rgba(234,246,248,.78); text-decoration: none;
  font-size: .92rem; font-weight: 600; white-space: nowrap;
  transition: color .2s var(--ease);
}
.primary-nav a:hover, .primary-nav a.active { color: #fff; }
.nav-indicator {
  position: absolute; bottom: 2px; left: 0; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; opacity: 0;
  transition: transform .32s var(--ease), width .32s var(--ease), opacity .22s var(--ease);
  pointer-events: none;
}

.header-actions { display: flex; align-items: center; gap: .85rem; flex: 0 0 auto; }
.header-link {
  color: rgba(234,246,248,.78); text-decoration: none;
  font-size: .92rem; font-weight: 600; white-space: nowrap;
  transition: color .2s var(--ease);
}
.header-link:hover { color: var(--accent); }
.header-cta { padding: .66rem 1.3rem; font-size: .88rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: transparent; border: 1px solid rgba(234,246,248,.24);
  border-radius: var(--r-chip); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative; width: 20px; height: 2px;
  background: var(--text-on-dark); border-radius: 2px; transition: background .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--text-on-dark); border-radius: 2px; transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Both exist only for the mobile overlay. */
.primary-nav .mobile-only { display: none; }
.primary-nav .mobile-cta  { display: none; }

/* --------------------------------------------------------------------------
   HOME HERO — asymmetric split, copy left, slot reels right
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg) 22%, rgba(244,250,251,.78) 58%, rgba(244,250,251,.30) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: .9rem;
}
.kicker::before {
  content: ''; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* The H1 is a verbatim source heading and cannot be shortened, so the type
   scale is tuned down to keep it to three tight lines rather than four. */
.hero h1 { margin-bottom: .9rem; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; }
/* Emphasis stays inside the display family: no serif word injected. */
.highlight { position: relative; color: var(--accent-deep); white-space: nowrap; }
.highlight::after {
  content: ''; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .16em;
  background: var(--accent); opacity: .34; border-radius: 2px; z-index: -1;
}
.lead { font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--text-muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* Slot-reel art */
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.reelbox {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  padding: 1.1rem; border-radius: var(--r-panel);
  background: #08171B;
  border: 1px solid rgba(234,246,248,.14);
  box-shadow: 0 24px 60px rgba(8,82,93,.30), inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotate(-3deg);
  width: min(100%, 380px);
}
.reel {
  display: grid; gap: .45rem; padding: .55rem .4rem;
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 100%);
  border-radius: var(--r-chip);
  border: 1px solid rgba(234,246,248,.10);
}
.reel span {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; line-height: 1.5;
  text-align: center; color: var(--text-on-dark);
}
.reel span.is-hot  { color: var(--accent); }
.reel span.is-gold { color: var(--accent-warm); }
.reel span.is-dim  { opacity: .28; }
/* The payline */
.reelbox::after {
  content: ''; position: absolute; left: -6%; right: -6%; top: 50%; height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--accent) 82%, transparent);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.hero-chip {
  position: absolute; right: -2%; bottom: 2%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: linear-gradient(140deg, #FFD37A 0%, var(--accent-warm) 60%, #D98C08 100%);
  border: 4px solid var(--bg);
  box-shadow: 0 14px 32px rgba(255,176,32,.42);
  transform: rotate(6deg);
}
.hero-chip .num { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1; color: #3A2600; }
.hero-chip .lbl { font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #543700; margin-top: .2rem; }

/* Trust strip — sits UNDER the hero, never inside it */
.trust-strip { padding-bottom: var(--section-gap); }
.trust-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem;
  padding: .9rem 1.25rem; border-radius: var(--r-panel);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.trust-item svg { width: 17px; height: 17px; color: var(--brand); }

/* Stat strip */
.hero-bridge { padding-bottom: var(--section-gap); }
.hero-stats-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-panel); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-stat { padding: 1.2rem 1.25rem; border-right: 1px solid var(--border-soft); }
.hero-stat:last-child { border-right: 0; }
.hero-stat .n {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800; color: var(--brand-dark); line-height: 1.1; letter-spacing: -.02em;
}
.hero-stat .l { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); margin-top: .25rem; }

/* --------------------------------------------------------------------------
   INTERNAL PAGE HERO — black block flowing straight out of the black header
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--bg-panel); color: var(--text-on-dark);
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.25rem, 4vw, 3.25rem);
}
/* Hero backdrop. The scrim guarantees the white H1 keeps AA contrast no
   matter how bright the generated image turns out. */
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .40; }
/* The top band is heavier on purpose: flux tends to hallucinate garbled
   signage along the upper edge, and this buries it. */
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.94) 42%, rgba(0,0,0,.68) 72%, rgba(0,0,0,.56) 100%),
    linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.10) 38%, rgba(0,0,0,.62) 100%);
}
.page-hero::before {
  content: ''; position: absolute; z-index: 1; right: -6%; top: -40%; width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(15,123,138,.42), transparent 62%); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 46%, var(--accent-warm) 100%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; max-width: 20ch; }
.page-hero .kicker { color: var(--accent); }
.page-hero .kicker::before { background: linear-gradient(90deg, var(--brand-light), var(--accent)); }
.page-hero .page-sub { color: rgba(234,246,248,.80); font-size: 1.02rem; max-width: 68ch; margin: 0; }

.breadcrumb { font-size: .8rem; margin-bottom: .85rem; color: rgba(234,246,248,.55); }
.breadcrumb a { color: rgba(234,246,248,.80); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

.page-meta {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem;
  margin: 1.1rem 0 0; padding: .42rem .9rem;
  border-radius: var(--r-pill); border: 1px solid rgba(234,246,248,.18);
  background: rgba(234,246,248,.05);
  font-size: .78rem; color: rgba(234,246,248,.66);
}
.page-meta svg { width: 15px; height: 15px; color: var(--accent); }
.page-meta-author { color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------------------------
   Sections + heads — gap between two sections is exactly --section-gap
   -------------------------------------------------------------------------- */
.section { padding-block: calc(var(--section-gap) / 2); }
.section--tint { background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(244,250,251,0)); }

.section-head { margin-bottom: 1.6rem; }
.section-head h2 { max-width: 24ch; }
.section-head .section-sub { max-width: 68ch; color: var(--text-muted); font-size: 1rem; margin: 0; }
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center .section-sub { margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }

/* --------------------------------------------------------------------------
   CARDS — flat by default. Elevation is earned on hover, not at rest.
   Signature: a short payline on the top edge, an index chip, a pink hover
   border. No corner watermarks, no full-width gradient stripes.
   -------------------------------------------------------------------------- */
.plain-card, .support-card, .intro-block,
.floor-tile, .security-tile, .bento-tile, .rewards-tile, .image-divider__figure {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

/* The payline: a short accent rule anchored to the top-left corner */
.floor-tile::before, .security-tile::before, .bento-tile::before, .rewards-tile::before {
  content: ''; position: absolute; top: -1px; left: 1.4rem; width: 46px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .28s var(--ease);
}
.floor-tile:hover::before, .security-tile:hover::before,
.bento-tile:hover::before, .rewards-tile:hover::before { width: 84px; }

.floor-tile:hover, .security-tile:hover, .bento-tile:hover, .rewards-tile:hover {
  border-color: var(--accent); box-shadow: var(--shadow-lift); transform: translateY(-3px);
}

/* Index chip, rendered from the builder's data-watermark attribute */
.floor-tile[data-watermark]::after, .bento-tile[data-watermark]::after,
.security-tile[data-watermark]::after, .rewards-tile[data-watermark]::after {
  content: attr(data-watermark);
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--font-heading); font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; color: var(--text-dim);
  background: var(--bg); border: 1px solid var(--border-soft);
  border-radius: var(--r-chip); padding: .16rem .44rem; line-height: 1.35;
  transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.floor-tile:hover::after, .bento-tile:hover::after,
.security-tile:hover::after, .rewards-tile:hover::after {
  color: var(--accent-deep); background: rgba(255,77,141,.10); border-color: rgba(255,77,141,.32);
}

.plain-card, .support-card, .intro-block { padding: clamp(1.5rem, 2.6vw, 2.1rem); }
.plain-card > *:last-child, .support-card > *:last-child, .intro-block > *:last-child { margin-bottom: 0; }
.plain-card h3 { margin-top: 1.5rem; }
.plain-card > h3:first-of-type { margin-top: 0; }

.intro-block {
  border: 0; background: transparent; padding: 0;
  border-left: 3px solid var(--accent); padding-left: 1.4rem;
  font-size: 1.05rem; color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Floor grids — column count follows item count (R3)
   -------------------------------------------------------------------------- */
.floor-grid { display: grid; gap: 1rem; }
.floor-grid--cols-1 { grid-template-columns: minmax(0, 1fr); }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.floor-tile { padding: 1.5rem 1.4rem; padding-right: 3.4rem; }
.floor-tile h3 { margin-bottom: .5rem; }
.floor-tile p { color: var(--text-muted); margin-bottom: .75rem; font-size: .96rem; }
.floor-tile > *:last-child { margin-bottom: 0; }

/* Rich tiles — sub-cards + section rules */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); }
.floor-grid--rich .floor-tile { padding: 1.9rem 2rem; padding-right: 3.8rem; }
.floor-grid--rich .floor-tile h4 {
  margin: 1.7rem 0 .9rem; padding-top: 1rem;
  border-top: 2px solid var(--accent);
  font-family: var(--font-body); font-size: .74rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
}
.floor-grid--rich .floor-tile ul,
.floor-grid--rich .floor-tile ol { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .5rem; }
.floor-grid--rich .floor-tile li {
  position: relative; margin: 0;
  background: var(--bg); border: 1px solid var(--border-soft);
  border-radius: var(--r-chip); padding: .8rem 1rem .8rem 1.3rem; font-size: .94rem;
}
.floor-grid--rich .floor-tile li::before {
  content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--brand);
}

/* --------------------------------------------------------------------------
   Split layout
   -------------------------------------------------------------------------- */
.split-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.split-layout--solo { grid-template-columns: minmax(0, 1fr); }
.split-layout__media { position: relative; border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.split-layout__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* --------------------------------------------------------------------------
   Feature check list
   -------------------------------------------------------------------------- */
.feature-check-list {
  list-style: none; padding: clamp(1.25rem, 2.2vw, 1.6rem);
  margin: 0; border-radius: var(--r-panel);
  background: rgba(15,123,138,.05);
  border: 1px solid rgba(15,123,138,.18);
  border-left: 3px solid var(--brand);
  display: grid; gap: .7rem;
}
.feature-check-list li { position: relative; padding-left: 2.1rem; margin: 0; }
.feature-check-list li::before {
  content: ''; position: absolute; left: 0; top: .32rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-check-list li::after {
  content: ''; position: absolute; left: .3rem; top: .58rem;
  width: .7rem; height: .38rem;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.plain-card .feature-check-list { margin: 1.2rem 0; }

/* --------------------------------------------------------------------------
   Image divider — contained two-column figure
   -------------------------------------------------------------------------- */
.image-divider {
  counter-increment: img-div;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem); align-items: center;
}
.image-divider__figure { margin: 0; overflow: hidden; }
.image-divider__figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-divider__aside { padding: .5rem 0; }
.image-divider__num::before {
  content: counter(img-div, decimal-leading-zero);
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--accent);
  display: block; margin-bottom: .35rem; letter-spacing: -.03em;
}
.image-divider__kicker {
  display: block; font-size: .7rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: .4rem;
}
.image-divider__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.35rem); margin: 0; }

/* --------------------------------------------------------------------------
   Homepage bespoke sections
   -------------------------------------------------------------------------- */
.bento-floor { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.bento-tile { padding: 1.5rem 1.4rem; padding-right: 3.4rem; grid-column: span 2; }
.bento-tile--wide { grid-column: span 3; }
.bento-tile--full { grid-column: span 6; }
.bento-tile h3 { margin-bottom: .45rem; }
.bento-tile p { color: var(--text-muted); margin-bottom: .75rem; font-size: .96rem; }
.bento-tile > *:last-child { margin-bottom: 0; }
/* Tinted bento cells so a grid is never all white-on-white */
.bento-tile--tint { background: linear-gradient(150deg, rgba(15,123,138,.08), rgba(255,255,255,0) 62%); }
.bento-tile--tint-pink { background: linear-gradient(150deg, rgba(255,77,141,.09), rgba(255,255,255,0) 62%); }

.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-row span {
  font-size: .76rem; font-weight: 700; padding: .26rem .7rem; border-radius: var(--r-pill);
  background: rgba(15,123,138,.09); color: var(--brand-dark); border: 1px solid rgba(15,123,138,.18);
}
.tile-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--accent-deep); text-decoration: none; }
.tile-link:hover { text-decoration: underline; }
.tile-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.tile-link:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .tile-link:hover svg { transform: none; } }

.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.security-tile { padding: 1.6rem 1.35rem; }
.security-tile .deco {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: .9rem;
  border-radius: var(--r-chip);
  background: rgba(15,123,138,.10); color: var(--brand);
}
.security-tile .deco svg { width: 22px; height: 22px; }
.security-tile h3 { font-size: 1.05rem; }
.security-tile p { color: var(--text-muted); font-size: .92rem; margin: 0; }

.rewards-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rewards-tile { padding: 1.5rem 1.4rem; padding-right: 3.4rem; }
.rewards-tile--hero {
  grid-column: span 2; grid-row: span 2;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(150deg, rgba(255,77,141,.12), rgba(255,176,32,.08) 70%);
}
.rewards-tile--hero .big {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.035em;
  color: var(--accent-deep); margin-bottom: .4rem;
}
.rewards-tile--span { grid-column: 1 / -1; }
.rewards-tile h3 { margin-bottom: .4rem; font-size: 1.08rem; }
.rewards-tile p { color: var(--text-muted); font-size: .94rem; margin: 0; }

.support-card {
  text-align: center; padding: clamp(2rem, 3.6vw, 3rem);
  background: linear-gradient(160deg, rgba(15,123,138,.07), rgba(255,77,141,.06) 88%);
}
.support-card .lead { margin-inline: auto; }
.support-card .hero-actions { justify-content: center; margin-top: 1.4rem; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: .6rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-panel); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-soft); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.35rem; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-size: 1.02rem; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--brand); position: relative;
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--brand);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; transition: opacity .22s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: rgba(255,77,141,.14); border-color: var(--accent); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--accent-deep); }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-answer { padding: 0 1.35rem 1.2rem; color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   FOOTER — black, CTA band overlapping into the linkmap
   -------------------------------------------------------------------------- */
.site-footer { position: relative; margin-top: var(--section-gap); background: var(--bg-panel); color: var(--text-on-dark); }
.footer-cta-wrap { position: relative; z-index: 2; transform: translateY(-2.5rem); margin-bottom: -1rem; }
.footer-cta {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 46%, var(--accent-deep) 100%);
  box-shadow: 0 20px 48px rgba(8,82,93,.34);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta h2 { color: #fff; margin-bottom: .3rem; }
.footer-cta p { color: rgba(255,255,255,.86); margin: 0; max-width: 52ch; font-size: .96rem; }
.footer-cta .hero-actions { margin: 0; }
.footer-cta .btn-primary { background: #fff; color: var(--accent-deep); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.footer-cta .btn-primary:hover { background: #fff; color: #8E0F42; }
.footer-cta .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.footer-cta .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.footer-map {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem; padding: 1.5rem 0 2.5rem;
}
.footer-brand img { height: 80px; width: auto; object-fit: contain; margin-bottom: .9rem; }
.footer-brand p { color: rgba(234,246,248,.60); font-size: .9rem; }
.pay-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.pay-pills span {
  font-size: .7rem; font-weight: 700; letter-spacing: .03em;
  padding: .28rem .65rem; border-radius: var(--r-chip);
  background: rgba(234,246,248,.06); border: 1px solid rgba(234,246,248,.13);
  color: rgba(234,246,248,.74);
}
.footer-col h3 {
  position: relative; font-family: var(--font-body);
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(234,246,248,.55); margin-bottom: 1rem; padding-bottom: .55rem;
}
.footer-col h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(234,246,248,.72); text-decoration: none; font-size: .91rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-trust {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 1.25rem 0; border-top: 1px solid rgba(234,246,248,.10);
}
.footer-trust span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .34rem .8rem; border-radius: var(--r-pill);
  background: rgba(15,123,138,.16); border: 1px solid rgba(22,168,188,.34); color: #7FE3F2;
}
.footer-trust svg { width: 15px; height: 15px; }

.footer-bottom { border-top: 1px solid rgba(234,246,248,.10); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; font-size: .8rem; color: rgba(234,246,248,.48);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.err-404 { text-align: center; padding: clamp(2.5rem, 7vw, 6rem) 0; }
.err-404 .glyph {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(7rem, 20vw, 17rem); line-height: .85; letter-spacing: -.05em;
  background: linear-gradient(120deg, var(--brand) 0%, var(--accent) 62%, var(--accent-warm) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .75rem;
}
.err-404 .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .primary-nav a { padding: .5rem .55rem; font-size: .87rem; }
  .header-link { display: none; }
  .footer-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-indicator { display: none; }
  .header-actions { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .2rem;
    padding: 1.25rem var(--gutter) 3rem;
    background: rgba(0,0,0,.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    overflow-y: auto;
    transform: translateX(100%); transition: transform .32s var(--ease);
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav a { padding: .9rem .4rem; font-size: 1.02rem; border-bottom: 1px solid rgba(234,246,248,.09); }
  .primary-nav .mobile-only { display: block; }
  .primary-nav .mobile-cta { display: inline-flex; margin-top: 1.1rem; justify-content: center; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; min-height: 260px; }
  .hero-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }

  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards-tile--hero { grid-column: span 2; grid-row: auto; }
  .bento-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-tile, .bento-tile--wide, .bento-tile--full { grid-column: span 1; }
  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .image-divider { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --gutter: 1.15rem; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-map { padding-bottom: 2rem; }
  .floor-grid--rich .floor-tile { padding: 1.4rem 1.25rem; padding-right: 3.2rem; }
  .brand-mark img { height: 48px; }
  .footer-brand img { height: 66px; }
}

@media (max-width: 560px) {
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: minmax(0, 1fr); }
  .security-grid, .rewards-bento, .bento-floor { grid-template-columns: minmax(0, 1fr); }
  .bento-tile, .rewards-tile--hero { grid-column: auto; }
  .hero-stats-strip { grid-template-columns: minmax(0, 1fr); }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .hero-stat:last-child { border-bottom: 0; }
  .footer-map { grid-template-columns: minmax(0, 1fr); }
  .reelbox { width: min(100%, 300px); }
  .reel span { font-size: 1.55rem; }
  .hero-chip { width: 84px; height: 84px; right: 0; }
  .hero-chip .num { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.95rem; }
  .btn-primary, .btn-secondary, .btn-ghost { padding: .8rem 1.3rem; font-size: .9rem; width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .faq-item summary { padding: .95rem 1.1rem; font-size: .96rem; }
  .faq-answer { padding: 0 1.1rem 1.05rem; }
  .trust-strip-inner { gap: .5rem 1rem; }
}
