:root {
  --ink: #172126;
  --muted: #5c6970;
  --line: #d9e1e5;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --brand: #1b8f79;
  --brand-dark: #0d574b;
  --accent: #d6e85d;
  --shadow: 0 18px 45px rgba(23, 33, 38, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.brand img {
  width: 112px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 76vh;
  align-items: center;
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(135deg, #f7faf8 0, #f7faf8 18px, #edf3f0 18px, #edf3f0 19px);
}

.hero-copy,
.page-hero,
.content-section,
.section,
.contact-band {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
  margin-left: 0;
}

.hero-logo {
  width: min(300px, 72vw);
  margin: 0 0 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

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

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--brand-dark);
  border-radius: 6px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.button.inverse {
  background: var(--paper);
  color: var(--brand-dark);
  border-color: var(--paper);
}

.text-link {
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
}

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

.feature {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 26px;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.subdued .section-heading,
.subdued .logo-grid {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.logo-grid img {
  width: 100%;
  min-height: 94px;
  padding: 18px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 42px;
}

.page-hero.compact {
  min-height: 58vh;
  display: grid;
  align-content: center;
}

.content-section {
  max-width: 780px;
  padding: 22px 0 clamp(72px, 9vw, 116px);
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.content-section p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #f2f7f5;
  background: #172126;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #f2f7f5;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
  }

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