/* Stop the Zaklox! public site. No web fonts, no scripts, no third-party requests. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #4a5874;
  --accent: #1d4ed8;
  --accent-text: #ffffff;
  --border: #d8dfeb;
  --navy: #0f1d3a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1428;
    --surface: #13203d;
    --text: #e8eefb;
    --muted: #a9b6d1;
    --accent: #7aa2ff;
    --accent-text: #0b1428;
    --border: #2a3a5e;
    --navy: #060d1d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 1; }

header.site {
  background: var(--navy);
  color: #ffffff;
}
header.site .bar {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: auto;
}
header.site .brand img { width: 40px; height: 40px; border-radius: 10px; }
header.site nav a { color: #dbe6ff; text-decoration: none; margin-right: 16px; }
header.site nav a:last-child { margin-right: 0; }
header.site nav a[aria-current="page"] { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
h1 { font-size: 2rem; line-height: 1.2; margin: 0.4em 0 0.3em; }
h2 { font-size: 1.3rem; margin: 1.8em 0 0.4em; }
p, ul { margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.updated { color: var(--muted); font-size: 0.95rem; }

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 8px;
}
.hero img { width: 144px; height: 144px; border-radius: 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.hero div { flex: 1 1 280px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0;
}
.card h2 { margin-top: 0.2em; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}
footer.site div {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px;
}
footer.site a { color: var(--muted); }
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.95em;
}
