/* BPC-157 Legit — Creative Voltage Aesthetic */
/* Locked aesthetic: bold halftone-poster + split-panel + voltage-yellow-stamps + 1960s-meets-1980s editorial register */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:           #0066FF;
  --primary-50:        #E5F0FF;
  --primary-300:       #5C9DFF;
  --primary-700:       #0048B8;
  --primary-900:       #002766;
  --secondary:         #1A1A2E;
  --accent:            #D4FF00;
  --accent-dim:        #A8CC00;
  --accent-bright:     #E8FF4D;
  --sky:               #3388FF;
  --neutral-200:       #252540;
  --neutral-300:       #333344;
  --neutral-500:       #6B6B85;
  --neutral-700:       #9CA0B5;
  --neutral-900:       #0F0F1E;
  --bg:                #1A1A2E;
  --surface:           #22223D;
  --surface-elevated:  #2C2C4A;
  --surface-panel:     #262644;
  --text:              #F5F5F8;
  --text-strong:       #FFFFFF;
  --text-muted:        #9CA0B5;
  --text-dim:          #6B6B85;
  --text-on-blue:      #FFFFFF;
  --text-on-yellow:    #0F0F1E;
  --rule:              #333344;
  --rule-accent:       #D4FF00;
  --rule-blue:         #0066FF;
  --success:           #7AE582;
  --warning:           #FFB347;
  --danger:            #FF4D7A;
  --halftone-dot:      rgba(0,102,255,0.18);
  --halftone-yellow:   rgba(212,255,0,0.22);
  --glow-blue:         0 0 32px rgba(0,102,255,0.45);
  --glow-yellow:       0 0 24px rgba(212,255,0,0.40);

  --max-width:         76rem;
  --container-px:      clamp(1rem, 3vw, 2.5rem);

  --font-display:      'Archivo Black', 'Anton', 'Arial Black', sans-serif;
  --font-heading:      'Archivo', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-body:         'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:       'Caveat Brush', 'Caveat', cursive;
  --font-mono:         'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --h1:                clamp(3rem, 7vw, 5.5rem);
  --h2:                clamp(1.875rem, 3.75vw, 2.625rem);
  --h3:                1.375rem;
  --h4:                1.0625rem;
  --lede:              1.25rem;
  --body:              1.0625rem;
  --small:             0.875rem;
  --eyebrow:           0.75rem;
  --kicker:            clamp(1.5rem, 2.75vw, 2rem);
  --mono-inline:       0.9375rem;
  --stat-value:        clamp(2rem, 3.75vw, 2.75rem);

  --radius-btn:        9999px;
  --radius-card:       0;

  --transition:        200ms ease-out;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  color: var(--text);
  padding: 0.75rem 1rem;
  width: 100%;
  border-radius: 0;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,255,0,0.2);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-strong);
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--text-strong);
  position: relative;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 4px;
  background: var(--accent);
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--h3);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}

h4 {
  font-family: var(--font-heading);
  font-size: var(--h4);
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--text-strong); }

.kicker {
  font-family: var(--font-script);
  font-size: var(--kicker);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  border-bottom: 1px solid var(--neutral-300);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18%;
  height: 2px;
  background: var(--accent);
  pointer-events: none;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.875rem;
}

.site-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.site-brand .voltage-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: var(--glow-yellow);
  flex-shrink: 0;
}
.site-brand .brand-slash {
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.site-nav .nav-num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  line-height: 1;
}
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width var(--transition), background var(--transition);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 24px;
}
.site-nav a:hover::after {
  background: var(--sky);
}
.site-nav a[aria-current="page"]::after {
  background: var(--accent);
}
.site-nav a:hover { color: var(--text-strong); }

.nav-status-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 9999px;
  padding: 0.3125rem 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ============================================================
   HERO — SPLIT PANEL (index only)
   ============================================================ */
.hero-split {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 60fr 40fr;
  position: relative;
}
.hero-split::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  z-index: 2;
}

