:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --text: #17211d;
  --muted: #5d6b64;
  --line: #dce4df;
  --primary: #146b5c;
  --primary-dark: #0d463d;
  --accent: #e8f2ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary-dark);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(20, 107, 92, 0.12), rgba(232, 242, 238, 0.6)),
    var(--bg);
}

.hero-content,
.section,
.contact {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
}

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.secondary {
  background: transparent;
  color: var(--primary-dark);
}

.section {
  padding: clamp(64px, 10vw, 112px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: 36px;
}

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

.card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card p,
.wide-copy {
  margin: 0;
  color: var(--muted);
}

.accent {
  max-width: none;
  background: var(--accent);
}

.accent .section-heading,
.accent .wide-copy {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.wide-copy {
  max-width: 760px;
  font-size: 1.2rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 760px) {
  .site-header,
  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 66vh;
  }
}
