/* VARIANT A — "Paper": warm editorial, serif display, print-like reading.
   Light default + dark scheme via prefers-color-scheme. */
:root {
  --paper: #faf6ee;
  --ink: #1c1a16;
  --ink-soft: #4a463d;
  --accent: #9a2b1e;          /* oxblood red */
  --accent-ink: #ffffff;
  --rule: #e2d9c8;
  --card: #ffffff;
  --focus: #1d4ed8;
  --radius: 10px;
  --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171512;
    --ink: #efe9dc;
    --ink-soft: #b8b0a0;
    --accent: #ef8268; /* lightened for dark-mode link contrast */
    --accent-ink: #171512;
    --rule: #3a352c;
    --card: #201d18;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.65; font-size: 1.0625rem;
}
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
img { max-width: 100%; height: auto; }
.article { max-width: 46rem; }
.article h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; }
.article h2 { margin-top: 2.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.site-header { border-bottom: 2px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-family: var(--font-display); font-size: 1.6rem; margin: 0; font-weight: 700; }
.brand a { color: var(--ink); text-decoration: none; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.site-header nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.hero { padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); font-weight: 700; margin: 0 0 .75rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 1rem; max-width: 20ch; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: .7rem 1.4rem; border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
main section.wrap { padding-top: 2.5rem; padding-bottom: .5rem; }
h2 { font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 1px 0 var(--rule); }
.card p { margin: .5rem 0; color: var(--ink-soft); }
.card p:first-of-type { color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 40rem; background: var(--card); }
caption { text-align: left; padding: .75rem 1rem; color: var(--ink-soft); font-size: .9rem; caption-side: top; }
th, td { text-align: left; padding: .7rem 1rem; border-top: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--ink); color: var(--paper); border-top: 0; font-family: var(--font-display); }
tbody th[scope="row"] { font-weight: 700; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.trust-list { list-style: none; padding: 0; display: grid; gap: .75rem; max-width: 62ch; }
.trust-list li { border-left: 4px solid var(--accent); padding-left: 1rem; }
.site-footer { border-top: 2px solid var(--ink); margin-top: 3rem; padding: 2rem 0; color: var(--ink-soft); }
.site-footer nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.fineprint { font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
