:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #1d232a;
  --muted: #5b6570;
  --line: #e4e0d8;
  --accent: #d9661f;      /* safety orange — construction feel */
  --accent-ink: #ffffff;
  --blueprint: #1f4e79;
  --pending-bg: #fff6d6;
  --pending-line: #e8c547;
  --good: #2e7d4f;
  --bad: #b23b3b;
  --radius: 10px;
  --max: 1080px;
  --read: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --surface: #1c2229;
    --ink: #e8e6e1;
    --muted: #9aa4ae;
    --line: #2d353e;
    --accent: #f08a3e;
    --blueprint: #7fb3e0;
    --pending-bg: #2e2914;
    --pending-line: #8a7424;
    --good: #6cc492;
    --bad: #e07c7c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
a { color: var(--blueprint); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.read { max-width: var(--read); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 19px/1 "Archivo", sans-serif; }
.brand-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-size: 15px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Disclosure bar */
.disclosure { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.disclosure .wrap { padding-top: 8px; padding-bottom: 8px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.eyebrow { font: 600 13px/1 "Archivo", sans-serif; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 12px 0 14px; max-width: 18ch; }
.hero p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .tag { font-size: 12.5px; font-weight: 600; color: var(--blueprint); text-transform: uppercase; letter-spacing: 0.06em; }
.card .more { margin-top: auto; font-weight: 600; }
.card.soon { opacity: 0.7; }

section { padding: 28px 0; }
.section-title { font-size: 26px; margin: 0 0 18px; }

/* Method strip */
.method { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: step; }
.method div { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; }
.method strong { display: block; }
.method span { color: var(--muted); font-size: 15px; }

/* Author box */
.author { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--blueprint); color: #fff; display: grid; place-items: center; font: 700 22px "Archivo", sans-serif; }
.author p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }

/* Article */
.article-head { padding: 40px 0 8px; }
.article-head h1 { font-size: clamp(28px, 4.5vw, 40px); margin: 10px 0; }
.meta { color: var(--muted); font-size: 14.5px; }
article h2 { font-size: 26px; margin: 40px 0 10px; }
article h3 { font-size: 20px; margin: 26px 0 8px; }
article p, article li { max-width: var(--read); }

.verdict { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.verdict h2 { margin-top: 0; font-size: 22px; }
.verdict ul { margin: 8px 0 0; padding-left: 20px; }

.pending { background: var(--pending-bg); border: 1px dashed var(--pending-line); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; font-size: 15.5px; }
.pending strong { display: block; margin-bottom: 4px; }

.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: "Archivo", sans-serif; font-size: 14px; background: color-mix(in srgb, var(--blueprint) 8%, var(--surface)); }
tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.proscons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 16px 0; }
.proscons > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.proscons h3 { margin: 0 0 8px; font-size: 18px; }
.pros h3 { color: var(--good); }
.cons h3 { color: var(--bad); }
.proscons ul { margin: 0; padding-left: 20px; font-size: 15.5px; }

.cta { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 8px; }
.cta:hover { filter: brightness(1.05); }
.cta-note { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; font-size: 15.5px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; }

.sources { font-size: 14.5px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 4px 0; max-width: 70ch; }
