/* ==========================================================================
   PK Casino Games — "Night Ledger" design system (v2, see DESIGN.md)
   Midnight felt canvas, hairline rules, mono numbers, one jade accent.
   Single shared content spine: every bounded element aligns to
   var(--container) = 1200px with 1.5rem inline padding.
   ========================================================================== */

:root {
  /* Colors */
  --canvas:      #0F1512;
  --panel:       #161E1A;
  --panel-2:     #1C2721;
  --ink:         #ECF2EE;
  --muted:       #A9B8AF;
  --dim:         #7B8B81;
  --line:        rgba(169,184,175,.16);
  --line-strong: rgba(169,184,175,.34);
  --accent:      #53D08E;
  --accent-hi:   #6ADCA0;
  --accent-ink:  #0A140E;
  --accent-tint: rgba(83,208,142,.12);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;

  /* Layout */
  --container: 1200px;
  --header-bar-h: 4.25rem;
  --header-strip-h: 1.9rem;
  --header-h: calc(var(--header-bar-h) + var(--header-strip-h));
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  counter-reset: sec img-div;
  overflow-x: hidden;
}
/* Fine grain, fixed pseudo-element only (perf) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: var(--ink);
  margin: 0 0 .55em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.14rem; font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: .95rem; }
p, ul, ol { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-color: rgba(83,208,142,.4); transition: color .18s ease; }
a:hover { color: var(--accent-hi); }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 200;
  transform: translateY(-150%);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
  padding: .55rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { transform: none; }

/* The one shared spine */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: clamp(2.6rem, 6.5vw, 4.5rem); position: relative; z-index: 2; }
main { position: relative; z-index: 2; }

/* Mono label utility */
.kicker {
  display: inline-flex; align-items: baseline; gap: .6rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
}

/* Indexed, left-anchored section headers on a full-width rule */
.section-head {
  counter-increment: sec;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.1rem;
  margin-bottom: 2.1rem;
  text-align: start;
}
.section-head .kicker::before {
  content: counter(sec, decimal-leading-zero);
  color: var(--accent); letter-spacing: .1em;
}
.section-head h2 { max-width: 30ch; margin: .5rem 0 0; }
.section-sub { color: var(--muted); max-width: 70ch; margin: .55rem 0 0; }
.section-sub + .section-sub { margin-top: .55rem; }
.section-note {
  font-family: var(--font-mono); font-size: .82rem; color: var(--dim);
  border-top: 1px solid var(--line); padding-top: 1rem; margin: 2rem 0 0;
  max-width: none; text-align: start;
}

/* --------------------------------------------------------------------------
   Buttons — flat, tactile, mono labels
   -------------------------------------------------------------------------- */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .55rem 1.5rem;
  border-radius: var(--r-sm);
  font-family: var(--font-mono); font-weight: 600; font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-tint); color: var(--ink); }
.btn-ghost { border-color: rgba(10,20,14,.55); color: var(--accent-ink); background: transparent; }
.btn-ghost:hover { background: rgba(10,20,14,.12); color: var(--accent-ink); }
.btn-primary:active, .btn-secondary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-header { min-height: 40px; padding: .4rem 1.15rem; font-size: .76rem; }

