/* ============================================================
   Sermorelin Peptides — Sales Intelligence Dashboard Aesthetic
   Inter Tight + Source Sans 3 + IBM Plex Mono
   Cool blue-white #F4F6FB ground, slate-navy chrome, analytics-blue accent
   ============================================================ */

/* --- Google Fonts loaded via <link> in HTML --- */

:root {
  /* Brand palette */
  --primary:         #1F4FE0;
  --primary-50:      #EAF0FF;
  --primary-100:     #D6E2FF;
  --primary-500:     #1F4FE0;
  --primary-700:     #1539A8;
  --primary-900:     #0E2566;
  --secondary:       #0B2740;
  --secondary-700:   #11304C;
  --secondary-900:   #071A2E;
  --accent:          #0FB5A8;
  --accent-700:      #0A8478;

  /* Neutrals */
  --neutral-0:       #FFFFFF;
  --neutral-50:      #F4F6FB;
  --neutral-100:     #EAEEF5;
  --neutral-200:     #DCE2EC;
  --neutral-300:     #C3CCDA;
  --neutral-400:     #9AA6B8;
  --neutral-500:     #6B7891;
  --neutral-600:     #4E5B72;
  --neutral-700:     #37445A;
  --neutral-800:     #1F2A3C;
  --neutral-900:     #0E1726;

  /* Semantic */
  --bg:              #F4F6FB;
  --surface:         #FFFFFF;
  --surface-panel:   #0B2740;
  --surface-subtle:  #EAEEF5;
  --text:            #0E1726;
  --text-muted:      #4E5B72;
  --text-dim:        #6B7891;
  --text-on-dark:    #EAF0FF;
  --text-on-dark-muted: #9DB0CC;
  --rule:            #DCE2EC;
  --rule-strong:     #C3CCDA;
  --rule-on-dark:    rgba(234,240,255,0.16);

  /* Status */
  --status-ontrack:    #16A34A;
  --status-ontrack-50: #E6F6EC;
  --status-ontrack-900:#0C5C2C;
  --status-watch:      #D97706;
  --status-watch-50:   #FBF0DF;
  --status-watch-900:  #7A4406;
  --status-risk:       #DC2626;
  --status-risk-50:    #FBE7E7;
  --status-risk-900:   #7F1414;
  --status-neutral:    #4E5B72;

  /* Layout */
  --max-width:       78rem;
  --article-width:   46rem;
  --container-px:    clamp(1rem, 3.5vw, 2.25rem);
  --radius-card:     0.75rem;
  --radius-chip:     0.375rem;
  --radius-button:   0.5rem;

  /* Typography */
  --font-heading:    'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:       'Source Sans 3', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-mono:       'IBM Plex Mono', 'SF Mono', 'JetBrains Mono', 'Courier New', monospace;

  /* Type scale */
  --h1:     clamp(2.25rem, 4.5vw, 3.5rem);
  --h2:     clamp(1.625rem, 3vw, 2.25rem);
  --h3:     1.375rem;
  --h4:     1.125rem;
  --lede:   1.1875rem;
  --body:   1.0625rem;
  --small:  0.875rem;
  --micro:  0.75rem;
  --eyebrow:0.75rem;
  --kpi-numeral: clamp(1.875rem, 4vw, 3rem);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 160ms ease-out;
}

a:hover {
  color: var(--primary-700);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--primary-50);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  padding-left: 1.5rem;
}

li + li {
  margin-top: 0.375rem;
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 600;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9375em;
  background: var(--surface-subtle);
  border: 1px solid var(--rule);
  border-radius: var(--radius-chip);
  padding: 0.0625em 0.375em;
}

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

.article-col {
  max-width: var(--article-width);
  margin-inline: auto;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.1;
}

