* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #202940;
  background: #fff;
  font:
    16px/1.75 Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: #4843cf;
  text-underline-offset: 3px;
}
header {
  border-bottom: 1px solid #e1e5ed;
}
.nav,
.wrap {
  width: min(1120px, 90%);
  margin: auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.logo {
  font-size: 30px;
  font-weight: 780;
  letter-spacing: -1.8px;
  color: #171f36;
  text-decoration: none;
}
.logo span {
  color: #4843cf;
}
.back {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}
.hero {
  background: #f6f7fa;
  border-bottom: 1px solid #e1e5ed;
  padding: 62px 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: #4843cf;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 12px 0;
  font-weight: 750;
}
.sub {
  color: #586579;
  max-width: 760px;
  margin: 0 0 15px;
}
.date {
  font-size: 14px;
  color: #586579;
}
.layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 800px);
  gap: 65px;
  padding: 55px 0 75px;
}
.toc {
  position: sticky;
  top: 24px;
  align-self: start;
  border-left: 1px solid #e1e5ed;
  padding-left: 18px;
}
.toc strong {
  font-size: 14px;
}
.toc ol {
  padding-left: 20px;
  margin: 12px 0;
}
.toc li {
  font-size: 13px;
  margin: 7px 0;
  line-height: 1.5;
  color: #586579;
}
.toc a {
  color: inherit;
  text-decoration: none;
}
.toc a:hover {
  color: #4843cf;
  text-decoration: underline;
}
article section {
  scroll-margin-top: 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e1e5ed;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: #171f36;
}
h3 {
  font-size: 17px;
  margin: 22px 0 5px;
}
p {
  margin: 0 0 12px;
  color: #586579;
}
article li {
  color: #586579;
  margin: 5px 0;
}
article ul {
  padding-left: 23px;
}
footer {
  border-top: 1px solid #e1e5ed;
  background: #f6f7fa;
  padding: 28px 0;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.foot a:not(.logo) {
  font-size: 14px;
  margin-left: 16px;
}
.draft {
  border: 1px solid #e1e5ed;
  border-left: 3px solid #4843cf;
  padding: 14px 18px;
  background: #f6f7fa;
  font-size: 14px;
  margin-bottom: 30px;
  color: #586579;
}
@media (max-width: 850px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
  }
  .toc {
    position: static;
  }
  .toc ol {
    columns: 2;
  }
  .hero {
    padding: 40px 0;
  }
}
@media (max-width: 480px) {
  .toc ol {
    columns: 1;
  }
  .foot a:not(.logo) {
    margin-left: 0;
    margin-right: 12px;
  }
  .nav {
    padding: 16px 0;
  }
  .logo {
    font-size: 25px;
  }
  h2 {
    font-size: 21px;
  }
}
