:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: #172039;
  background: #f3f5fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #383bb1; text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid #4f46e5; outline-offset: 4px; }
.wrap, .doc { width: min(100% - 32px, 880px); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid #e1e6f0; }
.header .wrap {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #172039;
  font-weight: 750;
  text-decoration: none;
}
.logo svg { width: 32px; height: 32px; }
.header-actions a { font-size: 14px; font-weight: 650; }
.doc {
  margin-block: clamp(20px, 5vw, 56px);
  padding: clamp(22px, 6vw, 60px);
  border: 1px solid #e1e6f0;
  border-radius: 18px;
  background: #fff;
  line-height: 1.68;
  overflow-wrap: anywhere;
}
.doc h1, .doc h2 { line-height: 1.2; }
.doc h1 {
  margin: 0;
  font-size: clamp(27px, 4.8vw, 46px);
  letter-spacing: -.03em;
}
.doc h2 { margin: 2em 0 .65em; font-size: clamp(19px, 2.35vw, 24px); }
.doc p, .doc ul { margin: 0 0 .9em; }
.doc ul { padding-inline-start: 1.4em; }
.doc .edition { margin: 12px 0 28px; color: #54617a; font-size: 14px; }
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 0 0 30px;
  font-size: 14px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
@media print {
  :root, .doc { background: white; }
  .header, .footer { display: none; }
  .doc { width: auto; margin: 0; padding: 0; border: 0; }
  .doc h2 { break-after: avoid; }
}
