:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e1240;
  background: #f7f6fa;
  line-height: 1.65;
  --violet: #6d28d9;
  --pink: #ff5fa8;
}

* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(100% - 2rem, 52rem); margin-inline: auto; }
header { padding-block: 1.5rem; border-bottom: 3px solid var(--pink); }
main { padding-block: 1.5rem 3rem; }
footer { padding-block: 1.5rem; border-top: 1px solid #d8d2e2; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem; }
a { color: var(--violet); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
nav a { padding-block: .4rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; }
h2 { font-size: 1.35rem; line-height: 1.3; margin-top: 2rem; }
h3 { font-size: 1.1rem; }
p, li, dd, td, th { overflow-wrap: anywhere; }
li + li { margin-top: .4rem; }
dt { font-weight: 700; }
dd { margin: .25rem 0 1rem; }
.brand { font-size: 1.25rem; font-weight: 750; text-decoration: none; }
.updated { color: #544a67; font-size: .95rem; }
.notice { background: #fff; border-left: 4px solid var(--pink); padding: 1rem; }
.placeholder { font-weight: 700; text-decoration: underline; text-decoration-style: dotted; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-block: 1rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; border: 1px solid #d8d2e2; padding: .75rem; }
th { background: #eeebf3; }
section { scroll-margin-top: 1rem; }
@media (min-width: 42rem) {
  header, main, footer { width: min(100% - 4rem, 52rem); }
  main { padding-top: 2rem; }
}
@media print {
  :root { color: #000; background: #fff; }
  header, main, footer { width: 100%; }
  nav { display: none; }
  h2, h3 { break-after: avoid; }
  tr { break-inside: avoid; }
  .table-wrap { overflow: visible; }
}
