:root {
  color-scheme: light;
  --ink: #10212a;
  --muted: #566c75;
  --line: #d9e5e8;
  --paper: #fbfcfd;
  --soft: #eef6f7;
  --brand: #123947;
  --brand-2: #1f6b78;
  --accent: #aa4b34;
  --teal: #2f8f86;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 57, 71, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 253, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

nav a,
.nav-more summary {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

nav a:hover,
.nav-more summary:hover {
  color: var(--brand);
}

.nav-priority,
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

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

.nav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(82vw, 340px);
  justify-content: flex-start;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-button {
  background: var(--brand);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-button.blue {
  background: #0b66c3;
  color: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 860px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 252, 253, 0.99) 0%, rgba(251, 252, 253, 0.9) 31%, rgba(251, 252, 253, 0.38) 58%, rgba(251, 252, 253, 0.06) 100%);
}

.hero-copy {
  position: relative;
  max-width: 720px;
  padding: 100px clamp(22px, 7vw, 90px) 90px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dd,
dt {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.55rem, 5.6vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.22;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: #314c55;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: var(--white);
}

.button.accent {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--brand);
  border: 1px solid var(--line);
}

.notice-band {
  padding: 18px clamp(22px, 7vw, 90px);
  background: #fff4e4;
  border-top: 1px solid #efd4a7;
  border-bottom: 1px solid #efd4a7;
  color: #593d16;
}

.priority-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px) clamp(22px, 7vw, 90px);
  background: #eaf4f6;
  border-bottom: 1px solid var(--line);
}

.priority-strip h2 {
  max-width: 820px;
  font-size: clamp(1.7rem, 3.2vw, 3.25rem);
}

.priority-strip p:not(.eyebrow) {
  max-width: 880px;
  margin: 14px 0 0;
  color: #314c55;
  font-size: 1.08rem;
}

.priority-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.section,
.band {
  padding: clamp(60px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.test-card,
.condition-grid article {
  scroll-margin-top: 96px;
}

.band {
  background: var(--soft);
}

.container {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.language-section {
  background: #f7fbfb;
  border-bottom: 1px solid var(--line);
}

.language-tools {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.4fr) minmax(180px, 0.7fr) auto;
  gap: 16px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(18, 57, 71, 0.06);
}

.language-tools label,
.language-tools > div {
  display: grid;
  gap: 8px;
}

.mini-label {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.language-tools select {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-chips a,
.language-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--brand);
  background: #eef7fb;
  border: 1px solid #c8e4ef;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 760px;
}

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

.triage-grid article,
.timeline article,
.age-guide-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.triage-grid p,
.timeline p,
.age-guide-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.age-examples {
  background: #f8fbfb;
}

.age-guide-grid span {
  display: inline-flex;
  color: var(--brand-2);
  font-size: 1.18rem;
  font-weight: 900;
  margin-bottom: 12px;
}

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

.result-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.result-grid span {
  display: inline-flex;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.result-grid p {
  color: var(--muted);
}

.result-image {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 360px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f7;
}

.result-image img {
  display: block;
  width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: contain;
}

.impact-section {
  background: #fffaf7;
  border-top: 1px solid #f1d4c8;
  border-bottom: 1px solid #f1d4c8;
}

.impact-callout {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 22px;
  color: #4c2118;
  background: #ffe7df;
  border: 1px solid #e5a895;
  border-left: 7px solid var(--accent);
  border-radius: 8px;
}

.impact-callout strong {
  font-size: 1.18rem;
}

.impact-callout p {
  margin: 0;
}

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

.clinical-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.74fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 260px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #ead9d2;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(72, 31, 22, 0.09);
}

.clinical-card.graphic {
  border-color: #d1917d;
}

.clinical-card figure {
  min-height: 260px;
  margin: 0;
  background: #221814;
}

.clinical-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinical-card.document-result figure {
  background: #f8f4ee;
}

.clinical-card.document-result img {
  object-fit: contain;
  padding: 10px;
}

.clinical-card div {
  align-self: center;
  padding: 22px 22px 22px 0;
}

.clinical-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.clinical-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cancer-map-section {
  background: #f9fbfb;
}

.big-issues-section {
  background: #f4f8f7;
  border-top: 1px solid var(--line);
}

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

.condition-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.cancer-grid article {
  border-top: 5px solid #b75841;
}

.big-grid article {
  border-top: 5px solid var(--brand-2);
}

.condition-grid span {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.big-grid span {
  color: var(--brand-2);
}

.condition-grid p {
  margin: 0;
  color: var(--muted);
}

.condition-grid strong {
  color: var(--brand);
}

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

.timeline span {
  display: inline-flex;
  color: var(--brand-2);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

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

.test-card {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.test-card[hidden] {
  display: none;
}

.test-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.test-head span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
}

dt {
  color: var(--brand);
  font-weight: 850;
  font-size: 0.9rem;
}

dd {
  margin: 0;
  color: var(--muted);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-links a,
.site-link-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--brand);
  background: #eef7fb;
  border: 1px solid #c8e4ef;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.text-link {
  color: var(--brand-2);
  font-weight: 850;
}

.risk-calculator {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #f5fbfd;
  border: 1px solid #c8e4ef;
  border-radius: 8px;
}

.calculator-head h4 {
  margin: 0;
  font-size: 1rem;
}

.calculator-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.calculator-grid label {
  display: grid;
  gap: 6px;
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 850;
}

.calculator-grid input,
.calculator-grid select {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.risk-output {
  display: block;
  min-height: 64px;
  padding: 14px;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.abnormal-section {
  background: #f2f7f4;
}

.sources-section {
  background: #f6f8f8;
}

.source-intro {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.05rem;
}

.related-sites {
  margin-top: 26px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.related-sites h3 {
  margin-bottom: 14px;
}

.site-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.source-groups article,
.source-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 34px rgba(18, 57, 71, 0.07);
}

.source-detail {
  margin-top: 18px;
}

.sources-section ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  nav {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.86rem;
  }

  .nav-priority {
    gap: 8px;
  }

  .nav-priority > a:not(.nav-button) {
    display: none;
  }

  .nav-button,
  .nav-more summary {
    min-height: 38px;
    padding: 8px 10px;
  }

  .split,
	  .triage-grid,
  .priority-strip,
	  .language-tools,
	  .age-guide-grid,
  .timeline,
  .clinical-gallery,
  .condition-grid,
  .source-groups,
  .result-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .clinical-card {
    grid-template-columns: 1fr;
  }

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

  .priority-actions {
    justify-content: flex-start;
  }

  .clinical-card div {
    padding: 0 22px 22px;
  }

	  .hero {
	    min-height: 640px;
	    align-items: end;
	  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(251, 252, 253, 0.12) 0%, rgba(251, 252, 253, 0.92) 46%, rgba(251, 252, 253, 1) 100%);
  }

	  .hero-copy {
	    padding: 140px 20px 56px;
	  }
	}

	@media (max-width: 640px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .brand strong {
    font-size: 0.94rem;
  }

	  .nav-button.blue {
	    display: none;
	  }

  .hero {
    min-height: 580px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .lede {
    font-size: 1rem;
  }

	  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
