/* FairProof site stylesheet — generated by web/site/build.mjs. Section 1 is web/brand/tokens.css verbatim; edit tokens.json, not this. */
:root {
  /* generated from tokens.json — edit that, not this */
  --fp-ink: #1f2937;
  --fp-paper: #ffffff;
  --fp-muted: #6e7781;
  --fp-state-fair: #2da44e;
  --fp-state-expired: #bf8700;
  --fp-state-not-fair: #cf222e;
  --fp-state-not-verified: #6e7781;
  --fp-og-bg: #0b1220;
  --fp-og-fg: #f8fafc;
  --fp-og-muted: #94a3b8;
  --fp-og-rule: #1e293b;
  --fp-font-ui: Inter, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --fp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fp-font-badge: Verdana, Geneva, 'DejaVu Sans', sans-serif;
}

:root {
  color-scheme: light dark;
  --bg: var(--fp-paper);
  --card: var(--fp-paper);
  --fg: var(--fp-ink);
  --muted: var(--fp-muted);
  --line: #dfe3e8;
  --link: #1d4ed8;
  --code-bg: #eef1f5;
  --button-bg: var(--fp-ink);
  --button-fg: var(--fp-paper);
  --fair-bg: #e7f6ec;
  --fair-fg: #0f5a2c;
  --fair-line: var(--fp-state-fair);
  --expired-bg: #fff4e0;
  --expired-fg: #7a4b00;
  --expired-line: var(--fp-state-expired);
  --notfair-bg: #fdeaea;
  --notfair-fg: #8a1c1c;
  --notfair-line: var(--fp-state-not-fair);
  --unver-bg: #ececef;
  --unver-fg: #2b2f36;
  --unver-line: var(--fp-state-not-verified);
}
@media (prefers-color-scheme: dark) {
  :root {
  --bg: #0f1216;
  --card: #171b21;
  --fg: #e7eaef;
  --muted: #9aa3b2;
  --line: #2a3039;
  --link: #7aa2ff;
  --code-bg: #20262e;
  --button-bg: #e7eaef;
  --button-fg: #0f1216;
  --fair-bg: #10301c;
  --fair-fg: #9ee2b6;
  --fair-line: var(--fp-state-fair);
  --expired-bg: #3a2a08;
  --expired-fg: #ffd28a;
  --expired-line: var(--fp-state-expired);
  --notfair-bg: #3a1414;
  --notfair-fg: #ffb3b3;
  --notfair-line: var(--fp-state-not-fair);
  --unver-bg: #23272e;
  --unver-fg: #d5dae2;
  --unver-line: var(--fp-state-not-verified);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 16px/1.55 var(--fp-font-ui); min-height: 100vh; display: flex; flex-direction: column; }
code, pre, kbd { font: 14px/1.45 var(--fp-font-mono); }
code { background: var(--code-bg); color: var(--fg); padding: 0 .3em; border-radius: 4px; overflow-wrap: anywhere; } /* explicit colour: inside .muted/.lede/th the inherited muted grey on code-bg is 4.01:1 in light mode (AA fail); fg on code-bg is the asserted pair */
pre { background: var(--code-bg); padding: .75rem .9rem; border-radius: 6px; overflow-x: auto; }
pre code { background: none; padding: 0; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.5rem; margin-top: 2.5rem; }
h3 { font-size: 1.1rem; margin-top: 1.5rem; }
p, ul, ol, dl, table { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .3rem; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.skip { position: absolute; left: -999px; top: 0; padding: .5rem .8rem; background: var(--card); color: var(--fg); border: 1px solid var(--line); z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--fg); }
.brand img { height: 2rem; width: auto; display: block; }
.brand-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand-light { display: none; } .brand-dark { display: block; } }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: .35rem .6rem; border-radius: 6px; color: var(--fg); text-decoration: none; }
.site-nav a:hover { background: var(--code-bg); }
.site-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.site-nav li + li { margin-top: 0; }

