:root {
  color-scheme: dark;
  --bg: #060b10;
  --bg-soft: #0d141c;
  --panel: rgba(15, 21, 30, 0.92);
  --panel-soft: rgba(18, 25, 34, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5fffb;
  --text-soft: rgba(220, 232, 240, 0.82);
  --text-muted: rgba(185, 198, 206, 0.68);
  --accent: #00f5a0;
  --accent-soft: #19d7ff;
  --warning: #ffd76d;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(0, 245, 160, 0.08), transparent 28%),
    linear-gradient(180deg, #091018 0%, #05090e 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body {
  padding: 32px 18px 48px;
}

.docs-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.docs-topbar {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.docs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.28), rgba(25, 215, 255, 0.18)),
    rgba(10, 16, 24, 0.9);
  border: 1px solid rgba(0, 245, 160, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.docs-hero {
  display: grid;
  gap: 8px;
  padding: 24px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.07), rgba(25, 215, 255, 0.035)),
    linear-gradient(180deg, rgba(17, 24, 33, 0.95), rgba(9, 12, 18, 0.98));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.docs-hero--home {
  gap: 12px;
  padding-bottom: 26px;
}

.docs-eyebrow {
  color: rgba(170, 188, 198, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.docs-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.docs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.docs-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(236, 245, 242, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.docs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.docs-nav__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.docs-nav__item:hover,
.docs-nav__item:focus-visible,
.docs-nav__item.is-active {
  outline: none;
  border-color: rgba(0, 245, 160, 0.28);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.docs-grid {
  display: grid;
  gap: 14px;
}

.docs-grid--plans {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.docs-card {
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(15, 21, 30, 0.94), rgba(8, 11, 17, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.docs-card h2,
.docs-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.docs-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.docs-card + .docs-card {
  margin-top: 2px;
}

.docs-plan {
  display: grid;
  gap: 12px;
}

.docs-plan__kicker {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-plan__price {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  color: var(--text);
}

.docs-plan__price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.docs-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.docs-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.14);
  background: rgba(0, 245, 160, 0.08);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.docs-actions-row--hero {
  margin-top: 18px;
}

.docs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.14), rgba(25, 215, 255, 0.08)),
    rgba(11, 17, 25, 0.92);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.docs-button--primary {
  border-color: rgba(0, 245, 160, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.32), rgba(25, 215, 255, 0.14)),
    rgba(11, 17, 25, 0.94);
}

.docs-button:hover,
.docs-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(0, 245, 160, 0.3);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.18), rgba(25, 215, 255, 0.12)),
    rgba(11, 17, 25, 0.96);
}

.docs-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.docs-list li {
  margin: 0 0 8px;
  line-height: 1.7;
}

.docs-list strong {
  color: var(--text);
}

.docs-callout {
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.12);
  background:
    linear-gradient(180deg, rgba(0, 245, 160, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(9, 15, 21, 0.92);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.docs-callout strong {
  color: var(--text);
}

.docs-footer {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}

.docs-section {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.docs-section__header {
  display: grid;
  gap: 6px;
}

.docs-section__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.docs-stat-grid,
.docs-route-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.docs-stat-card,
.docs-route-card {
  padding: 18px 18px 17px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(15, 21, 30, 0.94), rgba(8, 11, 17, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.docs-stat-card {
  display: grid;
  gap: 8px;
}

.docs-stat-card__label,
.docs-route-card__kicker {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-stat-card__value {
  font-size: 18px;
  line-height: 1.25;
}

.docs-stat-card__copy,
.docs-route-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.docs-route-card {
  display: grid;
  gap: 10px;
}

.docs-route-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.docs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #b7fff0;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.docs-link-arrow::after {
  content: "->";
  opacity: 0.72;
}

.docs-link-arrow:hover,
.docs-link-arrow:focus-visible {
  text-decoration: underline;
  outline: none;
}

.docs-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.docs-links-inline a {
  color: #b7fff0;
  text-decoration: none;
}

.docs-links-inline a:hover,
.docs-links-inline a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 720px) {
  body {
    padding: 18px 12px 32px;
  }

  .docs-hero,
  .docs-card {
    padding-left: 16px;
    padding-right: 16px;
  }
}
