/* Lab Source Data. Layout: calm single column, hairline rules, mono labels; split hero with an anonymized record specimen. */
:root {
  --paper: #F5F7F6;
  --surface: #FFFFFF;
  --ink: #141A19;
  --muted: #56615E;
  --rule: #D9DFDC;
  --accent: #1D5C4F;
  --accent-soft: #E3EEEA;
  --warn: #8A5A12;
  --warn-soft: #F6EEDF;
  --redact: #141A19;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 4.2vw + 1rem, 3.5rem);
  --wrap: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F1413; --surface: #161D1B; --ink: #E6ECE9; --muted: #9AA7A3;
    --rule: #26312E; --accent: #7EC2AF; --accent-soft: #1A2B27;
    --warn: #E2B66B; --warn-soft: #2A2217; --redact: #E6ECE9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F1413; --surface: #161D1B; --ink: #E6ECE9; --muted: #9AA7A3;
  --rule: #26312E; --accent: #7EC2AF; --accent-soft: #1A2B27;
  --warn: #E2B66B; --warn-soft: #2A2217; --redact: #E6ECE9;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.mark svg { display: block; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn-small { color: var(--ink); border: 1px solid var(--ink); padding: 7px 14px; border-radius: 3px; white-space: nowrap; }
.nav .btn-small:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 800px) { .nav a:not(.btn-small) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); padding: 13px 20px; border-radius: 3px;
  font: inherit; font-weight: 500; font-size: 0.9875rem; border: 1px solid var(--ink); line-height: 1.3;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 0.9rem; }
.btn-lg { padding: 15px 24px; font-size: 1.03rem; }
.text-link { color: var(--accent); text-underline-offset: 3px; font-weight: 500; }

.eyebrow { font-family: var(--mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.875rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.reassure li { display: flex; align-items: center; gap: 7px; }
.reassure li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Disclosure strip */
.disclosure {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-soft); border-radius: 3px; padding: 12px 16px;
  font-size: 0.9rem; line-height: 1.5; color: var(--ink);
}
.disclosure strong { font-weight: 600; }
.disclosure svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding-block: 76px 84px; }
.hero-copy { min-width: 0; display: grid; gap: 26px; }
.hero h1 { font-size: var(--step-3); line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 38ch; }
.specimen {
  margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7;
}
.specimen-head {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px;
  border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.specimen-body { padding: 14px 18px 16px; overflow-x: auto; }
.row { display: grid; grid-template-columns: 4.4rem 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--rule); white-space: nowrap; }
.row:last-child { border-bottom: 0; }
.t { color: var(--muted); font-variant-numeric: tabular-nums; }
.k { color: var(--accent); }
.x { background: var(--redact); color: transparent; border-radius: 1px; user-select: none; padding: 0 2px; }
.specimen-foot { padding: 12px 18px; border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--body); font-size: 0.8125rem; line-height: 1.5; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; padding-block: 48px 56px; } }

