/* ==========================================================================
   Yono Games Casino - site.css
   ---------------------------------------------------------------------------
   Direction: editorial broadsheet. An almanac of casino guides, not a stack
   of identical marketing cards. Rhythm comes from a rotating set of six
   section families (ledger / stack / aside / slab / split / grid) rather than
   from repeating one card grid down the page.

   Dials: DESIGN_VARIANCE 8 · MOTION_INTENSITY 6 · VISUAL_DENSITY 4
   Type : Bricolage Grotesque (display) + Instrument Sans (body)
   Accent: ONE accent, gold. Emerald is the brand base, not a second accent.
   Width: every bounded element shares the header's two guide lines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Brand - emerald sampled from the logo gradient */
  --brand:         #0E8F46;
  --brand-dark:    #075A31;
  --brand-light:   #21E86B;
  --brand-deep:    #052B1B;

  /* The single accent */
  --accent:        #F7B32B;
  --accent-strong: #E09A12;
  --accent-soft:   #FFE7B8;

  --bg:            #F6F8F3;
  --bg-card:       #FFFFFF;
  --bg-sunk:       #EDF2EA;
  --bg-panel:      #052B1B;

  --slab-bg:       #052B1B;
  --slab-text:     #EAF7EC;
  --slab-muted:    rgba(234, 247, 236, .72);
  --slab-border:   rgba(234, 247, 236, .16);

  --text:          #12211A;
  --text-muted:    #4C6154;
  --text-dim:      #7A9084;
  --text-on-dark:  #EAF7EC;

  --border:        #DEE8DC;
  --border-strong: #BFD3BF;
  --border-soft:   #EDF3EC;
  --rule:          #12211A;

  --font-body:     'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-display:  'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;
  --card-radius: 14px;

  --shadow-soft: 0 1px 2px rgba(5, 43, 27, .05), 0 10px 24px rgba(5, 43, 27, .06);
  --shadow-card: 0 1px 2px rgba(5, 43, 27, .06), 0 16px 38px rgba(5, 43, 27, .09);
  --shadow-lift: 0 2px 6px rgba(5, 43, 27, .08), 0 28px 56px rgba(5, 43, 27, .14);
  --shadow-cta:  0 6px 18px rgba(247, 179, 43, .34);

  /* One shared content width across the entire site */
  --container:     1200px;
  --gutter:        1.5rem;
  --header-top-h:  2.25rem;
  --header-main-h: 4.5rem;
  --header-h:      calc(var(--header-top-h) + var(--header-main-h));
}

/* Dark mode - same hierarchy, same single accent, same brand recognition */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:            #0C1410;
    --bg-card:       #14201A;
    --bg-sunk:       #101A15;
    --bg-panel:      #08110C;

    --slab-bg:       #EDF3EC;
    --slab-text:     #12211A;
    --slab-muted:    rgba(18, 33, 26, .74);
    --slab-border:   rgba(18, 33, 26, .18);

    --text:          #E8F2E9;
    --text-muted:    #A6BCAD;
    --text-dim:      #7E9687;
    --text-on-dark:  #E8F2E9;

    --border:        #24352B;
    --border-strong: #354B3D;
    --border-soft:   #1B2A22;
    --rule:          #E8F2E9;

    --brand-light:   #3BF082;
    --accent-soft:   #4A3A18;

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 24px rgba(0, 0, 0, .34);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .45), 0 16px 38px rgba(0, 0, 0, .4);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .5), 0 28px 56px rgba(0, 0, 0, .5);
  }
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0125rem;
  line-height: 1.68;
  color: var(--text);
  background-color: var(--bg);
  counter-reset: img-div;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
