:root {
  --green: #1f6f43;
  --green-dark: #164f30;
  --green-tint: #eaf3ed;
  --ink: #1b2420;
  --muted: #56625b;
  --line: #d9e2dc;
  --paper: #ffffff;
  --bg: #f6f8f6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.top a { margin-left: 18px; text-decoration: none; font-weight: 600; font-size: 15px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
main { padding: 8px 0 48px; }

.hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 48px 0 32px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.hero img { width: 168px; height: 168px; border-radius: 36px; box-shadow: 0 10px 30px rgba(31, 111, 67, 0.25); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--green-tint); color: var(--green-dark); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }

.button { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 10px; }
.button:hover { background: var(--green-dark); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 32px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.card h2, .card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.example { font-variant-numeric: tabular-nums; }

section.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin: 0 0 24px; }
section.panel h2 { margin-top: 0; font-size: 24px; }

.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 28px 32px; margin-top: 32px; }
.doc h1 { font-size: 32px; margin: 0 0 4px; line-height: 1.2; }
.doc .meta { color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; border-top: 1px solid var(--line); padding: 10px 8px; }
.doc th { background: var(--green-tint); }
.doc .tablewrap { overflow-x: auto; }

footer.site { border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero img { width: 96px; height: 96px; border-radius: 22px; order: -1; }
  .hero h1 { font-size: 31px; }
  .grid { grid-template-columns: 1fr; }
  nav.top a { margin-left: 12px; }
  .doc { padding: 22px 18px; }
}
