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

body {
  font-family: 'Mulish', sans-serif;
  background: #fff;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.7;
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  z-index: 100;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

header .container {
  display: flex;
  align-items: center;
  height: 64px;
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

.header-email {
  margin-left: auto;
  font-size: 14px;
  color: #999;
  text-decoration: none;
}

.header-email:hover {
  color: #666;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  border-radius: 100px;
  padding: 3px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #999;
  transition: color 0.15s, background 0.15s;
}

.lang-switch a:hover {
  color: #333;
}

.lang-switch a[aria-current="page"] {
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.doc-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.doc-section {
  margin-bottom: 32px;
}

.doc-section h2 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.doc-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.doc-section p {
  margin-bottom: 12px;
  color: #333;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul,
.doc-section ol {
  padding-left: 20px;
  margin-bottom: 12px;
  color: #333;
}

.doc-section li {
  margin-bottom: 6px;
}

.scroll-wrapper {
  overflow-x: auto;
  margin-bottom: 12px;
}

.doc-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.doc-section th,
.doc-section td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.doc-section th {
  background: #f8f8f8;
  font-weight: 600;
}

footer {
  border-top: 1px solid #e8e8e8;
  padding: 24px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(0,0,0,0.7);
  text-decoration: underline;
  transition: opacity 0.15s;
}

.footer-links a:hover {
  opacity: 0.6;
}

.footer-copy {
  font-size: 13px;
  color: #999;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  main { padding: 32px 20px 60px; }
  .doc-title { font-size: 20px; }
}