body {
  font-family: Aptos, "Aptos Display", Calibri, "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #f7f9fb;
  color: #1f2937;
}

.header-wrap,
.footer-wrap,
.api-help-box {
  max-width: 1200px;
  margin: 0 auto;
}

.header-wrap {
  background: #0b3a66;
  color: #fff;
  padding: 16px 20px;
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  gap: 28px;
  align-items: center;
}

.brand-left {
  min-width: 0;
}

.brand-right {
  min-width: 0;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 0.95;
}

.site-logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}

.hero-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #e5eef5;
  margin-bottom: 14px;
  max-width: 48rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.hero-links a {
  display: inline-block;
  color: #f8fbff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid rgba(248, 251, 255, 0.45);
  border-radius: 6px;
  background: rgba(248, 251, 255, 0.10);
}

.hero-links a:hover {
  color: #ffffff;
  background: rgba(248, 251, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.70);
  text-decoration: none;
}

.footer-wrap {
  color: #4b5563;
  font-size: 0.95rem;
  border-top: 1px solid #d1d5db;
  margin-top: 16px;
  padding: 16px 20px 0 20px;
}

.footer-wrap a {
  color: #0b5cab;
  text-decoration: none;
}

.footer-wrap a:hover {
  text-decoration: underline;
}

.api-help-box {
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #dbe3ea;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.api-help-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #0b3a66;
  font-size: 1.3rem;
}

.api-help-box p,
.api-help-box li {
  line-height: 1.5;
}

.api-help-box a {
  color: #0b5cab;
  text-decoration: none;
}

.api-help-box a:hover {
  text-decoration: underline;
}

.api-help-box ol,
.api-help-box ul {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-left: 22px;
}

.api-help-box li {
  margin-bottom: 10px;
}

.api-help-box code {
  display: inline-block;
  margin-top: 4px;
  background: #f3f6f9;
  padding: 4px 6px;
  border-radius: 4px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  word-break: break-all;
  white-space: normal;
}

table#indexlist {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 16px auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#indexlist th,
#indexlist td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

#indexlist th {
  background: #eef3f8;
  font-weight: 600;
}

#indexlist tr.even {
  background: #fbfdff;
}

#indexlist tr:hover td {
  background: #f3f7fb;
}

td.indexcolname a,
th.indexcolname a {
  color: #0b5cab;
  text-decoration: none;
}

td.indexcolname a:hover,
th.indexcolname a:hover {
  text-decoration: underline;
}

td.indexcollastmod,
td.indexcolsize {
  white-space: nowrap;
}

hr {
  display: none;
}

pre {
  max-width: 1200px;
  margin: 16px auto;
}

@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-logo {
    max-width: 420px;
  }

  .hero-title {
    font-size: 1.35rem;
  }
}
