:root {
  color-scheme: light dark;
  --bg: #111;
  --fg: #eee;
  --muted: #999;
  --line: #333;
  --accent: #c8e64e;
  font-family: system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
}

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

footer {
  border-bottom: none;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.logo {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--fg);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--accent);
}

.page {
  width: min(48rem, calc(100% - 2rem));
  margin: 2rem auto;
}

section {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

h1,
h2 {
  font-weight: 600;
}

p,
label {
  line-height: 1.5;
  color: var(--muted);
}

.stub-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 24rem;
}

.stub-form label {
  display: grid;
  gap: 0.25rem;
  color: var(--fg);
}

input,
textarea,
button {
  font: inherit;
  padding: 0.4rem 0.5rem;
}

button {
  width: fit-content;
  cursor: pointer;
}