h1 {
  font-size: var(--h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: var(--h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

h4 {
  font-size: var(--h4);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero .eyebrow {
  color: #6E9BFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
  aria-hidden: true;
}

.lede {
  font-size: var(--lede);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text-muted);
}

.hero .lede {
  color: var(--text-on-dark-muted);
}

/* Section H2 with data-marker rule */
.section-heading-wrap {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.section-rule {
  height: 1px;
  background: var(--rule-strong);
  margin-top: 0.5rem;
  position: relative;
}

.section-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 1px;
}

/* Section divider between major sections */
.section-divider {
  height: 1px;
  background: var(--rule);
  margin-block: 2.5rem;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 1px;
}

/* ============================================================
   SECTION EYEBROW (H2 prefix label in mono)
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-strong);
  height: 3.75rem;
  display: flex;
  align-items: center;
}

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

.site-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--primary);
}

/* Wordmark widget glyph */
.brand-glyph {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border-radius: 3px;
  padding: 2px;
  flex-shrink: 0;
  aria-hidden: true;
}

.brand-glyph span {
  display: block;
  background: var(--primary);
  border-radius: 1px;
  flex: 1;
}

.brand-glyph span:nth-child(1) { height: 35%; }
.brand-glyph span:nth-child(2) { height: 65%; }
.brand-glyph span:nth-child(3) { height: 100%; }

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.25rem 0.5rem;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 3.75rem;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  z-index: 99;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li a {
  display: block;
  padding: 0.75rem var(--container-px);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: none;
}

.mobile-nav li a:hover {
  color: var(--primary);
  background: var(--surface-subtle);
}

@media (min-width: 768px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}

/* ============================================================
   HERO — DARK REPORT HEADER BAND
   ============================================================ */
.hero {
  background-color: var(--secondary);
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 5rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Chart-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,79,224,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,79,224,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--article-width);
}

.hero h1 {
  color: var(--text-on-dark);
  margin-top: 0.875rem;
  margin-bottom: 0;
}

.hero-rule {
  width: 66%;
  height: 1px;
  background: var(--rule-on-dark);
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 1px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ============================================================
   KPI TILE BAND (floats over hero bottom edge)
   ============================================================ */
.kpi-band {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 3rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi-tile {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.375rem;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  position: relative;
  border-left: 3px solid var(--primary);
}

.kpi-metric-key {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.kpi-numeral {
  font-family: var(--font-mono);
  font-size: var(--kpi-numeral);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-variant-numeric: tabular-nums lining-nums;
  margin-bottom: 0.375rem;
}

.kpi-caption {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

.kpi-provenance {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* ============================================================
   STATUS CHIPS
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-chip);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.125rem 0.4375rem;
  white-space: nowrap;
}

.chip-confirmed {
  background: var(--status-ontrack-50);
  border: 1px solid var(--status-ontrack);
  color: var(--status-ontrack-900);
}

.chip-limited {
  background: var(--status-watch-50);
  border: 1px solid var(--status-watch);
  color: var(--status-watch-900);
}

.chip-prohibited {
  background: var(--status-risk-50);
  border: 1px solid var(--status-risk);
  color: var(--status-risk-900);
}

.chip-neutral {
  background: var(--surface-subtle);
  border: 1px solid var(--rule-strong);
  color: var(--status-neutral);
}

/* ============================================================
   EVIDENCE PIPELINE STRIP
   ============================================================ */
.pipeline-strip {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin-block: 2.5rem;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  overflow-x: auto;
}

.pipeline-nodes {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

.pipeline-node {
  background: var(--secondary);
  border-radius: 0.625rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  min-width: 9rem;
  transition: background 160ms ease-out;
}

.pipeline-node:hover {
  background: var(--secondary-700);
}

.pipeline-node:focus-visible {
  outline: 3px solid var(--primary-50);
  outline-offset: 2px;
}

.node-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark);
  text-decoration: none;
}

.node-status {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.node-dot-green  { background: var(--status-ontrack); }
.node-dot-amber  { background: var(--status-watch); }
.node-dot-red    { background: var(--status-risk); }

.node-badge {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.pipeline-connector {
  display: flex;
  align-items: center;
  color: var(--primary);
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.pipeline-connector-line {
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
}

.pipeline-chevron {
  font-size: 0.75rem;
  color: var(--primary);
}

/* Mobile: vertical pipeline */
@media (max-width: 640px) {
  .pipeline-nodes {
    flex-direction: column;
    min-width: unset;
    align-items: stretch;
  }
  .pipeline-connector {
    justify-content: center;
    transform: rotate(90deg);
    padding-block: 0.25rem;
  }
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  position: relative;
  border-left: 3px solid var(--primary);
  transition: box-shadow 160ms ease-out;
}

.card:hover {
  box-shadow: 0 2px 4px rgba(14,23,38,0.08), 0 10px 24px rgba(14,23,38,0.08);
}

.card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.375rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--h4);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* ============================================================
   CALLOUTS
   ============================================================ */
.callout {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
  position: relative;
  border-left: 4px solid var(--status-neutral);
}

.callout-confirmed  { border-left-color: var(--status-ontrack); }
.callout-limited    { border-left-color: var(--status-watch); }
.callout-caution    { border-left-color: var(--status-risk); }
.callout-neutral    { border-left-color: var(--status-neutral); }

.callout-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-body {
  font-size: var(--small);
  line-height: 1.6;
  color: var(--text);
}

/* ============================================================
   CONFIDENCE GAUGE (CSS semicircular)
   ============================================================ */
.gauge-widget {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  text-align: center;
  max-width: 16rem;
}

.gauge-wrap {
  position: relative;
  width: 8rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  overflow: visible;
}

.gauge-track {
  width: 100%;
  height: 100%;
}

.gauge-readout {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.gauge-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================================
   FIGURE CARDS
   ============================================================ */
.figure-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  margin-block: 2rem;
}

.figure-card img {
  width: 100%;
  height: auto;
  display: block;
}

.figure-caption {
  background: var(--surface-subtle);
  border-top: 1px solid var(--rule);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.figure-caption-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}

.figure-caption-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
}

.figure-caption-text {
  font-family: var(--font-body);
  font-size: var(--small);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-button);
  padding: 0.8125rem 1.5rem;
  transition: background 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out, border-color 160ms ease-out;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 14px rgba(31,79,224,0.28);
  transform: translateY(-1px);
  color: var(--text-on-dark);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--primary-50);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--rule-on-dark);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(31,79,224,0.06);
  color: var(--text-on-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--primary-50);
  outline-offset: 2px;
}

/* ============================================================
   CITATION CHIPS (inline superscript)
   ============================================================ */
.cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  vertical-align: super;
  line-height: 1;
  background: var(--surface-subtle);
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  padding: 0 0.1875rem;
  margin-inline: 1px;
  white-space: nowrap;
  cursor: default;
  transition: border-color 160ms ease-out;
  color: var(--text);
  text-decoration: none;
}

.cite:hover {
  border-color: var(--primary);
  text-decoration: none;
}

a.cite {
  cursor: pointer;
}

/* ============================================================
   TABLES
   ============================================================ */
.data-table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--small);
}

