:root {
  --paper:      #f6f7f8;
  --card:       #ffffff;
  --ink:        #16191c;
  --ink-soft:   #3b444c;
  --muted:      #626d77;
  --rule:       #dce0e4;
  --rule-firm:  #b4bcc3;
  --accent:     #8a5a00;
  --accent-bg:  #f7edd8;
  --blue:       #1d3f5e;
  --blue-bg:    #e5ecf2;
  --pass:       #1c6b45;
  --fail:       #a02f24;
  --focus:      #1d3f5e;

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #131619; --card: #1a1e22; --ink: #e9ecef; --ink-soft: #c3cad0;
    --muted: #8f9aa4; --rule: #2a3037; --rule-firm: #3d454d;
    --accent: #d9a44f; --accent-bg: #302614; --blue: #8ab4d8; --blue-bg: #172631;
    --pass: #5fbf8c; --fail: #e0857a; --focus: #8ab4d8;
  }
}
:root[data-theme="dark"] {
  --paper: #131619; --card: #1a1e22; --ink: #e9ecef; --ink-soft: #c3cad0;
  --muted: #8f9aa4; --rule: #2a3037; --rule-firm: #3d454d;
  --accent: #d9a44f; --accent-bg: #302614; --blue: #8ab4d8; --blue-bg: #172631;
  --pass: #5fbf8c; --fail: #e0857a; --focus: #8ab4d8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--card);
  color: var(--ink); padding: .75rem 1rem; z-index: 10; border: 2px solid var(--focus);
}
.skip:focus { left: 0; }

.wrap { max-width: 54rem; margin: 0 auto; padding: 0 1.25rem; }
main { display: flex; flex-direction: column; gap: 4rem; padding-bottom: 5rem; }
section { display: flex; flex-direction: column; gap: 1.1rem; }

/* masthead */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: baseline; padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  letter-spacing: -.01em; margin: 0;
}
.wordmark .w { color: var(--accent); }
.tagline { color: var(--muted); font-size: .92rem; margin: 0; }

/* hero */
.hero { padding-top: 3.5rem; gap: 1.5rem; }
h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.015em;
  margin: 0; text-wrap: balance;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); margin: 0; max-width: 40rem; }
.eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}

h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.2; margin: 0;
  text-wrap: balance;
}
h3 { font-size: 1rem; font-weight: 600; margin: 0; }
p { margin: 0; max-width: 40rem; }
p + p { margin-top: .8rem; }
strong { font-weight: 600; }

code, .clause {
  font-family: var(--mono); font-size: .87em; background: var(--blue-bg);
  color: var(--blue); padding: .1em .35em; border-radius: 2px;
}

/* the number band */
.band {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 3px; padding: 1.75rem 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.75rem 1.25rem; align-items: end;
}
.stat { display: flex; flex-direction: column; gap: .3rem; }
.stat dt {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); order: 1;
}
.stat dd {
  font-family: var(--display); font-weight: 600; margin: 0;
  font-size: clamp(2rem, 5.5vw, 2.8rem); line-height: 1;
  font-variant-numeric: tabular-nums; order: 2;
}
.stat .note { font-size: .82rem; color: var(--muted); line-height: 1.4; order: 3; }
.v-fail { color: var(--fail); } .v-accent { color: var(--accent); } .v-pass { color: var(--pass); }

/* table */
.scroller { overflow-x: auto; border: 1px solid var(--rule); border-radius: 3px; background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: .88rem; }
caption {
  caption-side: bottom; text-align: left; padding: .8rem 1rem; color: var(--muted);
  font-size: .8rem; line-height: 1.5; border-top: 1px solid var(--rule);
}
th, td { padding: .65rem .85rem; text-align: right; border-bottom: 1px solid var(--rule); }
thead th {
  font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); vertical-align: bottom;
  border-bottom: 1.5px solid var(--rule-firm); line-height: 1.35;
}
th[scope="row"] { text-align: left; font-weight: 500; }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.zero { color: var(--pass); font-weight: 600; }
.amber { color: var(--accent); }
.dim { color: var(--muted); }

/* the honest bit */
.honest {
  background: var(--card); border: 1px solid var(--rule);
  border-left: 3px solid var(--accent); border-radius: 3px;
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .8rem;
}
.banner-quote {
  font-family: var(--mono); font-size: .9rem; color: var(--fail);
  background: var(--paper); border: 1px solid var(--rule);
  padding: .6rem .8rem; border-radius: 2px; align-self: flex-start;
}

/* refusals */
.refusals { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.refusal { display: flex; flex-direction: column; gap: .5rem; }
.refusal h3 { color: var(--accent); }
.refusal p { font-size: .93rem; color: var(--ink-soft); }

/* the ask */
ol.ask { margin: 0; padding: 0; list-style: none; counter-reset: ask; display: flex; flex-direction: column; }
ol.ask li {
  counter-increment: ask; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: start;
}
ol.ask li:first-child { border-top: 1px solid var(--rule); }
ol.ask li::before {
  content: counter(ask); font-family: var(--mono); font-size: .8rem; font-weight: 500;
  color: var(--accent); padding-top: .15rem;
}
ol.ask p { font-size: .93rem; color: var(--ink-soft); }

.cta {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 1rem; padding: .8rem 1.4rem; border-radius: 3px;
}
.cta:hover { background: var(--blue); }

footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; }
footer .wrap { display: flex; flex-direction: column; gap: .9rem; }
footer p { font-size: .85rem; color: var(--muted); max-width: 44rem; }
footer a { color: var(--blue); }
.builton { font-family: var(--mono); font-size: .75rem; }

@media (max-width: 40rem) {
  body { font-size: 16px; }
  main { gap: 3rem; }
  .hero { padding-top: 2.25rem; }
  .band { padding: 1.4rem 1.15rem; gap: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- shared page furniture (home + legal) ---- */
.sitenav { border-top: 1px solid var(--rule); padding: 1.75rem 0 3rem; }
.sitenav .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; }
.sitenav a { color: var(--blue); text-decoration: none; font-size: .88rem; }
.sitenav a:hover { text-decoration: underline; }
.sitenav .sep { color: var(--rule-firm); }
.sitenav .copy { color: var(--muted); font-size: .82rem; margin-left: auto; }

/* ---- legal pages ---- */
.legal { padding-top: 2.75rem; display: flex; flex-direction: column; gap: 2rem; }
.legal-head { display: flex; flex-direction: column; gap: .6rem; }
.legal-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.legal section { gap: .7rem; }
.legal h2 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
.legal p, .legal li { max-width: 42rem; }
.legal ul { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .45rem; }
.legal a { color: var(--blue); }
.legal dl { margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--ink-soft); }

.wordmark a { color: inherit; text-decoration: none; }
.wordmark a:hover { color: var(--accent); }
