/* Light by default; the dark block below follows the device setting -
   same palette as css/index.css. */
:root {
  color-scheme: light dark;
  --brand-red: #B20838;
  --brand-red-dark: #8a0629;
  --brand-yellow: #FFD400;
  --page: #F3F3F3;
  --surface: #FFFFFF;
  --text-primary: #222222;
  --text-secondary: #55524f;
  --text-muted: #767676;
  --border: rgba(34,34,34,0.14);
  --link: #B20838;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #121214;
    --surface: #1c1c1e;
    --text-primary: #ececec;
    --text-secondary: #b8b5b2;
    --text-muted: #9a9a9a;
    --border: rgba(255,255,255,0.14);
    --link: #ef4f75;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text-primary); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }
.brand-header { background: var(--brand-red); color: #fff; padding: 18px 16px 16px; }
.brand-header-inner { max-width: 680px; margin: 0 auto; }
.brand-header h1 { font-size: 1.3rem; margin: 0 0 6px; color: #fff; }
.brand-header a { color: #fff; opacity: 0.9; font-size: 0.85rem; text-decoration: none; }
.brand-header a:hover { text-decoration: underline; }
.wrap { max-width: 680px; margin: 0 auto; padding: 24px 16px 56px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
h2 { font-size: 1.05rem; margin: 0 0 8px; }
p { color: var(--text-secondary); margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
ul { color: var(--text-secondary); margin: 0 0 12px; padding-left: 20px; }
a { color: var(--link); }
.badge-good {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--brand-red-dark); background: var(--brand-yellow);
  padding: 2px 10px; border-radius: 999px; margin-bottom: 10px;
}
footer { text-align: center; color: var(--text-muted); font-size: 0.8rem; padding-top: 8px; }

/* Formerly an inline style attribute - see public/_headers. */
.page-title { font-size: 1.4rem; margin: 20px 0 4px; }
