:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f7f7f5;
  --soft: #eeeeeb;
  --ink: #141517;
  --ink-2: #34363a;
  --muted: #6a6d72;
  --line: #d8d9d6;
  --line-dark: #aeb0ad;
  --red: #b42318;
  --red-bg: #fef3f2;
  --yellow: #8a6100;
  --yellow-bg: #fff8df;
  --green: #176b3a;
  --green-bg: #edf8f0;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  width: min(var(--max), calc(100% - 32px));
  min-height: 66px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(247,247,245,.96);
  backdrop-filter: blur(14px);
}
.brand { font-size: .95rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; }
.brand span { font-size: .66em; vertical-align: super; }
nav { display: none; }
.header-cta, .button, button { min-height: 46px; font-weight: 780; text-decoration: none; }
.header-cta { display: inline-flex; align-items: center; padding: 0 15px; color: var(--white); background: var(--ink); }

main, footer { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.hero { display: grid; gap: 42px; align-items: center; padding: 66px 0 50px; }
.eyebrow, .report-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-name { margin: 0 0 4px; font-size: clamp(1.2rem, 4vw, 1.7rem); font-weight: 850; letter-spacing: -.035em; }
.product-signature { margin: 0 0 20px; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 22px; font-size: clamp(3rem, 11vw, 5.6rem); line-height: .94; letter-spacing: -.067em; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 7vw, 3.7rem); line-height: 1; letter-spacing: -.05em; }
.supporting-copy, .section-heading > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.receive-list { margin-top: 26px; color: var(--muted); }
.receive-list strong { display: block; margin-bottom: 12px; color: var(--ink); }
.receive-list ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.receive-list li::before { margin-right: 9px; color: var(--ink); content: "—"; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; }
.button.primary, button { border: 1px solid var(--ink); color: var(--white); background: var(--ink); }
.button.secondary { border: 1px solid var(--line-dark); color: var(--ink); background: var(--white); }
button { padding: 0 20px; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }

.hero-panel {
  width: min(440px, 100%);
  justify-self: center;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20,21,23,.08);
}
.report-label { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.score-preview { display: grid; justify-items: center; padding: 22px 0 24px; text-align: center; }
.score-number { font-size: clamp(5.5rem, 22vw, 8rem); font-weight: 900; line-height: .88; letter-spacing: -.085em; font-variant-numeric: tabular-nums; }
.score-caption { margin-top: 13px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.score-preview strong { margin-top: 11px; border-left: 4px solid currentColor; padding: 5px 9px; font-size: .78rem; text-transform: uppercase; }
.preview-stages { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.preview-stages span { display: grid; gap: 5px; justify-items: center; padding: 13px 4px; border-right: 1px solid var(--line); }
.preview-stages span:last-child { border-right: 0; }
.preview-stages b { color: var(--muted); font-size: .72rem; }
.preview-stages strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.report-meta { margin: 13px 0 0; color: var(--muted); font-size: .7rem; }

.health-check, .report, .trust, .how-it-works, .founder-note, .privacy { margin-top: 26px; border: 1px solid var(--line); background: var(--white); }
.health-check, .trust, .how-it-works, .founder-note, .privacy { padding: 28px 22px; }
.health-check { display: grid; gap: 34px; }
.contact-grid { display: grid; gap: 16px; }
form { align-self: center; }
label { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 760; }
.input-row { display: grid; gap: 10px; }
input { width: 100%; min-width: 0; min-height: 50px; border: 1px solid var(--line-dark); border-radius: 0; padding: 0 14px; color: var(--ink); background: var(--white); outline: none; }
input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--soft); }
.contact-grid + label { margin-top: 16px; }
.form-note, .muted, .alpha-note { color: var(--muted); font-size: .78rem; }
.form-note { margin: 9px 0 0; }
.form-message { margin: 11px 0 0; border-left: 4px solid var(--red); padding: 9px 11px; color: var(--red); background: var(--red-bg); font-size: .84rem; }
.form-message[data-kind="success"] { border-color: var(--green); color: var(--green); background: var(--green-bg); }
.turnstile-widget { min-height: 66px; margin-top: 14px; }
.loading { margin: 26px 0; border: 1px solid var(--line); padding: 24px; color: var(--muted); text-align: center; background: var(--white); }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--yellow); animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .3; transform: scale(1.5); } }

