:root {
  --bg: #0a0e14;
  --bg-elev: #121826;
  --bg-card: #161d2e;
  --border: #263047;
  --text: #e6edf3;
  --text-muted: #94a3b8;
  --accent: #3d9eff;
  --accent-2: #6B4C9A;
  --glp1r: #6B4C9A;
  --gipr: #C2185B;
  --gcgr: #E65100;
  --vegfr2: #00838F;
  --ok: #2e7d32;
  --warn: #e6a700;
  --danger: #c0392b;
  --radius: 10px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #001;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.brand span { color: var(--accent); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.hero {
  text-align: center;
  padding: 48px 16px;
}
.hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.card.placeholder {
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.peptide-card h3 { margin: 0 0 6px; }
.peptide-card p { color: var(--text-muted); font-size: 0.92rem; margin: 6px 0 12px; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge.category { background: rgba(61,158,255,0.15); color: var(--accent); }
.badge.status-approved { background: rgba(46,125,50,0.2); color: #6fcf73; }
.badge.status-investigational { background: rgba(230,167,0,0.2); color: var(--warn); }
.badge.status-research-only { background: rgba(192,57,43,0.2); color: #ef8a80; }
.badge.status-mixed { background: rgba(107,76,154,0.2); color: #b79ee0; }

.stepper {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.stepper li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 42px;
  border-left: 2px solid var(--border);
  margin-left: 16px;
}
.stepper li::before {
  content: counter(step);
  position: absolute;
  left: -17px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #001;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper li:last-child { border-left-color: transparent; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th { background: var(--bg-elev); color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }

.muted { color: var(--text-muted); font-size: 0.9rem; }

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

details.glossary-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}
details.glossary-item summary { cursor: pointer; font-weight: 600; }

.pathway-list {
  list-style: none;
  padding: 0;
}
.pathway-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}

.sim-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 640px) { .sim-branches { grid-template-columns: 1fr; } }
.sim-branch h4 { margin-top: 0; }
.sim-branch.without { border-left: 3px solid var(--danger); padding-left: 12px; }
.sim-branch.with { border-left: 3px solid var(--ok); padding-left: 12px; }

.disclaimer-banner {
  background: rgba(230,167,0,0.1);
  border: 1px solid rgba(230,167,0,0.4);
  color: var(--warn);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.field-select {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}
