:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: #0f172a;
  --border: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #0ea5e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

nav.site a {
  margin-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

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

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 22px;
  margin-top: 40px;
}

h3 {
  font-size: 16px;
  margin-top: 24px;
}

p,
li {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 16px;
}

.btn:hover {
  text-decoration: none;
  background: #38bdf8;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  color: var(--muted);
  font-size: 13px;
  max-width: 1100px;
  margin: 0 auto;
}

footer.site a {
  margin-right: 16px;
}

.notice {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--muted);
  font-size: 14px;
}
