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

body {
  font-family: 'Open Sans', sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
}

.header {
  padding: 28px 0 0 32px;
}

.header a {
  display: inline-block;
}

.logo {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}

.docs {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.docs__title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}

.docs__title h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.docs__title hr {
  flex: 1;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0;
}

.docs__body {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.docs__description {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.02);
}

.docs__description p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.docs__section {
  padding: 32px 36px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.docs__section-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.docs__section-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  max-width: 62ch;
}

.docs__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.docs__list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.docs__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s, padding-left 0.2s;
}

.docs__list a::after {
  content: '↗';
  flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
}

.docs__list a:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 24px;
}

.docs__list a:hover::after {
  opacity: 0.9;
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .header {
    padding: 20px 0 0 20px;
  }

  .logo {
    height: 42px;
  }

  .docs {
    padding: 32px 20px 48px;
  }

  .docs__title {
    gap: 16px;
    margin-bottom: 28px;
  }

  .docs__title h1 {
    white-space: normal;
  }

  .docs__description,
  .docs__section {
    padding: 24px 20px;
  }

  .docs__list a {
    padding: 14px 16px;
    font-size: 0.94rem;
  }

  .docs__list a:hover {
    padding-left: 20px;
  }
}
