.docs-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.05), transparent 36%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.03), transparent 28%),
    #000;
  color: #f5f5f5;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.docs-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.docs-nav__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 16px;
}

.docs-back {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 600;
}

.docs-back:hover {
  color: #fff;
}

.docs-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 52px;
}

.docs-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(10, 10, 10, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.06), transparent 54%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.docs-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.docs-head__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}

.docs-head h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}

.docs-sub {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

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

.docs-section h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
}

.docs-section p,
.docs-section li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.docs-section ul,
.docs-section ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

.docs-note {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
}

.docs-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  table-layout: fixed;
}

.docs-table th,
.docs-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.docs-table th {
  color: #fff;
  font-weight: 700;
}

.docs-table th:first-child,
.docs-table td:first-child {
  width: 20%;
}

.docs-table th:last-child,
.docs-table td:last-child {
  width: 18%;
}

.docs-table td {
  overflow-wrap: anywhere;
}

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

.docs-tariff-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 2.35fr) minmax(118px, auto);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.docs-tariff-item__name {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.docs-tariff-item__content {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.docs-tariff-item__label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.docs-tariff-item__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.docs-tariff-item__content ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.docs-tariff-item__content li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.docs-tariff-item__price {
  justify-self: end;
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.docs-meta {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.62);
}

.docs-links {
  color: #fff;
  text-decoration: none;
}

.docs-links:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .docs-tariff-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .docs-tariff-item__price {
    justify-self: start;
    white-space: normal;
  }
}
