:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #59635f;
  --line: #d7ded8;
  --paper: #f8faf7;
  --white: #ffffff;
  --green: #0f6b55;
  --green-dark: #0a4b3e;
  --yellow: #f2c14e;
  --coral: #df6b57;
  --sky: #d9edf7;
  --shadow: 0 18px 50px rgba(23, 35, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 247, 0.9);
  border-bottom: 1px solid rgba(215, 222, 216, 0.8);
  backdrop-filter: blur(14px);
}

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

.site-nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: min(760px, calc(100svh - 120px));
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 107, 85, 0.08), rgba(242, 193, 78, 0.18)),
    var(--paper);
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button--secondary {
  color: var(--green-dark);
  background: transparent;
}

.hero__panel {
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-label {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 800;
}

.hero__panel ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 24px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section--light {
  background: var(--white);
}

.section--accent {
  background: var(--sky);
}

.section__header {
  max-width: 920px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section__header--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
}

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

.step,
.cms-grid article,
.news-item {
  min-height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--green-dark);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.step p,
.cms-grid p,
.news-item p {
  margin: 0;
  color: var(--muted);
}

.news-item time,
.news-item .category {
  display: inline-block;
  margin: 0 8px 12px 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 44px;
  }

  .section__header--split,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .steps,
  .cms-grid,
  .news-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 30px;
  }

  .hero__panel,
  .step,
  .cms-grid article,
  .news-item {
    padding: 20px;
  }
}
