:root {
  --ink: #102129;
  --muted: #5e6b70;
  --paper: #f4f7f6;
  --white: #fff;
  --line: #d7e2df;
  --teal: #12363c;
  --blue: #276b9d;
  --red: #b63642;
  --gold: #b3872e;
  --green: #25725d;
  --shadow: 0 18px 52px rgba(16, 33, 41, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px clamp(14px, 4vw, 44px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-weight: 920;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  line-height: 1.05;
}

.brand small {
  color: var(--red);
  font-size: .72rem;
  font-weight: 860;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 780;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--teal);
}

.anonamed-link {
  color: var(--blue) !important;
  font-weight: 900;
}

.translate-select {
  min-height: 34px;
  max-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font: inherit;
  font-weight: 850;
  padding: 4px 9px;
}

.nav-primary {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff !important;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 64px));
  overflow: hidden;
  padding: clamp(38px, 7vw, 92px) clamp(18px, 6vw, 84px);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(39, 107, 157, .2), rgba(7, 28, 34, .08) 34%, rgba(7, 28, 34, .42) 61%),
    linear-gradient(90deg, rgba(7, 28, 34, .97), rgba(7, 28, 34, .76) 52%, rgba(7, 28, 34, .38)),
    url("assets/heart-vascular-sign.jpg") center / cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1030px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcbd0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--teal);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 6vw, 5.3rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.08rem;
}

.lede {
  max-width: 870px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.11rem;
}

.hero-actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
  margin-top: 24px;
}

.pathway-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.pathway-card:hover {
  background: rgba(255, 255, 255, .2);
}

.pathway-card strong {
  font-size: 1.08rem;
  line-height: 1.18;
}

.pathway-card small {
  color: rgba(255, 255, 255, .84);
  font-size: .92rem;
  line-height: 1.45;
}

.path-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brain-path .path-label {
  color: var(--blue);
}

.body-path .path-label {
  color: var(--green);
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.hero .button {
  border-color: rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.hero .button.primary {
  background: #fff;
  color: var(--teal);
}

.notice {
  padding: 14px clamp(18px, 6vw, 84px);
  background: #fff4df;
  border-top: 1px solid #ebd6a9;
  border-bottom: 1px solid #ebd6a9;
}

.quick-grid,
.section {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 6vw, 84px);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--teal);
  color: #d8eef2;
}

.quick-grid article {
  padding: 18px;
  border-left: 3px solid #78d0df;
}

.quick-grid p {
  margin-bottom: 0;
}

.metric {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 920;
  line-height: 1;
}

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

.section.band {
  background: var(--paper);
}

.section-head {
  max-width: 990px;
  margin-bottom: 28px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
}

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

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

.callout,
.wide-list article,
.test-card,
.source-card,
.framed-image,
.location-panel,
.table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.callout,
.wide-list article,
.test-card,
.source-card,
.location-panel,
.table-card {
  padding: 18px;
}

.location-panel h3 {
  margin-bottom: 14px;
}

.location-list {
  display: grid;
  gap: 10px;
}

.location-list article {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.location-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.location-list b,
.location-list span {
  display: block;
}

.location-list b {
  color: var(--teal);
}

.location-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
}

.wide-list b,
.wide-list span {
  display: block;
}

.wide-list b {
  color: var(--teal);
}

.wide-list span {
  margin-top: 6px;
  color: var(--muted);
}

.framed-image {
  overflow: hidden;
}

.framed-image img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  padding: 11px 13px;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--line);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.media-strip img {
  height: 210px;
  object-fit: cover;
}

.status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 9px;
  border-radius: 8px;
  background: #e8f3ef;
  color: var(--green);
  font-size: .78rem;
  font-weight: 880;
}

.status.caution {
  background: #fff0da;
  color: #8a5f12;
}

.status.red {
  background: #ffe8eb;
  color: var(--red);
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}

.comparison th,
.comparison td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--teal);
}

.comparison td {
  color: #34484d;
}

.source-card {
  display: block;
  text-decoration: none;
}

.source-card b {
  color: var(--teal);
}

.source-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

footer {
  padding: 34px clamp(18px, 6vw, 84px);
  background: var(--teal);
  color: #d9eef2;
}

footer a {
  color: #fff;
  font-weight: 820;
}

.footer-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

footer .anonamed-link {
  color: #fff !important;
}

@media (max-width: 980px) {
  .quick-grid,
  .media-strip,
  .source-grid,
  .pathway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .quick-grid,
  .wide-list,
  .test-grid,
  .source-grid,
  .media-strip,
  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card {
    min-height: auto;
  }

  .media-strip img {
    height: auto;
  }

  h1 {
    font-size: 2.32rem;
  }
}