/* --------------------------------------------------------------------------
   Header — single bar + mono status strip
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,21,18,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-bar-h);
  transition: height .22s var(--ease-spring);
}
.site-header.is-scrolled .header-bar { height: 3.5rem; }
.brand-mark { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-mark img { height: 40px; width: auto; object-fit: contain; }
.site-header.is-scrolled .brand-mark img { height: 34px; }

.primary-nav { position: relative; display: flex; gap: 1.5rem; margin-inline: auto; }
.primary-nav a {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: .5rem 0; white-space: nowrap;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a.active { color: var(--accent); }
.nav-indicator {
  position: absolute; bottom: 0; height: 2px;
  background: var(--accent); opacity: 0;
  transition: left .26s var(--ease-spring), width .26s var(--ease-spring), opacity .18s;
}
.header-actions { display: flex; align-items: center; gap: .9rem; margin-inline-start: auto; }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  transition: transform .28s var(--ease-spring), opacity .18s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.status-strip { border-top: 1px solid var(--line); height: var(--header-strip-h); overflow: hidden; }
.status-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.trust-line { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.live-dot {
  width: 7px; height: 7px; background: var(--accent); border-radius: 1px;
  animation: blink 2.2s var(--ease-spring) infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.utility-nav { display: flex; gap: 1.3rem; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.utility-nav::-webkit-scrollbar { display: none; }
.utility-nav a { color: var(--dim); text-decoration: none; }
.utility-nav a:hover, .utility-nav a.active { color: var(--accent); }

/* --------------------------------------------------------------------------
   Hero — split ledger: headline left, table board right
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.2rem, 5vw, 3.5rem); position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem;
}
.hero-eyebrow .suits { color: var(--accent); letter-spacing: .35em; }
.hero h1 { margin-bottom: .6em; }
.accent-word { color: var(--accent); }
.hero .lead { color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-footnote {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em;
  color: var(--dim); border-top: 1px solid var(--line); padding-top: .9rem; margin: 1.8rem 0 0;
  text-transform: uppercase;
}
.hero-footnote strong { color: var(--muted); font-weight: 600; }

.hero-board {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.board-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
  padding: .7rem 1.2rem;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.board-rows { margin: 0; padding: .4rem 1.2rem; }
.board-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: .85rem;
}
.board-row + .board-row { border-top: 1px solid var(--line); }
.board-row dt {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.board-row dd {
  margin: 0; font-family: var(--font-mono); font-weight: 600;
  font-size: 1.02rem; color: var(--ink); text-align: end;
}
.board-row dd .u { color: var(--dim); font-size: .72rem; font-weight: 400; }
.board-row--hi dd { color: var(--accent); }
.board-foot {
  border-top: 1px solid var(--line); padding: .7rem 1.2rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dim);
}
.board-foot .suits { color: var(--accent); letter-spacing: .3em; }

/* Figure treatment — technical-journal captions */
.fig { margin: 0; }
.fig img { width: 100%; border: 1px solid var(--line); border-radius: var(--r-md) var(--r-md) 0 0; object-fit: cover; }
.fig .fig-bar {
  display: block; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--panel);
  padding: .55rem 1rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.fig .fig-bar em { color: var(--accent); font-style: normal; }
.hero-fig { margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.hero-fig img { aspect-ratio: 21 / 7; }

/* --------------------------------------------------------------------------
   Inner page hero — flat ledger opener
   -------------------------------------------------------------------------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  background: linear-gradient(180deg, var(--panel) 0%, var(--canvas) 100%);
}
.breadcrumb {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin-inline: .55rem; color: var(--accent); }
.page-hero h1 { max-width: 28ch; }
.page-hero .page-sub { color: var(--muted); font-size: 1.04rem; max-width: 68ch; margin-bottom: 0; }
.page-meta {
  display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; align-items: baseline;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim);
  border-top: 1px solid var(--line); padding-top: .9rem; margin: 1.6rem 0 0;
}
.page-meta .page-meta-author { color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   Panels & grids
   -------------------------------------------------------------------------- */
.tile, .plain-card, .support-card, .bento-cell, .security-cell, .rewards-cell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease-spring);
}
.tile:hover, .bento-cell:hover, .security-cell:hover, .rewards-cell:hover {
  border-color: var(--line-strong); background: var(--panel-2); transform: translateY(-1px);
}

.tile { padding: 1.7rem 1.6rem 1.5rem; }
.tile h3 { margin-bottom: .5rem; }
.tile p { color: var(--muted); }
.tile p:last-child, .tile ul:last-child { margin-bottom: 0; }
.tile ul { padding-inline-start: 1.1rem; color: var(--muted); }
.tile li { margin-bottom: .3rem; }
.tile li::marker { color: var(--accent); }

.floor-grid { display: grid; gap: 1.1rem; width: 100%; }
.floor-grid--cols-1 { grid-template-columns: 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)); }
.tile--intro { grid-column: 1 / -1; }

