:root {
  --ink: #172224;
  --muted: #536365;
  --line: #d8e0df;
  --paper: #fbfcfa;
  --soft: #eef5f2;
  --teal: #126a68;
  --teal-dark: #0b4445;
  --gold: #c9973b;
  --clay: #9d5d45;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 38, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: rgba(251, 252, 250, 0.9);
  border-bottom: 1px solid rgba(216, 224, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--teal-dark);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

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

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: #334244;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

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

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(18, 106, 104, 0.22);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 34, 36, 0.18);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px clamp(20px, 5vw, 72px) 84px;
}

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

.hero-media {
  background-image: url("assets/nemt-hero.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.98) 0%, rgba(251, 252, 250, 0.9) 35%, rgba(251, 252, 250, 0.3) 67%, rgba(251, 252, 250, 0.08) 100%),
    linear-gradient(0deg, rgba(251, 252, 250, 0.5), rgba(251, 252, 250, 0));
}

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

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #314144;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.intro-band {
  background: var(--teal-dark);
  color: var(--white);
}

.intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.intro-inner p {
  max-width: 720px;
  margin: 0;
  font-size: 1.04rem;
  font-weight: 600;
}

.state-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.state-row span {
  padding: 8px 12px;
  color: #143536;
  background: #e9f2ef;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.split > div:first-child p:last-child,
.section-heading p,
.service-copy p,
.quote-band p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.coverage-list article,
.steps article {
  min-height: 172px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 34, 36, 0.06);
}

.coverage-list p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.education {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.steps span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 900;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.service-points {
  display: grid;
  gap: 14px;
}

.service-points div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service-points div:last-child {
  border-bottom: 1px solid var(--line);
}

.service-points strong,
.service-points span {
  display: block;
}

.service-points strong {
  font-size: 1.08rem;
}

.service-points span {
  margin-top: 5px;
  color: var(--muted);
}

.quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(44px, 7vw, 82px);
  padding: clamp(34px, 5vw, 54px);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), #174f55 58%, #6b4a32);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-band h2 {
  max-width: 760px;
}

.quote-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.quote-band .eyebrow {
  color: #f0c873;
}

.primary-button.light {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 54px);
  color: #536365;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

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

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 252, 250, 0.98) 0%, rgba(251, 252, 250, 0.9) 58%, rgba(251, 252, 250, 0.5) 100%),
      linear-gradient(0deg, rgba(251, 252, 250, 0.76), rgba(251, 252, 250, 0.12));
  }

  .intro-inner,
  .split,
  .service,
  .quote-band {
    display: block;
  }

  .state-row,
  .coverage-list,
  .steps {
    margin-top: 24px;
  }

  .coverage-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .quote-band .primary-button {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  h1 {
    font-size: clamp(2.15rem, 13vw, 3.8rem);
  }

  .coverage-list article,
  .steps article {
    min-height: 0;
    padding: 20px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 8px;
  }
}