.hero-left {
  background: var(--primary);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-right {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212,255,0,0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero-left .kicker { position: relative; z-index: 1; }

.hero-left h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.hero-lede {
  font-size: var(--lede);
  line-height: 1.5;
  color: rgba(245,245,248,0.9);
  max-width: 38ch;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 100%;
  flex: 1;
  object-fit: cover;
  min-height: 0;
  display: block;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  position: relative;
  z-index: 1;
  background: var(--secondary);
}
.stat-cell {
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-cell:last-child { border-right: none; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stat-value {
  font-family: var(--font-heading);
  font-size: var(--stat-value);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1;
}
.stat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.hero-inner {
  background: var(--primary);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}
.hero-inner .container { position: relative; z-index: 1; }
.hero-inner h1 { margin-bottom: 1rem; }
.hero-inner .kicker { color: var(--accent-bright); }
.hero-inner .hero-lede { max-width: 60ch; }

/* Inner page stat strip */
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--neutral-300);
  margin-top: 2rem;
}
.stat-strip-inner .stat-cell {
  background: var(--surface);
  border-right: 1px solid var(--accent);
}
.stat-strip-inner .stat-cell:last-child { border-right: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9375rem 1.875rem;
  border-radius: var(--radius-btn);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition), transform 80ms ease-out;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--text-on-yellow);
  border-color: transparent;
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: var(--glow-yellow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--text-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-yellow);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
main { padding-bottom: 4rem; }

/* ============================================================
   SECTION DIVIDER (voltage mark)
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  margin: 3rem 0;
  gap: 0;
}
.section-divider::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--primary);
  flex-shrink: 0;
}
.section-divider::after {
  content: '';
  display: block;
  flex: 1;
  height: 6px;
  background: var(--accent);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  border-top: 4px solid var(--accent);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-blue);
}
.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.625rem;
  border-bottom: 1px solid var(--neutral-300);
  padding-bottom: 0.75rem;
}

/* Regulatory card variant */
.card-regulatory {
  background: var(--surface-elevated);
  border: 2px solid var(--neutral-300);
  border-top: 2px solid var(--neutral-300);
  border-left: 4px solid var(--accent);
  padding: 1.75rem;
}
.card-regulatory .stamp-badge {
  float: right;
  margin-left: 1rem;
}

/* ============================================================
   STAMP BADGES
   ============================================================ */
.stamp-badge {
  display: inline-block;
  background: var(--accent);
  border: 3px solid var(--neutral-900);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-yellow);
  line-height: 1.3;
  text-align: center;
}
.stamp-badge-tilted {
  transform: rotate(-4deg);
}

/* ============================================================
   CALLOUTS (SPLIT-PANEL)
   ============================================================ */
.callout {
  display: grid;
  grid-template-columns: 40fr 60fr;
  border-top: 4px solid var(--accent);
  margin: 2rem 0;
}
.callout-label {
  background: var(--primary);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout-label span {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-align: center;
}
.callout-body {
  background: var(--surface);
  padding: 1.5rem;
  font-size: var(--body);
}

/* Regulatory callout variant */
.callout-regulatory {
  display: grid;
  grid-template-columns: 40fr 60fr;
  border-top: 4px solid var(--accent);
  margin: 2rem 0;
}
.callout-regulatory .callout-label {
  background: var(--secondary);
  border-left: 4px solid var(--accent);
}
.callout-regulatory .callout-label span {
  color: var(--accent);
}

/* ============================================================
   READING PANELS (body content areas)
   ============================================================ */
.panel {
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  border-top: 4px solid var(--accent);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* ============================================================
   FIGURES
   ============================================================ */
.figure-block {
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  border-top: 4px solid var(--accent);
  margin: 2rem 0;
}
.figure-block img {
  width: 100%;
  display: block;
}
.figure-caption {
  border-top: 1px solid var(--neutral-300);
  padding: 0.875rem 1rem;
  background: var(--secondary);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.figure-caption-text {
  flex: 1;
}
.figure-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}
.figure-caption p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text);
  margin: 0;
}
.figure-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 0.25rem;
}

/* ============================================================
   INLINE CODE / PEPTIDE SEQUENCE
   ============================================================ */
code {
  font-family: var(--font-mono);
  font-size: var(--mono-inline);
  font-weight: 500;
  background: var(--neutral-200);
  border-bottom: 1px solid rgba(212,255,0,0.6);
  padding: 0.125rem 0.4rem;
}