/* Rich tiles (R4b): mono h4 kickers + numbered ledger rows instead of sub-cards */
.floor-grid--rich { grid-template-columns: 1fr; }
.floor-grid--rich .tile { padding: 2.1rem 2.2rem; }
.floor-grid--rich .tile h3 { font-size: 1.3rem; font-weight: 700; }
.floor-grid--rich .tile h4 {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--line-strong); padding-top: .85rem; margin: 1.5rem 0 .6rem;
}
.floor-grid--rich .tile ul, .floor-grid--rich .tile ol,
.subcard-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
  counter-reset: row;
  border-top: 1px solid var(--line);
}
.floor-grid--rich .tile li,
.subcard-list li {
  counter-increment: row;
  position: relative; margin: 0;
  border-bottom: 1px solid var(--line);
  padding: .65rem 0 .65rem 3.1rem;
  color: var(--muted);
}
.floor-grid--rich .tile li::before,
.subcard-list li::before {
  content: counter(row, decimal-leading-zero);
  position: absolute; inset-inline-start: .15rem; top: .78rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  color: var(--accent); letter-spacing: .08em;
}
.subcard-list--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.2rem; }

/* Plain editorial panel */
.plain-card { padding: 2.2rem 2.4rem; width: 100%; text-align: start; }
.plain-card p { color: var(--muted); }
.plain-card p:last-child { margin-bottom: 0; }
.intro-block .plain-card { border-inline-start: 2px solid var(--accent); }
.intro-block p { font-size: 1.03rem; }

/* Split layout */
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; width: 100%; }
.split-layout.split-layout--flip .split-media { order: 2; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.split-copy .section-head { margin-bottom: 1.2rem; }
.split-copy p { color: var(--muted); }
.split-copy h3 { margin-top: 1.4rem; }

/* Feature check-list — jade tick ledger */
.feature-check-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-inline-start: 2px solid var(--accent);
  border-radius: var(--r-md);
  padding: 1.9rem 2.1rem;
  width: 100%;
}
.feature-check-list p { color: var(--muted); }
.feature-check-list p:last-child { margin-bottom: 0; }
.feature-check-list ul {
  list-style: none; padding: 0; margin: 0 0 1rem;
  border-top: 1px solid var(--line);
}
.feature-check-list li {
  position: relative; border-bottom: 1px solid var(--line);
  padding: .7rem 0 .7rem 2.4rem; color: var(--ink);
}
.feature-check-list li::before {
  content: "\2713";
  position: absolute; inset-inline-start: .1rem; top: .72rem;
  font-family: var(--font-mono); font-weight: 600; font-size: .85rem;
  color: var(--accent);
}
.feature-check-list--plain { margin: 0 auto; }

/* Image divider (R5b) — journal figure + indexed aside */
.image-divider {
  counter-increment: img-div;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.1rem; align-items: stretch;
  width: 100%; margin: 0 auto; padding-block: .6rem;
}
.image-divider-media img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.image-divider-aside {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem 1.6rem;
  overflow: hidden;
}
.image-divider-aside::before {
  content: "FIG." counter(img-div, decimal-leading-zero);
  position: absolute; top: 1.1rem; inset-inline-start: 1.6rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; color: var(--accent);
}
.image-divider-aside .kicker { margin-bottom: .45rem; }
.image-divider-aside h3 { margin-bottom: 0; font-size: 1.1rem; }

