:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --text: #1b2433;
  --muted: #5b6577;
  --line: #dfe5ef;
  --primary: #3d7bf5;
  --primary-dark: #2456c4;
  --red: #e8384f;
  --yellow: #f5c02c;
  --green: #25b84a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1520;
    --surface: #18202e;
    --text: #e9eef7;
    --muted: #a3adbf;
    --line: #2a3446;
    --primary: #6b9cff;
    --primary-dark: #9dbdff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { margin-left: 16px; text-decoration: none; font-weight: 600; color: var(--muted); }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--primary); }
main { padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.meta { color: var(--muted); margin: 0 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 16px 0; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 8px 24px rgba(30, 60, 120, 0.18); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 12px auto 24px; }
.button {
  display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px;
}
.button:hover { background: var(--primary-dark); color: #fff; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 32px; }
.features .card { margin: 0; }
.features h3 { margin: 0 0 4px; font-size: 16px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }
.dots { display: inline-flex; gap: 6px; vertical-align: middle; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 20px 0 32px; }
footer.site a { color: var(--muted); }
.todo { background: #fff4c2; color: #5c4700; padding: 0 4px; border-radius: 4px; }
