/* Medicine Ipamorelin — Together Pastel Cloud aesthetic */

/* ===== CSS Custom Properties ===== */
:root {
  --primary: #ef2cc1;
  --primary-50: #FDEAF8;
  --primary-100: #FBD4F0;
  --primary-700: #B01A8C;
  --primary-900: #6E0F58;
  --secondary: #fc4c02;
  --secondary-700: #C23800;
  --lavender: #bdbbff;
  --lavender-200: #E4E3FF;
  --lavender-400: #9D9AF5;
  --lavender-700: #5B57C2;
  --rose-cloud: #FBE3F1;
  --blue-cloud: #DCE6FF;
  --midnight: #010120;
  --midnight-800: #0A0A2E;
  --midnight-600: #1C1C4A;
  --neutral-50: #FBFCFF;
  --neutral-100: #F1F3FA;
  --neutral-200: #E2E6F2;
  --neutral-400: #A7ADC4;
  --neutral-500: #6F7593;
  --neutral-700: #3D4163;
  --neutral-900: #171933;
  --bg: #FBFCFF;
  --surface: #FFFFFF;
  --surface-cloud: #F4F1FE;
  --surface-dark: #010120;
  --surface-dark-alt: #0A0A2E;
  --text: #171933;
  --text-muted: #5A6080;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B9BCDC;
  --shadow-tint: rgba(1,1,32,0.10);
  --shadow-tint-strong: rgba(1,1,32,0.16);
  --rule: #E2E6F2;
  --rule-dark: rgba(255,255,255,0.12);
  --success: #1E7A4F;
  --warning: #B45309;
  --danger: #C2253E;
  --max-width: 74rem;
  --container-px: clamp(1rem, 3.5vw, 2.5rem);
  --reading-col: 44rem;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'IBM Plex Mono', 'SF Mono', 'Courier New', monospace;
  --radius-button: 8px;
  --radius-card: 8px;
  --radius-sm: 4px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--lavender-700); outline-offset: 2px; border-radius: 2px; }
button:focus-visible { outline: 3px solid var(--lavender-700); outline-offset: 2px; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  color: var(--text);
}

/* ===== Typography Scale ===== */
h1 { font-size: clamp(2.25rem, 4.75vw, 3.75rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; font-weight: 600; }
p { line-height: 1.65; }
.lede { font-size: 1.1875rem; line-height: 1.5; letter-spacing: -0.005em; color: var(--text-muted); }
.small, small { font-size: 0.875rem; line-height: 1.5; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lavender-700);
  line-height: 1.5;
}
.eyebrow-dark { color: var(--lavender); }
.stat-numeral {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.label-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
code, .code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-cloud);
  border-radius: var(--radius-sm);
  padding: 0.0625rem 0.375rem;
  color: var(--text);
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}
.reading-col {
  max-width: var(--reading-col);
}

