/* ═══════════════════════════════════════════════════════════════
   VPAY GENESIS WHITEPAPER · institutional document register
   2026-05-26 · extracted from inline <style> for CSP compliance
   ═══════════════════════════════════════════════════════════ */

body { background: #FAFAF7; color: #111; }

html { scroll-padding-top: 96px; }
body { padding-top: 0; }

.wp-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 120px 28px 96px;
}

/* ── Nav opaque on body-light register · fix content-bleed-through overlap ── */
.body-light header.nav {
  background: rgba(250, 247, 240, 0.92) !important;
  backdrop-filter: saturate(180%) blur(12px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(12px) !important;
  border-bottom: 1px solid rgba(200,168,78,0.25) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}
.body-light header.nav .nav-row {
  background: transparent !important;
}
.body-light header.nav .brand-name,
.body-light header.nav .brand-product { color: #0F1B2D !important; }
.body-light header.nav .brand-divider,
.body-light header.nav .brand-tagline { color: #888 !important; }
.body-light header.nav .nav-group-label { color: #333 !important; }
.body-light header.nav .nav-group-label.active { color: #C8A84E !important; }
.body-light header.nav .nav-cta {
  background: #0F1B2D !important;
  color: #F5F0E8 !important;
}

/* ── HEADER + METADATA ── */
.wp-header {
  text-align: center;
  padding-bottom: 36px;
  margin-bottom: 48px;
  border-bottom: 1px solid #E0DCCF;
}
.wp-header .wp-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C8A84E;
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid rgba(200,168,78,0.40);
  border-radius: 4px;
  background: rgba(200,168,78,0.06);
}
.wp-header h1 {
  font-family: Georgia, 'Source Serif Pro', serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: #0F1B2D;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.wp-header .wp-sub {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: #555;
  line-height: 1.45;
  margin: 0 auto 28px;
  max-width: 600px;
}
.wp-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #666;
}
.wp-meta strong { color: #111; font-weight: 700; }

.wp-status-banner {
  margin: 32px auto 0;
  max-width: 720px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(232,184,52,0.10) 0%, rgba(232,184,52,0.04) 100%);
  border: 1px solid rgba(232,184,52,0.45);
  border-left: 3px solid #E8B834;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: #5C3F0A;
  text-align: left;
}
.wp-status-banner strong {
  color: #B0860C;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.wp-status-banner em {
  font-style: italic;
  color: #6B4F0F;
}
.wp-status-banner a {
  color: #5C3F0A;
  text-decoration: underline;
}

/* ── TABLE OF CONTENTS ── */
.wp-toc {
  margin: 48px 0;
  padding: 28px 32px;
  background: #FFFFFF;
  border: 1px solid #E0DCCF;
  border-left: 4px solid #0F1B2D;
  border-radius: 10px;
}
.wp-toc h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #0F1B2D;
  margin: 0 0 18px;
}
.wp-toc ol {
  margin: 0;
  padding-left: 24px;
  columns: 2;
  column-gap: 36px;
}
.wp-toc ol li {
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 14.5px;
  color: #333;
  line-height: 1.5;
  break-inside: avoid;
}
.wp-toc ol li a {
  color: #0F1B2D;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15,27,45,0.25);
}
.wp-toc ol li a:hover {
  border-bottom-color: #C8A84E;
  color: #C8A84E;
}
@media (max-width: 720px) {
  .wp-toc ol { columns: 1; }
}

/* ── SECTIONS · card chrome to match homepage institutional register ── */
.wp-section {
  margin-top: 36px;
  scroll-margin-top: 110px;
  padding: 40px 44px;
  background: #FFFFFF;
  background-image:
    radial-gradient(ellipse at top left, rgba(200,168,78,0.03) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(15,27,45,0.02) 0%, transparent 60%);
  border: 1px solid rgba(15,27,45,0.10);
  border-left: 3px solid #C8A84E;
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 1px 2px rgba(0,0,0,0.04),
    0 4px 12px rgba(0,0,0,0.04),
    0 16px 40px -8px rgba(0,0,0,0.06);
  position: relative;
  transition: box-shadow .26s cubic-bezier(.2,.8,.2,1);
}
.wp-section:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 20px rgba(200,168,78,0.08),
    0 20px 56px -12px rgba(200,168,78,0.10);
}
/* Adinkrahene concentric corner mark · matches saver/two-paths cards */
.wp-section::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(200,168,78,0.30);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(200,168,78,0.16) 0%, transparent 40%),
    radial-gradient(circle at center, transparent 30%, rgba(200,168,78,0.10) 33%, transparent 36%),
    radial-gradient(circle at center, transparent 55%, rgba(200,168,78,0.10) 58%, transparent 61%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.wp-section:hover::after {
  opacity: 1;
  transform: rotate(15deg);
}
@media (max-width: 720px) {
  .wp-section { padding: 28px 22px; margin-top: 22px; }
  .wp-section::after { width: 20px; height: 20px; top: 14px; right: 14px; }
}

.wp-section-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #C8A84E;
  margin-bottom: 10px;
  padding: 2px 10px;
  background: rgba(200,168,78,0.10);
  border: 1px solid rgba(200,168,78,0.30);
  border-radius: 4px;
}
.wp-section h2 {
  font-family: Georgia, 'Source Serif Pro', serif;
  font-size: clamp(24px, 3.2vw, 36px);
  color: #0F1B2D;
  line-height: 1.18;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.wp-section h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: #0F1B2D;
  margin: 28px 0 12px;
  font-weight: 700;
}
.wp-section p {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2A;
  margin: 0 0 16px;
}
.wp-section p.lede {
  font-size: 18px;
  color: #111;
  line-height: 1.6;
  margin-bottom: 22px;
}
.wp-section ul,
.wp-section ol {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2A2A;
  padding-left: 24px;
  margin: 0 0 18px;
}
.wp-section ul li,
.wp-section ol li { margin-bottom: 8px; }
.wp-section code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: #0F1B2D;
  background: rgba(200,168,78,0.10);
  padding: 1px 6px;
  border-radius: 3px;
  word-break: break-all;
}
.wp-section a {
  color: #0F1B2D;
  border-bottom: 1px solid rgba(200,168,78,0.50);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.wp-section a:hover {
  color: #C8A84E;
  border-bottom-color: #C8A84E;
}

/* ── FORMULA BLOCK ── */
.wp-formula {
  margin: 22px 0;
  padding: 22px 28px;
  background: linear-gradient(135deg, #0F1B2D 0%, #0A1220 100%);
  border-radius: 10px;
  text-align: center;
  color: #F5F0E8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(15,27,45,0.12);
}
.wp-formula .lhs { color: #FFD46B; font-weight: 700; }
.wp-formula .op { color: #888; }

/* ── CALLOUTS ── */
.wp-callout {
  margin: 22px 0;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 1px solid #E0DCCF;
  border-left: 3px solid #C8A84E;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.wp-callout strong { color: #0F1B2D; font-weight: 700; }
.wp-callout.amber {
  border-left-color: #E8B834;
  background: linear-gradient(135deg, rgba(232,184,52,0.06) 0%, rgba(232,184,52,0.02) 100%);
}
.wp-callout.amber strong { color: #B0860C; }
.wp-callout.red {
  border-left-color: #D9534F;
  background: linear-gradient(135deg, rgba(217,83,79,0.05) 0%, rgba(217,83,79,0.02) 100%);
}
.wp-callout.red strong { color: #B0413C; }

/* ── TABLE ── */
.wp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-family: Georgia, serif;
  font-size: 14.5px;
}
.wp-table th,
.wp-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #E8E5DC;
  color: #333;
  vertical-align: top;
}
.wp-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  background: #FAFAF7;
  border-bottom: 1px solid #C8A84E;
}
.wp-table tr:hover td { background: rgba(200,168,78,0.04); }
.wp-table code { font-size: 12px; }

/* ── CITATIONS ── */
.wp-citation {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  padding-left: 28px;
  margin: 0 0 10px;
  text-indent: -28px;
}
.wp-citation strong {
  color: #111;
  font-weight: 700;
  margin-right: 6px;
}

/* ── TRINITY GRID ── */
.wp-trinity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.wp-trinity > div {
  padding: 18px 18px;
  background: #FFFFFF;
  border: 1px solid #E0DCCF;
  border-top: 3px solid #C8A84E;
  border-radius: 10px;
  text-align: center;
}
.wp-trinity .trinity-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}
.wp-trinity .trinity-name {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #0F1B2D;
  margin: 0 0 6px;
}
.wp-trinity .trinity-twi {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #C8A84E;
  margin: 0;
}
@media (max-width: 720px) {
  .wp-trinity { grid-template-columns: 1fr; }
}

/* ── DOCUMENT FOOTER ── */
/* ── DOCUMENT FOOTER · defensive against body-light cascade + any global footer rule
   2026-05-26 v2 — forced cream bg + forced text colors on every child element
   because body-light.css .body-light p { color: var(--bl-ink-soft) } was
   overriding my .wp-foot p color. ── */
.wp-foot {
  margin-top: 80px !important;
  padding: 32px 24px 0 !important;
  border-top: 1px solid #E0DCCF !important;
  text-align: center !important;
  background: transparent !important;
  color: #666 !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 11.5px !important;
  line-height: 1.7 !important;
}
.wp-foot p {
  color: #666 !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 11.5px !important;
  line-height: 1.7 !important;
  margin: 0 0 10px !important;
}
.wp-foot p:last-child {
  margin-top: 18px !important;
}
.wp-foot a {
  color: #444 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(200,168,78,0.30) !important;
  padding-bottom: 1px !important;
  transition: color .2s, border-color .2s !important;
}
.wp-foot a:hover {
  color: #C8A84E !important;
  border-bottom-color: #C8A84E !important;
}
.wp-foot strong { color: #0F1B2D !important; font-weight: 700 !important; }

/* ── Defensive: any element inside the whitepaper that body-light.css would
   recolor with its low-contrast vars. The wp-* prefix is the safety hook. ── */
.body-light main.wp-shell p { color: #2A2A2A !important; }
.body-light main.wp-shell h1,
.body-light main.wp-shell h2,
.body-light main.wp-shell h3 { color: #0F1B2D !important; }
.body-light main.wp-shell .wp-eyebrow { color: #C8A84E !important; }
.body-light main.wp-shell .wp-formula { color: #F5F0E8 !important; }
.body-light main.wp-shell .wp-formula .lhs { color: #FFD46B !important; }
.body-light main.wp-shell .wp-formula .op { color: #888 !important; }
.body-light main.wp-shell .wp-callout.red { color: #6B3F3D !important; }
.body-light main.wp-shell .wp-callout.red strong { color: #B0413C !important; }
.body-light main.wp-shell .wp-status-banner { color: #5C3F0A !important; }
.body-light main.wp-shell .wp-status-banner strong { color: #B0860C !important; }
.body-light main.wp-shell .wp-status-banner em { color: #6B4F0F !important; }
.body-light main.wp-shell .wp-citation { color: #555 !important; }
.body-light main.wp-shell .wp-citation strong { color: #111 !important; }
.body-light main.wp-shell .wp-table th { color: #666 !important; }
.body-light main.wp-shell .wp-table td { color: #333 !important; }
.body-light main.wp-shell .wp-trinity .trinity-eyebrow { color: #888 !important; }
.body-light main.wp-shell .wp-trinity .trinity-name { color: #0F1B2D !important; }
.body-light main.wp-shell .wp-trinity .trinity-twi { color: #C8A84E !important; }

/* ═══════════════════════════════════════════════════════════════
   v2 REINFORCEMENT · 2026-05-26
   (1) Aggressive nav sticky enforcement against any parent overflow
   (2) TOC as a properly designed card with Adinkrahene mark + hover
   (3) Section card visual punch (thicker accent, h2 rule, bolder corner)
   (4) Hero header as institutional document title block
   ═══════════════════════════════════════════════════════════ */

/* ── Aggressive nav stickiness · belt-and-suspenders against overflow:hidden
   on any parent that would defeat position:sticky ── */
html, body { overflow-x: hidden !important; overflow-y: auto !important; }
body.body-light { overflow: visible !important; }
.body-light > header.nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(250, 247, 240, 0.96) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px) !important;
  backdrop-filter: saturate(180%) blur(14px) !important;
  box-shadow:
    0 1px 0 rgba(200,168,78,0.20),
    0 6px 24px -8px rgba(15,27,45,0.08) !important;
  border-bottom: 1px solid rgba(200,168,78,0.30) !important;
}

/* ── HERO HEADER as a designed institutional title card ── */
.wp-header {
  padding: 48px 40px 40px !important;
  margin-bottom: 36px !important;
  background:
    radial-gradient(ellipse at top, rgba(200,168,78,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(15,27,45,0.025) 0%, transparent 60%),
    #FFFFFF !important;
  border: 1px solid rgba(15,27,45,0.10) !important;
  border-top: 4px solid #C8A84E !important;
  border-radius: 16px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 36px rgba(0,0,0,0.05),
    0 32px 72px -20px rgba(200,168,78,0.10) !important;
  position: relative !important;
  overflow: hidden !important;
}
.wp-header::before {
  content: '' !important;
  position: absolute !important;
  top: 12px; right: 12px !important;
  width: 36px !important; height: 36px !important;
  border: 1px solid rgba(200,168,78,0.40) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at center, rgba(200,168,78,0.22) 0%, transparent 40%),
    radial-gradient(circle at center, transparent 30%, rgba(200,168,78,0.14) 33%, transparent 36%),
    radial-gradient(circle at center, transparent 55%, rgba(200,168,78,0.14) 58%, transparent 61%) !important;
  pointer-events: none !important;
}

/* ── TOC · designed card with gold left-rail · Adinkra corner mark · hover ── */
.wp-toc {
  padding: 32px 36px !important;
  background:
    radial-gradient(ellipse at top right, rgba(15,27,45,0.04) 0%, transparent 60%),
    #FFFFFF !important;
  border: 1px solid rgba(15,27,45,0.10) !important;
  border-left: 4px solid #0F1B2D !important;
  border-radius: 14px !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 32px -8px rgba(15,27,45,0.10) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: box-shadow .26s cubic-bezier(.2,.8,.2,1) !important;
}
.wp-toc::after {
  content: '' !important;
  position: absolute !important;
  top: 20px; right: 20px !important;
  width: 28px !important; height: 28px !important;
  border: 1px solid rgba(15,27,45,0.20) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at center, rgba(15,27,45,0.10) 0%, transparent 40%),
    radial-gradient(circle at center, transparent 30%, rgba(15,27,45,0.08) 33%, transparent 36%),
    radial-gradient(circle at center, transparent 55%, rgba(15,27,45,0.08) 58%, transparent 61%) !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  transition: opacity .3s ease, transform .3s ease !important;
}
.wp-toc:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 4px 12px rgba(0,0,0,0.04), 0 18px 48px -12px rgba(15,27,45,0.14) !important; }
.wp-toc:hover::after { opacity: 1 !important; transform: rotate(-15deg) !important; }
.wp-toc h2 {
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  color: #0F1B2D !important;
  margin: 0 0 22px !important;
  padding-left: 0 !important;
  position: relative !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(200,168,78,0.30) !important;
}
.wp-toc h2::before {
  content: '' !important;
  display: inline-block !important;
  width: 22px !important; height: 1px !important;
  background: #C8A84E !important;
  margin-right: 12px !important;
  vertical-align: middle !important;
}

/* ── SECTION CARDS · bolder accent + h2 underline + stronger corner mark ── */
.wp-section {
  border-left-width: 4px !important;
  margin-top: 32px !important;
}
.wp-section h2 {
  position: relative !important;
  padding-bottom: 16px !important;
  margin-bottom: 28px !important;
}
.wp-section h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0; left: 0 !important;
  width: 48px !important; height: 2px !important;
  background: linear-gradient(90deg, #C8A84E 0%, rgba(200,168,78,0.15) 100%) !important;
}
.wp-section::after {
  width: 30px !important; height: 30px !important;
  border-color: rgba(200,168,78,0.45) !important;
  opacity: 0.75 !important;
}
.wp-section:hover::after { opacity: 1 !important; }
.wp-section-num {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  background: linear-gradient(135deg, rgba(200,168,78,0.15) 0%, rgba(200,168,78,0.08) 100%) !important;
  border-color: rgba(200,168,78,0.45) !important;
}

/* ── Trinity grid card depth bump · matches homepage trust strip ── */
.wp-trinity > div {
  background:
    radial-gradient(ellipse at top, rgba(200,168,78,0.04) 0%, transparent 60%),
    #FFFFFF !important;
  border: 1px solid rgba(15,27,45,0.10) !important;
  border-top: 4px solid #C8A84E !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 4px 12px rgba(0,0,0,0.04),
    0 16px 32px -12px rgba(0,0,0,0.06) !important;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s !important;
}
.wp-trinity > div:hover {
  transform: translateY(-3px) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 6px 16px rgba(0,0,0,0.06),
    0 20px 48px -12px rgba(200,168,78,0.16) !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .wp-section:hover::after,
  .wp-toc:hover::after,
  .wp-trinity > div:hover { transform: none !important; }
}
/* END v2 REINFORCEMENT ───────────────────────────────────────── */
