:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5d6b62;
  --line: #dce6df;
  --surface: #ffffff;
  --soft: #f3f8f4;
  --turf: #1f8f4d;
  --turf-dark: #0f5f32;
  --gold: #d6a63b;
  --night: #07120c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: var(--turf-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

nav a[aria-current="page"] {
  color: var(--turf);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: center;
  gap: 56px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 156px);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--turf);
  border-color: var(--turf);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
}

.hero-visual {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdfb, var(--soft));
  box-shadow: 0 24px 80px rgba(17, 54, 32, 0.14);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.band {
  background: var(--night);
  color: #fff;
  padding: 58px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-grid article {
  border-top: 3px solid var(--gold);
  padding-top: 18px;
}

.feature-grid h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-grid p {
  margin: 0;
  color: #c8d8ce;
}

.document {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.document h1 {
  margin: 0 0 10px;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1;
}

.document h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.document p,
.document li {
  color: var(--muted);
  font-size: 18px;
}

.document .updated {
  color: var(--turf-dark);
  font-weight: 800;
}

.site-footer {
  min-height: 80px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  margin-left: 16px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 28px;
  }

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

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p,
  .document p,
  .document li {
    font-size: 16px;
  }
}
