:root {
  --document-rule: rgb(11 37 44 / 16%);
  --document-muted: #526d70;
}

.document-page {
  background: var(--paper);
}

.document-header {
  position: sticky;
  z-index: 12;
  top: 0;
  border-bottom-color: var(--document-rule);
  background: rgb(243 247 246 / 96%);
}

.document-header .header-inner {
  min-height: 4.75rem;
}

.document-brand {
  flex: none;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}

.document-brand strong {
  font-family: var(--font-sans);
  font-size: .72em;
  letter-spacing: .13em;
}

.document-brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--teal-700);
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.6;
}

.document-nav {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 1.8vw, 1.35rem);
  margin-left: auto;
}

.document-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .65rem .25rem;
  color: var(--ink-800);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.document-nav .language-link {
  padding-inline: .75rem;
  border-left: 1px solid var(--document-rule);
}

.document-cta {
  margin-left: .2rem;
}

.document-hero {
  display: block;
  padding-block: clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid var(--document-rule);
}

.document-hero > div {
  max-width: 52rem;
}

.document-hero h1,
.not-found-card h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(13rem, .32fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.document-index {
  position: sticky;
  top: 6.5rem;
  padding-top: .35rem;
}

.document-index > p {
  margin: 0 0 1rem;
  color: var(--document-muted);
  font-size: .8rem;
  font-weight: 700;
}

.document-index nav {
  border-top: 1px solid var(--document-rule);
}

.document-index a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--document-rule);
  color: var(--ink-650);
  font-size: var(--step--1);
  font-weight: 630;
  text-decoration: none;
}

.document-index a:hover,
.document-index a[aria-current="page"] {
  color: var(--teal-700);
}

.document-body {
  min-width: 0;
  border-top: 1px solid var(--ink-950);
}

.document-section {
  display: block;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--document-rule);
}

.document-section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.document-section p,
.document-section li {
  max-width: 48rem;
  color: var(--ink-650);
}

.document-section p {
  margin: 0 0 1.15rem;
}

.document-highlight {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--teal-700);
  color: var(--ink-950) !important;
  background: var(--teal-100);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.document-list {
  margin: 1.25rem 0 0;
  padding-left: 1.3rem;
}

.document-list li {
  padding: .35rem 0 .35rem .2rem;
}

.document-list li::marker {
  color: var(--teal-700);
}

.document-facts {
  margin: 1.4rem 0 1.8rem;
  border-top: 1px solid var(--ink-950);
}

.document-facts > div {
  display: grid;
  grid-template-columns: minmax(9rem, .5fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--document-rule);
}

.document-facts dt {
  color: var(--document-muted);
  font-size: var(--step--1);
}

.document-facts dd {
  margin: 0;
  color: var(--ink-950);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}

.contact-actions a {
  display: flex;
  min-height: 5.5rem;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.15rem;
  border: 1px solid var(--document-rule);
  color: var(--ink-950);
  background: var(--surface);
  text-decoration: none;
}

.contact-actions a:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.contact-actions span {
  color: var(--document-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-actions strong {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  overflow-wrap: anywhere;
}

.source-link,
.source-list a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .75rem;
  border-top: 1px solid var(--document-rule);
  color: var(--teal-700);
  font-weight: 690;
  text-decoration: none;
}

.source-link span,
.source-list span {
  flex: none;
}

.document-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  color: var(--ink-950);
  background: var(--teal-100);
}

.document-next p {
  max-width: 48rem;
  margin: 0;
}

.document-next .button {
  min-width: 13rem;
}

.document-footer .document-brand {
  color: var(--ink-950);
}

.document-footer .document-brand-mark {
  color: var(--teal-700);
}

.document-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.document-footer-top p,
.document-footer-grid p:not(.footer-heading, .footer-name),
.document-footer-bottom {
  color: var(--ink-650);
}

.document-footer-top p {
  max-width: 43rem;
  margin: 0;
}

.document-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .7fr .9fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.document-footer-grid > div {
  min-width: 0;
}

.document-footer-grid p {
  overflow-wrap: anywhere;
}

.document-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
}

.not-found-main {
  min-height: 67vh;
}

.not-found-card {
  display: grid;
  min-height: 67vh;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .55fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4rem, 10vw, 9rem);
}

.not-found-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .4rem;
  padding: 1.2rem;
  border: 1px solid var(--document-rule);
  background: var(--surface);
}

.not-found-actions > a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: .4rem;
  overflow-wrap: anywhere;
}

.not-found-actions .button {
  justify-content: center;
  margin-bottom: .5rem;
}

@media (max-width: 62rem) {
  .document-header .document-cta {
    display: none;
  }

  .document-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .document-nav > a:not(.language-link) {
    display: none;
  }

  .document-hero,
  .document-layout,
  .document-footer-top,
  .not-found-card {
    grid-template-columns: 1fr;
  }

  .document-hero {
    gap: 1.5rem;
  }

  .document-layout {
    gap: 2.5rem;
  }

  .document-index {
    position: static;
    overflow-x: auto;
  }

  .document-index nav {
    display: flex;
    width: max-content;
    max-width: none;
  }

  .document-index a {
    max-width: 12rem;
    padding-inline: .8rem;
    border-right: 1px solid var(--document-rule);
  }

  .contact-actions,
  .document-next,
  .document-footer-grid {
    grid-template-columns: 1fr;
  }

  .document-next {
    align-items: start;
  }

  .document-next .button {
    width: 100%;
  }
}

@media (max-width: 24rem) {
  .document-header .header-inner {
    min-height: 4.5rem;
  }

  .document-brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .document-brand {
    font-size: .95rem;
  }

  .document-facts > div {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .document-highlight {
    padding: 1rem;
  }

  .document-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .document-header {
    background: var(--paper);
  }
}
