
:root {
  --green: #3f8f4f;
  --green-dark: #2a6a38;
  --green-soft: #eaf5ec;
  --wheat: #e9b44c;
  --wheat-soft: #fdf5e2;
  --ink: #26332a;
  --muted: #5d6b61;
  --line: #dbe6dd;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--wheat-soft);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--wheat), var(--green));
}
h1 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 24px 28px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  color: var(--green-dark);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 22px auto 0;
  border-radius: 5px;
  background: var(--wheat);
}
article {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 40px 44px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(42, 106, 56, 0.08);
}
article h2, article h3, article h4 {
  color: var(--green-dark);
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}
article h2 { font-size: 1.9rem; padding-left: 14px; border-left: 5px solid var(--wheat); }
article h3 { font-size: 1.45rem; }
article h4 { font-size: 1.2rem; }
article > :first-child { margin-top: 0; }
article p { margin-bottom: 1.15em; color: var(--ink); }
article ul, article ol { margin: 0 0 1.2em 1.4em; }
article li { margin-bottom: 0.4em; }
article a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
article a:hover { color: var(--green-dark); }
article blockquote {
  margin: 1.4em 0;
  padding: 16px 22px;
  background: var(--green-soft);
  border-left: 5px solid var(--green);
  border-radius: 0 12px 12px 0;
  color: var(--muted);
}
article table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
article th, article td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
article th { background: var(--green-soft); color: var(--green-dark); }
.transition {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 28px 44px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(42, 106, 56, 0.2);
}
.transition p { margin-bottom: 1em; color: var(--white); }
.transition p:last-child { margin-bottom: 0; }
.transition a { color: var(--wheat); }
.links-block {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 36px 44px;
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-top: 6px solid var(--wheat);
  border-radius: 20px;
}
.links-block h3 {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.links-block h3:first-child { margin-top: 0; }
.links-block ul {
  list-style: none;
  columns: 2;
  column-gap: 40px;
  margin: 0 0 8px;
  padding: 0;
}
.links-block li {
  break-inside: avoid;
  padding: 6px 0 6px 20px;
  position: relative;
  word-break: break-word;
}
.links-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wheat);
}
.links-block a {
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.links-block a:hover { color: var(--green); border-bottom-color: var(--green); }
@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { padding: 36px 18px 20px; }
  article, .transition, .links-block {
    margin-left: 14px;
    margin-right: 14px;
    padding: 26px 20px;
    border-radius: 16px;
  }
  .links-block ul { columns: 1; }
  article h2 { font-size: 1.5rem; }
  article h3 { font-size: 1.25rem; }
  article table { display: block; overflow-x: auto; }
}
