:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #211e32;
  background: #f8f6fc;
  font-synthesis: none;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}
.brand { font-size: 1.6rem; font-weight: 800; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 20px; }
a { color: #5341bb; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: #342570; }
a:focus-visible { outline: 3px solid #8b78f2; outline-offset: 4px; }
main {
  max-width: 932px;
  margin: 0 auto;
  padding: 36px 44px;
  border: 1px solid #e9e3f6;
  border-radius: 24px;
  background: #fff;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; margin-top: 0; }
h2 { font-size: 1.25rem; line-height: 1.4; margin-top: 36px; }
h3 { font-size: 1.1rem; }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 12px 14px; border: 1px solid #e7e2f0; text-align: left; vertical-align: top; }
th { background: #f4f0fc; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 6px; }
footer { font-size: .9rem; }
@media (max-width: 640px) {
  header, footer { padding: 20px; }
  main { border-radius: 0; border-left: 0; border-right: 0; padding: 28px 20px; }
}
@media print {
  :root { color: #000; background: #fff; }
  header, footer { display: none; }
  main { padding: 0; border: 0; max-width: none; }
  table { display: table; font-size: .8rem; }
}
