* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: #181c23;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: #0058bd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  border-bottom: 1px solid #c2c6d6;
  background: #fff;
}

.site-footer {
  border-top: 1px solid #c2c6d6;
  border-bottom: 0;
  margin-top: 72px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nav,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  color: #181c23;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.links a {
  color: #414754;
  font-size: 14px;
  font-weight: 600;
}

.page {
  padding: 72px 0 24px;
}

.breadcrumb {
  color: #727785;
  font-size: 14px;
  margin-bottom: 28px;
}

.label {
  color: #0058bd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 840px;
}

.intro {
  color: #414754;
  font-size: 20px;
  max-width: 760px;
}

.updated {
  color: #727785;
  font-size: 14px;
  margin-top: 18px;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 1fr);
  gap: 64px;
  margin-top: 64px;
}

.article h2 {
  border-top: 1px solid #c2c6d6;
  font-size: 30px;
  line-height: 1.25;
  margin: 44px 0 16px;
  padding-top: 32px;
}

.article p,
.article li {
  color: #414754;
  font-size: 16px;
}

.article ul {
  padding-left: 20px;
}

.note {
  border: 1px solid #c2c6d6;
  padding: 24px;
}

.note h3 {
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.note p {
  color: #414754;
  margin: 0;
}

.sidebar {
  align-self: start;
  border: 1px solid #c2c6d6;
  padding: 24px;
  position: sticky;
  top: 96px;
}

.sidebar h2 {
  font-size: 24px;
  margin: 0 0 16px;
}

.sidebar ul {
  margin: 0;
  padding-left: 18px;
}

.sidebar li {
  color: #414754;
  margin: 8px 0;
}

.footer-grid {
  align-items: flex-start;
}

.footer-copy {
  color: #727785;
  font-size: 14px;
  max-width: 420px;
}

@media (max-width: 820px) {
  .nav,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .content {
    display: block;
  }

  .sidebar {
    margin-top: 40px;
    position: static;
  }
}
