/* evidence-status — Mission Control idiom (scoped to the ledger page) */
:root {
  color-scheme: dark;
  --bg: #090b10;
  --panel: rgba(17, 24, 39, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #e9eff3;
  --muted: #8a96a7;
  --soft: #6b7686;
  --acc: #34d399;
  --acc-bright: #6ee7b7;
  --warn: #f0b866;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: min(940px, calc(100% - 44px));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(60rem 40rem at 50% -12%, rgba(52, 211, 153, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg), #0a0d13 60%, var(--bg));
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-bright); }
code {
  font-family: var(--mono); font-size: 0.86em;
  color: var(--acc-bright); background: rgba(52, 211, 153, 0.08);
  padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere;
}

.site-header, main, footer { width: var(--wrap); margin: 0 auto; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 0;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); font-family: var(--display); font-weight: 600;
}
.brand-link::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--acc-bright), #10b981);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
}
.top-links { display: flex; gap: 20px; }
.top-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.top-links a:hover { color: var(--text); }

.hero { padding: 34px 0 18px; max-width: 720px; }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--acc);
  margin-bottom: 12px;
}
h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.04;
}
.lede { margin-top: 16px; color: var(--text); font-size: 1.14rem; }
.prov {
  margin-top: 14px; font-family: var(--mono); font-size: 0.82rem;
  line-height: 1.7; color: var(--soft);
  border-left: 2px solid var(--line-2); padding-left: 14px;
}
.prov strong { color: var(--muted); font-weight: 600; }

main { display: grid; gap: 20px; padding: 24px 0 60px; }
.surface-section {
  padding: 24px 26px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.section-heading { margin-bottom: 14px; }
.section-heading .eyebrow { display: none; }  /* h2 already labels it */
.section-heading h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.4rem; letter-spacing: -0.02em;
}

ul { list-style: none; display: grid; gap: 9px; }
li {
  position: relative; padding-left: 18px;
  color: var(--muted); font-size: 0.94rem; line-height: 1.6;
}
li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acc); opacity: 0.7;
}

.resolved-note, .fold-lead {
  margin-top: 14px; font-size: 0.9rem; color: var(--muted);
}
.resolved-note { color: var(--soft); }

/* collapsible retracted claims */
details.fold {
  margin-top: 12px; border: 1px solid var(--line);
  border-radius: 12px; background: rgba(9, 12, 18, 0.5); overflow: hidden;
}
details.fold summary {
  cursor: pointer; list-style: none; padding: 13px 16px;
  font-family: var(--mono); font-size: 0.84rem; color: var(--acc-bright);
  display: flex; align-items: center; gap: 10px;
}
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::before {
  content: "\25B8"; color: var(--acc); transition: transform 0.15s;
}
details.fold[open] summary::before { transform: rotate(90deg); }
details.fold[open] summary { border-bottom: 1px solid var(--line); }
details.fold ul { padding: 14px 16px; }

blockquote {
  border-left: 3px solid var(--acc); padding: 4px 0 4px 16px;
  color: var(--text); font-size: 1.02rem; line-height: 1.65;
}

/* MachLib live-CI block */
#machlib-status { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); }
#machlib-status[data-state="loading"] { color: var(--soft); }
small { color: var(--soft); font-size: 0.82em; }

footer {
  padding: 26px 0 50px; border-top: 1px solid var(--line);
  color: var(--soft); font-size: 0.88rem;
}
footer p { color: var(--soft); }

@media (max-width: 560px) {
  :root { --wrap: min(940px, calc(100% - 28px)); }
  .topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
