:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #5f5f66;
  --accent: #0a6c5a;
  --border: #e3e3e8;
  --notice-bg: #fff6dd;
  --notice-border: #e8c766;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121214;
    --text: #ececf0;
    --muted: #a3a3ab;
    --accent: #5cc8b0;
    --border: #2c2c31;
    --notice-bg: #3a3020;
    --notice-border: #8a7230;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main,
header,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  padding-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

header a.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  margin-right: 16px;
}

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

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 32px 0 8px;
}

h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}

.meta {
  color: var(--muted);
  margin-top: 0;
}

.notice {
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0 24px;
}

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 4px;
}
