:root {
  --bg: #0b0e1a;
  --panel: #131829;
  --text: #e6e8f0;
  --muted: #9aa1b8;
  --accent: #5ad278;
  --border: #252c45;
}

* { box-sizing: border-box; }

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

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

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

header.site a.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

main.center {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  text-align: center;
}

h1 { line-height: 1.2; margin-top: 0; }
h2 { margin-top: 2em; border-bottom: 1px solid var(--border); padding-bottom: 4px; }
h3 { margin-top: 1.5em; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}

.lang-switch a {
  margin-left: 12px;
  text-decoration: none;
}

footer.site {
  text-align: center;
  padding: 20px 16px;
  color: var(--muted);
  font-size: 0.9em;
  border-top: 1px solid var(--border);
}

footer.site a { color: var(--muted); }

ul { padding-left: 1.3em; }
