/*
 * One stylesheet, no framework, no webfont.
 *
 * Everything here serves one constraint: the person reading this has a printer that will not
 * print and is already annoyed. The page has to arrive instantly on a bad connection and be
 * readable by somebody in their seventies without reaching for their glasses — so the body text
 * is 18px, the line length is short, and nothing moves.
 */

:root {
  --ink: #16181d;
  --muted: #5c6270;
  --bg: #ffffff;
  --panel: #f5f6f8;
  --line: #e3e5ea;
  --brand: #3478f6;
  --brand-2: #5c48e6;
  --good: #1a8a52;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eaee;
    --muted: #a0a6b4;
    --bg: #121419;
    --panel: #1b1e25;
    --line: #2b2f39;
    --brand: #6ea0ff;
    --brand-2: #9d8cff;
    --good: #5fd399;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
header.site .wrap { display: flex; align-items: center; gap: 12px; }
header.site a.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 650;
}
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 16px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }

.logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; flex: none;
}
.logo svg { width: 17px; height: 17px; fill: #fff; }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 36px 0 14px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 8px; }
p { margin: 0 0 16px; }
.lead { font-size: 21px; color: var(--muted); }

a { color: var(--brand); }

.cta {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 13px 22px; border-radius: 11px; text-decoration: none; font-weight: 600;
}
.cta:hover { filter: brightness(1.07); }
.cta.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
.note { color: var(--muted); font-size: 15px; }

.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; margin: 22px 0;
}

.screen {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin: 26px 0;
}
.screen .verdict { display: flex; gap: 13px; align-items: flex-start; }
.screen .tick {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--good) 18%, transparent);
  color: var(--good); display: grid; place-items: center; font-weight: 800;
}
.screen h4 { margin: 0 0 3px; font-size: 20px; }
.screen .sub { color: var(--muted); font-size: 15px; margin: 0; }

.bar { display: flex; align-items: center; gap: 10px; margin: 7px 0; font-size: 15px; }
.bar .name { width: 78px; }
.bar .track { flex: 1; height: 9px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
/*
 * `display: block` is load-bearing, not tidiness.
 *
 * `.fill` is a <span> inside `.track`. Spans are inline, and width and height do not apply to
 * inline elements — so the coloured bar had a width of 5% that the browser ignored, collapsed to
 * nothing, and showed as an empty grey track. The `.track` above only escaped the same fate
 * because `flex: 1` makes it a flex item, which blockifies it.
 */
.bar .fill { display: block; height: 100%; border-radius: 99px; }
.bar .pct { width: 42px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

ul.plain { padding-left: 20px; }
ul.plain li { margin-bottom: 9px; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

.faq { border-top: 1px solid var(--line); padding-top: 8px; }
.faq h3 { margin-top: 22px; }

footer.site {
  border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 0 50px;
  color: var(--muted); font-size: 15px;
}
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
footer.site a { color: var(--muted); }

code { background: var(--panel); padding: 2px 6px; border-radius: 5px; font-size: 15px; }
