/* ===========================================================
   Repletex landing page styles
   Editorial pharma/biotech treatment.
   No em-dashes anywhere in user-facing copy.
   =========================================================== */

:root {
  /* Palette */
  --bg: #FBFAF6;
  --canvas: #F4F1E8;
  --ink: #0A1A1B;
  --ink-2: #14302F;
  --muted: #5C6B6C;
  --muted-soft: #8A9293;
  --line: #E2DDD0;
  --line-2: #D2CBB8;
  --accent: #0E3D3E;       /* deep evergreen */
  --accent-2: #1B6963;     /* sage teal */
  --accent-dark: #082527;
  --gold: #B98D4F;         /* refined warm accent */
  --gold-soft: #E5D4B2;
  --white: #FFFFFF;
  --black: #050C0D;

  /* Typography */
  --serif: "Fraunces", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* System */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 27, 0.04);
  --shadow: 0 18px 48px -16px rgba(10, 26, 27, 0.18);
  --shadow-lg: 0 30px 80px -20px rgba(10, 26, 27, 0.28);

  --pad: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 9vw, 132px);

  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button { font: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* ===== Typography ===== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

h2 {
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 80;
}

h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.muted { color: var(--muted); }
.eyebrow.on-dark { color: var(--gold-soft); }

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 61, 62, 0.12);
}

.lede,
.section-sub {
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  max-width: 64ch;
}

.section-sub.on-dark { color: rgba(245, 240, 226, 0.78); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(226, 221, 208, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
}

.brand-text { display: inline-flex; align-items: baseline; }
.brand-text .plus {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  margin-left: 1px;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.18s ease;
}

.site-header nav a:hover { color: var(--ink); }

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease;
}

.header-cta:hover { background: var(--accent); }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 28px -10px rgba(10, 26, 27, 0.5);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-primary svg { transition: transform 0.18s ease; }
.btn-primary:hover svg { transform: translateX(2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--ink);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 110% 0%, rgba(184, 141, 79, 0.10), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(14, 61, 62, 0.08), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 7vw, 112px);
}

.hero-copy { max-width: 760px; }

.hero h1 { margin: 0 0 26px; }

