:root {
  --ink: #101714;
  --muted: #5a665e;
  --paper: #f7faf7;
  --surface: #ffffff;
  --line: #dbe5dc;
  --teal: #0f766e;
  --teal-dark: #094f4b;
  --red: #b23a48;
  --lime: #c6d936;
  --amber: #e7ae3f;
  --shadow: 0 18px 45px rgba(16, 23, 20, 0.14);
}

* {
  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;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 250, 247, 0.9);
  border-bottom: 1px solid rgba(219, 229, 220, 0.75);
  backdrop-filter: blur(18px);
}

.brand,
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.brand {
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--teal), var(--teal-dark) 58%, var(--red) 58%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.brand-mark::after {
  content: "CSD";
  color: var(--surface);
  font-size: 11px;
  font-weight: 860;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-size: 17px;
  font-weight: 860;
}

.brand-expansion {
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 720;
}

.nav-cta svg,
.button svg,
.package-card svg,
.compliance-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-content: end;
  padding: 128px clamp(22px, 5vw, 72px) 42px;
  overflow: hidden;
  color: var(--surface);
  background:
    linear-gradient(90deg, rgba(10, 18, 15, 0.94), rgba(10, 18, 15, 0.62) 48%, rgba(10, 18, 15, 0.2)),
    url("./assets/clinical-hero.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(16, 23, 20, 0.58), transparent);
  pointer-events: none;
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(82px, 14vw, 180px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

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

.button {
  justify-content: center;
  min-width: 178px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.secondary {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 62px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px;
  background: rgba(8, 12, 10, 0.3);
}

.hero-metrics span {
  display: block;
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 820;
}

.hero-metrics p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.intro-section,
.band,
.process-section,
.compliance-section,
.pilot-section {
  padding: 76px clamp(22px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.compliance-section h2,
.pilot-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid p,
.pilot-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intro-section .section-kicker,
.band .section-kicker,
.process-section .section-kicker,
.compliance-section .section-kicker,
.pilot-section .section-kicker {
  color: var(--red);
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.package-card,
.process-step,
.pilot-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.package-card {
  min-height: 242px;
  padding: 22px;
}

.package-card svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.package-card h3,
.process-step h3,
.pilot-panel h3 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.package-card p,
.process-step p,
.pilot-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(198, 217, 54, 0.12), transparent 32%),
    var(--paper);
}

.process-step {
  padding: 22px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--surface);
  background: var(--teal);
  font-weight: 820;
}

.process-step h3 {
  margin-top: 30px;
}

.compliance-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--ink);
  color: var(--surface);
}

.compliance-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}

.compliance-list svg {
  color: var(--lime);
}

.pilot-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 8% 18%, rgba(178, 58, 72, 0.18), transparent 34%),
    var(--paper);
}

.pilot-copy {
  max-width: 760px;
}

.pilot-copy p {
  margin-top: 22px;
}

.pilot-panel {
  padding: 26px;
  box-shadow: var(--shadow);
}

.pilot-panel h3 {
  margin-top: 0;
}

.pilot-panel .button {
  margin-top: 24px;
}

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

.site-footer p {
  margin: 0;
  font-weight: 760;
  color: var(--ink);
}

.site-footer p span {
  margin-right: 8px;
  color: var(--teal);
  font-weight: 860;
}

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

  .intro-grid,
  .compliance-section,
  .pilot-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .package-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}
