:root {
  --ink: #17211d;
  --muted: #65706b;
  --paper: #f7f7f2;
  --card: #ffffff;
  --brand: #147d64;
  --brand-dark: #0d5947;
  --line: #dfe5e1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--brand-dark); }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  background: rgba(247, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
}

nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.links { display: flex; gap: 22px; flex-wrap: wrap; }
.links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.links a:hover { color: var(--brand-dark); }

.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 85% 10%, rgba(20, 125, 100, 0.18), transparent 34%),
    linear-gradient(145deg, #f7f7f2 30%, #eaf5f0 100%);
}

.eyebrow {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 12px 0 20px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.lead { max-width: 710px; color: var(--muted); font-size: 1.12rem; }

.button {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 20px;
  color: white;
  background: var(--brand);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

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

main section { padding: 70px 0; }
h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3vw, 2.5rem); }

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

.card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }

.document { padding: 64px 0 90px; }
.document article {
  max-width: 820px;
  padding: clamp(24px, 5vw, 54px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.document h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.document h2 { margin-top: 38px; font-size: 1.35rem; }
.document li { margin: 8px 0; }
.updated { color: var(--muted); }

footer {
  padding: 30px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 68px 0 58px; }
  nav { align-items: flex-start; padding: 18px 0; flex-direction: column; }
}
