:root {
  --violet: #5B21B6;
  --indigo: #3730A3;
  --teal: #0D9488;
  --bg: #FBFAFF;
  --surface: #FFFFFF;
  --text: #16132B;
  --muted: #5E5A78;
  --line: #E7E3F5;
  --link: #5B21B6;
  --note-bg: #F3EEFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --violet: #7C3AED;
    --bg: #0D0B1A;
    --surface: #16132A;
    --text: #F2F0FF;
    --muted: #A6A1C4;
    --line: #2A2645;
    --link: #A78BFA;
    --note-bg: #1E1838;
  }
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
         font: 600 22px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
header a.back { color: var(--muted); text-decoration: none; font-size: 15px; }
header a.back:hover { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font: 600 clamp(34px, 6vw, 48px)/1.1 Fraunces, Georgia, serif; letter-spacing: -.02em; margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.draft { background: var(--note-bg); border: 1px solid var(--line); border-left: 4px solid var(--violet);
         border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 36px; }
h2 { font: 600 24px/1.25 Fraunces, Georgia, serif; margin: 40px 0 10px; }
p, ul { margin-bottom: 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--link); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px;
         display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: var(--muted); margin-left: 18px; }
footer a:first-child { margin-left: 0; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* Comparison pages */
.lede { color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-weight: 600; background: var(--note-bg); }
tbody th { font-weight: 500; color: var(--muted); width: 28%; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 24px; }
.cards a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
           text-decoration: none; color: var(--text); }
.cards a:hover { border-color: var(--violet); }
.cards strong { display: block; font-size: 17px; margin-bottom: 4px; }
.cards span { color: var(--muted); font-size: 15px; }
.sources { font-size: 14px; color: var(--muted); }
.cta-btn { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--violet); color: #fff;
           font-weight: 600; text-decoration: none; margin: 4px 0 8px; }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.wide .wrap { max-width: 1120px; }
