:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #637069;
  --line: #dbe4dd;
  --surface: #f7faf7;
  --accent: #187a51;
  --accent-dark: #105f3e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 56px 32px;
  background:
    linear-gradient(90deg, rgba(247, 250, 247, 0.98), rgba(247, 250, 247, 0.72)),
    url("https://images.unsplash.com/photo-1556740758-90de374c12ad?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
}

.lead {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.primary {
  background: var(--accent);
  color: var(--white);
}

.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 40px));
  margin: 40px auto 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

article {
  min-height: 180px;
  padding: 28px;
  background: var(--white);
}

article h2,
.document h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

article p,
.document p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.document {
  width: min(820px, calc(100% - 40px));
  margin: 56px auto 80px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.document h1 {
  margin-bottom: 24px;
  font-size: 44px;
}

.document h2 {
  margin-top: 32px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    min-height: 66vh;
    padding: 42px 20px;
  }

  .lead {
    font-size: 18px;
  }

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

  .document {
    padding: 28px 20px;
  }
}
