:root {
  --bg: #0c0a10;
  --panel: #15111b;
  --line: #2a2233;
  --text: #e9e2d6;
  --muted: #a99f92;
  --ember: #e0913a;
  --ember-hi: #f2b35e;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--ember-hi); }
a:hover { color: #ffd08c; }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
  background: url(/assets/hero.jpg) center 38% / cover no-repeat var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,10,16,.25) 0%, rgba(12,10,16,.55) 60%, var(--bg) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero img.logo { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
.tagline { font-size: 1.25rem; max-width: 640px; margin: 16px auto 28px; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ember-hi), var(--ember));
  color: #1a1008;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 6px 20px rgba(224,145,58,.35);
}
.cta:hover { color: #1a1008; filter: brightness(1.08); }
.meta { margin-top: 14px; color: var(--muted); font-size: .95rem; text-shadow: 0 2px 6px #000; }

main.home { max-width: 860px; margin: 0 auto; padding: 24px 16px 56px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pillars div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.pillars h2 { font-size: 1.05rem; margin: 0 0 6px; color: var(--ember-hi); }
.pillars p { margin: 0; color: var(--muted); font-size: .97rem; }

.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.doc header { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.doc header img { width: 40px; height: 40px; border-radius: 8px; }
.doc header a { color: var(--text); text-decoration: none; font-weight: 700; }
.doc h1 { font-size: 2rem; margin: 24px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 1.2rem; margin: 32px 0 8px; color: var(--ember-hi); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 6px; }
.doc th { color: var(--muted); font-weight: 600; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 16px 32px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
footer.site nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
