:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: #182033;
  background: #f5f7fa;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #1769aa;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0c4f86;
}

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

.site-header__inner,
.document,
.site-footer__inner {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10182f;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

.site-nav a {
  color: #4b5565;
}

.document {
  margin-block: 32px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #dce1e8;
  background: #fff;
}

.document h1 {
  margin: 0 0 8px;
  color: #10182f;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.document h2 {
  margin: 36px 0 10px;
  color: #10182f;
  font-size: 21px;
  line-height: 1.3;
}

.document h3 {
  margin: 24px 0 8px;
  color: #1c2942;
  font-size: 17px;
}

.document p,
.document li {
  color: #3e4859;
}

.document ul,
.document ol {
  padding-left: 24px;
}

.document li + li {
  margin-top: 6px;
}

.updated {
  margin: 0 0 32px;
  color: #667085;
  font-size: 14px;
}

.summary {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid #cfd7e3;
  background: #f8fafc;
}

.summary p:first-child {
  margin-top: 0;
}

.summary p:last-child {
  margin-bottom: 0;
}

.action-link {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 16px;
  border: 1px solid #1769aa;
  background: #1769aa;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.action-link:hover {
  background: #0c4f86;
  color: #fff;
}

.site-footer {
  border-top: 1px solid #dce1e8;
  background: #fff;
}

.site-footer__inner {
  padding-block: 24px;
  color: #667085;
  font-size: 13px;
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .document {
    margin-block: 16px;
  }
}

@media print {
  :root {
    background: #fff;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .document {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }
}
