:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fbfcff;
  color: #09134d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: #2522eb;
}
a:focus-visible {
  outline: 3px solid #2522eb;
  outline-offset: 3px;
  border-radius: 3px;
}
header {
  min-height: 64px;
  background: #fff;
  border-bottom: 1px solid #dfe6f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(32px, calc((100vw - 1120px) / 2));
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 700;
  white-space: nowrap;
}
.mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}
nav a {
  color: #09134d;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding: 17px 0 14px;
  white-space: nowrap;
}
nav a[aria-current='page'] {
  color: #2522eb;
  border-color: #2522eb;
}
main {
  max-width: 900px;
  margin: 44px auto 100px;
  padding: 0 26px;
}
h1 {
  font-size: clamp(30px, 4vw, 39px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.edition {
  color: #617092;
  font-size: 15px;
  margin: 0;
}
.toc {
  border: 1px solid #dfe6f6;
  border-radius: 16px;
  background: #fff;
  padding: 24px 28px;
  margin: 32px 0 30px;
}
.toc strong {
  font-size: 19px;
}
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.links a {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 7px 12px;
  text-decoration: none;
  font-size: 14px;
}
section {
  padding: 28px 0;
  border-bottom: 1px solid #dfe6f6;
  scroll-margin-top: 24px;
}
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.number {
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #eaf0ff;
  color: #2522eb;
  display: grid;
  place-items: center;
  font-weight: 700;
}
h2 {
  font-size: 23px;
  line-height: 1.35;
  margin: 0;
}
section p {
  max-width: 80ch;
  margin: 0 0 17px;
  color: #243052;
  overflow-wrap: anywhere;
}
section p.bullet {
  padding-left: 22px;
  position: relative;
}
section p.bullet::before {
  content: '•';
  position: absolute;
  left: 5px;
  color: #2522eb;
}
code {
  background: #f0f4ff;
  border-radius: 3px;
  padding: 0 4px;
  font-size: 0.93em;
}
.contact {
  margin-top: 30px;
  padding: 17px 20px;
  background: #f2f7ff;
  border: 1px solid #dce7ff;
  border-radius: 12px;
}
footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid #dfe6f6;
  background: #fff;
  color: #617092;
  font-size: 14px;
}
@media (max-width: 720px) {
  header {
    padding: 14px 20px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  nav a {
    padding: 4px 0 8px;
  }
  main {
    margin-top: 28px;
    padding: 0 20px;
  }
  h1 {
    overflow-wrap: anywhere;
  }
  .toc {
    padding: 20px;
  }
  .links {
    gap: 8px;
  }
}