@media (prefers-color-scheme: dark) {
  a { color: var(--brand-light); }
  a:hover { color: #fff; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--text);
  margin: 0 0 .7rem;
  font-variation-settings: 'wdth' 100, 'opsz' 40;
}
h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
h4 { font-size: 1rem; }
p  { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #052B1B; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: #052B1B;
  padding: .65rem 1.1rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   3. SHARED CONTENT WIDTH
   Every bounded element shares the header's two vertical guide lines.
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec-ledger, .sec-stack, .sec-aside, .sec-slab, .sec-split, .sec-note, .sec-lead,
.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, .faq-list, .feature-check-list, .feature-check-list--plain,
.intro-block, .plain-card, .support-card, .sec-head {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. SECTION RHYTHM
   -------------------------------------------------------------------------- */
section { position: relative; }

/* 30px top + 30px bottom = a uniform 60px gap between every section. */
.section { padding-block: 30px; }
.section--tight { padding-block: 30px; }
.section--sunk { background: var(--bg-sunk); }

/* The eyebrow is rationed: at most one per three sections. */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: .9rem;
}
@media (prefers-color-scheme: dark) { .kicker { color: var(--brand-light); } }

/* Section head - a heavy rule above the heading is the recurring signature */
.sec-head { margin-bottom: 2rem; }
.sec-head h2 { margin-bottom: .8rem; }
.sec-head p { color: var(--text-muted); font-size: 1.06rem; max-width: 72ch; margin-bottom: 0; }
.sec-head--ruled { border-top: 3px solid var(--rule); padding-top: 1.5rem; }
.sec-head--wide h2 { font-variation-settings: 'wdth' 90, 'opsz' 60; }

.highlight {
  font-weight: 800;
  color: var(--brand-dark);
  position: relative;
  white-space: nowrap;
}
.highlight::after {
  content: '';
  position: absolute;
  left: -.05em; right: -.05em; bottom: .04em;
  height: .3em;
  background: var(--accent);
  opacity: .5;
  z-index: -1;
}
@media (prefers-color-scheme: dark) { .highlight { color: var(--accent); } }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.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;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .8, .3, 1), box-shadow .2s ease,
              background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-primary { background: var(--accent); color: #052B1B; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--accent-strong); color: #052B1B; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.98); }

.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { .btn-secondary:hover { color: var(--brand-light); } }
.btn-secondary:active { transform: translateY(0) scale(.98); }

.btn-ghost { background: transparent; color: var(--text-on-dark); border-color: rgba(234, 247, 236, .34); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--bg-panel); }

.header-top {
  background: #041F14;
  border-bottom: 1px solid rgba(234, 247, 236, .09);
  font-size: .75rem;
}
@media (prefers-color-scheme: dark) { .header-top { background: #050C08; } }
.header-top .container {
  min-height: var(--header-top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header-trust {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(234, 247, 236, .72); font-weight: 600; letter-spacing: .02em;
}
.trust-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.header-utility { display: flex; align-items: center; gap: 1.2rem; }
.header-utility a {
  color: rgba(234, 247, 236, .72); text-decoration: none;
  font-weight: 600; transition: color .2s ease;
}
.header-utility a:hover, .header-utility a.active { color: var(--accent); }

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

/* The supplied mark is a square app icon, so it is framed as an icon and
   paired with a wordmark rather than shown as a full-width logotype. */
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand-lockup img {
  height: 42px; width: 42px; object-fit: contain;
  border-radius: 11px; flex: none;
  transition: height .2s ease, width .2s ease;
}
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.02; }
.brand-wordmark .bw-name {
  font-family: var(--font-display);
  font-size: 1.22rem; font-weight: 700; color: #fff;
  letter-spacing: -.02em;
  font-variation-settings: 'wdth' 92, 'opsz' 24;
}
.brand-wordmark .bw-sub {
  font-size: .6rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent);
}

.primary-nav { position: relative; margin-left: auto; display: flex; align-items: center; gap: 1.3rem; }
.primary-nav a {
  position: relative; color: rgba(251, 241, 225, .84); text-decoration: none;
  font-size: .9rem; font-weight: 600; padding: .35rem 0; white-space: nowrap;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--accent-soft); }
.primary-nav .nav-cta { display: none; }
.primary-nav .nav-cta, .primary-nav .nav-cta:hover { color: #052B1B; }

.nav-indicator {
  position: absolute; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--accent); opacity: 0; pointer-events: none;
  transition: left .3s cubic-bezier(.4, 0, .2, 1), width .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}

.header-cta { flex: none; }
.header-cta .btn-primary { padding: .62rem 1.3rem; font-size: .87rem; }

.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(5, 43, 27, .26); }
.site-header.is-scrolled .header-main .container { min-height: 3.8rem; }
.site-header.is-scrolled .brand-lockup img { height: 36px; width: 36px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(234, 247, 236, .26);
  background: rgba(255, 255, 255, .06);
  border-radius: 11px; cursor: pointer; padding: 0; position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: var(--text-on-dark); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, -7px); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Sentinel for the scrolled state - replaces a scroll event listener */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* --------------------------------------------------------------------------
   7. HERO - asymmetric, type-led
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 60px;
  background: var(--bg-sunk);
  border-bottom: 3px solid var(--rule);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg-sunk) 30%, rgba(237, 242, 234, .74) 62%, rgba(237, 242, 234, .34));
}
@media (prefers-color-scheme: dark) {
  .hero-bg img { opacity: .26; }
  .hero-bg::after {
    background: linear-gradient(100deg, var(--bg-sunk) 30%, rgba(16, 26, 21, .78) 62%, rgba(16, 26, 21, .38));
  }
}

