:root {
  color-scheme: light;
  --ink: #111512;
  --muted: #66706a;
  --green: #2fa84f;
  --green-dark: #166c32;
  --mint: #eaf8e8;
  --line: #dfe8e1;
  --paper: #ffffff;
  --page: #f4f7f4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(180deg, #dff7d8 0, var(--page) 320px);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--green);
  color: white;
  font-size: 23px;
}

nav { display: flex; flex-wrap: wrap; gap: 14px; }
nav a, .text-link { color: var(--green-dark); font-weight: 700; }

main {
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 20px 60px rgba(22, 70, 38, .10);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

h2 { margin: 32px 0 8px; font-size: 21px; }
p, li { color: #27312b; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 30px; }
.updated { color: var(--muted); font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.card h2 { margin-top: 0; }
.button {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

footer { color: var(--muted); font-size: 13px; text-align: center; padding-top: 24px; }

@media (max-width: 620px) {
  header { align-items: flex-start; flex-direction: column; }
  main { border-radius: 22px; }
}
