:root {
  --bg: #0b1026;
  --panel: #161d3d;
  --text: #eef1fb;
  --muted: #aab3d6;
  --accent: #ffb52e;
  --link: #7fc4ff;
  --line: #2a3363;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

header.site a { text-decoration: none; color: var(--text); }

.logo {
  font-weight: 800;
  letter-spacing: 0.32em;
  font-size: 20px;
}

.logo span { color: var(--accent); }

h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p, ul { margin: 0 0 14px; }
li { margin-bottom: 6px; }

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

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

.button {
  display: inline-block;
  background: var(--accent);
  color: #1a1400;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
}

.button:hover { color: #1a1400; filter: brightness(1.08); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

th { color: var(--muted); font-weight: 600; }

footer.site {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 520px) {
  h1 { font-size: 25px; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 4px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  td:first-child { font-weight: 600; }
}