/* Ledger table */
.table-card { width: 100%; margin: 0 auto; }
.table-card > h3 {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
  margin-bottom: .8rem;
}
.table-scroll {
  overflow-x: auto; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.content-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.content-table th {
  background: var(--panel-2);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  text-align: start; padding: .85rem 1.1rem; white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}
.content-table td {
  font-family: var(--font-mono); font-size: .85rem;
  padding: .8rem 1.1rem; border-top: 1px solid var(--line); color: var(--muted);
}
.content-table tr:first-child td { border-top: 0; }
.content-table td:first-child { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Homepage bespoke boards
   -------------------------------------------------------------------------- */
.bento-floor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; width: 100%; }
.bento-cell { padding: 1.8rem 1.7rem 1.6rem; }
.bento-cell p { color: var(--muted); }
.bento-cell p:last-child { margin-bottom: 0; }
.bento-cell ul { padding-inline-start: 1.1rem; color: var(--muted); margin-bottom: 0; }
.bento-cell li::marker { color: var(--accent); }
.bento-cell h3 a { color: var(--ink); text-decoration: none; }
.bento-cell h3 a:hover { color: var(--accent); }
.cell-suit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--accent); font-size: .95rem; background: var(--canvas);
}
.cell-suit--warm, .cell-suit--gold { color: var(--accent); }

.security-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; width: 100%; }
.security-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.security-cell { padding: 1.6rem 1.5rem; text-align: start; }
.security-cell h3 { font-size: 1rem; }
.security-cell p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.security-cell .deco {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-bottom: 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--accent); font-family: var(--font-mono); font-size: .9rem;
  background: var(--canvas);
}
.security-cell:nth-child(4n+1) .deco::before { content: "\2660"; }
.security-cell:nth-child(4n+2) .deco::before { content: "\2665"; }
.security-cell:nth-child(4n+3) .deco::before { content: "\2666"; }
.security-cell:nth-child(4n+4) .deco::before { content: "\2663"; }

.rewards-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; width: 100%; }
.rewards-cell { padding: 1.9rem 1.8rem 1.7rem; }
.rewards-cell--span { grid-column: 1 / -1; }
.rewards-cell--feature { border-top: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-tint), var(--panel) 32%); }
.rewards-cell p { color: var(--muted); }
.rewards-cell p:last-child { margin-bottom: 0; }
.rewards-cell ul { padding-inline-start: 1.1rem; color: var(--muted); margin-bottom: 1em; }
.rewards-cell li::marker { color: var(--accent); }

.mini-kicker {
  display: block; font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .7rem;
}

.support-card { padding: 2.3rem 2.4rem; width: 100%; border-inline-start: 2px solid var(--accent); text-align: start; }
.support-card .support-inner { max-width: none; }
.support-card h2 { margin-top: .5rem; }
.support-card p { color: var(--muted); }
.support-card .kicker { color: var(--dim); }
.support-card .hero-actions { justify-content: flex-start; margin-top: 1.4rem; }
.support-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem; margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.5rem;
}
.support-points h3 { font-size: 1rem; margin-bottom: .3rem; }
.support-points p { margin-bottom: 0; font-size: .93rem; }

/* --------------------------------------------------------------------------
   FAQ — hairline rows, mono Q-index, jade plus
   -------------------------------------------------------------------------- */
