:root {
  --bg: #f6f5ef;
  --paper: #ffffff;
  --ink: #17201c;
  --muted: #5f6c64;
  --forest: #1f5d3b;
  --moss: #86a65a;
  --river: #2e6f8f;
  --line: #dfe2d8;
  --shadow: 0 18px 45px rgba(31, 45, 35, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 239, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero,
.band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
}

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

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 24px;
}

.hero-panel h2,
.section-head h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-panel ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--forest);
  color: white;
  font-weight: 750;
}

.button.secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(31, 45, 35, 0.07);
}

.card a {
  text-decoration: none;
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.28;
}

.card p,
.meta {
  color: var(--muted);
}

.meta {
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1;
}

.article h2 {
  margin-top: 36px;
  line-height: 1.2;
}

.article p,
.article li {
  color: #334039;
}

.note {
  background: #eef3e5;
  border-left: 4px solid var(--moss);
  padding: 16px 18px;
  border-radius: 6px;
}

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

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head {
    display: block;
  }
}
