:root {
  --bg:        #14121a;
  --surface:   #1c1926;
  --surface-2: #241f30;
  --surface-3: #2d2739;
  --line:      #3a3348;
  --text:      #ece9f2;
  --muted:     #aca3bd;
  --faint:     #7d7392;
  --accent:    #a687e0;
  --accent-soft: rgba(166, 135, 224, 0.16);
  --warn:      #e0a63e;
  --warn-soft: rgba(224, 166, 62, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.draft-banner {
  background: var(--warn-soft);
  border: 1px solid var(--warn);
  color: var(--warn);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 32px;
}
.draft-banner code {
  background: rgba(0,0,0,0.2);
  padding: 1px 5px;
  border-radius: 4px;
}

.page-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.brand {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 16px;
}
.brand .accent { color: var(--accent); }

h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin: 0 0 8px;
}
h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  margin: 40px 0 12px;
}
.meta {
  color: var(--faint);
  font-size: 14px;
  margin: 0;
}

section p, section li { color: var(--muted); }
section p { margin: 0 0 14px; }
section ul { padding-left: 20px; margin: 0 0 14px; }
section li { margin-bottom: 8px; }
strong { color: var(--text); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--faint);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
td { color: var(--muted); }

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

.page-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
.page-footer a { color: var(--faint); text-decoration: none; }
.page-footer a:hover { color: var(--accent); }

@media (max-width: 480px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: none; padding: 4px 0; }
  tr { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
  td::before { content: attr(data-label); display: block; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
}