.faq-list { width: 100%; margin: 0 auto; border-top: 1px solid var(--line-strong); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.05rem .2rem; cursor: pointer; list-style: none;
  font-weight: 500; color: var(--ink); font-size: 1.02rem;
  transition: color .18s ease;
}
.faq-item summary:hover { color: var(--accent-hi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: baseline; gap: .9rem; }
.faq-q::before {
  content: "Q." counter(faq, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; color: var(--accent); flex-shrink: 0;
}
.faq-icon {
  position: relative; flex-shrink: 0; width: 22px; height: 22px;
  transition: transform .26s var(--ease-spring);
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); }
.faq-icon::before { top: 50%; left: 3px; right: 3px; height: 2px; margin-top: -1px; }
.faq-icon::after { left: 50%; top: 3px; bottom: 3px; width: 2px; margin-left: -1px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 .2rem 1.25rem 2.9rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band + ledger footer
   -------------------------------------------------------------------------- */
.cta-band-wrap { padding-block: clamp(2.2rem, 5vw, 3.6rem) 0; }
.cta-band {
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--r-md);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 1.6rem; align-items: center;
  padding: 2.2rem 2.4rem;
}
.cta-band .kicker { color: rgba(10,20,14,.62); }
.cta-band h2 { color: var(--accent-ink); margin: .45rem 0 .35rem; }
.cta-band p { color: rgba(10,20,14,.78); margin-bottom: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
.cta-band-actions .btn-primary { background: var(--accent-ink); color: var(--accent); }
.cta-band-actions .btn-primary:hover { background: #12241A; color: var(--accent-hi); }

.site-footer { margin-top: clamp(2.6rem, 6vw, 4.5rem); border-top: 1px solid var(--line-strong); position: relative; z-index: 2; }
.footer-word {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .5em; text-transform: uppercase; color: var(--dim);
  padding-block: 1.1rem; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; overflow: hidden; white-space: nowrap;
}
.footer-word .suits { color: var(--accent); letter-spacing: .5em; flex-shrink: 0; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.4rem; padding-block: 2.6rem;
}
.footer-logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-tagline { font-size: .93rem; color: var(--muted); max-width: 34ch; }
.pay-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-pills span {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 3px;
  border: 1px solid var(--line); color: var(--dim); background: var(--panel);
}
.footer-col h3 {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 1rem;
}
.footer-col h3::before { content: "\2666\0020"; color: var(--accent); }
.footer-col a {
  display: block; color: var(--muted); text-decoration: none;
  padding-block: .28rem; font-size: .95rem;
}
.footer-col a:hover { color: var(--accent); }
.trust-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid var(--line); padding-block: 1.3rem;
}
.trust-pills span {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 3px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  border-top: 1px solid var(--line); padding-block: 1.2rem 1.6rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; color: var(--dim);
}
.footer-bottom p { margin: 0; }
.rg-note { font-style: normal; }
.rg-note em { font-style: normal; color: var(--dim); }

/* --------------------------------------------------------------------------
   404 — outlined ledger glyph
   -------------------------------------------------------------------------- */
.err-404 { text-align: start; padding-block: clamp(3rem, 8vw, 5.5rem); }
.err-404-glyph {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(6rem, 18vw, 15rem); line-height: 1; margin: 0 0 1rem;
  color: transparent; -webkit-text-stroke: 2px var(--line-strong);
}
.err-404 .lead { color: var(--muted); max-width: 52ch; }
.err-404 .hero-actions { justify-content: flex-start; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease-spring), transform .55s var(--ease-spring); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .live-dot { animation: none; }
}

/* --------------------------------------------------------------------------
   RTL (Punjabi mirror) — logical properties do most of the work
   -------------------------------------------------------------------------- */
[dir="rtl"] .board-row dd { text-align: start; }
[dir="rtl"] .faq-answer { padding: 0 2.9rem 1.25rem .2rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .primary-nav { gap: 1.05rem; }
  .primary-nav a { font-size: .68rem; }
}

@media (max-width: 900px) {
  .floor-grid--cols-3, .floor-grid--cols-4, .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout.split-layout--flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }

  .nav-burger { display: flex; }
  .btn-header { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 2.2rem 1.5rem; gap: .2rem;
    background: rgba(15,21,18,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
    margin-inline: 0;
  }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; }
  .primary-nav a {
    width: 100%; font-size: 1rem; padding: .85rem .2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-indicator { display: none; }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 700px) {
  .plain-card { padding: 1.6rem 1.3rem; }
  .floor-grid--rich .tile { padding: 1.5rem 1.3rem; }
  .support-card { padding: 1.7rem 1.4rem; }
  .image-divider { grid-template-columns: 1fr; }
  .image-divider-media img { aspect-ratio: 16 / 9; }
  .status-inner { justify-content: center; }
  .utility-nav { display: none; }
  .subcard-list--2col { grid-template-columns: 1fr; }
  .hero-fig img { aspect-ratio: 16 / 9; }
  .footer-word { letter-spacing: .3em; }
}

@media (max-width: 560px) {
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4,
  .security-grid, .bento-floor, .rewards-bento, .support-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .board-row { flex-direction: column; gap: .15rem; align-items: flex-start; }
  .board-row dd { text-align: start; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1.1rem; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
}
