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

:root {
  --brand: #5B7FEE;
  --brand-dark: #4166D5;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-header .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.site-header .logo-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--brand); text-decoration: none; }

/* Main content */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.page-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Content sections */
.content h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
}
.content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}
.content p {
  margin-bottom: 12px;
  color: #374151;
}
.content ul, .content ol {
  margin: 8px 0 16px 20px;
  color: #374151;
}
.content li { margin-bottom: 6px; }

/* Table */
.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 16px 0;
}
.content th {
  background: #f3f4f6;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

/* Notice box */
.notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  margin: 20px 0;
  color: #1e40af;
}
.notice strong { display: block; margin-bottom: 4px; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}
.site-footer a { color: var(--muted); }
.site-footer .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }

@media (max-width: 600px) {
  .container { padding: 32px 16px 64px; }
  .page-title { font-size: 22px; }
  .site-header nav { display: none; }
}
