/* Base styles and design tokens shared by every page. Page-specific CSS lives in index.css / bill.css. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f5;
  --text: #111111;
  --muted: #5c5c5c;
  --border: #e2e2e2;
  --rule: #111111;
  --accent: #1d4ed8;
  --accent-soft: #f5f5f5;
  --focus: #1d4ed8;

  --law: #166534;        --law-bg: transparent;
  --vetoed: #9a3412;     --vetoed-bg: transparent;
  --did_not_pass: #5c5c5c; --did_not_pass-bg: transparent;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: var(--font);
  --radius: 2px;
  --gap: 16px;
  --maxw: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #111111;
    --surface-2: #1c1c1c;
    --text: #ededed;
    --muted: #a3a3a3;
    --border: #2e2e2e;
    --rule: #ededed;
    --accent: #8ab4f8;
    --accent-soft: #1c1c1c;
    --focus: #8ab4f8;
    --law: #86efac;        --law-bg: transparent;
    --vetoed: #fdba74;     --vetoed-bg: transparent;
    --did_not_pass: #a3a3a3; --did_not_pass-bg: transparent;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: 24px; letter-spacing: -.015em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.site-name { font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.site-header nav a { color: var(--text); text-decoration: none; padding: 8px 0; }
.site-header nav a:hover { text-decoration: underline; }

main.wrap { padding-top: 40px; padding-bottom: 64px; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 24px 0 40px; }
.site-footer p { margin: 0 0 .5em; }

/* Status: plain text; color only supplements it. */
.badge { display: inline-block; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.badge-law { color: var(--law); background: var(--law-bg); }
.badge-vetoed { color: var(--vetoed); background: var(--vetoed-bg); }
.badge-did_not_pass { color: var(--did_not_pass); background: var(--did_not_pass-bg); }

.tag { display: inline-block; font-size: 13px; padding: 3px 8px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
a.tag:hover { border-color: var(--text); text-decoration: none; }

.label { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

button { font: inherit; }

@media print {
  .site-header nav, .skip-link, .no-print, button { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; }
}
