/* Shared styles for the simple text pages (home, about, privacy, 404).
   Tokens and base rules match src/baby-monitors/index.html; keep them in step. */
:root{
  --bg:#f3f6f8; --surface:#ffffff; --ink:#15222b; --muted:#566773; --line:#d5dee4;
  --accent:#0b6b74; --plan:#d98a1f; --base:#2d5d7c;
  --display:"Bricolage Grotesque","Trebuchet MS",system-ui,sans-serif;
  --body:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0f181e; --surface:#17242c; --ink:#e7eef2; --muted:#9db0bb; --line:#2b3c47;
    --accent:#5fc6cf; --plan:#f0ad4e; --base:#7fb0d0; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0f181e; --surface:#17242c; --ink:#e7eef2; --muted:#9db0bb; --line:#2b3c47;
  --accent:#5fc6cf; --plan:#f0ad4e; --base:#7fb0d0; color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.55}
.wrap{max-width:860px;margin:0 auto;padding:28px 20px 64px;display:flex;flex-direction:column;gap:36px}
.brand{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:.02em;color:var(--accent);text-decoration:none}
a.brand:hover{text-decoration:underline}
h1{font-family:var(--display);font-weight:800;font-size:clamp(30px,6vw,46px);line-height:1.05;margin:8px 0 12px;text-wrap:balance}
h2{font-family:var(--display);font-weight:600;font-size:24px;line-height:1.2;margin:0 0 12px;text-wrap:balance}
p{margin:0 0 12px;max-width:66ch}
a{color:var(--accent);overflow-wrap:anywhere}
a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.lede{font-size:19px;color:var(--ink)}
.note{font-size:15px;color:var(--muted);border-left:3px solid var(--plan);padding:2px 0 2px 12px;max-width:66ch}
.meta{font-size:14px;color:var(--muted)}
ul.plain{margin:0;padding-left:20px;max-width:66ch;display:flex;flex-direction:column;gap:8px}

/* Category list on the home page: same card look as .picks on the baby-monitors page */
.cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;padding:0;margin:0;list-style:none}
.cats li{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.cats a{display:block;font-family:var(--display);font-weight:600;font-size:18px;margin-bottom:2px}
.cats span{font-size:15px;color:var(--muted)}

.site-footer{border-top:1px solid var(--line);padding-top:16px}
.site-footer p{margin:0 0 6px}
