:root {
  color-scheme: dark;
  --page: #0a111e;
  --panel: #101c2c;
  --well: #142436;
  --rule: #2a3d50;
  --mint: #59ecb7;
  --text: #edf3f8;
  --muted: #b5c2d2;
  font: 100%/1.65 "Inter", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--page); }
.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .6rem 1rem; color: var(--page); background: var(--mint); border-radius: .35rem; z-index: 1; }
.skip:focus { top: .75rem; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
.sitehead { border-bottom: 1px solid var(--rule); }
.headrow { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; font-size: 1.75rem; font-weight: 750; letter-spacing: -.065em; line-height: 1; }
.wordmark::before { content: ""; width: 2rem; height: 2rem; margin-right: .5rem; background: url("media/icon.svg") center / 125% no-repeat; border-radius: .55rem; }
.wordmark span { color: var(--mint); }
.headrow nav, .articlefoot nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.headrow nav a { color: var(--muted); font-size: .94rem; font-weight: 600; text-decoration: none; padding-block: .6rem; }
.headrow nav a:hover, .headrow nav [aria-current] { color: var(--mint); }
.article { width: min(100% - 2.5rem, 46rem); margin-inline: auto; padding: clamp(2.2rem, 6vw, 4.6rem) 0 3.3rem; }
.article h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.45rem); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.article .lede { margin: 1rem 0 1.65rem; font-size: clamp(1.06rem, 2.5vw, 1.23rem); line-height: 1.55; }
.article h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.035em; line-height: 1.27; margin: 2.15rem 0 .7rem; scroll-margin-top: 1.5rem; }
.article p, .article li, .article td, .article dd { color: var(--muted); }
.article p { margin: .8rem 0; overflow-wrap: anywhere; }
.article strong, .article th, .article dt { color: var(--text); }
.article ul, .article ol { padding-left: 1.5rem; }
.article li { margin: .4rem 0; }
.article li::marker { color: var(--mint); }
.article dl { margin: 1.1rem 0; }
.article dt { font-weight: 700; }
.article dd { margin: .1rem 0 .9rem; }
.article aside, .article .contact { border-left: 3px solid var(--mint); border-radius: 0 .65rem .65rem 0; background: var(--panel); padding: 1rem 1.15rem; margin: 1.2rem 0; }
.article aside p, .article .contact p { margin-block: .25rem; }
.article table { width: 100%; border-collapse: collapse; line-height: 1.48; font-size: .97rem; margin-block: 1.1rem; overflow-wrap: anywhere; }
.article caption { text-align: left; margin-bottom: .5rem; color: var(--muted); font-size: .94rem; }
.article td, .article th { padding: .7rem .8rem; border-block-end: 1px solid var(--rule); text-align: left; vertical-align: top; }
.article thead th { background: var(--well); }
.article details { margin: 1.3rem 0; padding: .85rem 1rem; border-radius: .65rem; border: 1px solid var(--rule); background: var(--panel); }
.article summary { cursor: pointer; color: var(--text); font-weight: 650; }
.article summary::marker { color: var(--mint); }
.articlefoot { margin-top: 2.1rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.articlefoot a, .article .meta { font-size: .92rem; }
@media (max-width: 375px) {
  .wrap, .article { width: calc(100% - 1.65rem); }
  .headrow nav { gap: .75rem; }
  .article th, .article td { padding: .55rem .35rem; }
}
:root { color-scheme:light; --page:#f5f7fc; --panel:#fff; --well:#eaf0fe; --rule:#c6d4e8; --mint:#184cca; --text:#10213c; --muted:#415776; }
.sitehead { background:#0c1932; border-bottom:2px solid #1752ff; }.headrow .wordmark { color:white; }.wordmark span { color:#00dc96; }.headrow nav a { color:#e3edff; }.headrow nav a:hover,.headrow nav [aria-current] { color:#68edbf; }
.case { display:grid; grid-template-columns:1fr minmax(9rem,36%); gap:1.35rem; padding:1.2rem; border:1px solid var(--rule); border-radius:1rem; background:white; }.case h3,.case figure { margin:0; }.case img { display:block; width:100%; height:auto; border-radius:.65rem; }.case figcaption { font-size:.85rem; color:var(--muted); margin-top:.4rem; }
@media(max-width:540px){.case { grid-template-columns:1fr; }.case figure { max-width:15rem; }}