.report { padding: 22px; scroll-margin-top: 82px; }
.report-header { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.report-header h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 6vw, 2.5rem); }
.report-header .muted { margin-bottom: 4px; }
.report-score { display: grid; justify-items: start; }
.report-score > span { font-size: clamp(6.8rem, 31vw, 11rem); font-weight: 950; line-height: .78; letter-spacing: -.09em; font-variant-numeric: tabular-nums; }
.report-score small { margin-top: 20px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.report-score > strong { margin-top: 12px; border-left: 5px solid currentColor; padding: 7px 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.status-critical { color: var(--red) !important; background: var(--red-bg); }
.status-attention { color: var(--yellow) !important; background: var(--yellow-bg); }
.status-healthy { color: var(--green) !important; background: var(--green-bg); }
.status-insufficient { color: var(--ink-2) !important; background: var(--soft); }
.report-instruction { max-width: 820px; margin: 24px 0 18px; color: var(--muted); }
.methodology-summary { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.methodology-summary strong { color: var(--ink); }
.score-disclaimers { margin-top: 14px; }
.score-disclaimers p { margin-bottom: 6px; color: var(--muted); font-size: .73rem; }

.dose-stages { display: grid; gap: 1px; margin: 30px 0; background: var(--line); }
.stage-card { padding: 20px; background: var(--white) !important; color: var(--ink) !important; }
.stage-card.status-critical { border-top: 6px solid var(--red); }
.stage-card.status-attention { border-top: 6px solid var(--yellow); }
.stage-card.status-healthy { border-top: 6px solid var(--green); }
.stage-card.status-insufficient { border-top: 6px solid var(--line-dark); }
.stage-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.stage-letter { display: grid; width: 27px; height: 27px; place-items: center; color: var(--white); background: var(--ink); font-size: .78rem; font-weight: 900; }
.stage-heading h3 { margin: 3px 0 0; font-size: .82rem; letter-spacing: -.015em; }
.stage-score { font-size: 2.1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stage-status { display: inline-block; margin: 12px 0; border-left: 4px solid currentColor; padding: 4px 7px; font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.stage-card.status-critical .stage-status { color: var(--red); background: var(--red-bg); }
.stage-card.status-attention .stage-status { color: var(--yellow); background: var(--yellow-bg); }
.stage-card.status-healthy .stage-status { color: var(--green); background: var(--green-bg); }
.stage-card.status-insufficient .stage-status { color: var(--ink-2); background: var(--soft); }
.stage-explanation { min-height: 50px; color: var(--muted); font-size: .82rem; }
.marker-list { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.marker-list li { margin-bottom: 12px; }
.marker-list strong, .marker-list span { display: block; }
.marker-list strong { font-size: .74rem; }
.marker-list span { margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.45; }

.report-sections { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.report-sections > article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-title > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; color: var(--white); background: var(--ink); font-size: .72rem; font-weight: 850; }
.report-sections h3 { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.report-sections p, .report-sections li { color: var(--ink-2); line-height: 1.65; }
.report-sections ol { margin: 0; padding-left: 21px; }
.report-sections ol li { margin-bottom: 17px; padding-left: 8px; }
.report-sections ol strong, .report-sections ol span { display: block; }
.report-sections ol span { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.prescription-card { padding: 22px 0; border-top: 1px solid var(--line); }
.prescription-card:first-child { padding-top: 0; border-top: 0; }
.prescription-card h4 { margin-bottom: 15px; font-size: 1.15rem; }
.prescription-card > p { margin-bottom: 7px; font-size: .88rem; }
.science-support { margin-top: 18px; padding: 18px; border-left: 4px solid var(--ink); background: var(--paper); }
.science-support h5 { margin-bottom: 12px; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.science-support p, .science-support a { font-size: .78rem; }
.evidence-quality { font-weight: 800; }
.prognosis-disclaimer { color: var(--muted) !important; font-size: .78rem; }
.alpha-note { margin: 22px 0 0; padding-left: 12px; border-left: 3px solid var(--line-dark); }

.post-report { display: grid; gap: 1px; margin-top: 30px; background: var(--line); }
.post-report > div { padding: 24px; background: var(--paper); }
.post-report h3 { margin-bottom: 12px; font-size: 1.4rem; letter-spacing: -.035em; }
fieldset { margin: 0 0 18px; border: 0; padding: 0; }
legend { margin-bottom: 8px; font-weight: 750; }
fieldset label { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
fieldset input { width: auto; min-height: auto; }

.trust > p:not(.eyebrow), .privacy > p { max-width: 900px; color: var(--muted); }
.how-it-works ol { display: grid; gap: 1px; margin: 26px 0 0; padding: 0; background: var(--line); list-style: none; }
.how-it-works li { display: grid; min-height: 110px; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 20px; background: var(--white); }
.how-it-works li span { font-size: .74rem; font-weight: 850; }
.founder-note blockquote { max-width: 820px; margin: 26px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 4vw, 1.55rem); line-height: 1.55; }
.signature { margin-bottom: 0; font-weight: 800; }
.signature span { color: var(--muted); font-weight: 500; }
.privacy { display: grid; gap: 24px; }
.privacy > p { margin: 0; }

footer { display: flex; flex-direction: column; gap: 24px; padding: 44px 0; color: var(--muted); font-size: .82rem; }
footer div { display: flex; flex-direction: column; gap: 5px; }
footer strong { color: var(--ink); }
.policy-links { flex-direction: row; flex-wrap: wrap; gap: 14px; }

@media (min-width: 660px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  nav { display: flex; justify-content: center; gap: 18px; font-size: .76rem; }
  nav a { color: var(--muted); text-decoration: none; }
  .hero { grid-template-columns: 1.08fr .92fr; gap: 7vw; padding: 90px 0 70px; }
  .hero-panel { justify-self: end; }
  .receive-list ul { grid-template-columns: repeat(2, 1fr); }
  .health-check { grid-template-columns: .8fr 1.2fr; padding: 38px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .input-row { grid-template-columns: 1fr auto; }
  .report { padding: 40px; }
  .report-header { grid-template-columns: 1fr auto; align-items: start; }
  .report-score { min-width: 250px; justify-items: end; text-align: right; }
  .dose-stages { grid-template-columns: repeat(2, 1fr); }
  .post-report, .privacy { grid-template-columns: repeat(2, 1fr); }
  .how-it-works ol { grid-template-columns: repeat(3, 1fr); }
  .how-it-works li { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  footer { flex-direction: row; justify-content: space-between; }
  footer div:nth-child(2) { text-align: right; }
}

@media (min-width: 980px) {
  .dose-stages { grid-template-columns: repeat(4, 1fr); }
  .health-check, .trust, .how-it-works, .founder-note, .privacy { padding: 44px; }
}

@media (max-width: 820px) {
  .dose-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .dose-stages { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .report-score > span { font-size: 7.2rem; }
}

@media print {
  body { background: var(--white); font-size: 11pt; }
  .site-header, .hero, .health-check, .loading, .post-report, .trust, .how-it-works, .founder-note, .privacy, footer { display: none !important; }
  main { width: 100%; }
  .report { display: block !important; margin: 0; border: 0; padding: 0; }
  .stage-card, .report-sections > article, .prescription-card { break-inside: avoid; }
  a { text-decoration: none; }
}

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