:root {
  --bg: #1a1a2e;
  --elevated: #22223c;
  --text: #f2efe6;
  --dim: #a9a4b8;
  --accent: #ff7847;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}

.back-link {
  display: inline-block;
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

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

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text);
}

.lead {
  color: var(--dim);
  font-size: 16px;
  margin-bottom: 40px;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

th, td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

th {
  background-color: var(--elevated);
  color: var(--dim);
  font-weight: 600;
  font-size: 13px;
}

td {
  color: var(--text);
}

td:first-child {
  font-weight: 500;
}

.cta {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s ease;
}

.cta:hover {
  text-decoration: none;
  opacity: 0.9;
}

ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

ol li {
  margin-bottom: 12px;
  color: var(--text);
}

details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background-color: var(--elevated);
}

summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▸ ";
  color: var(--accent);
  font-size: 14px;
}

details[open] summary::before {
  content: "▾ ";
}

details p {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--dim);
  font-size: 14px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer a {
  display: inline-block;
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.copyright {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  article {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 19px;
  }

  h3 {
    font-size: 16px;
  }

  th, td {
    padding: 8px 10px;
    font-size: 13px;
  }
}
