:root {
  --bg: #f7f5f0;
  --text: #1d2b36;
  --muted: #5b6670;
  --accent: #c47f1f;
  --rule: #ddd8ce;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141c22;
    --text: #e9e5dc;
    --muted: #9aa3aa;
    --accent: #e8a33d;
    --rule: #2b3740;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 1.5rem 1rem 3rem;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark svg { display: block; width: 11rem; height: auto; }
.wordmark .accent { stroke: var(--accent); }
.wordmark .ink { stroke: var(--text); }
.wordmark .hub { fill: var(--text); stroke: none; }

nav a { margin-left: 1rem; color: var(--text); text-decoration: none; }
nav a:hover { color: var(--accent); }

h2 { margin-top: 2.5rem; font-size: 1.4rem; }
h3 { margin-top: 1.5rem; font-size: 1.05rem; }

.shot {
  margin: 1.5rem 0 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--rule);
}
.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 4px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: var(--accent); color: var(--bg); }

code { font-size: 0.9em; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
