:root {
  --accent: #248566;
  --accent-strong: #1b6b52;
  --bg: #f6f8f7;
  --card: #ffffff;
  --text: #16211d;
  --muted: #55645e;
  --line: #dfe6e2;
  --note-bg: #eaf2ee;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #54c79e;
    --accent-strong: #7fdcb9;
    --bg: #0f1613;
    --card: #17211d;
    --text: #e8f0ec;
    --muted: #9db0a8;
    --line: #26352f;
    --note-bg: #1b2a24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent-strong); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 20px 0; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
nav.site a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: .95rem; }
nav.site a:hover { color: var(--text); text-decoration: underline; }
main { padding: 36px 0 56px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
p, li { max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.4rem; }
.meta { color: var(--muted); font-size: .92rem; margin: 0 0 1.6rem; }
.hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; padding: 12px 0 8px; }
.hero img { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.hero .tagline { color: var(--accent-strong); font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; }
.button { display: inline-block; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.button.disabled { opacity: .85; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px; }
.card h3 { margin-top: 0; }
.note { background: var(--note-bg); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: .95rem; margin: 26px 0; }
footer.site { border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--muted); font-size: .92rem; }
footer.site a { color: var(--muted); margin-right: 16px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 .2rem; }
@media (max-width: 520px) { h1 { font-size: 1.75rem; } nav.site a { margin-left: 12px; } .hero img { width: 104px; height: 104px; border-radius: 24px; } }