.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 1.05rem;
  font-variation-settings: 'wdth' 88, 'opsz' 72;
}
.hero-content .lead {
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 1.7rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero art - a stacked hand of cards, rotated */
.hero-art { position: relative; min-height: 330px; display: flex; align-items: center; justify-content: center; }
.hero-art-card {
  position: absolute;
  width: 132px; height: 188px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700;
  color: var(--brand-dark);
  transition: transform .4s cubic-bezier(.2, .8, .3, 1);
}
@media (prefers-color-scheme: dark) { .hero-art-card { color: var(--brand-light); } }
.hero-art-card::before, .hero-art-card::after {
  content: attr(data-corner);
  position: absolute;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 700; color: var(--accent-strong);
}
.hero-art-card::before { top: .5rem; left: .55rem; }
.hero-art-card::after  { bottom: .5rem; right: .55rem; transform: rotate(180deg); }
.hero-art-card--c1 { transform: rotate(-15deg) translate(-92px, 12px); }
.hero-art-card--c2 { transform: rotate(-2deg)  translate(0, -16px); z-index: 2; }
.hero-art-card--c3 { transform: rotate(14deg)  translate(92px, 16px); }
.hero-art:hover .hero-art-card--c1 { transform: rotate(-19deg) translate(-106px, 6px); }
.hero-art:hover .hero-art-card--c3 { transform: rotate(18deg)  translate(106px, 10px); }

.hero-art-chip {
  position: absolute; right: 2%; bottom: 4%; z-index: 3;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--accent); color: #052B1B;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(247, 179, 43, .4);
}
.hero-art-chip .num { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.hero-art-chip .lbl {
  font-size: .55rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-top: .3rem; max-width: 78px; line-height: 1.25;
}

/* Stat strip - a ruled band, not a row of cards */
.hero-bridge { background: var(--bg-panel); }
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(234, 247, 236, .14);
}
.hero-stat { background: var(--bg-panel); padding: 1.4rem 1.2rem; }
.hero-stat .stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: .35rem;
  font-variation-settings: 'wdth' 88, 'opsz' 48;
}
.hero-stat .stat-lbl {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(234, 247, 236, .62);
}

/* --------------------------------------------------------------------------
   8. SECTION FAMILY A - LEDGER (numbered editorial rows)
   -------------------------------------------------------------------------- */
