:root {
  color-scheme: light dark;
  --canvas: #f6f7fb;
  --paper: #ffffff;
  --ink: #17233b;
  --muted: #4e5c73;
  --line: #dbe1eb;
  --accent: #234fb1;
  --tint: #edf2ff;
  --navy: #101d36;
  --focus: #986100;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; padding: .75rem 1rem; background: var(--paper); z-index: 10; }
.skip:focus { top: 1rem; }
.shell { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; }
.topbar { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-block: 1.6rem; }
.brand { display: block; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.045em; font-size: 1.5rem; line-height: 1.2; }
.brand small { display: block; margin-top: .4rem; color: #c1cce3; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.site-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-nav a { color: #e0e8fa; padding-block: .55rem; font-size: .95rem; }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 700; text-decoration-thickness: .13em; }
main { padding-block: 3rem 4rem; }
.hero { max-width: 52rem; margin-bottom: 2rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .75rem; font-weight: 750; letter-spacing: .14em; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.08; letter-spacing: -.05em; margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.updated { font-size: .88rem; color: var(--muted); }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 2rem; }
.summary article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; }
.summary h2 { font-size: 1rem; margin: 0 0 .4rem; letter-spacing: -.02em; }
.summary p { font-size: .93rem; margin: 0; color: var(--muted); }
.toc { border-left: 3px solid var(--accent); padding: .8rem 1.25rem; background: var(--tint); border-radius: 0 12px 12px 0; margin-block: 2rem; }
.toc strong { display: block; font-size: .9rem; margin-bottom: .4rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.toc a { display: inline-block; padding-block: .2rem; font-size: .9rem; }
.document { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.25rem, 4vw, 3rem); }
.document section + section { margin-top: 2.7rem; border-top: 1px solid var(--line); padding-top: 2.3rem; }
h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 1rem; }
h3 { font-size: 1.08rem; line-height: 1.4; margin: 1.5rem 0 .6rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
li + li { margin-top: .45rem; }
.document p, .document li { max-width: 74ch; }
.table-wrap { overflow-x: auto; margin-block: 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
caption { text-align: left; padding: 1rem; font-weight: 700; background: var(--tint); }
th, td { text-align: left; vertical-align: top; padding: .95rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--tint); font-size: .82rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
tbody th { width: 25%; font-weight: 650; }
.note { padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--tint); margin-block: 1.2rem; }
.contact { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin-block: 1.5rem; }
.button { display: inline-block; padding: .7rem 1.1rem; border-radius: 10px; background: var(--accent); color: var(--paper); font-weight: 650; text-decoration: none; }
.contact .button { color: #fff; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; background: var(--paper); }
details + details { margin-top: .75rem; }
summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; padding: 1.1rem 0; line-height: 1.5; }
details[open] summary { margin-bottom: .2rem; }
details > div { padding-bottom: 1.3rem; }
.site-footer { padding-block: 1.6rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer .shell { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; }
@media (max-width: 650px) {
  .shell { width: min(100% - 2rem, 68rem); }
  .topbar { align-items: flex-start; flex-direction: column; gap: .8rem; padding-block: 1.3rem; }
  main { padding-top: 2rem; }
  .summary { grid-template-columns: 1fr; }
  .summary article { padding: 1rem 1.15rem; }
  .document { border-radius: 16px; }
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  table, tbody, tbody tr, tbody th, tbody td { display: block; }
  caption { display: block; border-radius: 10px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { padding-block: .9rem; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border: 0; }
  tbody th, tbody td { width: auto; padding: .3rem 0; border: 0; }
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #0c1423; --paper: #121f33; --ink: #f0f3fb; --muted: #bbc7dc; --line: #30405a; --accent: #a9c2ff; --tint: #1b2d4b; --focus: #ffcf79; }
  .contact .button { background: #a9c2ff; color: #101d36; }
}
@media print {
  body { background: #fff; color: #111; font-size: 10pt; }
  .site-header, .site-footer, .skip, .toc { display: none; }
  .shell { width: 100%; }
  main { padding: 0; }
  .document { border: 0; padding: 0; }
  a { color: #111; }
  details > div { display: block !important; }
}

/* Public social profile; keep the link easy to tap. */
.contact .social-link { display: inline-flex; align-items: center; min-height: 44px; }
