/* GenoOnco — site styles
   Palette taken from H&E-stained tissue and the GenoOnco deck teal */
:root {
  --paper: #FAF7F0;      /* light cream page */
  --paper-2: #F1ECE0;    /* section tint */
  --ink: #1E2423;        /* body text */
  --ink-soft: #55605E;   /* secondary text */
  --teal: #1F5C5A;       /* brand */
  --teal-deep: #153F3E;
  --eosin: #C24E74;      /* signal accent, used sparingly */
  --haem: #4B3F7A;       /* hematoxylin violet, for data marks */
  --rule: #DCD4C3;
  --white: #FFFFFF;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Arial, sans-serif;
  --measure: 68ch;
  --radius-sm: 4px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--eosin); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 240, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--teal); text-decoration: underline; }
.nav .nav-cta { color: var(--white); background: var(--teal); padding: 8px 14px; border-radius: var(--radius-sm); }
.nav .nav-cta:hover { background: var(--teal-deep); color: var(--white); text-decoration: none; }
@media (max-width: 820px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(38px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 21px; line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 56ch; }
.small { font-size: 14px; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 16px; padding: 13px 20px; border-radius: var(--radius-sm); text-decoration: none; border: 2px solid var(--teal); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.btn-ghost { color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--eosin); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 56px; } }

/* the report mock — the one memorable thing on the page */
.report { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(31, 92, 90, 0.35); padding: 26px 26px 20px; font-size: 14px; transform: rotate(0.6deg); animation: settle 900ms cubic-bezier(.2,.7,.2,1) both 150ms; }
@keyframes settle { from { opacity: 0; transform: translateY(14px) rotate(2deg); } to { opacity: 1; transform: translateY(0) rotate(0.6deg); } }
.report-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.report-head strong { font-family: var(--serif); font-size: 18px; }
.report-head span { color: var(--ink-soft); font-size: 12px; }
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; background: #EAF2F0; border-radius: 8px; padding: 14px; margin-bottom: 16px; }
.verdict .flag { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--teal); line-height: 1; }
.verdict p { margin: 0; font-size: 14px; }
.vtable { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.vtable th { text-align: left; font-weight: 600; font-size: 12px; color: var(--ink-soft); border-bottom: 1px solid var(--rule); padding: 6px 4px; }
.vtable td { padding: 8px 4px; border-bottom: 1px solid #EEE8DC; vertical-align: top; }
.tier { display: inline-block; font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 3px; color: var(--white); background: var(--teal); }
.tier.t2 { background: var(--haem); }
.cov { margin: 4px 0 12px; }
.cov-row { display: grid; grid-template-columns: 70px 1fr 52px; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 5px; }
.bar { height: 7px; background: #EEE8DC; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--haem); }
.bar i.low { background: var(--eosin); }
.report-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 10px; }
.mock-note { margin-top: 12px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 44px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 2px solid var(--ink); padding-top: 28px; }
.fact b { display: block; font-family: var(--serif); font-size: clamp(40px, 5vw, 58px); font-weight: 600; color: var(--eosin); line-height: 1; margin-bottom: 12px; }
.fact p { font-size: 16px; }
.source { margin-top: 28px; font-size: 13px; color: var(--ink-soft); max-width: 90ch; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 28px; } }

/* steps — a true sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-left: 1px solid var(--rule); }
.steps li { counter-increment: step; padding: 6px 26px 34px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 15px; margin: 22px 0 14px; }
.steps li.partner::before { background: var(--ink-soft); }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.legend { margin-top: 18px; font-size: 14px; color: var(--ink-soft); display: flex; gap: 22px; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--teal); vertical-align: middle; }
.legend span.p::before { background: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); font-size: 15.5px; }

/* audiences */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.aud { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 28px; }
.aud p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }

/* pilot */
.pilot { background: var(--teal-deep); color: #E9F1EF; }
.pilot h2, .pilot h3 { color: var(--white); }
.pilot p { color: #CFE0DC; }
.pilot .split { align-items: center; }
.pilot-terms { border-top: 1px solid rgba(255,255,255,0.25); }
.pilot-terms div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.25); font-size: 16px; }
.pilot-terms dt { font-weight: 600; color: var(--white); }
.pilot-terms dd { margin: 0; color: #CFE0DC; }
.pilot .btn-primary { background: var(--white); color: var(--teal-deep); border-color: var(--white); }
.pilot .btn-primary:hover { background: #E9F1EF; }
@media (max-width: 520px) { .pilot-terms div { grid-template-columns: 1fr; gap: 2px; } }

/* commitments */
.commit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.commit div { padding: 22px 0; border-top: 1px solid var(--rule); }
.commit h3 { font-size: 19px; }
.commit p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
@media (max-width: 760px) { .commit { grid-template-columns: 1fr; } }

/* about */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; }
.monogram { width: 120px; height: 120px; border-radius: 50%; background: var(--teal); color: var(--white); font-family: var(--serif); font-size: 44px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .monogram { width: 88px; height: 88px; font-size: 32px; } }

/* contact */
.contact-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 32px; }
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 12px; border: 1px solid #C9C0AD; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.contact-direct { font-size: 18px; }
.contact-direct a { font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer p { max-width: 70ch; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } .footer-links { justify-content: flex-start; } }

/* simple pages */
.page { padding: 64px 0 88px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 26px; margin-top: 1.6em; }
figure { margin: 0; }

.contact-options { display: grid; gap: 10px; margin-top: 16px; }
.contact-options .btn { text-align: left; }
.contact-card h3 { margin-bottom: 8px; }

/* about + founder */
.about-intro { max-width: 760px; margin-bottom: 48px; }
.founder-title { font-size: 22px; margin-bottom: 10px; }
.founder p { max-width: 72ch; }
/* pilot cities */
.cities-label { margin-top: 8px; margin-bottom: 10px; color: #E9F1EF; }
.cities { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: #E9F1EF; }
.pilot .cities-note { color: #CFE0DC; }
section[id] { scroll-margin-top: 72px; }
