:root {
  --bg: #ffffff;
  --fg: #1b1f1d;
  --muted: #68706b;
  --line: #e5e8e6;

  --wrap: 60rem;
  --gutter: 1.5rem;
  --pad: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
h1 { margin-left: -0.04em; } 

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a { color: var(--muted); }
.nav nav a:hover,
.nav nav a[aria-current="page"] { color: var(--fg); }

.banner {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: 3rem var(--pad);
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("banner.jpg") center / cover no-repeat,
    #2c5a49;
}
.banner h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.banner p { margin: 0; font-size: 1.25rem; opacity: 0.9; }

main {
  min-height: 40vh;
  padding: 3.5rem var(--pad) 5rem;
}
main h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
main h2 {
  margin: 3rem 0 0.75rem;
  font-size: 1.45rem;
  line-height: 1.25;
}
main h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
main > :first-child { margin-top: 0; }

:root {
  --accent: #2c6a55;       
  --accent-hover: #1d4a3b; 
}

main a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s, text-decoration-color 0.15s;
}

main a:not(.button):hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
@media (max-width: 30rem) {
  .nav { flex-direction: column; gap: 0.6rem; align-items: flex-start; }
  .nav nav { gap: 1.1rem; flex-wrap: wrap; }
}
