.docs-hero h1 { max-width: 760px; }
.legal-content code {
  padding: 0.1em 0.34em;
  color: #dce9ff;
  background: #101a29;
  border: 1px solid #24364f;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}
.legal-content pre {
  overflow-x: auto;
  padding: 20px 22px;
  margin: 18px 0 24px;
  color: #dbe6f7;
  background: #060a11;
  border: 1px solid #233047;
  border-radius: 10px;
  line-height: 1.58;
  tab-size: 2;
}
.legal-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 13px;
  white-space: pre;
}
.docs-table td:first-child { white-space: nowrap; }
.docs-table code { white-space: nowrap; }
.docs-index {
  display: grid;
  width: min(calc(100% - 40px), var(--max));
  padding: 68px 0 110px;
  margin: 0 auto;
  gap: 72px;
}
.docs-index-section > div:first-child { max-width: 720px; }
.docs-index h2 {
  margin: 0;
  color: #f6f8fc;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.docs-index-section > div:first-child > p:last-child,
.docs-support p {
  color: var(--muted);
}
.docs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  margin-top: 30px;
}
.docs-card {
  display: block;
  min-height: 260px;
  padding: 30px;
  color: inherit;
  background: linear-gradient(145deg, #0d1420, #080d15);
  border: 1px solid #25334a;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.docs-card:hover { color: inherit; border-color: #4a7fc8; transform: translateY(-2px); }
.docs-card-label {
  color: #8cb6ff;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.docs-card h3 { margin: 42px 0 12px; color: #f5f7fb; font-size: 25px; line-height: 1.2; }
.docs-card p { max-width: 620px; margin: 0 0 30px; color: #9faabc; }
.docs-card strong { color: #a9c7ff; font-size: 14px; }
.docs-support {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  background: #0b111b;
  border: 1px solid #202e42;
  border-radius: 14px;
}
.docs-support h2 { max-width: 680px; font-size: clamp(26px, 4vw, 38px); }
.docs-support p { margin-bottom: 0; }
@media (max-width: 560px) {
  .legal-content pre { padding: 16px; }
  .legal-content pre code { font-size: 12px; }
  .docs-index { width: calc(100% - 28px); padding: 46px 0 76px; gap: 48px; }
  .docs-card { min-height: 230px; padding: 24px; }
  .docs-support { align-items: stretch; flex-direction: column; padding: 26px 22px; }
}
