/* Selank Index — Retro-Futurism Aesthetic */
/* Deep navy-black ground, electric-blue / hot-pink / cyan neon palette */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  --primary: #2E8BFF;
  --primary-50: #0F1A33;
  --primary-900: #8FC2FF;
  --secondary: #FF2E97;
  --accent: #4DF0FF;
  --neutral-50: #13132B;
  --neutral-200: #26264A;
  --neutral-500: #8A8FB0;
  --neutral-900: #EAEBFA;
  --bg: #0B0B1E;
  --surface: #13132B;
  --surface-raised: #1A1A38;
  --text: #EAEBFA;
  --text-muted: #9AA0C4;
  --chrome: #C9CDDB;
  --success: #36E08B;
  --warning: #FFC857;
  --danger: #FF5C7A;

  --max-width: 74rem;
  --reading-col: 46ch;
  --container-px: clamp(1rem, 3.5vw, 2.25rem);

  --font-heading: 'Chakra Petch', 'Eurostile', 'Bahnschrift', 'DIN Condensed', sans-serif;
  --font-display: 'Orbitron', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --radius-button: 9999px;
  --radius-card: 0.65rem;
  --radius-sm: 0.35rem;

  --h1: clamp(2.1rem, 5vw, 3.4rem);
  --h2: clamp(1.5rem, 3vw, 2.2rem);
  --h3: 1.3rem;
  --eyebrow: 0.75rem;
  --body: 1.0625rem;
  --small: 0.875rem;
  --stat-xl: clamp(2.25rem, 4vw, 3.25rem);

  --lh-heading: 1.12;
  --lh-body: 1.68;

  --transition: 180ms ease-out;

  --neon-blue: 0 0 18px rgba(46, 139, 255, 0.6);
  --neon-pink: 0 0 18px rgba(255, 46, 151, 0.6);
  --neon-cyan: 0 0 14px rgba(77, 240, 255, 0.55);
  --neon-text-blue: 0 0 12px rgba(46, 139, 255, 0.7);
  --neon-text-cyan: 0 0 10px rgba(77, 240, 255, 0.6);
}

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

html { scroll-behavior: smooth; }

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

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

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  letter-spacing: -0.005em;
  color: var(--text);
}

h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: var(--h3); font-weight: 600; margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }

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

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

em { font-style: italic; }

small, .small { font-size: var(--small); color: var(--text-muted); }

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #0F0F26;
  border-left: 2px solid var(--accent);
  padding: 0.15em 0.4em;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

pre { padding: 1rem 1.25rem; overflow-x: auto; white-space: pre; line-height: 1.5; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome);
}

ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { margin-bottom: 0.35rem; }
li:last-child { margin-bottom: 0; }

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

.reading-col {
  max-width: var(--reading-col);
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 1px 0 0 rgba(46, 139, 255, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 60px;
  padding-block: 0.75rem;
}

.site-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome);
  border-bottom: none;
  white-space: nowrap;
  transition: color var(--transition);
}

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

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

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-bottom: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover {
  color: var(--accent);
  background: rgba(77, 240, 255, 0.07);
  border-bottom: none;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--neutral-200);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color var(--transition);
}

.nav-toggle:hover { border-color: var(--primary); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(4rem, 10vh, 7rem);
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-bloom {
  position: absolute;
  top: 0;
  left: 15%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(46, 139, 255, 0.18) 0%, rgba(77, 240, 255, 0.06) 50%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content .reading-col {
  max-width: 46ch;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--chrome);
  text-shadow: var(--neon-text-blue);
}

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow {
    animation: eyebrow-flicker 4s ease-in-out infinite;
  }
}

@keyframes eyebrow-flicker {
  0%, 90%, 100% { opacity: 1; text-shadow: var(--neon-text-blue); }
  92% { opacity: 0.7; text-shadow: none; }
  94% { opacity: 1; text-shadow: var(--neon-text-blue); }
  96% { opacity: 0.85; text-shadow: 0 0 8px rgba(46,139,255,0.4); }
  98% { opacity: 1; text-shadow: var(--neon-text-blue); }
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero h1 .keyword-highlight {
  color: var(--primary);
  text-shadow: var(--neon-text-blue);
}

.hero-lede {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

/* ========== STAT TILES ========== */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--primary);
  border-radius: 0.65rem;
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(46, 139, 255, 0);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.stat-tile:hover {
  box-shadow: 0 0 14px rgba(46, 139, 255, 0.25);
}

.stat-tile--alert {
  border-color: var(--secondary);
}

.stat-tile--alert:hover {
  box-shadow: 0 0 14px rgba(255, 46, 151, 0.3);
}

.stat-tile__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: block;
}

.stat-tile__value {
  font-family: var(--font-heading);
  font-size: var(--stat-xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.stat-tile--alert .stat-tile__value {
  color: var(--secondary);
}

.stat-tile__unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
  box-shadow: var(--neon-blue);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(46, 139, 255, 0.8);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--chrome);
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: var(--neon-cyan);
  color: var(--accent);
}

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

