:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --text: #22201d;
  --muted: #6b6560;
  --line: #e7ded3;
  --accent: #c8452c;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9e3;
  --answer: #fff3d6;
  --answer-line: #f0d48a;
  --urgent: #fde4df;
  --radius: 12px;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1816;
    --surface: #24211e;
    --text: #f1ece6;
    --muted: #a8a099;
    --line: #3a3530;
    --accent: #ff7a5c;
    --accent-ink: #1a1816;
    --accent-soft: #3a2620;
    --answer: #2f2a1c;
    --answer-line: #6b5a2a;
    --urgent: #4a2620;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 1.2rem 0 .6rem; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }
.small { font-size: .88rem; color: var(--muted); }
.muted { color: var(--muted); font-size: .9em; }
.nowrap { white-space: nowrap; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--text); text-decoration: none; }
.logo-mark { color: var(--accent); }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--accent); }

.site-footer { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); background: var(--surface); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1rem 0; }
.footer-links a { color: var(--text); font-size: .92rem; }
.disclosure-line { font-size: .9rem; color: var(--muted); }

.crumbs { font-size: .88rem; color: var(--muted); margin-top: 1.2rem; }
.crumbs a { color: var(--muted); }
.updated { color: var(--muted); font-size: .92rem; }
.answer { background: var(--answer); border: 1px solid var(--answer-line); border-radius: var(--radius); padding: 14px 18px; margin: 1rem 0; font-size: 1.08rem; }
.answer p { margin: .2rem 0; }
.answer .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.inline-disclosure { font-size: .88rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td.num { color: var(--muted); }
table.compare { min-width: 760px; }
@media (max-width: 700px) {
  table.compare { min-width: 0; }
  table.compare th:nth-child(1), table.compare td:nth-child(1),
  table.compare th:nth-child(4), table.compare td:nth-child(4),
  table.compare th:nth-child(5), table.compare td:nth-child(5) { display: none; }
  table.compare .btn { white-space: normal; text-align: center; }
}
tr.urgent td { background: var(--urgent); }
tr.passed td { color: var(--muted); text-decoration: line-through; }
tr.passed td.days { text-decoration: none; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 7px 12px; border-radius: 8px; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }

.pick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 14px 0; }
.pick-num { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--sans); font-size: .85em; margin-right: 4px; }
.pick-meta { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: .6rem 0 1rem; }
.fit div { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.fit dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.fit dd { margin: 0; font-size: .94rem; }
@media (max-width: 560px) { .fit { grid-template-columns: 1fr; } }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--text); text-decoration: none; }
.card a:hover { border-color: var(--accent); }
.card strong { display: block; font-family: var(--serif); font-size: 1.08rem; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: .92rem; }
.guide-list li { margin: .3rem 0; }

.hero { padding: 1.5rem 0 .5rem; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: .3rem; }
.finder { margin: 1.2rem 0; max-width: 560px; }
.finder label { font-weight: 600; display: block; margin-bottom: 6px; }
.finder input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.finder input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.finder-results { list-style: none; padding: 0; margin: 6px 0 0; }
.finder-results li { padding: 6px 2px; border-bottom: 1px solid var(--line); }
.deadline-banner { display: block; background: var(--accent-soft); border-radius: var(--radius); padding: 12px 16px; color: var(--text); text-decoration: none; margin: 1rem 0; }
.deadline-banner .u { color: var(--accent); white-space: nowrap; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 680px) { .split { grid-template-columns: 1fr; } }
.principles ul { padding-left: 1.2rem; }
.requests { columns: 2; column-gap: 32px; font-size: .95rem; }
.requests li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 680px) { .requests { columns: 1; } }
.prose { max-width: 720px; }
.agent-note { margin-top: 2rem; }
code { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 4px; font-size: .9em; }
