/* onebudget.pro — shared styles. System fonts only: the site loads nothing from third parties
   and sets no cookies. */
:root {
  --bg: #ffffff;
  --text: #1d2330;
  --muted: #5b6475;
  --line: #e3e6ec;
  --accent: #2f5bea;
  --accent-soft: #eef2fe;
  --todo-bg: #fff4d6;
  --todo-text: #7a5300;
  --max: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c;
    --text: #e7eaf0;
    --muted: #9aa3b5;
    --line: #2a303c;
    --accent: #7c9cff;
    --accent-soft: #1b2340;
    --todo-bg: #3a2e10;
    --todo-text: #ffd27a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
header, main, footer { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.updated { color: var(--muted); font-size: 14px; margin-top: -4px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.features li { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.features strong { display: block; margin-bottom: 2px; }
.callout { background: var(--accent-soft); border-radius: 10px; padding: 14px 18px; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.todo { background: var(--todo-bg); color: var(--todo-text); padding: 0 4px; border-radius: 4px; font-weight: 600; }
footer {
  border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px;
  color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px;
}
footer a { color: var(--muted); }
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  nav a { margin-left: 0; margin-right: 16px; }
}
