* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #f7f8fa;
  color: #15171a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: #0f5fd7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 48px);
  border-bottom: 1px solid #dde2e8;
  background: #ffffff;
}

.brand {
  color: #15171a;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 14px;
}

.document {
  width: min(920px, calc(100% - 32px));
  margin: 32px auto 64px;
}

article {
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid #dde2e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(20, 32, 50, 0.08);
}

pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}

h1 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
}

.doc-list {
  margin: 0;
  padding-left: 20px;
}

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .document {
    width: min(100% - 24px, 920px);
    margin-top: 20px;
  }
}
