.docs-page {
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 12% 12%, rgba(27, 117, 158, .11), transparent 30rem),
    linear-gradient(180deg, #f6fafc 0, #fff 34rem);
}

.docs-entry-label {
  color: #14719c;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

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

.docs-entry {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe7ed;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(24, 67, 84, .09);
}

.docs-entry::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: #1974a0;
}

.docs-entry-logic::before { background: #428d80; }

.docs-entry-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #e4eef2;
  font-family: "Source Sans 3", sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.docs-entry-body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 440px;
  padding: 54px 44px 40px;
  flex-direction: column;
}

.docs-entry h2 {
  margin-top: 20px;
  color: #16334a;
  font-size: 30px;
}

.docs-entry p {
  margin-top: 18px;
  color: #526a7c;
  line-height: 1.9;
}

.docs-entry ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 30px;
  color: #345369;
}

.docs-entry li {
  position: relative;
  padding-left: 22px;
}

.docs-entry li::before {
  position: absolute;
  top: .45em;
  left: 1px;
  width: 8px;
  height: 8px;
  content: "";
  background: #f2a009;
  border-radius: 50%;
}

.docs-entry a {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 19px;
  color: #fff;
  background: #126b96;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}

.docs-entry-logic a { background: #327d70; }
.docs-entry a:hover { transform: translateY(-2px); background: #0b5478; }
.docs-entry-logic a:hover { background: #27665c; }

.docs-language-note {
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 1040px;
  margin-top: 26px;
  padding: 18px 22px;
  color: #4d6577;
  background: #edf6fa;
  border: 1px solid #d7e9f1;
  border-radius: 12px;
}

.docs-language-note span {
  flex: 0 0 auto;
  color: #136d97;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
}

@media screen and (max-width: 760px) {
  .docs-grid { grid-template-columns: 1fr; }
  .docs-entry, .docs-entry-body { min-height: 0; }
  .docs-entry-body { padding: 46px 27px 30px; }
  .docs-entry-number { font-size: 56px; }
  .docs-entry a { margin-top: 8px; }
  .docs-language-note { align-items: flex-start; flex-direction: column; }
}
