:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #5d6470;
  --line: #e3e6eb;
  --accent: #0b6e4f;
  --panel: #f6f7f9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --text: #e8eaee;
    --muted: #9aa3b0;
    --line: #2a2f38;
    --accent: #3fb68b;
    --panel: #171a20;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
header a.brand { color: var(--accent); font-weight: 700; font-size: 22px; text-decoration: none; }
header nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
a { color: var(--accent); }
h1 { font-size: 28px; line-height: 1.25; margin: 28px 0 8px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
ul { padding-left: 22px; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
header a.brand { display: inline-flex; align-items: center; gap: 10px; }
header a.brand img { border-radius: 9px; }
