:root{color-scheme:dark;--line:#303946;--muted:#a2acbb;--text:#f0f3f7;--blue:#9cb8ff;--panel:#141a22}
*{box-sizing:border-box}
html{background:#0c1016}
body{margin:0;color:var(--text);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
main{max-width:780px;margin:auto;padding:20px clamp(16px,4vw,38px) 52px}
nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:16px;border-bottom:1px solid var(--line)}
/* The header stays at the top while the page scrolls, like the app's. */
nav{position:sticky;top:0;z-index:20;margin-top:-20px;padding-top:20px;background:#0c1016}
.wordmark{white-space:nowrap;color:var(--text);text-decoration:none;display:inline-flex;align-items:center;gap:9px;min-height:40px;font-size:20px;font-weight:750;letter-spacing:-.055em}
.wordmark b{font-weight:500}
.wordmark-dash{font-style:normal;color:#1fd17f}
.back{color:var(--blue);text-decoration:none;font-size:14px;font-weight:650;white-space:nowrap}
h1{font-size:clamp(28px,5vw,38px);line-height:1.2;letter-spacing:-.02em;margin:34px 0 6px}
.updated{color:var(--muted);margin:0 0 24px}
h2{font-size:19px;margin:30px 0 8px}
p,li{color:#c9d1dd}
ul{padding-left:22px}li{margin:5px 0}
a{color:var(--blue)}
.summary{background:var(--panel);border:1px solid #53698e;border-radius:16px;padding:16px 20px}
.summary p{margin:0}
footer{text-align:center;color:#77849c;font-size:12px;margin-top:40px;border-top:1px solid var(--line);padding-top:18px}
footer p{margin:0 auto 6px;max-width:720px}
footer a{color:#9aa7bd}
.nav-end{display:flex;align-items:center;gap:10px}
.app-back,.nav-button{display:inline-grid;place-items:center;min-height:40px;padding:0 16px;border-radius:7px;background:#202833;border:1px solid #3a4656;color:#cfe0ff;font:650 14px system-ui;text-decoration:none;white-space:nowrap}
.app-back[hidden]{display:none}

.nav-button[aria-current]{display:none}
/* Phones: every button stays; they move to their own row under the logo and wrap. */
@media(max-width:720px){nav{flex-wrap:wrap;row-gap:12px}.nav-end{width:100%;flex-wrap:wrap;gap:8px}.app-back,.nav-button{min-height:36px;padding:0 12px;font-size:13.5px}}
@media(max-width:480px){.nav-end:has(.app-back:not([hidden])) .status{display:none}}
@media print{
 :root{color-scheme:light}
 html,body{background:#fff;color:#111}
 h1,h2,b,.wordmark{color:#111}
 p,li,.updated{color:#222}
 .wordmark b,.wordmark-dash{color:#444}
 .summary{background:#f4f4f4;border-color:#999}
 a{color:#0645ad}
 .nav-end{display:none}
 footer,footer a{color:#555}
}
