:root {
  --bg: #f3f6fc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #2f6fed;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }

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

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

.wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

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

header nav a {
  font-size: 14px;
  text-decoration: none;
}

.doc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.doc h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.doc h2 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.doc h3 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.doc p, .doc li {
  font-size: 15px;
}

.doc ul {
  padding-left: 1.25rem;
}

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

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

th {
  width: 34%;
  background: #f8fafc;
  font-weight: 600;
}

footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

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

@media (max-width: 600px) {
  .doc { padding: 24px 20px; }
  th { width: 42%; }
}