/* Proof strip */
.proof { border-top: 1px solid var(--rule); background: var(--surface); }
.proof .wrap { padding-block: 34px; display: grid; gap: 18px; }
.proof-label { font-family: var(--mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.proof-item { display: grid; gap: 8px; align-content: start; }
.proof-item .big { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; letter-spacing: -0.01em; }
.proof-item p { font-size: 0.925rem; color: var(--muted); }
.proof-item cite { font-style: normal; font-size: 0.8125rem; }
.proof-item cite a { color: var(--muted); text-underline-offset: 3px; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr; gap: 22px; } }

/* Sections */
section.block { border-top: 1px solid var(--rule); }
section.block > .wrap { display: grid; gap: 32px; padding-block: 80px; }
.section-head { display: grid; gap: 14px; max-width: 66ch; }
.section-head h2 { font-size: var(--step-2); line-height: 1.2; }
.section-head p { color: var(--muted); }
@media (max-width: 880px) { section.block > .wrap { padding-block: 56px; gap: 26px; } }

/* Fit checker */
.fit-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .fit-layout { grid-template-columns: 1fr; } }
.fit-form { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; display: grid; gap: 18px; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress-bar { flex: 1; height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s ease; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; padding: 0; }
.field select {
  font: inherit; font-size: 0.975rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 3px; padding: 10px 12px; width: 100%;
}
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check span {
  display: inline-block; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px;
  font-size: 0.875rem; color: var(--muted); background: var(--paper);
}
.check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hint { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }

.results { display: grid; gap: 14px; min-width: 0; }
.results-empty { border: 1px dashed var(--rule); border-radius: 4px; padding: 28px 24px; color: var(--muted); display: grid; gap: 8px; }
.results-empty strong { color: var(--ink); font-weight: 600; }
.group-label { font-family: var(--mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 6px; }
.match { background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 18px 20px; display: grid; gap: 12px; }
.match.top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.match-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.match-head h3 { font-size: 1.3rem; }
.pill { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.pill.maybe { background: var(--paper); color: var(--muted); border: 1px solid var(--rule); }
.reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 0.925rem; color: var(--muted); }
.reasons li { padding-left: 18px; position: relative; }
.reasons li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 9px; height: 1px; background: var(--accent); }
.next { font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.next strong { color: var(--ink); font-weight: 600; }
.excluded { font-size: 0.9rem; color: var(--muted); display: grid; gap: 4px; }
.caution { background: var(--warn-soft); color: var(--ink); border-radius: 3px; padding: 12px 14px; font-size: 0.9rem; line-height: 1.5; }
.caution strong { color: var(--warn); font-weight: 600; }
.share { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 16px 20px; }
.share p { font-size: 0.925rem; color: var(--muted); }
.share p strong { color: var(--ink); font-weight: 600; }
.share .actions { gap: 8px; }

/* Industry tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.tile { padding: 22px 22px 24px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.tile h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.tile p { font-size: 0.9375rem; color: var(--muted); }
.tile a { font-size: 0.9375rem; }
@media (max-width: 880px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { padding-right: 0; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.925rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 500; background: var(--paper); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-family: var(--display); font-weight: 400; font-size: 1.1rem; white-space: nowrap; }
.compare td.cta { white-space: nowrap; }

/* Buyer profiles */
.profiles { display: grid; gap: 0; }
.profile { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.profile:last-child { border-bottom: 1px solid var(--rule); }
.profile-side { display: grid; gap: 14px; align-content: start; }
.profile-side h2 { font-size: 1.6rem; }
.profile-body { display: grid; gap: 16px; min-width: 0; }
.profile-body h3 { font-family: var(--body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.profile-body p, .profile-body li { color: var(--muted); }
.profile-body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.facts { margin: 0; display: grid; gap: 8px; font-size: 0.875rem; align-content: start; }
.facts div { display: grid; gap: 1px; }
.facts dt { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0; }
.how-apply { font-size: 0.8125rem; color: var(--muted); }
.sources { font-size: 0.8125rem; color: var(--muted); }
.sources a { color: var(--muted); text-underline-offset: 3px; }
@media (max-width: 720px) { .profile { grid-template-columns: 1fr; gap: 16px; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--step--1); color: var(--accent); padding-top: 4px; }
.steps h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.steps p { color: var(--muted); max-width: 62ch; }

/* Commitments */
.commitments { display: grid; }
.commit { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 32px; padding: 22px 0; border-top: 1px solid var(--rule); }
.commit:last-child { border-bottom: 1px solid var(--rule); }
.commit h3 { font-size: 1.25rem; line-height: 1.3; }
.commit p { color: var(--muted); max-width: 58ch; }
@media (max-width: 640px) { .commit { grid-template-columns: 1fr; gap: 6px; } }

/* Founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; max-width: 760px; }
.monogram { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-size: 1.6rem; }
.founder-body { display: grid; gap: 10px; }
.founder-body h3 { font-size: 1.35rem; }
.founder-body p { color: var(--muted); }
@media (max-width: 520px) { .founder { grid-template-columns: 1fr; gap: 14px; } }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.125rem; line-height: 1.4; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { color: var(--muted); padding: 0 0 22px; max-width: 68ch; display: grid; gap: 10px; }

/* Updates */
.updates { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 24px; }
.updates div { display: grid; gap: 6px; max-width: 56ch; }
.updates h3 { font-size: 1.3rem; }
.updates p { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact { border-top: 1px solid var(--rule); background: var(--surface); }
.contact .wrap { padding-block: 84px; display: grid; gap: 22px; justify-items: start; }
.contact h2 { font-size: var(--step-3); line-height: 1.08; max-width: 18ch; }
.contact p { color: var(--muted); max-width: 54ch; font-size: var(--step-1); line-height: 1.5; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email-text { font-family: var(--mono); font-size: 1rem; user-select: all; }
.copy { font: inherit; font-size: 0.875rem; background: transparent; color: var(--muted); border: 1px solid var(--rule); border-radius: 3px; padding: 6px 12px; cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink); }

/* Page header (subpages) */
.page-head .wrap { padding-block: 56px 48px; display: grid; gap: 18px; }
.crumbs { font-size: 0.875rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.page-head h1 { font-size: var(--step-3); line-height: 1.1; max-width: 22ch; }
.page-head .lede { max-width: 58ch; }
.updated { font-size: 0.8125rem; color: var(--muted); font-family: var(--mono); }

/* Article (guide) */
.article-layout { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(24px + env(safe-area-inset-top, 0px)); display: grid; gap: 10px; font-size: 0.9rem; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose h2 { font-size: var(--step-2); line-height: 1.2; margin-top: 28px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-top: 6px; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.callout { background: var(--accent-soft); border-radius: 4px; padding: 18px 20px; display: grid; gap: 10px; }
.callout p { color: var(--ink); }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 14px; height: 14px; border: 1.5px solid var(--accent); border-radius: 2px; }
@media (max-width: 880px) { .article-layout { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; } }

/* Two-column lists on industry pages */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.split h3 { font-family: var(--mono); font-size: var(--step--1); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--accent); }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--surface); border-top: 1px solid var(--rule);
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform 0.25s ease;
}
.sticky-cta p { font-size: 0.875rem; color: var(--muted); }
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 760px) { .sticky-cta { display: flex; } body.has-sticky { padding-bottom: 76px; } }

/* Footer */
footer { border-top: 1px solid var(--rule); }
footer .wrap { padding-block: 40px 44px; display: grid; gap: 28px; font-size: 0.875rem; color: var(--muted); }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-nav div { display: grid; gap: 8px; align-content: start; }
.foot-nav h2 { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.foot-nav a { color: var(--ink); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer p { max-width: 92ch; }
@media (max-width: 560px) { .foot-nav { grid-template-columns: 1fr 1fr; } }
