:root {
  color-scheme: light;
  --navy: #172044;
  --ink: #303952;
  --muted: #5f6b82;
  --accent: #4857d8;
  --line: #e1e5ef;
  --background: #f7f8fc;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #7885ef; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1; padding: 8px 14px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { background: linear-gradient(135deg, var(--navy), #25217a); color: #f2f4ff; }
.header-inner, .page, .site-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 23px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #f2f4ff; font-size: 25px; font-weight: 700; letter-spacing: -0.7px; line-height: 1.2; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-flow { color: #c4c8ee; font-weight: 400; margin-left: 7px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid #69739d; border-radius: 8px; padding: 7px 15px; color: #f2f4ff; font-size: 14px; text-decoration: none; }
.header-link:hover { background: #ffffff12; }
.page { padding-top: 54px; padding-bottom: 55px; }
.page-heading { max-width: 800px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 12px; color: #5965ab; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { margin: 0 0 17px; color: var(--navy); font-size: clamp(32px, 4.5vw, 46px); line-height: 1.16; letter-spacing: -1.2px; font-weight: 600; }
.lead { margin: 0 0 15px; font-size: 18px; line-height: 1.65; }
.updated { margin: 0; color: var(--muted); font-size: 13px; }
.document-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; gap: 34px; }
.contents { position: sticky; top: 24px; padding: 22px; background: #eef0ff; border: 1px solid #e0e4fb; border-radius: 12px; }
.contents h2 { margin: 0 0 12px; color: var(--navy); font-size: 14px; font-weight: 700; }
.contents ol { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.contents li { padding: 4px 0; }
.contents a { color: #434e8c; text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.document { min-width: 0; padding: 34px 38px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 8px #25217a05; }
.document section + section { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); }
.document h2 { margin: 0 0 14px; color: var(--navy); font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -0.25px; }
.document p { margin: 0 0 14px; }
.document p:last-child { margin-bottom: 0; }
.document ul { margin: 0 0 15px; padding-left: 22px; }
.document li { margin: 8px 0; }
.document a { overflow-wrap: anywhere; }
.contact-card { margin-top: 20px; padding: 18px 20px; background: #f3f5fb; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; }
.contact-card strong { color: var(--navy); }
.references { color: var(--muted); font-size: 13px; }
.document .references { margin-top: 20px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
@media (max-width: 820px) {
  .document-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contents { position: static; }
  .contents ol { columns: 2; column-gap: 30px; }
  .contents li { break-inside: avoid; }
  .document { padding: 28px; }
}
@media (max-width: 480px) {
  .header-inner, .page, .site-footer { width: calc(100% - 36px); }
  .header-inner { padding: 20px 0; gap: 14px; }
  .brand { font-size: 23px; }
  .brand img { width: 34px; height: 34px; }
  .header-link { padding: 7px 12px; font-size: 13px; }
  .page { padding-top: 35px; padding-bottom: 35px; }
  .page-heading { margin-bottom: 25px; }
  .lead { font-size: 16px; }
  .contents { padding: 18px 20px; }
  .contents ol { columns: 1; }
  .document { padding: 25px 20px; }
  .document h2 { font-size: 20px; }
  .contact-card { padding: 15px; }
}
@media print {
  body { background: white; font-size: 11pt; }
  .site-header, .contents, .site-footer, .skip-link { display: none; }
  .page { width: 100%; padding: 0; }
  .document-layout { display: block; }
  .document { padding: 0; border: 0; box-shadow: none; }
  h1 { font-size: 26pt; }
  .document h2 { break-after: avoid; }
}