/* ========== SECTION DIVIDERS ========== */
.section-rule {
  border: none;
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 6px rgba(46, 139, 255, 0.5);
  margin-block: 3rem;
}

.section-rule--double {
  border: none;
  margin-block: 3rem;
  position: relative;
  height: 5px;
  background: transparent;
}

.section-rule--double::before,
.section-rule--double::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 5px rgba(46, 139, 255, 0.4);
}

.section-rule--double::before { top: 0; }
.section-rule--double::after { bottom: 0; }

/* ========== MAIN CONTENT ========== */
main { padding-block: 3.5rem; }

.content-wrap { max-width: var(--max-width); margin-inline: auto; padding-inline: var(--container-px); }

article > header,
.page-hero {
  margin-bottom: 3rem;
}

.page-hero .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero .page-lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.65;
}

/* sections */
section {
  margin-bottom: 2.5rem;
}

section h2 { color: var(--text); }

/* figure / images */
figure {
  margin-block: 2rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

figure img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--neutral-200);
}

figcaption {
  font-size: var(--small);
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.5rem;
  padding-inline: 0.25rem;
}

/* ========== CARDS ========== */
.card {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(46,139,255,0.06), 0 12px 30px rgba(0,0,0,0.4);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(46,139,255,0.2), 0 12px 30px rgba(0,0,0,0.4);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}

/* ========== CALLOUTS ========== */
.callout {
  background: var(--surface-raised);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.25rem 1.5rem;
  margin-block: 1.75rem;
}

.callout--warning {
  border-left-color: var(--secondary);
}

.callout--accent {
  border-left-color: var(--accent);
}

.callout p:last-child { margin-bottom: 0; }

/* ========== CITATION MARKERS ========== */
sup a[data-citation] {
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: var(--accent);
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  text-decoration: underline dotted;
  border-bottom: none;
  transition: color var(--transition);
}

sup a[data-citation]:hover {
  color: var(--primary);
  border-bottom: none;
}

/* ========== CHIPS ========== */
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--chrome);
  border-radius: 9999px;
  padding: 0.2em 0.75em;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1rem;
}

/* ========== COMPOUND PROFILE TABLE ========== */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--small);
  margin-block: 1.5rem;
}

.profile-table th,
.profile-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}

.profile-table thead tr {
  border-bottom: 2px solid var(--primary);
}

.profile-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.profile-table tbody tr:nth-child(even) { background: var(--surface); }
.profile-table tbody tr:nth-child(odd) { background: rgba(22, 22, 52, 0.5); }

.profile-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ========== REFERENCES LIST ========== */
.references-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ref-counter;
}

.references-list li {
  counter-increment: ref-counter;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--small);
  line-height: 1.6;
}

.references-list li::before {
  content: "[" counter(ref-counter) "]";
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.05em;
  min-width: 2.5rem;
}

.ref-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 0.3rem;
  align-items: center;
}

.ref-pmid, .ref-doi {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

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

/* ========== FAQ ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

details.faq-item {
  border-bottom: 1px solid var(--neutral-200);
}

details.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }

details.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}

details[open].faq-item summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

details.faq-item summary:hover { color: var(--primary); }

details.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-answer {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  max-width: 68ch;
  line-height: 1.72;
}

.faq-answer p:last-child { margin-bottom: 0; }

/* ========== CONTACT FORM ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: var(--small);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body);
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 139, 255, 0.2);
}

.form-group textarea { min-height: 9rem; resize: vertical; }

.form-group select option { background: var(--surface); }

/* ========== COMPARISON TABLE ========== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: var(--small);
}

.compare-table th {
  background: var(--surface);
  padding: 0.7rem 1rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.compare-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--neutral-200);
  vertical-align: top;
  line-height: 1.55;
}

.compare-table tr:nth-child(even) td { background: var(--surface); }

.compare-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  font-size: var(--small);
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--neutral-500);
}

.breadcrumb a {
  color: var(--text-muted);
  border-bottom: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ========== 404 ========== */
.error-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  color: var(--neutral-200);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #08081A;
  border-top: 1px solid var(--secondary);
  box-shadow: 0 -1px 0 0 rgba(255, 46, 151, 0.25);
  padding-block: 3rem 2rem;
  margin-top: 4rem;
}

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

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--chrome);
  margin-bottom: 0.75rem;
}

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

.footer-col a {
  font-size: var(--small);
  color: var(--text-muted);
  border-bottom: none;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); border-bottom: none; }

.footer-bottom {
  border-top: 1px solid var(--neutral-200);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neutral-500);
  max-width: 55ch;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--neutral-500);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1024px) {
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 11, 30, 0.98);
    border-bottom: 1px solid var(--primary);
    padding: 1rem var(--container-px);
  }

  .site-nav.nav-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.6rem 0;
    width: 100%;
    border-radius: 0;
  }

  .site-header { position: relative; }

  .hero { min-height: auto; padding-block: 3rem 2rem; }

  .stat-tiles { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .footer-bottom { flex-direction: column; }

  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