/* ===== Site Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: 3.5rem;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-brand {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--midnight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-brand::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--rose-cloud), var(--lavender), var(--blue-cloud));
  box-shadow: inset 0 0 4px rgba(1,1,32,0.1), 0 0 3px rgba(239,44,193,0.4);
  flex-shrink: 0;
}
.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--midnight);
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms ease-out;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 200ms ease-out;
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.site-nav a.active { position: relative; }
.site-nav a.active::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--midnight);
  border-radius: 1px;
  transition: all 200ms ease-out;
}
.nav-drawer {
  display: none;
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem var(--container-px);
  z-index: 99;
  box-shadow: 0 8px 24px var(--shadow-tint);
}
.nav-drawer.open { display: block; }
.nav-drawer ul { display: flex; flex-direction: column; gap: 0; }
.nav-drawer a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--midnight);
  border-bottom: 1px solid var(--rule);
  transition: color 200ms ease-out;
}
.nav-drawer a:hover { color: var(--primary-700); }
.nav-drawer li:last-child a { border-bottom: none; }

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

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0;
  background: var(--bg);
}
.hero-cloud {
  position: absolute;
  top: -2rem;
  right: -4rem;
  width: 55%;
  max-width: 680px;
  height: auto;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.hero-content .eyebrow { margin-bottom: 1.25rem; }
.hero-content h1 { margin-bottom: 1.25rem; color: var(--midnight); }
.hero-content .lede { margin-bottom: 2rem; max-width: 38rem; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

/* Stat strip */
.stat-strip {
  background: var(--midnight);
  margin-top: 3rem;
  padding: 2rem 0;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.stat-tile { text-align: center; }
.stat-tile .stat-numeral { color: var(--text-on-dark); margin-bottom: 0.375rem; display: block; }
.stat-tile .label-mono { color: var(--lavender); }
.stat-tile.accent .stat-numeral::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
@media (min-width: 600px) {
  .stat-strip .container { grid-template-columns: repeat(4, 1fr); }
}

/* Subpage hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
  background: var(--bg);
}
.page-hero-cloud {
  position: absolute;
  top: -1rem;
  right: -2rem;
  width: 30%;
  max-width: 320px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}
.page-hero-content .eyebrow { margin-bottom: 1rem; }
.page-hero-content h1 { margin-bottom: 1rem; color: var(--midnight); }
.page-hero-content .lede { max-width: 38rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 200ms ease-out;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-button);
  box-shadow: 0 2px 8px var(--shadow-tint), 0 8px 24px rgba(1,1,32,0.08);
}
.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 4px 16px var(--shadow-tint-strong), 0 12px 32px rgba(1,1,32,0.12);
  color: #FFFFFF;
}
.btn-primary:focus-visible {
  outline: 3px solid var(--lavender-700);
  outline-offset: 2px;
}
.btn-secondary {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid var(--midnight);
  border-radius: var(--radius-sm);
}
.btn-secondary:hover { background: var(--surface-cloud); }
.btn-secondary:focus-visible {
  outline: 3px solid var(--lavender-700);
  outline-offset: 2px;
}
.btn-dark {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-button);
  box-shadow: 0 2px 8px rgba(239,44,193,0.3);
}
.btn-dark:hover { background: var(--primary-700); color: #FFFFFF; }

/* ===== Main Content ===== */
main {
  padding: 3rem 0 5rem;
}
.content-body { max-width: var(--reading-col); }
.content-body > * + * { margin-top: 1.25rem; }
.content-body h2 { margin-top: 2.75rem; margin-bottom: 0.75rem; }
.content-body h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.content-body h4 { margin-top: 1.5rem; margin-bottom: 0.375rem; }
.content-body p + p { margin-top: 1.25rem; }
.content-body ul, .content-body ol { padding-left: 1.5rem; }
.content-body ul li { list-style: disc; margin-bottom: 0.375rem; }
.content-body ol li { list-style: decimal; margin-bottom: 0.375rem; }
.content-body strong { font-weight: 600; color: var(--neutral-900); }
.content-body a {
  color: var(--primary-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.content-body a:hover { color: var(--primary); }

/* Section eyebrow+rule pattern */
.section-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-eyebrow { margin-bottom: 0.5rem; }

/* Pull bands */
.pull-band {
  background: var(--midnight);
  padding: 2.5rem 0;
  margin: 3rem 0;
}
.pull-band .container { max-width: var(--reading-col); }
.pull-band p { color: var(--text-on-dark-muted); font-size: 1.125rem; line-height: 1.6; }
.pull-band strong { color: var(--text-on-dark); }

.cloud-band {
  padding: 2.5rem 0;
  margin: 2.75rem 0;
}
.cloud-band-rose { background: linear-gradient(135deg, var(--rose-cloud) 0%, var(--lavender-200) 100%); }
.cloud-band-lavender { background: linear-gradient(135deg, var(--lavender-200) 0%, var(--blue-cloud) 100%); }
.cloud-band-blue { background: linear-gradient(135deg, var(--blue-cloud) 0%, var(--lavender-200) 100%); }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 1px 2px var(--shadow-tint), 0 10px 30px rgba(1,1,32,0.06);
  transition: box-shadow 200ms ease-out;
}
.card:hover { box-shadow: 0 4px 16px var(--shadow-tint), 0 16px 40px rgba(1,1,32,0.10); }
.card-cloud { background: var(--surface-cloud); }
.card .eyebrow { margin-bottom: 0.5rem; }
.card h3 { margin-bottom: 0.625rem; }
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .card-grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* Card cloud dot */
.card-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lavender) 0%, var(--blue-cloud) 100%);
  margin-right: 0.375rem;
  vertical-align: middle;
}

/* ===== Callouts ===== */
.callout {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 2px var(--shadow-tint), 0 8px 20px rgba(1,1,32,0.06);
  border-left: 4px solid var(--lavender-400);
  margin: 1.75rem 0;
}
.callout-regulatory { border-left-color: var(--secondary); }
.callout-danger { border-left-color: var(--danger); }
.callout .eyebrow { color: var(--lavender-700); margin-bottom: 0.375rem; }
.callout-regulatory .eyebrow { color: var(--secondary-700); }
.callout-danger .eyebrow { color: var(--danger); }
.callout p { font-size: 0.9375rem; line-height: 1.55; }
.callout p + p { margin-top: 0.625rem; }

