:root {
  color-scheme: dark;
  --fg: #e9eaec;
  --muted: #9aa1ad;
  --bg: #141517;
  --card: #1d1f22;
  --accent: #5fd0ad;
  --accent-soft: rgba(95, 208, 173, 0.12);
  --border: #2c2f33;
  --code: #25282b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.35);
  --font-ui:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans", Cantarell, "Liberation Sans", Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font: 16px/1.6 var(--font-ui);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
h1 {
  font-size: 1.7rem;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.15rem;
  margin: 2.25rem 0 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.005em;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.25rem;
}
.logo {
  display: block;
  width: 56px;
  height: 56px;
}
.lead {
  color: var(--muted);
  margin-top: 0;
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
a:hover {
  text-decoration-thickness: 2px;
}
.brand a {
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code {
  background: var(--code);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
pre {
  background: var(--code);
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.card:hover {
  border-color: var(--accent);
  box-shadow:
    0 2px 4px rgba(16, 24, 40, 0.06),
    0 4px 10px rgba(16, 24, 40, 0.08);
}
.grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
footer ul {
  margin: 0.5rem 0;
  padding-left: 1.1rem;
}
footer li {
  margin: 0.35rem 0;
}
.nav {
  margin-bottom: 0.75rem;
}
.nav a {
  margin-right: 0.6rem;
}
.pill {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.12rem 0.55rem;
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 500;
}
.cfg {
  margin: 1.1rem 0 0.35rem;
  font-weight: 600;
}
.muted {
  color: var(--muted);
  font-weight: 400;
}
.small {
  font-size: 0.85rem;
}
.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0;
}
.legal h2 {
  font-size: 1.05rem;
}
.legal p,
.legal li {
  color: var(--fg);
}
