:root {
  color-scheme: light dark;
  --background: #f6f8f6;
  --surface: #ffffff;
  --text: #12191b;
  --muted: #4a5951;
  --accent: #146b3d;
  --border: #d9e2dc;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 17px/1.65 system-ui, sans-serif; }
main { max-width: 780px; margin: 0 auto; padding: 64px 24px 32px; }
header { display: flex; align-items: center; gap: 20px; }
header img { flex-shrink: 0; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; letter-spacing: -.04em; }
h2 { margin: 0 0 12px; font-size: 1.45rem; line-height: 1.3; }
h3 { margin: 0; font-size: 1.05rem; }
p { margin: 10px 0 18px; }
.tagline { margin: 6px 0 0; color: var(--muted); line-height: 1.4; }
.intro { margin: 28px 0 40px; max-width: 58ch; }
section { margin-bottom: 36px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
ol { margin: 24px 0 0; padding-left: 24px; }
li { padding-left: 8px; margin-bottom: 28px; }
li:last-child { margin-bottom: 0; }
li::marker { color: var(--accent); font-weight: 700; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.button { display: inline-block; padding: 10px 16px; border-radius: 8px; background: #146b3d; color: #ffffff; font-weight: 600; text-decoration: none; }
.button:hover { background: #105630; }
code { font-size: .9em; overflow-wrap: anywhere; }
pre { overflow-x: auto; padding: 16px 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); line-height: 1.7; }
pre code { overflow-wrap: normal; }
footer { color: var(--muted); font-size: .85rem; }
.copyright { margin-top: 24px; }

@media (prefers-color-scheme: dark) {
  :root { --background: #12191b; --surface: #1c2526; --text: #f2f6f3; --muted: #b5c5bb; --accent: #63d997; --border: #35433d; }
}

@media (max-width: 480px) {
  main { padding: 32px 16px 24px; }
  header { gap: 14px; }
  header img { width: 56px; height: 56px; }
  section { padding: 20px 16px; }
  .button { padding: 10px 12px; }
}
