:root {
  --night: #0b100d;
  --pine: #14251a;
  --charcoal: #1d2a21;
  --moss: #708b5f;
  --ember: #ff7a2f;
  --bone: #f2e7d3;
  --blood: #c64b3c;
  --ash: #9daa9a;
  --line: rgba(112, 139, 95, .38);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(255, 122, 47, .08), transparent 65%),
    radial-gradient(700px 420px at 8% 15%, rgba(112, 139, 95, .08), transparent 70%),
    var(--night);
  color: var(--bone);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: #ffb07a; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.tiny { font-size: .78rem; color: var(--ash); line-height: 1.5; }
.note { border-left: 2px solid var(--moss); padding-left: 14px; color: #c8d2c2; font-size: .92rem; }
.kicker, .eyebrow, .panel-label {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ember);
}
.eyebrow { margin: 0 0 16px; }

.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 37, 26, .92);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; }
.brand:hover { color: var(--bone); }
.brand-mark {
  font-family: "Bitter", Georgia, serif;
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--night);
  background: var(--ember);
  padding: 8px 9px 7px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2);
}
.brand-word { font-family: "Bitter", Georgia, serif; font-size: 1.18rem; line-height: 1; letter-spacing: .02em; }
.brand-word small { display: block; margin-top: 5px; font-family: "Atkinson Hyperlegible", sans-serif; font-size: .58rem; letter-spacing: .18em; color: var(--ash); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { color: #d7dfd1; text-decoration: none; font-size: .88rem; padding: 7px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--bone); border-color: var(--ember); }

.hero { padding: 78px 0 54px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: center; }
h1, h2, h3 { font-family: "Bitter", Georgia, serif; font-weight: 600; line-height: 1.06; letter-spacing: -.015em; }
h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 6vw, 4.7rem); }
h1 em { color: var(--ember); font-style: normal; }
.lede { max-width: 62ch; color: #d5ddcf; font-size: 1.1rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }
.btn {
  display: inline-block;
  background: var(--ember);
  color: #170d06;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 20px;
  border: 1px solid var(--ember);
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.35);
}
.btn:hover { background: #ff9558; color: #170d06; }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--moss); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ember); color: var(--ember); }
.hero-art { position: relative; }
.fire-ring { display: block; width: 100%; max-width: 380px; margin-inline: auto; overflow: visible; }
.tick { stroke: var(--moss); stroke-width: 2; opacity: .62; }
.tick.ember { stroke: var(--ember); stroke-width: 2.4; opacity: .95; }
.log { stroke: #7a4b2b; stroke-width: 10; stroke-linecap: round; }
.flame.outer { fill: var(--ember); opacity: .88; animation: flicker 6s ease-in-out infinite; transform-origin: 180px 220px; }
.flame.inner { fill: #ffd08a; animation: flicker 4.2s ease-in-out infinite reverse; transform-origin: 180px 220px; }
.art-cap { text-align: center; font-size: .72rem; color: var(--ash); margin-top: 6px; }
@keyframes flicker { 0%,100% { transform: scale(1) translateY(0); opacity: .86; } 50% { transform: scale(1.03) translateY(-2px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flame { animation: none; } html { scroll-behavior: auto; } }

.warning {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid rgba(198, 75, 60, .55);
  border-left: 4px solid var(--blood);
  background: rgba(198, 75, 60, .08);
  padding: 18px 20px;
  margin: 34px auto;
}
.warning p { margin: 0; font-size: .92rem; color: #e4d4c9; }
.stamp { flex: 0 0 auto; font-family: "Bitter", serif; font-size: .68rem; letter-spacing: .12em; color: var(--blood); border: 1px solid var(--blood); padding: 3px 7px; transform: rotate(-2deg); }

.section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.section h2 { margin: 8px 0 22px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  border-radius: 2px;
  padding: 20px 20px 16px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--ember); }
.card h2 { font-size: 1.45rem; margin: 6px 0 8px; }
.card p { margin: 0 0 12px; font-size: .9rem; color: #ccd5c6; }
.card-status { font-size: .65rem !important; letter-spacing: .13em; color: var(--ash) !important; margin-top: auto !important; }
.card-status.ok { color: #9fce8e !important; }
.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; align-items: start; }
.panel { background: var(--pine); border: 1px solid var(--line); padding: 20px; border-radius: 2px; }
.panel p { margin: 0 0 10px; font-size: .86rem; color: #ccd5c6; }
.panel-label { margin-bottom: 12px !important; }
.panel-small { color: var(--ash) !important; font-size: .76rem !important; }

.table-wrap { overflow-x: auto; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; background: var(--pine); color: var(--bone); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--moss); }
td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
kbd { display: inline-block; font-family: "Atkinson Hyperlegible", monospace; font-size: .76rem; border: 1px solid var(--moss); border-bottom-width: 2px; border-radius: 2px; padding: 1px 6px; background: #101a13; color: var(--bone); }

.article { max-width: 860px; padding: 56px 0 64px; }
.article.narrow { max-width: 760px; }
.crumbs { font-size: .76rem; color: var(--ash); margin: 0 0 22px; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.article h2 { margin: 44px 0 12px; font-size: 1.7rem; }
.article h3 { margin: 26px 0 8px; font-size: 1.25rem; }
.article p, .article li { color: #d7dfd1; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .76rem; color: var(--ash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 20px 0 26px; }
.chip { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--moss); color: var(--ash); }
.chip.ok { border-color: #6f9b5e; color: #a9d39a; }
.checklist { padding-left: 20px; }
.checklist li { margin-bottom: 8px; }
.tested, .log { background: var(--pine); border: 1px solid var(--line); border-left: 3px solid var(--ember); padding: 16px 18px; margin: 18px 0; }
.tested p, .log p { margin: 0 0 10px; font-size: .9rem; }
.tested p:last-child, .log p:last-child { margin-bottom: 0; }
.sources { padding-left: 20px; }
.sources li { margin-bottom: 10px; font-size: .9rem; }

.site-foot { padding: 34px 0 44px; background: #080d0a; border-top: 1px solid var(--line); }
.foot-inner p { max-width: 760px; color: var(--ash); font-size: .78rem; line-height: 1.6; }
.foot-links a { color: #c7d4c2; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .head-inner { min-height: 64px; align-items: flex-start; padding: 10px 0 8px; gap: 10px; }
  .brand-word { font-size: 1rem; }
  .nav { gap: 2px 12px; justify-content: flex-end; }
  .nav a { font-size: .78rem; padding: 4px 0; }
  .hero { padding: 42px 0 34px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { order: -1; max-width: 300px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .warning { margin: 20px auto; padding: 14px; }
  .article { padding: 34px 0 44px; }
  .article h1 { font-size: 2.1rem; }
  .article h2 { margin-top: 32px; }
}
.glossary{margin:1.4rem 0 2rem;padding:0;border-top:1px solid var(--line)}
.glossary dt{font:700 1.1rem/1.3 "Bitter",Georgia,serif;color:var(--bone);margin-top:1rem}
.glossary dd{margin:.25rem 0 0;color:var(--muted);max-width:70ch}
