:root {
  --ink: #172019;
  --muted: #687269;
  --paper: #f5f1e7;
  --card: #fffdf7;
  --line: #d8d3c6;
  --acid: #c8f05a;
  --forest: #214d36;
  --orange: #ed6a3a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% 5%, #e0edc7 0, transparent 29rem), var(--paper); }
a { color: inherit; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: auto; padding: 0 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: block; width: 44px; height: 44px; object-fit: contain; }
.method-pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: var(--muted); font-size: 12px; text-decoration: none; transition: border-color .18s, color .18s, background .18s; }
.method-pill:hover, .method-pill:focus-visible { border-color: var(--forest); background: var(--card); color: var(--forest); }
main { max-width: 1180px; margin: auto; padding: 0 28px 72px; }
.hero { padding: 82px 0 68px; max-width: 820px; }
.eyebrow { margin: 0 0 12px; color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-family: Georgia, serif; font-size: clamp(46px, 8vw, 92px); line-height: .93; font-weight: 500; letter-spacing: -.055em; }
h1 em { color: var(--orange); font-weight: 500; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.set-section { border-top: 1px solid var(--line); padding-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { font: 500 36px/1.1 Georgia, serif; }
.source-note { margin-bottom: 28px; color: var(--muted); font-size: 12px; text-decoration: none; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.set-card, .empty-state { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,247,.85); box-shadow: 0 10px 35px rgba(23,32,25,.04); }
.set-card-top { display: flex; align-items: start; justify-content: space-between; min-height: 52px; margin-bottom: 18px; }
.set-code { display: inline-block; padding: 5px 8px; background: var(--ink); color: white; border-radius: 4px; font: 800 11px/1 monospace; }
.set-logo { width: 94px; height: 48px; object-fit: contain; object-position: right top; }
.set-card h3 { margin-bottom: 7px; font-size: 22px; }
.set-card p { color: var(--muted); font-size: 14px; }
.set-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; }
.button { display: inline-block; padding: 12px 17px; border-radius: 9px; font-size: 14px; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--forest); color: white; }
.text-link { color: var(--forest); font-size: 14px; font-weight: 750; text-decoration: none; }
.compare-header, .ranking-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 55px 0 34px; }
.compare-header h1, .ranking-header h1 { margin-bottom: 10px; font-size: clamp(40px, 6vw, 66px); }
.compare-header p, .ranking-header p { color: var(--muted); }
.matchup { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; gap: 18px; }
.choice-form { min-width: 0; }
.card-choice { width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--ink); cursor: pointer; text-align: left; box-shadow: 0 14px 45px rgba(23,32,25,.07); transition: transform .18s, box-shadow .18s; }
.card-choice:hover { transform: translateY(-5px); box-shadow: 0 22px 52px rgba(23,32,25,.14); }
.card-art { display: grid; place-items: center; aspect-ratio: .716; overflow: hidden; padding: 14px; background: linear-gradient(145deg, #e8e6de, #d2d8cd); }
.card-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(23,32,25,.2)); }
.placeholder-art { display: grid; place-items: center; background: linear-gradient(145deg, var(--forest), #6c8762); color: rgba(255,255,255,.16); font: 500 150px/1 Georgia, serif; }
.card-meta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 21px; }
.card-meta strong { font-size: 20px; }
.card-meta small { grid-column: 1 / -1; color: var(--muted); }
.pitch { display: inline-flex; align-items: center; gap: 6px; justify-self: end; padding: 5px 8px; border-radius: 999px; background: #eee; font-size: 11px; font-weight: 700; }
.pitch-1 { background: #f8d5cf; color: #8c2d22; } .pitch-2 { background: #f6e9b9; color: #705c0d; } .pitch-3 { background: #dbe7f5; color: #235687; }
.pitch-dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pitch-1 .pitch-dot, .pitch-dot-1 { background: #d43b30; }
.pitch-2 .pitch-dot, .pitch-dot-2 { background: #e2b928; }
.pitch-3 .pitch-dot, .pitch-dot-3 { background: #317cc2; }
.rank-pitch { display: flex !important; align-items: center; gap: 6px; }
.choose-label { grid-column: 1 / -1; color: var(--forest); font-size: 13px; font-weight: 750; }
.versus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--acid); font-size: 11px; font-weight: 900; }
.voter-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 12px; }
.ranking-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th, .ranking-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.ranking-table th { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ranking-table tr:last-child td { border-bottom: 0; }
.rank { width: 70px; font: 500 24px Georgia, serif; }
.rank-card { display: flex; align-items: center; gap: 13px; min-width: 230px; }
.rank-card small { display: block; margin-top: 3px; color: var(--muted); }
.mini-art { display: grid; place-items: center; width: 43px; aspect-ratio: 546 / 763; overflow: hidden; border-radius: 5px; background: var(--forest); color: white; font-family: Georgia, serif; }
.mini-art img { width: 100%; height: 100%; object-fit: cover; }
.score { font-family: ui-monospace, monospace; font-weight: 700; }
.confidence { display: block; width: 100px; height: 7px; overflow: hidden; border-radius: 9px; background: #e5e1d7; }
.confidence span { display: block; height: 100%; background: var(--orange); }
code { padding: 3px 5px; border-radius: 4px; background: #eae6db; }
footer { max-width: 1180px; margin: auto; padding: 25px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-tagline { margin-bottom: 10px; color: var(--ink); font-weight: 700; }
.legal-attribution { max-width: 880px; margin-bottom: 0; line-height: 1.55; }
@media (max-width: 720px) {
  .method-pill { display: none; } .hero { padding-top: 58px; }
  .compare-header, .ranking-header { align-items: start; flex-direction: column; }
  .matchup { grid-template-columns: 1fr; } .versus { margin: -5px auto; z-index: 1; }
  .section-heading { align-items: start; flex-direction: column; } .source-note { margin: -10px 0 25px; }
  .ranking-table th:nth-child(5), .ranking-table td:nth-child(5) { display: none; }
}