.hero .lede { margin-bottom: 36px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 36px;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.hero-trust li {
  position: relative;
  padding-left: 14px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-trust span {
  display: inline-block;
  margin-right: 4px;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-stats {
  display: grid;
  gap: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-stats article {
  padding: 28px 28px 26px;
  border-bottom: 1px solid var(--line);
}
.hero-stats article:last-child { border-bottom: 0; }

.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 4.4vw, 64px);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 10px;
}

.hero-stats p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

/* hero marquee */
.hero-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  padding: 16px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  padding-left: 28px;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.marquee-track span:nth-child(2n) { color: var(--gold); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Section frame ===== */

main > section { padding: var(--section-y) 0; }

.section-head { max-width: 880px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .lede,
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

.section-head h2 { margin-bottom: 18px; }

/* ===== Problem section ===== */

.problem { background: var(--bg); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.card-num {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.card-problem h3 { margin-bottom: 8px; }
.card-problem p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Solution section ===== */

.solution {
  background:
    linear-gradient(180deg, var(--canvas), var(--bg) 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Ingredients (gated) */

.ingredients { margin: 0 auto 80px; max-width: 1080px; }

.ingredients-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ingredients-head .small {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.gate-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.ingredient-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ingredient {
  position: relative;
  padding: 28px 30px;
  background: var(--white);
  transition: background 0.18s ease;
}

.ingredient:hover { background: var(--canvas); }

.ingredient.differentiator {
  background:
    linear-gradient(135deg, rgba(184, 141, 79, 0.06), rgba(184, 141, 79, 0.0) 60%),
    var(--white);
}

.ing-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(14, 61, 62, 0.07);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ing-pill[data-tag="Bone"] { background: rgba(184, 141, 79, 0.12); color: #8C6326; }
.ing-pill[data-tag="Gastric"] { background: rgba(207, 89, 36, 0.10); color: #B45A20; }
.ing-pill[data-tag="Microbiome"] { background: rgba(47, 136, 102, 0.12); color: #2F8866; }

.ingredient h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ingredient .ing-form {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ingredient .why {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.gate-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 26px;
  background:
    linear-gradient(180deg, rgba(14, 61, 62, 0.05), rgba(14, 61, 62, 0.02));
  border: 1px dashed rgba(14, 61, 62, 0.28);
  border-radius: var(--radius-lg);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gate-cta:hover {
  background:
    linear-gradient(180deg, rgba(14, 61, 62, 0.08), rgba(14, 61, 62, 0.04));
  border-color: rgba(14, 61, 62, 0.5);
  border-style: solid;
  transform: translateY(-1px);
}

.gate-cta-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--white);
  color: var(--accent);
  border: 1px solid rgba(14, 61, 62, 0.2);
  border-radius: 10px;
}

.gate-cta-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.gate-cta-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.gate-cta-copy span {
  font-size: 13.5px;
  color: var(--muted);
}

.gate-cta-arrow {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.18s ease;
}
.gate-cta:hover .gate-cta-arrow { transform: translateX(3px); }

.muted { color: var(--muted); }

.mechanisms { margin-top: 8px; }
.mechanisms > header { max-width: 720px; margin-bottom: 36px; }
.mechanisms h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mech {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mech:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.mech-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 22px;
  background: rgba(14, 61, 62, 0.08);
  color: var(--accent);
  border-radius: 12px;
}

.mech h4 { margin: 0 0 8px; }
.mech p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ===== Science (dark) ===== */

.science {
  background: var(--accent-dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.science::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(184, 141, 79, 0.18), transparent 50%),
    radial-gradient(50% 70% at 0% 100%, rgba(27, 105, 99, 0.35), transparent 60%);
  pointer-events: none;
}

.science .container { position: relative; }

.science h2 { color: var(--bg); }
.science .section-sub { color: rgba(245, 240, 226, 0.78); }

.pull-quote {
  margin: 48px auto 64px;
  max-width: 900px;
  padding: 40px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold);
  border-radius: 4px 18px 18px 4px;
}

.pull-quote blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25;
  color: var(--bg);
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
}

.pull-quote figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.references h3 {
  color: var(--bg);
  margin-bottom: 20px;
}

.references ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.references li {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 141, 79, 0.18);
  border-radius: var(--radius);
}

.ref-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: rgba(184, 141, 79, 0.18);
  color: var(--gold-soft);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.references p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(245, 240, 226, 0.85);
}

.references strong { color: var(--bg); font-weight: 600; }
.references em { color: var(--gold-soft); font-style: italic; }

.ref-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  color: inherit;
  transition: transform 0.2s ease;
}
.ref-link:hover { transform: translateX(2px); }
.ref-link p { margin: 0; }

.ref-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  align-self: flex-start;
  border-bottom: 1px solid rgba(184, 141, 79, 0.4);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.ref-link:hover .ref-cta { color: var(--gold-soft); border-color: var(--gold); }

.pull-quote figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(229, 212, 178, 0.32);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.pull-quote figcaption a:hover { color: var(--bg); border-color: var(--gold-soft); }

.form-note[data-tone="success"] { color: #2F8866; }
.form-note[data-tone="warn"] { color: #B98D4F; }
.form-note[data-tone="info"] { color: var(--accent); }

.form-shell { position: relative; }

.form-success {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 48px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: success-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 20px;
  background: rgba(47, 136, 102, 0.1);
  color: #2F8866;
  border-radius: 999px;
}

.form-success h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.015em;
}

.form-success p {
  margin: 0 auto 28px;
  max-width: 50ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.form-success .btn { width: auto; padding: 0 28px; }

/* ===== Buyers ===== */

.buyers { background: var(--bg); }

.buyers-intro { max-width: 880px; margin-bottom: clamp(40px, 5vw, 72px); }

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.buyer-card {
  padding: 32px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease;
}

.buyer-card:hover { background: var(--canvas); }

.buyer-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.buyer-card h3 { margin: 0; }
.buyer-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Platform (dark) ===== */

.platform {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.platform::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 80% at 80% 0%, rgba(27, 105, 99, 0.35), transparent 60%),
    radial-gradient(40% 60% at 10% 100%, rgba(184, 141, 79, 0.18), transparent 60%);
  pointer-events: none;
}

.platform .container { position: relative; }
.platform h2 { color: var(--bg); }

.platform-diagram {
  position: relative;
  margin: 60px auto 0;
  max-width: 1080px;
  padding: 56px clamp(20px, 4vw, 56px);
  background:
    radial-gradient(60% 90% at 50% 50%, rgba(27, 105, 99, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(184, 141, 79, 0.22);
  border-radius: var(--radius-lg);
}

.platform-core {
  display: grid;
  place-items: center;
  width: 168px; height: 168px;
  margin: 0 auto 40px;
  background:
    radial-gradient(circle at 30% 30%, rgba(184, 141, 79, 0.32), transparent 60%),
    var(--accent);
  border: 1px solid rgba(184, 141, 79, 0.4);
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 0 0 8px rgba(14, 61, 62, 0.4), 0 30px 80px rgba(0,0,0,0.4);
}

.core-label {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.core-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.platform-orbits {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.platform-orbits li {
  position: relative;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 141, 79, 0.18);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.platform-orbits li:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(184, 141, 79, 0.06);
}

.platform-orbits .dot {
  display: block;
  width: 8px; height: 8px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  opacity: 0.7;
}

.platform-orbits .dot.live {
  background: #4ED6A2;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(78, 214, 162, 0.25);
}

.platform-orbits strong {
  display: block;
  color: var(--bg);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.platform-orbits em {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orbit-meds {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 240, 226, 0.55);
  font-style: italic;
  letter-spacing: -0.005em;
}

/* ===== Drugs in scope ===== */

.drugs-in-scope {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.drug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.drug-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.drug-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.drug-card.live {
  background:
    linear-gradient(135deg, rgba(14, 61, 62, 0.04), rgba(14, 61, 62, 0) 60%),
    var(--white);
  border-color: rgba(14, 61, 62, 0.22);
}

.drug-card header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.drug-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  background: rgba(184, 141, 79, 0.12);
  color: #8C6326;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drug-status.live {
  background: rgba(47, 136, 102, 0.12);
  color: #2F8866;
}

.drug-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.drug-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.drug-card dt {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.drug-card dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.drug-disclaimer {
  margin: 32px auto 0;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-soft);
  text-align: center;
}

/* ===== Contact form ===== */

.contact {
  background:
    linear-gradient(180deg, var(--bg), var(--canvas) 70%);
  border-top: 1px solid var(--line);
}

.form {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.seg-option { cursor: pointer; }

.seg-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg-pill {
  display: block;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.seg-pill strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.seg-pill em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 13.5px;
}

.seg-option input:checked + .seg-pill {
  background: var(--ink);
  border-color: var(--ink);
}
.seg-option input:checked + .seg-pill strong { color: var(--bg); }
.seg-option input:checked + .seg-pill em { color: rgba(245, 240, 226, 0.78); }

.seg-option input:focus-visible + .seg-pill {
  outline: 3px solid rgba(14, 61, 62, 0.25);
  outline-offset: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.field { display: grid; gap: 8px; }

.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.field .optional,
.field .required {
  font-style: normal;
  font-weight: 400;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 8px;
}

.field .optional { color: var(--muted-soft); }
.field .required { color: var(--accent); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 61, 62, 0.14);
}

.field textarea { resize: vertical; min-height: 120px; }

.field.wide { grid-column: 1 / -1; }

.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.form-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ===== FAQ ===== */

.faq { background: var(--bg); border-top: 1px solid var(--line); }

.faq .section-head { max-width: 720px; }

.faq-list { max-width: 920px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

.chev {
  position: relative;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.chev::before, .chev::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.chev::before {
  top: 11px; left: 6px; width: 11px; height: 1.5px;
}

.chev::after {
  top: 6px; left: 11px; width: 1.5px; height: 11px;
}

.faq details[open] .chev { background: var(--ink); border-color: var(--ink); }
.faq details[open] .chev::before { background: var(--bg); }
.faq details[open] .chev::after { transform: scaleY(0); }

.faq p {
  margin: 16px 0 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 28px;
}

.site-footer .brand { color: var(--bg); }
.site-footer .brand-mark { background: var(--bg); color: var(--ink); }
.site-footer .brand-text .plus { color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 240, 226, 0.12);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 44ch;
  color: rgba(245, 240, 226, 0.62);
  font-size: 14.5px;
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-nav h4 {
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-nav a {
  display: block;
  margin-bottom: 10px;
  color: rgba(245, 240, 226, 0.7);
  font-size: 14.5px;
  transition: color 0.18s ease;
}

.footer-nav a:hover { color: var(--bg); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(245, 240, 226, 0.55);
  line-height: 1.55;
}

.disclaimer { max-width: 64ch; }

/* ===== Responsive ===== */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats article { border-bottom: 0; border-right: 1px solid var(--line); padding: 24px; }
  .hero-stats article:last-child { border-right: 0; }

  .problem-grid,
  .mech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .platform-orbits { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .references ul { grid-template-columns: 1fr; }

  .drug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .site-header {
    padding: 14px var(--pad);
    gap: 12px;
  }

  .site-header nav { display: none; }

  .header-cta { height: 36px; padding: 0 14px; font-size: 13.5px; }

  h1 { font-size: clamp(38px, 9vw, 54px); }
  h2 { font-size: clamp(28px, 7vw, 40px); }

  .hero { padding-top: 32px; }

  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats article { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats article:last-child { border-bottom: 0; }

  .problem-grid,
  .mech-grid,
  .form-grid,
  .footer-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .buyer-grid { grid-template-columns: 1fr; }

  .platform-orbits { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .drug-grid { grid-template-columns: 1fr; }

  .platform-core { width: 144px; height: 144px; }
  .core-label { font-size: 26px; }

  .ingredient-grid { grid-template-columns: 1fr; }
  .ingredients-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gate-cta { flex-wrap: wrap; gap: 12px; }
  .gate-cta-arrow { display: none; }

  .segment { grid-template-columns: 1fr; }

  .btn { width: 100%; }

  .form-row { flex-direction: column; align-items: stretch; }
  .form-row .form-note { text-align: center; }
}

/* ===== Print ===== */

@media print {
  .site-header, .header-cta, .hero-marquee, .footer-nav, .form, .faq summary .chev { display: none; }
  body { background: white; color: black; }
  .platform, .science, .site-footer { background: white !important; color: black !important; }
}
