:root {
  color-scheme: dark;
  --ink: #f6f1e8;
  --muted: #c8c0b4;
  --brass: #e0b15a;
  --line: rgba(246, 241, 232, 0.14);
  --bg: #08090d;
  --card: #16181f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.5 "Iowan Old Style", Palatino, Georgia, serif;
}
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) 28px 14px;
  background: rgba(8, 9, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand img, footer img { border-radius: 50%; }
nav { display: flex; gap: 18px; font: 14px/1 ui-monospace, Menlo, monospace; }
nav a { text-decoration: none; min-height: 44px; display: grid; place-items: center; }
@media (hover: hover) and (pointer: fine) {
  nav a:hover { color: var(--brass); }
}
.hero { position: relative; min-height: 72svh; display: grid; align-items: end; overflow: hidden; }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,13,.2), rgba(8,9,13,.88)); }
.hero-copy { position: relative; padding: 48px 28px 56px; max-width: 760px; }
.eyebrow { margin: 0; font: 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
h1 { margin: 12px 0 0; font-size: clamp(42px, 7vw, 76px); line-height: 0.95; font-weight: 500; letter-spacing: -0.03em; }
h2 { margin: 8px 0 18px; font-size: clamp(28px, 4vw, 42px); font-weight: 500; }
.lede, .note { color: var(--muted); max-width: 38em; }
.host { font: 15px/1 ui-monospace, Menlo, monospace; color: var(--brass); }
main section { padding: 56px 28px; }
.facts, .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts article, .grid li, .paths li, .steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
}
.num { margin: 0; color: var(--brass); font: 13px/1 ui-monospace, Menlo, monospace; }
.facts h2, .grid strong { font-size: 22px; }
.facts p, .grid span, .paths span { color: var(--muted); }
.paths, .steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.paths li, .steps li { display: grid; gap: 6px; }
.grid { list-style: none; padding: 0; }
.grid li { display: grid; gap: 8px; min-height: 140px; }
code { font: 0.92em ui-monospace, Menlo, monospace; color: var(--ink); }
footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 28px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
}
@media (max-width: 800px) {
  .facts, .grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .hero { min-height: 86svh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { background: rgba(8, 9, 13, 0.72); }
}
