:root {
  color-scheme: light;
  --ink: #132841;
  --muted: #496078;
  --canvas: #f8fafc;
  --rail: #eaf2fa;
  --rule: #cad9e7;
  --brand: #174c80;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--brand); text-underline-offset: .17em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid #1262a3; outline-offset: 4px; }
.shell { max-width: 1390px; min-height: 100vh; margin: auto; display: grid; grid-template-columns: minmax(180px, 235px) minmax(0, 1fr); }
.rail { padding: 37px 22px; background: var(--rail); border-right: 1px solid var(--rule); }
.wordmark { display: inline-block; color: var(--ink); font-size: 1.6rem; font-weight: 760; line-height: 1; letter-spacing: -.055em; text-decoration: none; margin: 0 0 27px 10px; }
.rail nav { display: grid; gap: 4px; }
.rail nav a { font-size: .96rem; font-weight: 560; text-decoration: none; display: block; padding: 9px 10px; border-radius: 6px; }
.rail nav a:hover, .rail nav a[aria-current="page"] { background: #d7e8f8; color: #163d63; }
main { padding: 50px clamp(22px, 5.6vw, 85px) 26px; max-width: 1000px; min-width: 0; }
.intro { border-bottom: 1px solid var(--rule); padding-bottom: 21px; margin-bottom: 25px; }
h1, h2 { line-height: 1.16; letter-spacing: -.035em; }
h1 { margin: 0 0 .35em; font-size: clamp(2rem, 4.75vw, 3.7rem); }
h2 { margin: 0 0 .7em; font-size: clamp(1.4rem, 2.5vw, 1.92rem); }
.intro p { max-width: 630px; font-size: 1.15rem; color: var(--muted); margin: 0; }
p { max-width: 74ch; }
section { margin-top: 36px; }
.note { max-width: none; margin: 0 0 24px; border-left: 4px solid #3978ae; padding: 11px 15px; background: #eaf2fa; }
.steps { padding-left: 25px; }
.steps li { padding: 5px 0 5px 2px; }
.outcomes { display: grid; grid-template-columns: minmax(128px, 170px) minmax(0, 1fr); gap: 10px 14px; }
dt { font-weight: 700; }
dd { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { background: white; border: 1px solid var(--rule); border-radius: 8px; padding: 15px 17px; text-decoration: none; }
.card:hover { border-color: var(--brand); }
.card strong, .card span { display: block; }
.card strong { text-decoration: underline; }
.card span { color: var(--muted); margin-top: 4px; }
.contents { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.endpoint { margin: 10px 0 14px; display: flex; align-items: start; gap: .75em; }
.endpoint span { padding: 1px 7px; border-radius: 4px; background: #dceaf7; font-size: .8rem; color: #174c80; font-weight: 750; }
.endpoint code { overflow-wrap: anywhere; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .88em; background: #e9eff5; border-radius: 4px; padding: .12em .3em; overflow-wrap: anywhere; }
pre { margin: .5em 0 1.25em; padding: 16px; color: #f1f7ff; background: #172e4a; border-radius: 7px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.56; tab-size: 2; }
pre code { background: none; padding: 0; }
.example-label { margin-bottom: 5px; color: var(--muted); font-size: .9rem; }
.table-scroll { margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: white; }
th, td { border: 1px solid var(--rule); padding: .55em .75em; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { background: #edf4fa; }
footer { margin-top: 40px; padding-top: 15px; border-top: 1px solid var(--rule); color: var(--muted); font-size: .87rem; }
.skip { position: absolute; top: -6em; left: 12px; padding: 8px 12px; background: white; z-index: 2; }
.skip:focus { top: 8px; }
@media (max-width: 700px) {
  .shell { display: block; }
  .rail { border-right: 0; border-bottom: 1px solid var(--rule); padding: 17px 13px 8px; }
  .wordmark { margin: 0 0 9px 7px; }
  .rail nav { display: flex; flex-wrap: wrap; }
  .rail nav a { padding: 8px 7px; }
  main { padding-top: 29px; }
  .outcomes, .cards { display: block; }
  .outcomes dd { margin: 0 0 14px; }
  .card { display: block; margin-bottom: 10px; }
  th, td { padding: .45em; }
}
