:root {
  color-scheme: light;
  --color-bg: #f7f9f5;
  --color-surface: #ffffff;
  --color-surface-muted: #eef4ea;
  --color-text: #20251f;
  --color-muted: #5e6b5b;
  --color-border: #d9e2d4;
  --color-accent: #2f7d57;
  --color-accent-dark: #205f42;
  --shadow-soft: 0 20px 50px rgba(35, 61, 42, 0.12);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 226, 212, 0.9);
  background: rgba(247, 249, 245, 0.92);
  backdrop-filter: blur(14px);
}

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

.site-title {
  color: var(--color-accent-dark);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-accent-dark);
}

.hero {
  padding: 88px 0 72px;
  background:
    linear-gradient(135deg, rgba(47, 125, 87, 0.16), rgba(255, 255, 255, 0) 55%),
    var(--color-bg);
}

.hero__inner,
.section__inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.hero__label {
  margin: 0 0 14px;
  color: var(--color-accent-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.12;
}

.hero__text {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.section {
  padding: 64px 0;
}

.section--muted {
  background: var(--color-surface-muted);
}

.section h2 {
  margin: 0 0 24px;
  font-size: 1.7rem;
  line-height: 1.3;
}

.section p {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
}

.article-card {
  max-width: 720px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.article-card__category {
  margin: 0 0 8px;
  color: var(--color-accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 16px;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 48px 0;
  }
}
