@font-face { font-family: Manrope; src: url(/static/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --ink: #17243b; --muted: #56657a; --line: #d7e1ee; --paper: #f6f8fc; --surface: #fff; --blue: #2459c4; --soft: #edf3ff;
  --warn: #8a5300; --warn-bg: #fff4e0; --fail: #a12f41; --fail-bg: #fdf0f2; --info: #56657a; --info-bg: #eef1f6;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #e6ecf5; --muted: #b0bed3; --line: #2a3b57; --paper: #0e1a2c; --surface: #142238; --blue: #8cb5ff; --soft: #1b2e4d;
  --warn: #ffc56b; --warn-bg: #3a2a10; --fail: #f2b3bb; --fail-bg: #351d25; --info: #b0bed3; --info-bg: #1e2c44;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--blue); }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; letter-spacing: -.02em; word-spacing: .08em; line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.3rem; font-weight: 760; }
h3 { font-size: 1.05rem; font-weight: 760; }
code { font: .9em ui-monospace, monospace; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 980px; margin: 0 auto; padding: 10px 16px; }
.brand { display: flex; min-width: 0; }
.brand img { height: 42px; width: auto; max-width: 100%; }
html[data-theme="dark"] .on-light, html:not([data-theme="dark"]) .on-dark { display: none; }
.controls { display: flex; gap: 4px; flex: none; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; list-style: none; }
.icon::-webkit-details-marker { display: none; }
.icon:hover { background: var(--soft); }
.icon:focus-visible, a:focus-visible, .snippet:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; }
#theme [data-icon] { display: none; }
#theme[data-mode="system"] [data-icon="system"], #theme[data-mode="light"] [data-icon="light"], #theme[data-mode="dark"] [data-icon="dark"], #theme:not([data-mode]) [data-icon="system"] { display: grid; }
.lang { position: relative; }
.lang ul { position: absolute; right: 0; top: 48px; z-index: 2; min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgb(10 20 40 / .15); }
.lang a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; min-height: 44px; }
.lang a:hover { background: var(--soft); }
.lang a[aria-current] { font-weight: 700; color: var(--blue); }
main { max-width: 980px; margin: 0 auto; padding: 8px 16px 40px; }
section { margin: 0 0 36px; }
.hero { padding: 20px 0 8px; }
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 14px; }
.meta { color: var(--muted); font-size: .9rem; margin: 6px 0; overflow-wrap: anywhere; }
.eyebrow { margin: 0 0 4px; color: var(--blue); font: 700 .78rem/1 Manrope, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.big { font: 800 1.5rem/1.2 Manrope, system-ui, sans-serif; margin: 0; }
.back { margin: 8px 0 0; }
.back a { display: inline-block; padding: 10px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.card { display: block; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--blue); }
.card p { margin: 0 0 12px; color: var(--muted); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 650; font-size: .9rem; background: var(--soft); color: var(--blue); }
.pill[data-state="warn"] { background: var(--warn-bg); color: var(--warn); }
.pill[data-state="fail"] { background: var(--fail-bg); color: var(--fail); }
.pill[data-state="none"] { background: var(--info-bg); color: var(--info); }
.checks { margin: 8px 0 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.checks li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line); }
.checks li:first-child { border-top: 0; }
.what { min-width: 0; }
.what small { display: block; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.verdict { font-size: .85rem; font-weight: 650; color: var(--blue); }
[data-state="warn"] > .dot { background: var(--warn); } [data-state="warn"] > .verdict { color: var(--warn); }
[data-state="fail"] > .dot { background: var(--fail); } [data-state="fail"] > .verdict { color: var(--fail); }
[data-state="info"] > .dot { background: var(--info); } [data-state="info"] > .verdict { color: var(--info); }
.review { margin: 0 0 22px; }
.snippet { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: .82rem/1.45 ui-monospace, monospace; resize: vertical; }
footer { max-width: 980px; margin: 0 auto; padding: 18px 16px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
footer p { margin: 4px 0; }