.sec-ledger { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 3.5rem; counter-reset: ledger; }
.sec-ledger--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ledger-row {
  counter-increment: ledger;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
}
.ledger-row::before {
  content: counter(ledger, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: .02em;
  padding-top: .18rem;
}
.ledger-row h3 { margin-bottom: .45rem; }
.ledger-row p { color: var(--text-muted); font-size: .98rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. SECTION FAMILY B - STACK (large-type editorial, no chrome)
   -------------------------------------------------------------------------- */
.sec-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.sec-stack--one { grid-template-columns: minmax(0, 1fr); }
.stack-item h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: .7rem;
  font-variation-settings: 'wdth' 92, 'opsz' 36;
}
.stack-item h3::after {
  content: '';
  display: block;
  width: 34px; height: 3px;
  background: var(--accent);
  margin-top: .85rem;
}
.stack-item p { color: var(--text-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   10. SECTION FAMILY C - ASIDE (sticky heading column)
   -------------------------------------------------------------------------- */
.sec-aside { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.75rem, 4vw, 3.5rem); }
.aside-head { align-self: start; position: sticky; top: calc(var(--header-h) + 1.75rem); }
.aside-head h2 { margin-bottom: .85rem; font-variation-settings: 'wdth' 88, 'opsz' 56; }
.aside-head p { color: var(--text-muted); margin-bottom: 0; }
.aside-body { display: grid; gap: 0; }
.aside-item { padding-block: 1.4rem; border-top: 1px solid var(--border); }
.aside-item:first-child { border-top: 3px solid var(--rule); }
.aside-item h3 { margin-bottom: .45rem; }
.aside-item p { color: var(--text-muted); font-size: .98rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. SECTION FAMILY D - SLAB (contained dark block, once per page)
   -------------------------------------------------------------------------- */
.sec-slab {
  background: var(--slab-bg);
  color: var(--slab-text);
  border-radius: var(--r-xl);
  padding: clamp(1.9rem, 4vw, 3.25rem);
}
.sec-slab .sec-head { margin-bottom: 1.9rem; }
.sec-slab .sec-head h2 { color: var(--slab-text); }
.sec-slab .sec-head p { color: var(--slab-muted); }
.sec-slab .sec-head--ruled { border-top-color: var(--accent); }
.sec-slab .kicker { color: var(--accent); }
.slab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.slab-item { padding-block: 1.35rem; border-top: 1px solid var(--slab-border); }
.slab-item h3 { color: var(--slab-text); margin-bottom: .45rem; }
.slab-item p { color: var(--slab-muted); font-size: .97rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. SECTION FAMILY E - SPLIT (one promoted item + compact remainder)
   -------------------------------------------------------------------------- */
.sec-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.split-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--card-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
}
.split-feature h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: .75rem; }
.split-feature p { color: var(--text-muted); margin-bottom: 0; }
.split-rest { display: grid; gap: 0; }
.split-rest .aside-item:first-child { border-top: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   13. SECTION FAMILY F - GRID (cards; column count follows item count)
   -------------------------------------------------------------------------- */
.floor-grid { display: grid; gap: 1.15rem; }
.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 {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1.4rem;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.floor-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.floor-tile h3 { margin-bottom: .55rem; }
.floor-tile p { color: var(--text-muted); font-size: .96rem; margin-bottom: .8rem; }
.floor-tile p:last-child { margin-bottom: 0; }

/* Rich variant - sub-cards and bold dividers (kept for list-bearing sources) */
.floor-grid--rich { grid-template-columns: minmax(0, 1fr); }
.floor-grid--rich .floor-tile { padding: 2.2rem; }
.floor-grid--rich .floor-tile h4 {
  margin: 1.8rem 0 1rem;
  padding-top: 1.1rem;
  border-top: 2px solid var(--brand);
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand-dark);
}
@media (prefers-color-scheme: dark) { .floor-grid--rich .floor-tile h4 { color: var(--brand-light); } }
.floor-grid--rich .floor-tile ul, .floor-grid--rich .floor-tile ol {
  list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .65rem;
}
.floor-grid--rich .floor-tile li {
  position: relative;
  background: var(--bg-sunk);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .95rem 1.1rem .95rem 1.4rem;
  font-size: .95rem; color: var(--text-muted); overflow: hidden;
}
.floor-grid--rich .floor-tile li::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}

/* --------------------------------------------------------------------------
   14. SECTION FAMILY G - NOTE (paragraphs-only section)
   -------------------------------------------------------------------------- */
.sec-note { border-top: 3px solid var(--rule); padding-top: 1.75rem; }
.sec-note h2 { margin-bottom: 1rem; max-width: 24ch; }
.sec-note-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3.5rem; }
.sec-note-body--one { grid-template-columns: minmax(0, 1fr); }
.sec-note-body p { color: var(--text-muted); font-size: 1.04rem; }


/* --------------------------------------------------------------------------
   14b. SECTION FAMILY H - LEAD (narrow heading column, oversized lede)
   -------------------------------------------------------------------------- */
.sec-lead {
  display: grid;
  grid-template-columns: minmax(0, .36fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  border-top: 3px solid var(--rule);
  padding-top: 1.75rem;
}
.sec-lead-head h2 { font-size: clamp(1.45rem, 2.3vw, 2.05rem); margin-bottom: 0; }
.sec-lead-body p { color: var(--text-muted); }
.sec-lead-body p:first-child {
  font-size: clamp(1.12rem, 1.55vw, 1.32rem);
  line-height: 1.5;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   15. HOMEPAGE COMPOSITES
   -------------------------------------------------------------------------- */
.intro-block { border-top: 3px solid var(--rule); padding-top: 1.6rem; }
.intro-block p { color: var(--text-muted); font-size: 1.08rem; }

/* Bento - 4 columns, two wide cells, mixed backgrounds */
.bento-floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.bento-tile {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.6rem 1.5rem;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s ease, border-color .25s ease;
}
.bento-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
.bento-tile h3 { margin-bottom: .55rem; }
.bento-tile p { color: var(--text-muted); font-size: .96rem; margin-bottom: .85rem; }
.bento-tile--wide { grid-column: span 2; }
.bento-tile--wide h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
/* Visual variation across cells, not six identical white boxes */
.bento-tile--ink { background: var(--slab-bg); border-color: var(--slab-border); }
.bento-tile--ink h3 { color: var(--slab-text); }
.bento-tile--ink p { color: var(--slab-muted); }
.bento-tile--ink .tile-chip { color: var(--accent); background: rgba(247, 179, 43, .14); border-color: rgba(247, 179, 43, .3); }
.bento-tile--ink .tile-link { color: var(--accent); }
.bento-tile--gold { background: var(--accent-soft); border-color: rgba(247, 179, 43, .4); }
.bento-tile--media { padding: 0; min-height: 210px; }
.bento-tile--media img { width: 100%; height: 100%; object-fit: cover; }

.tile-chip {
  display: inline-block; align-self: flex-start;
  font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(14, 143, 70, .1);
  border: 1px solid rgba(14, 143, 70, .22);
  padding: .28rem .65rem; border-radius: var(--r-pill);
  margin-bottom: .85rem;
}
@media (prefers-color-scheme: dark) { .tile-chip { color: var(--brand-light); } }
.tile-link {
  align-self: flex-start; margin-top: auto; padding-top: .5rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .85rem; font-weight: 700; color: var(--brand-dark); text-decoration: none;
}
@media (prefers-color-scheme: dark) { .tile-link { color: var(--brand-light); } }
.tile-link::after { content: '→'; transition: transform .2s ease; }
.tile-link:hover::after { transform: translateX(4px); }

/* Security row - ruled columns, no card boxes */
.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.security-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.security-tile { border-top: 3px solid var(--rule); padding-top: 1.25rem; }
.security-tile .deco {
  width: 40px; height: 40px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--accent); color: #052B1B;
  border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.security-tile h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.security-tile p { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

/* Rewards bento */
.rewards-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.rewards-tile {
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.6rem 1.5rem;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s ease;
}
.rewards-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.rewards-tile h3 { margin-bottom: .55rem; }
.rewards-tile p { color: var(--text-muted); font-size: .96rem; margin-bottom: .85rem; }
.rewards-tile--feature {
  grid-column: span 1; grid-row: span 2;
  background: var(--accent-soft); border-color: rgba(247, 179, 43, .42);
}
.rewards-tile--feature h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.rewards-tile--half { grid-column: span 2; }
.rewards-tile--span { grid-column: 1 / -1; background: var(--slab-bg); border-color: var(--slab-border); }
.rewards-tile--span h3 { color: var(--slab-text); }
.rewards-tile--span p { color: var(--slab-muted); }
.rewards-tile--span .tile-chip { color: var(--accent); background: rgba(247, 179, 43, .14); border-color: rgba(247, 179, 43, .32); }

/* Split layout with media */
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
.split-layout--solo { grid-template-columns: minmax(0, 1fr); }
.split-copy { border-top: 3px solid var(--rule); padding-top: 1.6rem; }
.split-copy h3 { margin-top: 1.6rem; }
.split-copy p { color: var(--text-muted); }
.split-media {
  position: relative; align-self: center; aspect-ratio: 4 / 3;
  border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   16. FEATURE CHECK LIST
   -------------------------------------------------------------------------- */
.feature-check-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
}
.feature-check-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 2.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: .99rem;
}
.feature-check-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 1.2rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #052B1B;
  font-size: .72rem; font-weight: 900;
  display: grid; place-items: center;
}
.feature-check-list li strong { color: var(--text); }

/* Check list inside the dark slab inherits the slab's palette */
.slab-list li { border-top-color: var(--slab-border); color: var(--slab-muted); }
.slab-list li strong { color: var(--slab-text); }
.slab-list li:first-child { border-top: 0; }

/* --------------------------------------------------------------------------
   17. IMAGE DIVIDER - contained editorial figure, never full-bleed
   -------------------------------------------------------------------------- */
.image-divider {
  counter-increment: img-div;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.3rem, 3vw, 2.4rem);
  align-items: center;
}
.image-divider--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.image-divider--flip figure { order: 2; }
.image-divider figure {
  margin: 0; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3; background: var(--bg-sunk);
}
.image-divider figure img { width: 100%; height: 100%; object-fit: cover; }
.image-divider .divider-aside { position: relative; }
.image-divider .divider-aside::before {
  content: counter(img-div, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.75rem);
  font-weight: 700; line-height: .85;
  color: var(--accent);
  margin-bottom: .7rem;
  font-variation-settings: 'wdth' 85, 'opsz' 72;
}
.image-divider .divider-kicker {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .5rem;
}
.image-divider h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 0; border-top: 3px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.faq-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); position: relative;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: #052B1B; border-radius: 2px; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px; height: 10px; transition: opacity .25s ease; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-answer { padding: 0 0 1.35rem; max-width: 84ch; }
.faq-answer p { color: var(--text-muted); font-size: .99rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(2rem, 4vw, 3.25rem) 30px;
  background: var(--bg-sunk);
  border-bottom: 3px solid var(--rule);
}
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 2rem; align-items: end; }
.page-hero-main { grid-column: 1; }
.breadcrumb { font-size: .8rem; color: var(--text-dim); margin-bottom: 1rem; }
.breadcrumb a { color: var(--brand-dark); text-decoration: none; font-weight: 600; }
@media (prefers-color-scheme: dark) { .breadcrumb a { color: var(--brand-light); } }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin-inline: .4rem; color: var(--border-strong); }
.page-hero h1 { margin-bottom: .9rem; font-variation-settings: 'wdth' 88, 'opsz' 64; }
.page-hero .page-sub { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--text-muted); max-width: 68ch; margin-bottom: 0; }
.page-meta {
  grid-column: 2; justify-self: end; text-align: right;
  font-size: .78rem; color: var(--text-dim); margin-bottom: 0;
}
.page-meta-author { display: block; font-weight: 700; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { margin-top: 60px; background: var(--bg-panel); color: var(--text-on-dark); padding-bottom: 1.5rem; }

.footer-cta-wrap { transform: translateY(-2.75rem); margin-bottom: -1.5rem; }
.footer-cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(1.9rem, 3.5vw, 2.9rem);
  background: var(--accent); color: #052B1B;
  box-shadow: 0 20px 50px rgba(5, 43, 27, .3);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.footer-cta h2 { color: #052B1B; margin-bottom: .35rem; font-variation-settings: 'wdth' 88, 'opsz' 48; }
.footer-cta p { color: rgba(5, 43, 27, .8); margin-bottom: 0; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-cta-actions .btn-primary { background: #052B1B; color: var(--accent); box-shadow: none; }
.footer-cta-actions .btn-primary:hover { background: #041F14; color: #fff; }
.footer-cta-actions .btn-secondary { color: #052B1B; border-color: rgba(5, 43, 27, .38); }
.footer-cta-actions .btn-secondary:hover { background: rgba(5, 43, 27, .1); border-color: #052B1B; color: #052B1B; }

.footer-linkmap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.2rem; padding-block: 1rem 2.5rem; }
.footer-brand .brand-lockup { margin-bottom: 1rem; }
.footer-brand p { color: rgba(234, 247, 236, .66); font-size: .92rem; }
.pay-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.pay-pills span {
  font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(234, 247, 236, .78);
  border: 1px solid rgba(234, 247, 236, .2);
  padding: .28rem .6rem; border-radius: var(--r-sm);
}
.footer-col h3 {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a {
  color: rgba(234, 247, 236, .7); text-decoration: none; font-size: .91rem;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }

.footer-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-block: 1.35rem; border-top: 1px solid rgba(234, 247, 236, .12); }
.footer-trust span {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(234, 247, 236, .62);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center;
  padding-top: 1.25rem; border-top: 1px solid rgba(234, 247, 236, .12);
  font-size: .79rem; color: rgba(234, 247, 236, .52);
}

/* --------------------------------------------------------------------------
   21. 404
   -------------------------------------------------------------------------- */
.err-404 { padding-block: clamp(2.5rem, 7vw, 5rem); }
.err-404 .glyph {
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 17rem);
  font-weight: 800; line-height: .82; color: var(--accent);
  font-variation-settings: 'wdth' 82, 'opsz' 96;
  margin-bottom: 1rem;
}
.err-404 p { color: var(--text-muted); max-width: 56ch; }
.err-404 .hero-actions { margin-top: 1.6rem; }

/* --------------------------------------------------------------------------
   22. MOTION - staggered reveal, hierarchy-driven
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .primary-nav { gap: .95rem; }
  .primary-nav a { font-size: .85rem; }
  .footer-linkmap { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-art-card { width: 114px; height: 162px; font-size: 2.7rem; }
  .hero-art-card--c1 { transform: rotate(-15deg) translate(-76px, 12px); }
  .hero-art-card--c3 { transform: rotate(14deg)  translate(76px, 16px); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .nav-indicator { display: none; }

  .primary-nav {
    position: fixed; inset: 0; margin: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
    background: rgba(5, 43, 27, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-100%);
    transition: transform .36s cubic-bezier(.4, 0, .2, 1);
    z-index: 190;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav a { font-size: 1.28rem; font-family: var(--font-display); }
  .primary-nav .nav-cta { display: inline-flex; margin-top: .5rem; }
  body.nav-open { overflow: hidden; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 290px; order: -1; }
  .hero-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-hero .container { grid-template-columns: minmax(0, 1fr); }
  .page-meta { grid-column: 1; justify-self: start; text-align: left; }

  .sec-ledger--two { grid-template-columns: minmax(0, 1fr); }
  .sec-stack { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sec-aside { grid-template-columns: minmax(0, 1fr); }
  .aside-head { position: static; }
  .slab-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sec-split { grid-template-columns: minmax(0, 1fr); }
  .sec-note-body { grid-template-columns: minmax(0, 1fr); }
  .sec-lead { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }

  .floor-grid--cols-3, .floor-grid--cols-4,
  .bento-floor, .security-grid, .security-grid--3, .rewards-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-tile--wide { grid-column: span 2; }
  .rewards-tile--feature { grid-column: span 2; grid-row: span 1; }
  .rewards-tile--half { grid-column: span 2; }

  .split-layout { grid-template-columns: minmax(0, 1fr); }
  .image-divider, .image-divider--flip { grid-template-columns: minmax(0, 1fr); }
  .image-divider .divider-aside { order: -1; }
  .image-divider--flip figure { order: 0; }
}

@media (max-width: 700px) {
  .header-top .container { justify-content: center; }
  .header-utility { display: none; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-linkmap { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 1.15rem; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4,
  .bento-floor, .security-grid, .security-grid--3, .rewards-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-tile--wide, .rewards-tile--feature, .rewards-tile--half, .rewards-tile--span { grid-column: span 1; }
  .hero-stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { min-height: 240px; }
  .hero-art-card { width: 94px; height: 134px; font-size: 2.1rem; }
  .hero-art-card--c1 { transform: rotate(-15deg) translate(-60px, 10px); }
  .hero-art-card--c3 { transform: rotate(14deg)  translate(60px, 14px); }
  .hero-art-chip { width: 84px; height: 84px; right: 0; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
  .ledger-row { grid-template-columns: 2.4rem minmax(0, 1fr); gap: .9rem; }
}

@media (max-width: 480px) {
  body { font-size: .98rem; }
  .footer-linkmap { grid-template-columns: 1fr; }
  .floor-tile, .bento-tile, .rewards-tile { padding: 1.35rem 1.2rem; }
}