/* ============================================================
   CITATION CHIPS / SUPERSCRIPTS
   ============================================================ */
sup a[data-citation] {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid rgba(51,136,255,0.6);
  padding: 0 0.15rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  vertical-align: super;
  line-height: 0;
}
sup a[data-citation]:hover {
  background: var(--accent);
  color: var(--text-on-yellow);
  box-shadow: var(--glow-yellow);
  border-bottom-color: transparent;
}

/* ============================================================
   REFERENCES LIST
   ============================================================ */
.references-list {
  list-style: none;
  counter-reset: ref-counter;
}
.references-list li {
  counter-increment: ref-counter;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--neutral-300);
}
.references-list li:first-child { border-top: 1px solid var(--neutral-300); }
.references-list li::before {
  content: counter(ref-counter);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.references-list .ref-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.references-list .ref-citation { font-size: var(--body); line-height: 1.55; }
.references-list .ref-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ref-id-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--neutral-300);
  padding: 0.125rem 0.5rem;
}
.ref-id-chip a {
  color: var(--sky);
  border-bottom: 1px solid rgba(51,136,255,0.5);
  transition: color var(--transition);
}
.ref-id-chip a:hover { color: var(--accent); }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrapper {
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  border-top: 4px solid var(--accent);
  overflow-x: auto;
  margin: 1.5rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead tr {
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--neutral-300);
}
th {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  padding: 0.875rem 1rem;
}
td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--neutral-300);
  font-size: var(--body);
}
td.mono {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}
tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ ITEMS
   ============================================================ */
.faq-item {
  background: var(--surface);
  border: 2px solid var(--neutral-300);
  border-top: 4px solid var(--accent);
  margin-bottom: 1rem;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-arrow {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  border-top: 1px solid var(--neutral-300);
}
.faq-answer-inner {
  padding-top: 1.25rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 44rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.form-disclaimer {
  font-size: var(--small);
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-left: 4px solid var(--accent);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 0.875rem 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--neutral-300);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.breadcrumb li a { color: var(--sky); transition: color var(--transition); }
.breadcrumb li a:hover { color: var(--accent); }
.breadcrumb li:last-child { color: var(--accent); }
.breadcrumb-sep { color: var(--neutral-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--neutral-900);
  border-top: 4px solid var(--accent);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--neutral-300);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-colophon {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.footer-disclaimer {
  font-family: var(--font-body);
  font-size: var(--small);
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-copyright {
  font-size: var(--small);
  color: var(--text-dim);
}
.footer-mark-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-yellow-sq {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.footer-blue-sq {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
}
.footer-script-mark {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}
.error-message {
  font-size: var(--lede);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   TIPPY.JS DARK-VOLTAGE THEME OVERRIDE
   ============================================================ */
.tippy-box[data-theme~='voltage'] {
  background: var(--surface-elevated);
  border: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: var(--glow-yellow);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.tippy-box[data-theme~='voltage'] .tippy-content {
  padding: 0.75rem 1rem;
}
.tippy-box[data-theme~='voltage'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: var(--accent);
}
.tippy-box[data-theme~='voltage'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: var(--accent);
}
.tippy-box[data-theme~='voltage'] .tip-doi {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  display: block;
  margin-top: 0.375rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-mono {
  font-family: var(--font-mono);
  font-size: var(--mono-inline);
  font-weight: 500;
}
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 767px) {
  .site-nav { display: none; }
  .site-nav.nav-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--secondary); border-top: 1px solid var(--neutral-300); padding: 1rem; z-index: 200; }
  .site-nav.nav-open ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav.nav-open li { width: 100%; flex-direction: row; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--neutral-300); }
  .nav-status-pill { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   RESPONSIVE — 768px+
   ============================================================ */
@media (max-width: 1023px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left { min-height: 60vh; }
  .hero-right { min-height: 40vh; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; }
  .callout-regulatory { grid-template-columns: 1fr; }
  .callout-label { padding: 1rem 1.5rem; }
}

@media (max-width: 640px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .references-list li { grid-template-columns: 2rem 1fr; }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .hero-left::before, .hero-right::before, .hero-inner::before {
    opacity: 0.08;
  }
}
