:root {
  --bg: #0a0f1d;
  --bg-raised: #121a30;
  --text: #f3f6fc;
  --muted: #9aa6bf;
  --line: #22304f;
  --northern: #8ea4d8;
  --accent: #dc241f;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 8px;
}

header a { color: var(--text); text-decoration: none; font-weight: 600; }
header img { width: 40px; height: 40px; border-radius: 9px; }

h1 { font-size: 2rem; line-height: 1.2; margin: 32px 0 8px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--northern); }

.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 160px; height: 160px; border-radius: 36px; }
.hero h1 { margin-top: 24px; }

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px 12px;
  margin: 20px 0;
}

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; }
