/* Shared by /privacy, /terms and the content pages. Same tokens as the home page. */
/* Self-hosted fonts, SIL Open Font License 1.1 (public/fonts/OFL-*.txt). Built by scripts/build-fonts.sh.
   public/index.html has a copy of these rules in its own style block. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0b0d12;
  --fg: #ececf1;
  --muted: #9ca2b1;
  --faint: #7c8393;
  --accent: #f2b544;
  --rule: rgba(255, 255, 255, 0.12);
  --rule-strong: rgba(255, 255, 255, 0.28);
  --track: rgba(255, 255, 255, 0.10);
  --track-fill: #8a90a0;
  --ring: #ececf1;
  --gutter: 48px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--sans); display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule-strong); }
a:hover { text-decoration-color: var(--fg); }

.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1104px; margin: 0 auto; }

header { flex: none; padding: 28px 0 18px; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 16px 20px; flex-wrap: wrap; }
header .home { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
header p { margin: 0; color: var(--muted); font-size: 15px; }

main { flex: 1; padding: 44px 0 56px; }
article { max-width: 64ch; }
.label { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 14px; line-height: 1; }
h1 { font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.lede { margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.5; }
h2 { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; line-height: 1.4; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); }
p, ul { margin: 14px 0 0; }
ul { padding-left: 20px; }
li { margin-top: 6px; }
li::marker { color: var(--faint); }
code { font: 400 14px var(--mono); }
.updated { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); font: 400 12px var(--mono); color: var(--muted); letter-spacing: 0.02em; }

footer { flex: none; border-top: 1px solid var(--rule); padding: 18px 0 26px; font-size: 12px; line-height: 1.5; color: var(--muted); display: flex; gap: 8px 28px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
footer .legal { margin-left: auto; display: flex; gap: 20px; }

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  header { padding: 22px 0 16px; }
  main { padding: 32px 0 40px; }
  h1 { font-size: 36px; }
  footer .legal { margin-left: 0; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  header p { flex-basis: 100%; }
  h1 { font-size: 32px; }
  .lede { font-size: 17px; }
}

/* Content pages: /report, the method post and /fit/. The HTML comes from scripts/build-pages.mjs. */
.prose { max-width: 620px; font-size: 17px; line-height: 1.65; }
.prose p, .prose ul, .prose ol { margin: 18px 0 0; }
.prose ol { padding-left: 22px; }
.prose .label { margin: 0 0 14px; }
.prose .label a { color: inherit; text-decoration: none; }
.prose .label a:hover { color: var(--fg); }
.prose h1 { margin: 0 0 18px; }
.prose .lede { margin: 0; font-size: 19px; line-height: 1.5; }
.byline { margin: 0 0 28px !important; font: 400 12px/1.5 var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.byline span { color: var(--faint); margin: 0 4px; }
.prose.long h2 { font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--fg); text-transform: none; letter-spacing: -0.02em; margin: 52px 0 0; padding-top: 30px; text-wrap: balance; }
.prose h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 0; }
.prose code { font-size: 0.86em; }
.prose pre { margin: 22px 0 0; padding: 16px 18px; font-size: 13px; line-height: 1.6; border: 1px solid var(--rule); overflow-x: auto; max-width: 100%; }
.prose pre code { font: 400 13px/1.6 var(--mono); }
.prose blockquote { margin: 18px 0 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--rule-strong); }
.prose blockquote p:first-child { margin-top: 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 44px 0 0; }
.prose .table { margin: 22px 0 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th { text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.prose th, .prose td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }

/* Verdict block: the same type and bars as the verdict column of the home page. */
.result { margin-top: 4px; }
.prose .kicker { font-size: 16px; color: var(--muted); margin: 20px 0 10px; line-height: 1.3; }
.prose .verdict { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.verdict em { font-style: normal; color: var(--accent); }
.prose .why { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 44ch; }
.prose .note { margin: -18px 0 28px; color: var(--faint); font-size: 14px; line-height: 1.5; max-width: 50ch; }
.result.low .verdict em { color: var(--fg); }
.result.plain .bar-row.top .track i { background: var(--fg); }
.bars { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
.bar-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 40px; align-items: center; column-gap: 20px; font-size: 14px; line-height: 1; }
.bar-row .name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row.top .name { color: var(--fg); font-weight: 500; }
.track { height: 4px; background: var(--track); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--track-fill); }
.bar-row.top .track i { background: var(--accent); }
.pct { font: 400 12px var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.bar-row.top .pct { color: var(--fg); }
.potential { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
.potential .plabel { grid-column: 1 / -1; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; line-height: 1; margin-bottom: 12px; }
.potential .num { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.potential .num small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.potential .desc { color: var(--muted); font-size: 15px; line-height: 1.4; }
.prose .permalink { margin: 24px 0 0; }
.permalink a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; text-underline-offset: 5px; }

.index { list-style: none; padding: 0 !important; }
.index li { margin-top: 20px; }
.index a { display: block; font-size: 18px; font-weight: 500; line-height: 1.35; }
.index span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.cta { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.cta p { margin: 0; color: var(--muted); font-size: 16px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 26px; background: var(--accent); color: var(--bg); border-radius: 2px; font: 500 14px var(--sans); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.button:hover { filter: brightness(1.06); }

@media (max-width: 900px) {
  .prose .verdict { font-size: 34px; }
  .prose.long h2 { font-size: 23px; margin-top: 44px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 8px; }
  .bar-row .name { grid-row: 1; grid-column: 1; }
  .bar-row .pct { grid-row: 1; grid-column: 2; }
  .bar-row .track { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .prose { font-size: 16px; }
  .prose .lede { font-size: 17px; }
  .prose .verdict { font-size: 30px; }
  .prose pre, .prose pre code { font-size: 12px; }
}
