:root {
  --ink: #151817;
  --muted: #58615d;
  --quiet: #7a837e;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --panel-2: #ede9df;
  --line: rgba(21, 24, 23, 0.12);
  --line-strong: rgba(21, 24, 23, 0.24);
  --green: #1e6f58;
  --green-soft: #dcece5;
  --amber: #a06f28;
  --blue: #275d89;
  --blue-soft: #dde9f2;
  --black: #101211;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(120deg, rgba(255,255,255,.74), rgba(247,245,239,.86)),
    radial-gradient(circle at 12% 4%, rgba(39,93,137,.09), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(30,111,88,.11), transparent 34%);
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
ul { margin: 0; padding-left: 18px; }
li + li { margin-top: 8px; }
input, select, textarea, button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 880px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,245,239,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; }
.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--black);
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: .04em;
}
.brand-name { white-space: nowrap; }
nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
nav a.active, nav a:hover { color: var(--ink); }
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255,255,255,.42);
  font-size: 14px;
  font-weight: 760;
}
.nav-cta:hover { background: #fff; }
.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; padding: 70px 0 92px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(500px,.95fr); align-items: center; gap: clamp(44px, 5vw, 76px); }
.hero-copy, .assurance-surface, .section-head, .product-card, .contact-form { min-width: 0; }
.hero-copy { position: relative; z-index: 1; }
.assurance-surface { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 620px; font-size: clamp(44px, 5vw, 76px); line-height: .96; letter-spacing: 0; }
.hero-lede, .page-hero p { max-width: 620px; margin-top: 26px; color: #252a27; font-size: clamp(19px, 1.75vw, 24px); line-height: 1.26; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 780;
  text-align: center;
  cursor: pointer;
}
.button-primary { color: #fff; background: var(--black); }
.button-primary:hover { background: #252927; }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.58); }
.button-secondary:hover { background: #fff; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.trust-strip span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.66);
  font-size: 13px;
  font-weight: 680;
}
.assurance-surface {
  overflow: hidden;
  border: 1px solid rgba(16,18,17,.16);
  border-radius: 8px;
  background: #101211;
  color: #f7f5ef;
  box-shadow: 0 34px 90px rgba(28,32,30,.18);
}
.surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mini-label { display: block; margin-bottom: 4px; color: rgba(247,245,239,.52); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.surface-head strong { display: block; color: #fff; font-size: 22px; line-height: 1.12; }
.surface-state {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  white-space: nowrap;
  padding: 0 10px;
  border-radius: 999px;
  color: #102017;
  background: #cfeadc;
  font-size: 12px;
  font-weight: 850;
}
.surface-body { display: grid; gap: 14px; padding: 18px; }
.work-product, .claim-table, .evidence-card, .audit-card {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}
.work-product { padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.045)); }
.doc-topline { display: flex; justify-content: space-between; gap: 16px; color: rgba(247,245,239,.58); font-size: 12px; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.work-product h2 { margin-top: 16px; max-width: 560px; color: #fff; font-size: clamp(28px, 2.65vw, 40px); line-height: 1.04; }
.work-product p { max-width: 560px; margin-top: 12px; color: rgba(247,245,239,.7); }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.status { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.status.supported { color: #0f2a1d; background: #cfeadc; }
.status.derived { color: #10283d; background: #dbe7f1; }
.status.review { color: #3c2b10; background: #f1dfbd; }
.claim-table { display: grid; overflow: hidden; }
.table-head, .claim-table div:not(.table-head) { display: grid; grid-template-columns: minmax(0,1fr) 104px; align-items: center; gap: 16px; }
.table-head { padding: 12px 16px; color: rgba(247,245,239,.56); border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.claim-table div:not(.table-head) { min-height: 46px; padding: 0 16px; color: rgba(247,245,239,.76); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.claim-table div:last-child { border-bottom: 0; }
.claim-table strong { color: #fff; font-size: 13px; text-align: right; }
.surface-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evidence-card, .audit-card { min-height: 96px; padding: 16px; }
.evidence-bars { display: grid; gap: 8px; margin-top: 14px; }
.evidence-bars span { display: block; width: var(--w); height: 8px; border-radius: 999px; background: linear-gradient(90deg, #cfeadc, rgba(207,234,220,.25)); }
.audit-card ol { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: rgba(247,245,239,.76); }
.audit-card li { display: flex; align-items: center; gap: 10px; }
.audit-card li::before { content: ""; width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #cfeadc; }
.section { padding: 92px 0; }
.section-muted { background: rgba(255,255,255,.52); border-block: 1px solid var(--line); }
.section-band { color: #f7f5ef; background: #111412; }
.section-proof { border-top: 1px solid var(--line); background: rgba(255,255,255,.48); }
.page-hero { padding: 96px 0 52px; }
.page-hero h1, .section-head h2, .detail-grid h2, .contact-preview h2, .contact-grid h2 { font-size: clamp(38px, 5.6vw, 68px); line-height: .98; letter-spacing: 0; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head p:not(.eyebrow), .detail-grid p, .contact-preview p, .contact-grid p, .study-copy p { max-width: 720px; margin-top: 18px; color: var(--muted); font-size: 18px; }
.evidence-split, .band-grid, .detail-grid, .contact-grid, .proof-study, .contact-preview-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(420px,1.08fr); gap: 56px; align-items: start; }
.metric-board { display: grid; gap: 14px; }
.metric-board div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.metric-board span { display: block; color: var(--ink); font-size: clamp(40px, 5vw, 70px); font-weight: 850; line-height: .95; }
.metric-board p { max-width: 440px; margin-top: 10px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-card, .proof-stack div, .proof-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.82);
}
.product-card { display: flex; min-height: 430px; flex-direction: column; padding: 28px; }
.product-kicker { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3, .proof-grid h3 { margin-top: 18px; font-size: 30px; line-height: 1.02; }
.product-card p, .product-card li, .proof-grid p { color: var(--muted); }
.product-card p { margin-top: 14px; }
.product-card ul { margin-top: 22px; }
.product-card a, .text-link { color: var(--green); font-weight: 820; }
.product-card a { margin-top: auto; padding-top: 24px; }
.fit-list { display: grid; gap: 12px; }
.fit-list p { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(247,245,239,.72); font-size: 18px; }
.section-band .eyebrow { color: #8fd0b4; }
.section-band h2 { color: #fff; }
.contact-preview-grid { align-items: center; }
.contact-preview .button { justify-self: end; }
.proof-stack { display: grid; gap: 14px; }
.proof-stack div { padding: 24px; }
.proof-stack span, .proof-grid span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 850;
}
.proof-stack strong { display: block; margin-top: 14px; font-size: 22px; }
.proof-stack p { margin-top: 8px; color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.proof-grid article { padding: 26px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.contact-form label { display: grid; gap: 8px; color: #303633; font-size: 13px; font-weight: 820; }
.contact-form .full, .contact-form button, .success-note { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: rgba(30,111,88,.64);
  box-shadow: 0 0 0 3px rgba(30,111,88,.12);
}
.hp { position: absolute; left: -9999px; }
.success-note { display: none; padding: 12px 14px; border-radius: 8px; color: #0f2a1d; background: var(--green-soft); font-weight: 760; }
.submitted .success-note { display: block; }
.footer { padding: 56px 0 28px; color: #dfe5e1; background: #111412; }
.footer-grid { display: grid; grid-template-columns: minmax(260px,1.45fr) repeat(3,minmax(150px,.65fr)); gap: 34px; }
.footer .brand-mark { color: #111412; background: #f7f5ef; }
.footer p { max-width: 360px; margin-top: 14px; color: rgba(223,229,225,.66); }
.footer a { display: block; margin-top: 10px; color: rgba(223,229,225,.72); }
.footer a:hover { color: #fff; }
.footer .brand { display: inline-flex; margin-top: 0; color: #fff; }
.label { display: block; margin-bottom: 12px; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(223,229,225,.54); font-size: 14px; }
@media (max-width: 980px) {
  .container { width: min(100% - 28px, 760px); }
  nav { display: none; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-grid, .evidence-split, .band-grid, .detail-grid, .contact-grid, .proof-study, .contact-preview-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-grid, .proof-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-preview .button { justify-self: start; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 24px); max-width: calc(100% - 24px); }
  .section { padding: 70px 0; }
  .brand-name { display: none; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 13px; }
  h1 { font-size: 40px; line-height: .98; }
  .hero-lede, .page-hero p { font-size: 21px; }
  .hero-actions .button, .contact-preview .button { width: 100%; }
  .product-grid, .proof-grid, .footer-grid, .contact-form, .surface-lower { grid-template-columns: 1fr; }
  .assurance-surface { width: 100%; }
  .surface-head, .doc-topline { align-items: flex-start; flex-direction: column; }
  .surface-body { padding: 12px; }
  .work-product { padding: 16px; }
  .table-head, .claim-table div:not(.table-head) { grid-template-columns: 1fr; gap: 4px; padding-block: 12px; }
  .claim-table strong { text-align: left; }
  .product-card { min-height: auto; }
}

/* --- Treated comparison (home) --- */
.section-compare { border-top: 1px solid var(--line); }
.compare-grid { display: grid; grid-template-columns: minmax(0,1fr) 148px minmax(0,1fr); gap: 18px; align-items: stretch; }
.compare-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--panel); }
.compare-card.untreated { background: linear-gradient(180deg, #fbf2e6, #f8eedf); border-color: rgba(160,111,40,.38); }
.compare-card.treated { background: linear-gradient(180deg, #e9f4ee, #e1efe8); border-color: rgba(30,111,88,.42); }
.compare-head { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.compare-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; }
.compare-dot.warn { background: var(--amber); box-shadow: 0 0 0 4px rgba(160,111,40,.16); }
.compare-dot.good { background: var(--green); box-shadow: 0 0 0 4px rgba(30,111,88,.16); }
.compare-tag { margin-left: auto; padding: 4px 11px; border-radius: 999px; background: #f1dfbd; color: #3c2b10; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.compare-tag.ok { background: #cfeadc; color: #0f2a1d; }
.compare-card h3 { margin-top: 20px; font-size: clamp(22px, 2vw, 29px); line-height: 1.06; }
.compare-card p { margin-top: 12px; color: var(--muted); }
.claim-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.chip { display: inline-flex; min-height: 30px; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 850; }
.chip.bad { color: #5b3a10; border: 1px solid rgba(160,111,40,.34); background: rgba(160,111,40,.13); }
.chip.good { color: #0f2a1d; border: 1px solid rgba(30,111,88,.32); background: rgba(30,111,88,.12); }
.compare-flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.flow-label { color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.flow-arrow { color: var(--green); font-size: 36px; line-height: 1; font-weight: 850; }
.compare-flow ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.compare-flow li { padding: 5px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--muted); font-size: 12px; font-weight: 820; letter-spacing: .04em; text-transform: uppercase; }
.compare-note { margin-top: 22px; color: var(--quiet); font-size: 14.5px; }

/* --- Evidence board (science) --- */
.fab-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); }
.fab-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fab-table th { padding: 14px 18px; border-bottom: 1px solid var(--line-strong); background: rgba(237,233,223,.64); color: var(--muted); font-size: 11.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.fab-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.fab-table tr:last-child td { border-bottom: 0; }
.fab-table .num { font-variant-numeric: tabular-nums; font-weight: 820; white-space: nowrap; }
.fab-table .drop { color: var(--green); font-weight: 850; }
.note-card { margin-top: 26px; padding: 20px 24px; border: 1px solid var(--line-strong); border-left: 4px solid var(--green); border-radius: 12px; background: var(--panel); color: var(--muted); }
.note-card.caveat { border-left-color: var(--amber); }
.note-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

/* --- Vision --- */
.manifesto { max-width: 920px; font-size: clamp(26px, 3.4vw, 46px); font-weight: 850; line-height: 1.06; letter-spacing: -.01em; }

/* --- Subpage rhythm: aligned heroes, calmer scale --- */
.container.narrow { max-width: none; }
.container.narrow h1 { max-width: 880px; }
.container.narrow p:not(.eyebrow) { max-width: 660px; }
body.subpage .page-hero { padding: 76px 0 28px; }
body.subpage .page-hero h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.01em; }
body.subpage .page-hero p:not(.eyebrow) { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; }
body.subpage .section { padding: 60px 0; }
body.subpage .section-head { margin-bottom: 26px; }
body.subpage .section-head h2,
body.subpage .detail-grid h2,
body.subpage .contact-grid h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.06; }
body.subpage .section-head p:not(.eyebrow) { margin-top: 14px; font-size: 17px; }
.fab-foot { margin-top: 14px; color: var(--quiet); font-size: 14px; max-width: 880px; }

@media (max-width: 980px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-flow { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 2px 0; }
  .compare-flow ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .flow-arrow { font-size: 26px; transform: rotate(90deg); }
}
