:root {
  --bg: #11162a;
  --surface: #1d2440;
  --gold: #c9a24b;
  --gold-light: #f3dca0;
  --text: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

header.top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

header.top .brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

h1 {
  font-size: 26px;
  margin: 0 0 6px;
  color: #fff;
}

.updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 24px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
  cursor: pointer;
  padding: 10px 16px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  user-select: none;
}

.tab.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.doc {
  display: none;
}

.doc.active {
  display: block;
}

section.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

section.card h2 {
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--gold-light);
}

section.card p {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
}

footer {
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

a {
  color: var(--gold-light);
}
