/* Shared styles for the static site pages (about / updates / ideas). */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #16181d;
  --muted: #6b7280;
  --accent: #f2542d;
  --surface: #f6f5f2;
  --border: #e2e0da;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14161a; --fg: #f2f1ee; --muted: #9aa0aa; --surface: #1d2025; --border: #2c2f36; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: system-ui, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 20px; font-weight: 800; }
.brand img { border-radius: 8px; display: block; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.back:hover { color: var(--fg); }
main { max-width: 640px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p, li { color: var(--muted); }
p strong, li strong { color: var(--fg); }
a { color: var(--accent); }
.lede { font-size: 18px; }
form { display: grid; gap: 14px; margin-top: 24px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input, textarea { font: inherit; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--fg); }
textarea { min-height: 140px; resize: vertical; }
button[type=submit] { justify-self: start; padding: 12px 22px; border: none; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button[type=submit]:disabled { opacity: 0.5; cursor: not-allowed; }
#form-status { min-height: 1.5em; margin: 0; font-size: 14px; }
#form-status[data-state=error] { color: var(--accent); }
#form-status[data-state=ok] { color: #2a9d5c; }
