:root {
--navy: #0b1c30;
--navy-2: #13293f;
--gold: #c9a227;
--gold-soft: #e7cd7a;
--paper: #f5f1e8;
--card: #ffffff;
--ink: #1c2430;
--muted: #5a6472;
--line: #d8d2c0;
--mandate: #1e5c38;
--estab: #8c2f1b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
color: var(--ink);
background: var(--paper);
line-height: 1.55;
font-size: 17px;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .brand { font-family: Georgia, "Times New Roman", serif; color: var(--navy); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 23px; margin: 28px 0 8px; }
h3 { font-size: 19px; margin: 0 0 6px; }
a { color: #14509e; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
outline: 3px solid var(--gold); outline-offset: 2px;
}
/* Header */
.site-header { background: var(--navy); color: #eef1f5; padding: 18px 0 0; border-bottom: 4px solid var(--gold); }
.brand { margin: 0; font-size: 32px; line-height: 1.1; }
.brand a { color: #ffffff; text-decoration: none; }
.brand .gold { color: var(--gold-soft); }
.tagline { margin: 4px 0 14px; font-style: italic; color: #cdd6e0; font-size: 16px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 0 14px; border-top: 1px solid var(--navy-2); }
.site-nav a { color: #e8edf3; text-decoration: none; font-weight: 600; font-size: 16px; padding: 4px 2px; }
.site-nav a:hover { color: var(--gold-soft); }
.site-nav a.active { color: var(--gold-soft); border-bottom: 3px solid var(--gold); }
/* Main */
main { padding: 26px 0 40px; }
.post-meta { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.lede { font-size: 19px; }
.verdict-m { color: var(--mandate); font-weight: 700; }
.verdict-e { color: var(--estab); font-weight: 700; }
/* Preview cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; padding: 16px; }
.card p { margin: 0 0 10px; font-size: 16px; }
.card a.more { font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
/* Scoreboard */
.filter-row { margin: 14px 0; }
.filter-row label { font-weight: 600; display: block; margin-bottom: 6px; }
input[type="text"], input[type="search"], select, textarea {
width: 100%; max-width: 100%; padding: 10px 12px; font-size: 16px;
border: 1px solid #b3ac97; border-radius: 6px; background: #ffffff; color: var(--ink);
}
table.score { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15.5px; }
table.score th { background: var(--navy); color: #ffffff; text-align: left; padding: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
table.score td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.score tr:nth-child(even) td { background: #faf8f2; }
.mname { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 700; color: var(--navy); }
.member-photo { float: left; width: 40px; height: 49px; object-fit: cover; border-radius: 4px; margin: 2px 10px 4px 0; border: 1px solid var(--line); background: #e9e4d4; }
.mnote { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.tally { font-weight: 700; text-align: center; }
.status { color: var(--muted); font-size: 14.5px; }
@media (max-width: 680px) {
table.score, table.score tbody, table.score tr, table.score td { display: block; width: 100%; }
table.score thead { display: none; }
table.score tr { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; padding: 10px 12px; }
table.score td { border: none; padding: 2px 0; background: transparent !important; }
table.score td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy); }
table.score td.mname-cell::before { content: ""; }
.tally { text-align: left; }
}
/* Letter generator */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr 1fr; } }
.field label { font-weight: 600; display: block; margin-bottom: 6px; }
.tone-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 6px 0 2px; }
.tone-row label { font-weight: 600; }
textarea { min-height: 84px; resize: vertical; }
.subject-line { font-weight: 700; margin: 18px 0 8px; word-wrap: break-word; }
.letter {
background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--gold);
border-radius: 6px; padding: 20px; white-space: pre-wrap; word-wrap: break-word;
font-family: Georgia, "Times New Roman", serif; font-size: 16.5px;
}
.btn {
display: inline-block; background: var(--gold); color: var(--navy); border: none; border-radius: 6px;
padding: 12px 20px; font-size: 16.5px; font-weight: 700; cursor: pointer; margin: 14px 10px 0 0;
}
.btn:hover { background: var(--gold-soft); }
.btn-secondary { background: var(--navy); color: #ffffff; }
.btn-secondary:hover { background: var(--navy-2); }
.dir-links { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.dir-links p { margin: 0 0 8px; }
/* Method page */
.rule-box { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: 6px; padding: 14px 18px; margin: 14px 0; }
.rule-box.gold { border-left-color: var(--gold); }
/* Footer */
.site-footer { background: var(--navy); color: #cdd6e0; padding: 18px 0; font-size: 14.5px; }
.site-footer p { margin: 0; }
.small { font-size: 14.5px; color: var(--muted); }
/* 12 Years of MAGA panel */
.maga-panel { background: #081426; color: #e8edf3; border-radius: 12px; padding: 30px 26px 24px; }
.maga-eyebrow { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.maga-title { color: #ffffff; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 46px; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 10px; text-transform: uppercase; }
.maga-sub { margin: 0 0 16px; font-size: 16.5px; color: #c3cedb; max-width: 640px; }
.maga-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 6px; font-size: 13.5px; color: #c3cedb; }
.maga-legend-sub { margin: 0 0 12px; }
.maga-key { display: inline-flex; align-items: center; gap: 6px; }
.maga-key .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #7d838d; }
.maga-key .sw.d { background: #2e6bc2; }
.maga-key .sw.r { background: #c93b35; }
.maga-key .sw.i { background: #a8c8ec; }
.maga-key .sw.u { background: #7d838d; }
.maga-key .sw.pub { background: #d9a92c; }
.maga-key .sw.trust { background: #7d5f16; }
.maga-key .sw.line { width: 2px; height: 14px; border-radius: 0; background: #ffffff; margin: 0 5px; }
.maga-section { border-top: 1px solid #22344d; padding: 18px 0 4px; margin-top: 14px; }
.maga-sec-head { margin: 0 0 12px; }
.maga-sec-head h2 { color: #ffffff; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; margin: 0; }
.maga-sec-head p { margin: 2px 0 0; font-size: 13.5px; color: #93a1b3; }
.maga-row { margin: 0 0 16px; }
.maga-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0 0 6px; }
.maga-year { font-size: 21px; font-weight: 800; color: #ffffff; }
.maga-year em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.maga-nums { font-size: 21px; font-weight: 800; }
.maga-nums b.d { color: #6ea8e0; }
.maga-nums b.r { color: #e86a64; }
.maga-nums b.i { color: #a8c8ec; }
.maga-nums b.gold-num { color: #d9a92c; }
.maga-nums b.teal-num { color: #3ec2a5; }
.maga-barwrap { position: relative; }
.maga-bar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: #22344d; }
.maga-bar .seg { display: block; height: 100%; }
.maga-bar .seg.d { background: #2e6bc2; }
.maga-bar .seg.r { background: #c93b35; }
.maga-bar .seg.i { background: #a8c8ec; }
.maga-bar .seg.u { background: #7d838d; }
.maga-bar .seg.pub { background: #d9a92c; }
.maga-bar .seg.trust { background: #7d5f16; }
.maga-bar .seg.cost { background: #2fa58c; }
.maga-majority { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #ffffff; opacity: 0.9; }
.maga-note { margin: 5px 0 0; font-size: 13.5px; color: #a7b3c2; }
.maga-footnote { border-top: 1px solid #22344d; margin: 20px 0 0; padding-top: 12px; font-size: 12.5px; line-height: 1.5; color: #8494a7; }
@media (max-width: 680px) {
.maga-panel { padding: 22px 15px 18px; }
.maga-title { font-size: 33px; }
.maga-year, .maga-nums { font-size: 18px; }
}
