:root {
  --bg-top: #3a1740;
  --bg-mid: #241028;
  --bg-bottom: #120912;
  --text: #fdf3ee;
  --text-muted: rgba(253, 243, 238, 0.75);
  --text-faint: rgba(253, 243, 238, 0.5);
  --accent: #ff8fa3;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --note-bg: rgba(255, 143, 163, 0.08);
  --note-border: rgba(255, 143, 163, 0.25);
  --donot-bg: rgba(111, 214, 184, 0.08);
  --donot-border: rgba(111, 214, 184, 0.25);
  --donot-text: #8fe0c8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

h1.doc-title {
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 8px;
}

.doc-date {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 24px;
}

hr.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

h2 {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  margin: 32px 0 12px;
}

h3 {
  color: rgba(253, 243, 238, 0.85);
  font-size: 15px;
  font-weight: 800;
  margin: 18px 0 8px;
}

p {
  font-size: 15px;
  margin: 0 0 12px;
}

strong {
  color: var(--text);
  font-weight: 800;
}

ul {
  margin: 0 0 12px;
  padding-left: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 2px;
}

ol.steps {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

ol.steps li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 15px;
  min-height: 26px;
}

ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #2a1526;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note {
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0 16px;
  font-size: 14px;
}

.note-title {
  color: var(--text);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}

.do-not-card {
  background: var(--donot-bg);
  border: 1px solid var(--donot-border);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
}

.do-not-title {
  color: var(--donot-text);
  font-weight: 800;
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin: 10px 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: none;
}

td:first-child, th:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

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

@media (max-width: 480px) {
  .wrap { padding: 28px 16px 60px; }
  h1.doc-title { font-size: 22px; }
  h2 { font-size: 17px; }
  p, li { font-size: 14px; }
}