/* ===== Inline stat tiles ===== */
.inline-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface-cloud);
  border-radius: var(--radius-card);
  padding: 0.75rem 1.25rem;
  margin: 0.375rem;
  vertical-align: middle;
}
.inline-stat .stat-numeral {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--midnight);
}
.inline-stat .label-mono { color: var(--lavender-700); margin-top: 0.25rem; }

/* ===== Figures ===== */
figure {
  margin: 2rem 0;
}
figure img {
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(1,1,32,0.08);
  width: 100%;
  height: auto;
}
figcaption {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
figcaption .label-mono { color: var(--lavender-700); flex-shrink: 0; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin: 1.75rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  border-top: 1.5px solid var(--midnight);
}
thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lavender-700);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--text);
}
tbody td.num {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  text-align: right;
  color: var(--midnight);
}
tbody tr:hover { background: var(--surface-cloud); }

/* ===== Citation chips ===== */
sup a[data-citation] {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--midnight);
  background: var(--surface-cloud);
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-sm);
  padding: 0.0625rem 0.25rem;
  text-decoration: none;
  transition: background 200ms ease-out, color 200ms ease-out;
}
sup a[data-citation]:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* ===== References list ===== */
.references-list {
  padding-left: 0;
  counter-reset: ref-counter;
}
.references-list li {
  list-style: none;
  counter-increment: ref-counter;
  padding: 0.875rem 0 0.875rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text);
}
.references-list li::before {
  content: "[" counter(ref-counter) "]";
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lavender-700);
  position: absolute;
  left: 0;
  top: 0.9rem;
}
.references-list a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }
.references-list a:hover { color: var(--primary); }
.ref-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lavender-700);
  margin-top: 0.25rem;
}

/* ===== FAQ accordions ===== */
.faq-group { margin-top: 2.5rem; }
.faq-group-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lavender-700);
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--midnight);
  margin-bottom: 0;
}
details { border-bottom: 1px solid var(--rule); }
details summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.125rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--midnight);
  gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 200ms ease-out;
}
details[open] summary::after { content: '−'; }
.faq-answer {
  padding: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 38rem;
}
.faq-answer p + p { margin-top: 0.875rem; }
.faq-answer a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Comparison cards ===== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 600px) {
  .comparison-grid { grid-template-columns: repeat(3, 1fr); }
}
.comparison-card {
  background: var(--surface-cloud);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  border: 1px solid var(--rule);
}
.comparison-card .label-mono {
  display: block;
  margin-bottom: 0.5rem;
}
.comparison-card-rose .label-mono { color: var(--primary-700); }
.comparison-card-blue .label-mono { color: var(--lavender-700); }
.comparison-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.comparison-card p { font-size: 0.9375rem; line-height: 1.55; }

/* ===== Contact form ===== */
.contact-form { max-width: 34rem; margin-top: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--midnight);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 200ms ease-out;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lavender-700);
  box-shadow: 0 0 0 3px var(--lavender-200);
}
.form-group textarea { min-height: 7rem; resize: vertical; }

/* ===== Footer ===== */
.site-footer-top {
  background: var(--midnight);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer-top::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at bottom left, rgba(189,187,255,0.08) 0%, rgba(251,227,241,0.04) 50%, transparent 100%);
  pointer-events: none;
}
.footer-disclaimer {
  font-style: italic;
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 44rem;
  position: relative;
  z-index: 1;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 600px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lavender);
  margin-bottom: 0.875rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color 200ms ease-out;
}
.footer-col a:hover { color: var(--primary); }
.footer-rule-dark {
  height: 1px;
  background: var(--rule-dark);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.site-footer-bottom {
  background: var(--midnight-800);
  padding: 1rem 0;
}
.site-footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-colophon {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-mark {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* ===== 404 page ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-page .eyebrow { margin-bottom: 1rem; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.error-page .lede { margin-bottom: 2rem; }

/* ===== Responsive ===== */
@media (min-width: 768px) {
  main { padding: 4rem 0 6rem; }
  .hero { padding: 5rem 0 0; }
  .page-hero { padding: 4rem 0 3rem; }
}
@media (min-width: 1024px) {
  main { padding: 5rem 0 8rem; }
}

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

/* ===== Focus on dark backgrounds ===== */
.site-footer-top a:focus-visible,
.site-footer-bottom a:focus-visible,
.pull-band a:focus-visible,
.stat-strip a:focus-visible {
  outline-color: var(--primary);
}

/* ===== Tippy.js overrides ===== */
.tippy-box {
  border-radius: var(--radius-card) !important;
  border: 1px solid var(--rule) !important;
  box-shadow: 0 4px 16px var(--shadow-tint), 0 12px 32px rgba(1,1,32,0.10) !important;
  max-width: 24rem !important;
}
.tippy-content {
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: var(--text) !important;
  padding: 0.75rem 1rem !important;
}
