:root {
  color-scheme: dark;
  --bg: #050607;
  --text: #eef7fb;
  --muted: #a5b4bb;
  --line: #26333b;
  --accent: #12c8ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 4rem;
  padding-top: 1rem;
  color: var(--muted);
}

img {
  width: 10rem;
  height: auto;
}

nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

a {
  color: var(--text);
  text-decoration-color: rgba(18, 200, 255, 0.45);
  text-underline-offset: 0.18em;
}

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

h1 {
  margin: 4rem 0 1rem;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
}

.lede {
  color: var(--muted);
  font-size: 1.15rem;
}

article {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.meta {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}
