:root {
  color-scheme: light;
  font: 100%/1.62 "Segoe UI", system-ui, sans-serif;
  color: #12233b;
  background: #f5f7fa;
  --navy: #0d1d35;
  --muted: #425772;
  --line: #d7e0eb;
  --accent: #005b53;
  --mint: #84e1d7;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b45600; outline-offset: 4px; }
.shell { display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr); max-width: 90rem; margin: auto; }
.rail { background: #eaf0f7; border-right: 1px solid var(--line); }
.rail-inner { position: sticky; top: 0; padding: 1.75rem 1rem; }
.rail details summary { cursor: pointer; font-weight: 700; padding: .45rem .65rem; }
.rail ul { list-style: none; padding: 0; margin: .55rem 0 1rem; }
.rail a { display: block; padding: .4rem .65rem; color: #203952; border-radius: .4rem; text-decoration: none; }
.rail a:hover { background: #dce7f3; }
.rail a[aria-current="page"] { background: var(--navy); color: white; }
.rail .language { text-decoration: underline; }
.masthead { display: flex; align-items: center; gap: 1.2rem; background: var(--navy); color: white; padding: 2rem clamp(1.2rem, 4vw, 4.5rem); }
.masthead img { width: clamp(3.5rem, 9vw, 6rem); height: auto; flex: 0 0 auto; }
.masthead p { color: #bfd2e5; margin: .35rem 0 0; }
.masthead a { color: white; text-decoration: none; font-weight: 700; font-size: clamp(1.22rem, 2.5vw, 1.8rem); }
main { max-width: 74rem; padding: clamp(1.5rem, 5vw, 4rem); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.17; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); max-width: 21ch; letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.02em; }
h3 { font-size: 1.14rem; }
p, ul, ol { margin: 0 0 1rem; }
p, li { max-width: 72ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 58ch; }
section { margin-top: 2.5rem; }
.downloads, .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.panel { background: white; border: 1px solid var(--line); border-radius: .85rem; padding: 1.35rem; }
.panel p:last-child { margin-bottom: 0; }
.primary { background: var(--navy); border-color: var(--navy); color: white; }
.primary p { color: #d2e2f2; }
.button { display: inline-block; background: #d9f6f1; color: #102d38; padding: .65rem 1rem; border-radius: .45rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #aee9dd; }
.meta { color: var(--muted); font-size: .92rem; }
.notice { padding: 1rem 1.15rem; border-left: .22rem solid var(--accent); background: #e7f4f0; }
code { font-size: .92em; overflow-wrap: anywhere; }
.panel code { color: #34516e; }
pre { padding: 1rem; background: #eaf0f7; border-radius: .5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
dt { font-weight: 700; margin-top: .7rem; }
dd { margin: .15rem 0 .7rem; }
.faq details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .6rem 0 0; }
.skip { position: absolute; left: .75rem; top: .75rem; transform: translateY(-180%); background: white; color: var(--navy); padding: .4rem .7rem; }
.skip:focus { transform: none; z-index: 2; }
footer { border-top: 1px solid var(--line); padding: 1.6rem clamp(1.2rem, 4vw, 4.5rem); color: var(--muted); font-size: .95rem; }
footer p { margin-bottom: .45rem; }
@media (max-width: 52rem) {
  .shell { display: block; }
  .rail { border: 0; border-bottom: 1px solid var(--line); }
  .rail-inner { position: static; padding: .55rem .8rem; }
  .rail ul { display: flex; flex-wrap: wrap; gap: .15rem; margin-bottom: .3rem; }
  .rail a { padding: .25rem .55rem; }
  .masthead { padding-block: 1.25rem; }
}
