@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --docs-primary: #1976d2;
  --docs-primary-dark: #1565c0;
  --docs-primary-soft: #e3f2fd;
  --docs-ink: #0f172a;
  --docs-text: #334155;
  --docs-muted: #64748b;
  --docs-line: #e2e8f0;
  --docs-surface: #ffffff;
  --docs-surface-soft: #f8fbff;
  --docs-nav: #f7f9fc;
  --docs-code: #0f172a;
  --docs-code-text: #dbeafe;
  --docs-shadow: 0 14px 40px rgba(25, 118, 210, 0.08);
  --docs-radius: 18px;
  --docs-font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --docs-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--docs-text);
  background: #fff;
  font: 14px/1.6 var(--docs-font);
}

a {
  color: var(--docs-primary);
  text-decoration: none;
}

a:hover {
  color: var(--docs-primary-dark);
}

code,
pre {
  font-family: var(--docs-mono);
}

code {
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(25, 118, 210, 0.08);
  font-size: 0.92em;
}

pre {
  margin: 16px 0;
  padding: 16px 18px;
  overflow: auto;
  border-radius: 12px;
  background: var(--docs-code);
  color: var(--docs-code-text);
  font-size: 12.5px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  color: var(--docs-ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  font-weight: 700;
  margin-top: 36px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 20px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.docs-shell {
  min-height: 100vh;
}

.docs-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--docs-line);
}

.docs-topbar-inner,
.docs-layout {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
}

.docs-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
}

.docs-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--docs-ink);
}

.docs-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--docs-primary-dark), var(--docs-primary));
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.14);
}

.docs-brand-copy strong {
  display: block;
  font-size: 0.95rem;
}

.docs-brand-copy span {
  color: var(--docs-muted);
  font-size: 0.78rem;
}

.docs-topbar-links {
  display: none;
}

.docs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: 160ms ease;
}

.docs-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--docs-primary-dark), var(--docs-primary));
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.2);
}

.docs-button-secondary {
  color: var(--docs-ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(25, 118, 210, 0.14);
}

.docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--docs-primary-dark);
  background: var(--docs-primary-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.docs-lead {
  max-width: 720px;
  font-size: 0.98rem;
  color: var(--docs-muted);
}

.docs-hero-actions,
.docs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.docs-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.06);
  border: 1px solid rgba(25, 118, 210, 0.12);
  color: var(--docs-primary-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

.docs-window {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(25, 118, 210, 0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: none;
}

.docs-window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.docs-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bfdbfe;
}

.docs-dot:nth-child(2) {
  background: #93c5fd;
}

.docs-dot:nth-child(3) {
  background: #60a5fa;
}

.docs-mock-panel {
  padding: 14px;
  border-radius: 12px;
  background: #0f172a;
  color: #dbeafe;
  font: 12px/1.7 var(--docs-mono);
}

.docs-mock-panel .token {
  color: #67e8f9;
}

.docs-mock-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  margin-top: 16px;
}

.docs-card,
.docs-panel,
.docs-nav-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(25, 118, 210, 0.1);
  border-radius: 12px;
  box-shadow: none;
}

.docs-card {
  padding: 18px;
}

.docs-card h3,
.docs-panel h3 {
  margin-top: 0;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.docs-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.docs-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 24px;
}

.docs-pricing-grid.docs-pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-pricing-card {
  padding: 20px;
  border: 1px solid rgba(25, 118, 210, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
}

.docs-pricing-card.is-featured {
  border-color: rgba(25, 118, 210, 0.3);
  background: linear-gradient(180deg, rgba(227, 242, 253, 0.7), rgba(255, 255, 255, 0.98));
}

.docs-plan-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.08);
  color: var(--docs-primary-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.docs-plan-tag.is-highlight {
  background: linear-gradient(135deg, var(--docs-primary-dark), var(--docs-primary));
  color: #fff;
}

.docs-price-line {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 14px 0 8px;
}

.docs-price {
  color: var(--docs-ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.docs-price-unit {
  color: var(--docs-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.docs-price-note {
  margin-bottom: 16px;
  color: var(--docs-muted);
  font-size: 0.88rem;
}

.docs-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-feature-list li {
  position: relative;
  padding-left: 18px;
}

.docs-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.38);
}

.docs-feature-list li + li {
  margin-top: 10px;
}

.docs-mini-note {
  margin-top: 14px;
  color: var(--docs-muted);
  font-size: 0.84rem;
}

.docs-section {
  margin-top: 32px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0 64px;
}

.docs-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
}

.docs-nav-card,
.docs-panel {
  padding: 12px;
}

.docs-nav-card {
  background: #fff;
  box-shadow: none;
  border: none;
}

.docs-nav-title,
.docs-toc-title {
  margin-bottom: 10px;
  color: var(--docs-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-nav-group + .docs-nav-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.docs-nav-list,
.docs-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav-list li + li,
.docs-toc-list li + li {
  margin-top: 6px;
}

.docs-nav-list a,
.docs-toc-list a {
  display: block;
  padding: 5px 10px 5px 12px;
  border-radius: 8px;
  color: var(--docs-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  border-left: 2px solid transparent;
}

.docs-nav-list a.is-active,
.docs-nav-list a:hover,
.docs-toc-list a:hover {
  color: var(--docs-primary-dark);
  background: rgba(25, 118, 210, 0.06);
  border-left-color: rgba(25, 118, 210, 0.55);
}

.docs-nav-list a.is-active {
  font-weight: 500;
}

.docs-content {
  min-width: 0;
  max-width: 780px;
}

.docs-article {
  padding: 22px 24px 34px;
  box-shadow: none;
}

.docs-kicker {
  margin-bottom: 8px;
  color: var(--docs-primary-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-summary {
  margin: 0 0 20px;
  color: var(--docs-muted);
  font-size: 0.94rem;
}

.docs-callout {
  margin: 18px 0 22px;
  padding: 12px 14px;
  border-left: 4px solid var(--docs-primary);
  border-radius: 10px;
  background: rgba(25, 118, 210, 0.07);
  color: var(--docs-text);
  font-size: 0.92rem;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
}

.docs-table th,
.docs-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--docs-line);
  text-align: left;
  vertical-align: top;
  font-size: 0.875rem;
}

.docs-table th {
  color: var(--docs-ink);
  font-weight: 700;
}

.docs-footer {
  padding: 28px 0 56px;
  color: var(--docs-muted);
  font-size: 0.92rem;
}

.docs-toc {
  display: none;
}

@media (max-width: 920px) {
  .docs-grid,
  .docs-grid-2,
  .docs-pricing-grid,
  .docs-mock-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-nav-card {
    border: 1px solid rgba(25, 118, 210, 0.1);
  }

  .docs-sidebar {
    position: static;
  }

  .docs-topbar-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .docs-article {
    padding: 24px 20px 32px;
  }
}
