:root {
  color-scheme: light;
  --forest: #123c2f;
  --green: #18a957;
  --cream: #f7f3e8;
  --ink: #173129;
  --muted: #5d6d67;
  --line: rgba(18, 60, 47, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: block; width: 164px; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }

.header-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.hero {
  min-height: 610px;
  display: grid;
  align-content: center;
  padding: 90px 0 110px;
}

.eyebrow,
.section-label {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

h1 {
  max-width: 940px;
  margin: 24px 0 28px;
  color: var(--forest);
  font-size: clamp(3.4rem, 8vw, 7.25rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #0a2d22; }
.button-secondary:hover { background: rgba(18, 60, 47, 0.06); }

.services {
  padding: 92px 0 110px;
  border-top: 1px solid var(--line);
}

.section-label { margin: 0 0 14px; }

h2 {
  max-width: 670px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article { min-height: 260px; padding: 30px; background: var(--cream); }
.service-grid span { color: var(--green); font-size: 0.78rem; font-weight: 800; }
.service-grid h3 { margin: 74px 0 12px; color: var(--forest); font-size: 1.35rem; }
.service-grid p { margin: 0; color: var(--muted); line-height: 1.55; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0; }
footer a { color: var(--forest); font-weight: 700; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 84px; }
  .brand { width: 138px; }
  .hero { min-height: auto; padding: 88px 0 92px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .services { padding: 72px 0 84px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .service-grid article { min-height: 210px; }
  .service-grid h3 { margin-top: 44px; }
  footer { gap: 18px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
