:root {
  color-scheme: dark;
  color: #efefef;
  background: #0c0f10;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #ffb077;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 2px solid #ff9e50;
  outline-offset: 4px;
}

.document-skip {
  position: absolute;
  z-index: 1;
  transform: translateY(-150%);
  padding: 12px;
  background: #181e20;
}
.document-skip:focus {
  transform: translateY(0);
}

.document-bar,
.document-main {
  width: min(calc(100% - 32px), 860px);
  margin-inline: auto;
}
.document-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 10px;
  border-bottom: 1px solid #2b3032;
}
.document-bar img {
  display: block;
}
.document-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.document-bar nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.document-main {
  padding-block: clamp(28px, 6vw, 64px);
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.7;
}
.document-main h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1.2rem;
}
.document-main h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2rem 0 0.55rem;
}
.document-main p {
  margin: 0 0 1rem;
}
.document-main li + li {
  margin-top: 0.45rem;
}
.document-footer {
  border-top: 1px solid #2b3032;
  border-bottom: 0;
  color: #c5c9cc;
  font-size: 0.875rem;
}
