/* Independent, clearly unofficial. No seals, no official palette, no invoice look. */
:root {
  --bg: #f4efe6;
  --paper: #fffdf8;
  --ink: #241f1a;
  --muted: #5c534a;
  --line: #d8cfc2;
  --accent: #8a3a1a;
  --accent-ink: #fffdf8;
  --official: #1c3d5a;
  --official-ink: #fff;
  --warn-bg: #f3e2b8;
  --warn-ink: #4a3208;
  --warn-line: #c9a227;
  --ok-bg: #e8f0ea;
  --focus: #1c3d5a;
  --shadow: 0 1px 3px rgba(36, 31, 26, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font: 1.05rem/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--official); }
a:hover { text-decoration-thickness: 2px; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }
.banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 4px solid var(--warn-line);
  padding: 12px 18px;
  text-align: center;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.banner strong { display: inline; text-transform: uppercase; letter-spacing: 0.06em; }
.banner a { color: var(--warn-ink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px 64px; }
header.site {
  padding: 28px 0 8px;
}
.wordmark {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.25rem); line-height: 1.2; margin: 0 0 12px; }
.lede { font-size: 1.12rem; color: var(--ink); margin: 0 0 18px; }
.official-cta {
  display: inline-block;
  background: var(--official);
  color: var(--official-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 6px 8px 6px 0;
}
.official-cta:hover { filter: brightness(1.08); color: var(--official-ink); }
.official-cta:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.cta-note { display: inline-block; font-size: 0.9rem; color: var(--muted); }
nav.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
nav.toc h2 { font-size: 1rem; margin: 0 0 8px; }
nav.toc ol { margin: 0; padding-left: 1.2rem; }
nav.toc li { margin: 4px 0; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 8px;
}
.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.fact dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.fact dd { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; }
.fact dd small { display: block; font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 580px) { .facts { grid-template-columns: 1fr; } }
section { margin: 40px 0; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 12px; padding-top: 8px; }
h3 { font-size: 1.12rem; margin: 22px 0 8px; }
p, li { max-width: 70ch; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  margin: 12px 0 8px;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #efe8db; font-size: 0.85rem; letter-spacing: 0.03em; }
tr:last-child td { border-bottom: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cite { font-size: 0.85rem; color: var(--muted); }
ol.steps { padding-left: 1.3rem; }
ol.steps li { margin: 10px 0; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 18px 0;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin-top: 0; }
.secondary { border-style: dashed; }
label { display: block; font-weight: 650; margin-top: 12px; }
input[type="email"], input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b5ab9e;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  margin-top: 4px;
}
button {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 14px;
}
button.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  width: 100%;
}
button.primary:hover { filter: brightness(1.05); }
button.intent {
  background: var(--paper);
  color: var(--accent);
  border: 2px solid var(--accent);
  width: 100%;
}
button.intent:hover { background: #f8ece6; }
button:disabled { opacity: 0.65; cursor: not-allowed; }
.hp { position: absolute; left: -9999px; }
.note, small, figcaption { color: var(--muted); font-size: 0.88rem; }
.callout {
  border-left: 4px solid var(--warn-line);
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}
.callout.info {
  border-left-color: var(--official);
  background: #e8eef3;
  color: var(--ink);
}
#pay-msg[hidden], #wait-form[hidden] { display: none; }
#pay-msg {
  background: var(--ok-bg);
  border: 1px solid #b7cbb9;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 14px;
}
.sources li { margin: 6px 0; font-size: 0.95rem; }
footer.site {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.reviewed { font-size: 0.9rem; color: var(--muted); }
.err { color: #8a1f12; font-weight: 650; }
