@font-face {
  font-family: Geist;
  src: url(fonts/nivra-geist-400.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url(fonts/nivra-geist-700.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: Geist, system-ui, sans-serif;
  color: #17171f;
  background: #f7f5ef;
  font-synthesis: none;
  scroll-padding-top: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #4a3be8;
}
a:focus-visible {
  outline: 2px solid #5b4bff;
  outline-offset: 5px;
}
::selection {
  color: #fff;
  background: #5b4bff;
}
header,
main,
footer {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid #dedbd2;
}
.brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.brand span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: #6e6d78;
  margin-top: 5px;
}
.back {
  font-size: 14px;
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 20px;
  top: 0;
  transform: translateY(-150%);
  padding: 12px;
  background: #fff;
  z-index: 5;
}
.skip:focus {
  transform: none;
}
.heading {
  padding-block: 64px 44px;
  max-width: 850px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #5b4bff;
  font-weight: 700;
}
h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 24px 0;
}
.intro {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  max-width: 62ch;
}
.date {
  font-size: 13px;
  color: #6e6d78;
  margin-top: 24px;
}
.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  border-top: 1px solid #dedbd2;
  padding-top: 36px;
  padding-bottom: 64px;
}
.index {
  align-self: start;
  position: sticky;
  top: 24px;
  font-size: 13px;
  line-height: 1.5;
}
.index > p {
  font-weight: 700;
}
.index ol {
  padding-left: 18px;
}
.index li {
  padding: 5px 0;
}
.index a {
  text-decoration: none;
}
article {
  min-width: 0;
}
section {
  scroll-margin-top: 24px;
  margin-bottom: 38px;
}
h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
h2 span {
  font-size: 12px;
  color: #5b4bff;
  letter-spacing: 0;
}
article p,
article li {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
article p {
  margin: 0 0 16px;
}
article ul {
  padding-left: 22px;
}
article li {
  margin-bottom: 10px;
}
article a {
  color: #4a3be8;
}
footer {
  border-top: 1px solid #dedbd2;
  padding-block: 28px 40px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 24px;
}
footer p {
  margin: 0;
}
.sources {
  flex-basis: 100%;
  font-size: 12px;
  color: #6e6d78;
  line-height: 1.8;
  margin-top: 14px;
}
a[aria-current="page"] {
  font-weight: 700;
  color: #4a3be8;
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .index {
    position: static;
    border-bottom: 1px solid #dedbd2;
    padding-bottom: 24px;
  }
  .heading {
    padding-top: 42px;
  }
  h2 {
    font-size: 21px;
  }
  .brand span {
    display: none;
  }
  header {
    padding-block: 22px;
  }
  .back {
    font-size: 12px;
  }
  article p,
  article li {
    font-size: 15px;
  }
  footer {
    gap: 20px;
  }
}
