:root {
  --ink: #152027;
  --muted: #5d6b73;
  --line: #d7e1e4;
  --paper: #ffffff;
  --wash: #eef7f6;
  --mist: #f5f8fb;
  --teal: #0e6f68;
  --teal-dark: #073f3d;
  --blue: #174f8a;
  --coral: #d8644a;
  --gold: #c89a34;
  --shadow: 0 18px 42px rgba(10, 35, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 35, 42, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 132px clamp(18px, 6vw, 80px) 72px;
  color: #fff;
  background: #10232d;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-image {
  position: absolute;
  width: min(34vw, 420px);
  min-width: 240px;
  border: 8px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  opacity: 0.72;
  transform: rotate(var(--rotation));
}

.hero-image-a {
  --rotation: -9deg;
  right: 9vw;
  top: 86px;
}

.hero-image-b {
  --rotation: 7deg;
  right: 26vw;
  bottom: 24px;
}

.hero-image-c {
  --rotation: -3deg;
  right: -40px;
  bottom: -80px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 28, 34, 0.94) 0%, rgba(7, 28, 34, 0.82) 43%, rgba(7, 28, 34, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 28, 34, 0.72), rgba(7, 28, 34, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-width: 0;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: #aee5dc;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.button-row,
.start-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: #c7533a;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  background: #edf6f5;
  color: var(--teal-dark);
}

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

.section,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.intro {
  width: 100%;
  padding: 44px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.section-kicker,
.tag {
  color: var(--teal);
}

h2,
h3,
p {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading p:last-child,
.intro-grid p,
.learning-layout p,
.research-grid p,
.start-layout p {
  font-size: 1.08rem;
}

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

.card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(13, 47, 58, 0.06);
}

.test-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.test-card.is-featured {
  grid-column: span 2;
  background: #102f35;
  color: #fff;
  border-color: #102f35;
  box-shadow: var(--shadow);
}

.test-card.is-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.card-logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.tag {
  margin-bottom: 12px;
}

.split-band {
  width: 100%;
  max-width: none;
  padding: 88px 0;
  background: #f2f6fb;
}

.learning-layout,
.research-grid,
.start-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

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

.topic-list a {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #d8e2ea;
  background: #fff;
  text-decoration: none;
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--mist);
  border-radius: 8px;
}

.step span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--coral);
  font-weight: 900;
}

.research {
  width: 100%;
  max-width: none;
  padding: 88px 0 0;
  background: #10323a;
  color: #fff;
}

.research p {
  color: rgba(255, 255, 255, 0.78);
}

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

.stat-panel div {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-panel strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.95;
  color: #b9eadf;
}

.stat-panel span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.link-strip {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.link-strip a {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.link-strip a:last-child {
  border-right: 0;
}

.link-strip a:hover,
.text-link:hover {
  text-decoration: underline;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.start-band {
  width: 100%;
  max-width: none;
  padding: 82px 0;
  background: #eaf5f2;
}

.start-layout {
  grid-template-columns: 1fr auto;
}

.start-actions .button-secondary {
  color: var(--teal-dark);
  border-color: #a9c7c2;
  background: #fff;
}

.medical-note {
  width: min(980px, calc(100% - 36px));
  margin: 40px auto;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: #fff7f5;
  border-radius: 8px;
}

.medical-note p {
  margin: 0;
  color: #4e5558;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #fff;
  background: #101a1f;
}

.footer span:first-child {
  font-weight: 900;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 164px;
  }

  .hero-image {
    width: 46vw;
    min-width: 190px;
    opacity: 0.52;
  }

  .hero-image-a {
    right: 0;
    top: 118px;
  }

  .hero-image-b {
    right: 32vw;
    bottom: 44px;
  }

  .hero-image-c {
    right: -80px;
    bottom: -42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 28, 34, 0.96), rgba(7, 28, 34, 0.76)),
      linear-gradient(0deg, rgba(7, 28, 34, 0.7), rgba(7, 28, 34, 0.12));
  }

  .intro-grid,
  .learning-layout,
  .research-grid,
  .start-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .steps,
  .stat-panel {
    grid-template-columns: 1fr;
  }

  .test-card.is-featured {
    grid-column: auto;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .link-strip {
    grid-template-columns: 1fr;
  }

  .link-strip a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .start-actions {
    align-items: stretch;
  }

  .start-actions .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero {
    min-height: 86svh;
    padding: 160px 18px 48px;
  }

  .hero-content {
    max-width: calc(100vw - 36px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.35rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

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

  .section {
    padding: 64px 0;
  }

  .card,
  .step {
    padding: 20px;
  }
}