main { flex: 1 0 auto; padding: 2rem 0 3rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.hero { padding: 1.5rem 0 1rem; }
.hero h1 { max-width: 40rem; }
.hero .lede { margin-bottom: 1.5rem; }
.status { display: inline-block; padding: .25rem .7rem; border: 1px solid var(--expired-line); background: var(--expired-bg); color: var(--expired-fg); border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }

.check { display: grid; gap: .5rem; max-width: 40rem; margin: 0 0 1rem; }
.check label { font-weight: 600; }
.check .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.check input { flex: 1 1 18rem; padding: .65rem .8rem; border: 1px solid var(--muted); border-radius: 6px; background: var(--card); color: var(--fg); font: inherit; font-family: var(--fp-font-mono); }
.button { display: inline-block; padding: .65rem 1.1rem; border-radius: 6px; border: 1px solid var(--button-bg); background: var(--button-bg); color: var(--button-fg); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.button:hover { filter: brightness(1.1); }
.button.secondary { background: var(--card); color: var(--fg); border-color: var(--fg); }
.button.soon { cursor: default; background: var(--code-bg); color: var(--fg); border-color: var(--line); }
.soon-tag { font-weight: 400; }
.ctas { display: flex; gap: .75rem 1rem; flex-wrap: wrap; align-items: center; margin: .5rem 0 1rem; }

.states { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1rem 0; }
.states li + li { margin-top: 0; }
.state { border: 1px solid var(--line); border-left-width: 6px; border-radius: 10px; padding: 1rem; background: var(--card); }
.state img { height: 20px; width: auto; display: block; margin-bottom: .75rem; }
.state h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.state p { margin: 0; font-size: .95rem; }
.state--fair { border-left-color: var(--fair-line); }
.state--expired { border-left-color: var(--expired-line); }
.state--not-fair { border-left-color: var(--notfair-line); }
.state--not-verified { border-left-color: var(--unver-line); }
.panel { padding: .9rem 1.1rem; border-radius: 8px; border-left: 5px solid; margin: 1rem 0; }
.panel--fair { background: var(--fair-bg); color: var(--fair-fg); border-color: var(--fair-line); }
.panel--expired { background: var(--expired-bg); color: var(--expired-fg); border-color: var(--expired-line); }
.panel--not-fair { background: var(--notfair-bg); color: var(--notfair-fg); border-color: var(--notfair-line); }
.panel--not-verified { background: var(--unver-bg); color: var(--unver-fg); border-color: var(--unver-line); }
.panel p:last-child { margin-bottom: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; background: var(--card); margin: 0; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--button-bg); color: var(--button-fg); font-weight: 700; margin-bottom: .5rem; }
.steps h3 { margin: 0 0 .3rem; }
.steps p { margin: 0; }

.scope { border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; background: var(--card); margin: 1.5rem 0; }
.scope h2 { margin-top: 0; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { border-top: 1px solid var(--line); padding: 1rem 0; margin: 0; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks h3 { margin: 0 0 .3rem; }
.src { display: block; color: var(--muted); font-size: .85rem; font-style: normal; font-family: var(--fp-font-mono); margin-top: .4rem; overflow-wrap: anywhere; }

.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-top: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 600; }
.tbl tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.scroll { overflow-x: auto; }

dl.gloss dt { font-weight: 700; margin-top: .8rem; }
dl.gloss dd { margin: .15rem 0 0; }

.price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.price strong { font-size: 2.6rem; line-height: 1; }

.toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.toc li + li { margin-top: 0; }

.faq details { border-top: 1px solid var(--line); padding: .6rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: .3rem 0; }
.faq summary:hover { color: var(--link); }
.faq details p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; display: grid; gap: .75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.site-footer p { margin: 0 0 .4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .2rem; }

@media (max-width: 40rem) {
  main { padding-top: 1.25rem; }
  .price strong { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