.data-table thead th {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--text);
  line-height: 1.5;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: var(--surface-subtle);
}

.data-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  text-align: right;
}

/* ============================================================
   FAQ CARDS
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.375rem 1.5rem;
  box-shadow: 0 1px 2px rgba(14,23,38,0.06), 0 6px 18px rgba(14,23,38,0.05);
  border-left: 3px solid var(--primary);
  transition: box-shadow 160ms ease-out;
}

.faq-card:hover {
  box-shadow: 0 2px 4px rgba(14,23,38,0.08), 0 10px 24px rgba(14,23,38,0.08);
}

.faq-q {
  font-family: var(--font-heading);
  font-size: var(--h4);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.faq-a {
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
}

/* ============================================================
   REFERENCES LIST
   ============================================================ */
.references-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.references-list li {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(14,23,38,0.04);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0;
}

.ref-id {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  padding-top: 0.125rem;
}

.ref-body {
  font-size: var(--small);
  line-height: 1.6;
  color: var(--text);
}

.ref-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.ref-link {
  color: var(--primary);
  font-size: 0.8125rem;
}

/* ============================================================
   INNER PAGE HERO (shorter)
   ============================================================ */
.hero-inner-page {
  background-color: var(--secondary);
  padding-top: 3.5rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-inner-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,79,224,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,79,224,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner-page .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner-page h1 {
  color: var(--text-on-dark);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.page-body {
  padding-block: 3rem;
  background: var(--bg);
}

.page-body section + section {
  margin-top: 2.5rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--small);
  color: var(--text-on-dark-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-on-dark);
}

.breadcrumb-sep {
  color: var(--rule-on-dark);
}

/* ============================================================
   CONTACT FORM (editorial style)
   ============================================================ */
.contact-info {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
  margin-top: 1.5rem;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--secondary);
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  margin-top: 0;
}

.footer-top-rule {
  height: 1px;
  background: var(--rule-on-dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 0;
}

.footer-status-dots {
  display: flex;
  gap: 4px;
  padding: 0 0.5rem;
  position: absolute;
  right: 0;
  top: -4px;
}

.footer-status-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.footer-status-dots .dot-green { background: var(--status-ontrack); }
.footer-status-dots .dot-amber { background: var(--status-watch); }
.footer-status-dots .dot-red   { background: var(--status-risk); }

.footer-disclaimer {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--text-on-dark-muted);
  margin-bottom: 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-col-heading::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-col a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer-status-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: var(--micro);
  color: var(--text-dim);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-on-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--status-ontrack);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}

.not-found-code {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 600;
  color: var(--rule-strong);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ============================================================
   UTILITY
   ============================================================ */
.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;
}

.text-mono {
  font-family: var(--font-mono);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Inline-list with square bullets */
ul.square-list {
  list-style: none;
  padding-left: 1.25rem;
}

ul.square-list li::before {
  content: '';
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 1px;
  margin-right: 0.625rem;
  vertical-align: middle;
  margin-top: -0.125rem;
}
