:root {
  --bg: #f3f5f7; --surface: #fff; --ink: #0c131d; --muted: #4a5a6b; --line: #d5dce3;
  --drive: #0f6f93; --steel: #7e93a8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c131d; --surface: #131d2a; --ink: #eef3f7; --muted: #a3b4c4; --line: #263546; --drive: #4ee2f0; --steel: #5b7591; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
a { color: var(--drive); text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid var(--drive); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 2; }
header { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
nav { display: flex; gap: 1.5rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--ink); text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.5rem); font-weight: 800; margin: 0 0 1.25rem; max-width: 16ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 0.25rem; }
p, li, dd { max-width: 65ch; }
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 1rem; }
.lede { font-size: 1.25rem; color: var(--muted); }
.status { font-weight: 600; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 0.875rem; }
.trace { padding-block: 1rem 3.5rem; }
.trace svg { width: 100%; height: auto; display: block; }
.trace path { fill: none; stroke-linecap: round; }
.trace .down { stroke: var(--steel); stroke-width: 4; }
.trace .up { stroke: var(--drive); stroke-width: 8; }
.trace .zero { stroke: var(--line); }
.trace .mean { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 5; }
.trace text { fill: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .trace text { font-size: 22px; } .trace text:last-of-type, .trace text:nth-of-type(3) { display: none; } }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; padding: 3.5rem 0; border-top: 1px solid var(--line); }
.row > div > p:first-child, .row ol, .row ul:first-child, .row dl { margin-top: 0; }
.steps { padding-left: 1.2rem; }
.steps li, .grades li { margin-bottom: 0.9rem; }
dt { font-weight: 700; }
dd { margin: 0 0 1.25rem; color: var(--muted); }
.analytics { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 0.8fr); }
.phone img { width: 100%; max-width: 300px; height: auto; border: 1px solid var(--line); border-radius: 36px; display: block; }
.doc { max-width: 720px; padding: 2.5rem 0 4rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.doc h2 { margin-top: 2.75rem; }
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
footer a { margin-right: 1.25rem; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .row, .analytics { grid-template-columns: minmax(0, 1fr); padding: 2.5rem 0; }
}
