@font-face { font-family:'Inter Tight'; src:url('./assets/fonts/inter-tight-latin-400-normal.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter Tight'; src:url('./assets/fonts/inter-tight-latin-500-normal.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter Tight'; src:url('./assets/fonts/inter-tight-latin-600-normal.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Inter Tight'; src:url('./assets/fonts/inter-tight-latin-700-normal.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Instrument Serif'; src:url('./assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }

/* OVER watch: night ink, chalk and floodlight lime. Charts keep the validated blue/orange pair. */
:root {
  --paper:#f2f3ec;
  --ink:#0e1511;
  --muted:#55605a;
  --line:#d8dccf;
  --card:#fafbf6;
  --accent:#4f7a16;
  --link-hover:#4f7a16;
  --baseline:#b4bcb0;
  --series-1:#2a78d6;
  --series-2:#eb6834;
  --good:#0ca30c;
  --warning:#fab219;
  --critical:#d03b3b;
  --up:#006300;
  --down:#c23434;
  --shadow:0 8px 28px rgba(14,21,17,.12);
  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --sans:'Inter Tight','Helvetica Neue',Arial,sans-serif;
  color-scheme:light;
  font-family:var(--sans);
  font-synthesis:none;
  background:var(--paper);
  color:var(--ink);
}
:root[data-theme=dark] {
  --paper:#0e1511;
  --ink:#e9ede3;
  --muted:#9aa69c;
  --line:#26322a;
  --card:#141d17;
  --accent:#c6f05b;
  --link-hover:#c6f05b;
  --baseline:#3a483e;
  --series-1:#3987e5;
  --series-2:#d95926;
  --up:#0ca30c;
  --down:#e66767;
  --shadow:0 8px 28px rgba(0,0,0,.45);
  color-scheme:dark;
}
@media (prefers-color-scheme:dark) {
  :root:not([data-theme]) {
    --paper:#0e1511;
    --ink:#e9ede3;
    --muted:#9aa69c;
    --line:#26322a;
    --card:#141d17;
    --accent:#c6f05b;
    --link-hover:#c6f05b;
    --baseline:#3a483e;
    --series-1:#3987e5;
    --series-2:#d95926;
    --up:#0ca30c;
    --down:#e66767;
    --shadow:0 8px 28px rgba(0,0,0,.45);
    color-scheme:dark;
  }
}
* { box-sizing:border-box; }
body { margin:0; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
button { font:inherit; }
svg { display:block; }
::selection { background:#c6f05b; color:#0e1511; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:2px solid currentColor; outline-offset:4px; border-radius:2px; }
.wrap { width:min(1184px, calc(100% - 112px)); margin-inline:auto; }
.skip-link { position:fixed; z-index:30; top:12px; left:12px; transform:translateY(-150%); padding:12px 18px; background:var(--ink); color:var(--paper); }
.skip-link:focus { transform:translateY(0); }

/* Header and footer */
.site-header { height:116px; display:flex; align-items:center; gap:28px; border-bottom:1px solid var(--line); }
.identity { display:flex; align-items:center; gap:12px; text-decoration:none; }
.mark { width:38px; height:38px; flex-shrink:0; color:var(--ink); }
.mark .acc { stroke:var(--accent); fill:var(--accent); }
.wordmark { font-size:23px; font-weight:600; letter-spacing:-.025em; line-height:1; white-space:nowrap; }
.wordmark em { font-family:var(--serif); font-weight:400; letter-spacing:-.01em; }
.site-header nav a { color:var(--muted); }
.site-header nav { margin-left:auto; font-size:14px; }
.site-header nav a { padding:14px 0; text-decoration:none; }
.site-header nav a:hover { color:var(--link-hover); }
.theme-toggle { width:44px; height:44px; flex-shrink:0; padding:12px; background:none; border:1px solid var(--line); border-radius:50%; color:var(--ink); cursor:pointer; }
.theme-toggle:hover { background:var(--line); }
.theme-toggle svg { width:100%; height:100%; }
.theme-toggle .sun { display:none; }
[data-theme=dark] .theme-toggle .moon { display:none; }
[data-theme=dark] .theme-toggle .sun { display:block; }
.site-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; border-top:1px solid var(--line); margin-top:40px; padding:25px 0 32px; color:var(--muted); font-size:12px; line-height:1.6; }
.site-footer a { font-size:14px; text-decoration:none; white-space:nowrap; }
.site-footer a:hover { color:var(--ink); }
.site-footer span a { font-size:inherit; text-decoration:underline; text-underline-offset:2px; }

/* Intro */
/* Name and today's checks on the left; the money sentence and what the tracker is on the right.
   The title and headline share a bottom line, the checks and the description a top line. */
.intro { padding:48px 0 30px; border-bottom:1px solid var(--line); display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas:"title headline" "verdict lead" "status status"; column-gap:60px; row-gap:22px; align-items:start; }
.intro-title { grid-area:title; align-self:end; }
.intro .headline { grid-area:headline; align-self:end; }
.intro .verdict { grid-area:verdict; max-width:560px; }
.intro .lead { grid-area:lead; }
.intro .status, .intro noscript { grid-area:status; }
.eyebrow { font-size:12px; font-weight:600; letter-spacing:.13em; line-height:1.7; margin:0; }
h1 { font-size:clamp(46px, 5.4vw, 76px); font-weight:400; letter-spacing:-.04em; line-height:1.02; margin:14px 0 0; }
h1 em, h2 em { font-family:var(--serif); font-weight:400; }
.headline { font-size:21px; line-height:1.45; letter-spacing:-.01em; margin:0; }
.headline strong { font-weight:600; }
.headline-sub { color:var(--muted); }
/* One line per check under the headline */
.verdict { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(215px, 1fr)); gap:8px 18px; font-size:13.5px; line-height:1.4; }
.verdict:empty { display:none; }
.verdict a { display:flex; align-items:flex-start; gap:7px; color:var(--ink); text-decoration:none; }
.verdict a:hover { text-decoration:underline; text-underline-offset:3px; }
.verdict .badge { width:18px; height:18px; font-size:10.5px; flex:none; margin-top:.5px; }
.verdict-item.good .badge { background:var(--good); }
.verdict-item.watch .badge { background:var(--warning); color:#0b0b0b; }
.verdict-item.alert .badge { background:var(--critical); }
.verdict-item.pending .badge, .verdict-item.unknown .badge { background:var(--line); color:var(--ink); }
.verdict-item.pending a, .verdict-item.unknown a { color:var(--muted); }
.verdict-stale { color:var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.lead { font-size:14.5px; line-height:1.6; margin:0; color:var(--muted); }
.lead a { text-underline-offset:3px; }
.status { margin:8px 0 0; font-size:13px; color:var(--muted); }
.status.error { color:var(--down); }

/* Stat tiles */
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(178px, 1fr)); gap:12px; padding:28px 0 8px; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px 18px 18px; min-height:132px; }
.tile .label { font-size:13px; color:var(--muted); margin:0 0 10px; }
.tile .value { font-size:28px; font-weight:600; letter-spacing:-.02em; line-height:1.1; margin:0; }
.tile .delta { font-size:13px; font-weight:600; margin:8px 0 0; }
.tile .delta.up { color:var(--up); }
.tile .delta.down { color:var(--down); }
.tile .delta span { font-weight:400; color:var(--muted); }
.tile .note { font-size:12.5px; line-height:1.45; color:var(--muted); margin:8px 0 0; }

/* Section headings */
.block { padding-top:36px; }
h2 { font-size:30px; font-weight:400; letter-spacing:-.04em; line-height:1.16; margin:0; }
.sub { font-size:14px; line-height:1.55; color:var(--muted); margin:8px 0 0; max-width:720px; }

/* Thesis checks */
.checks { list-style:none; margin:18px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:12px; }
.check { scroll-margin-top:16px; display:grid; grid-template-columns:28px 1fr; gap:12px; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px 18px; }
.badge { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font-size:15px; font-weight:700; line-height:1; color:#fff; background:var(--muted); }
.check.good .badge { background:var(--good); }
.check.watch .badge { background:var(--warning); color:#0b0b0b; }
.check.alert .badge { background:var(--critical); }
.check.pending .badge, .check.unknown .badge { background:var(--line); color:var(--ink); }
.stale-note { margin:8px 0 0; font-size:12.5px; line-height:1.45; color:var(--down); }
.stale-note:empty { display:none; }
.card.flows { margin-top:18px; }
.flows-line { margin:0 0 6px; font-size:16px; line-height:1.55; max-width:860px; }
.flows-line strong { font-weight:600; }
.flows-wait { margin:0; font-size:14px; line-height:1.55; color:var(--muted); }
.flows table { max-width:620px; margin-top:8px; }
.flows td:last-child { white-space:normal; }
.check-title { margin:3px 0 0; font-size:15px; }
.check-title strong { font-weight:600; }
.check-why { margin:6px 0 0; font-size:14px; line-height:1.5; }
.check-text { margin:6px 0 0; font-size:13.5px; line-height:1.5; color:var(--muted); }

/* Controls */
.controls { display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; padding-top:36px; }
.control { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.seg { display:inline-flex; border:1px solid var(--line); border-radius:999px; padding:3px; background:var(--card); }
.seg button { border:0; background:none; color:var(--muted); padding:7px 14px; border-radius:999px; cursor:pointer; font-size:13px; }
.seg button:hover { color:var(--ink); }
.seg button[aria-pressed=true] { background:var(--ink); color:var(--paper); }
[data-theme=dark] .seg button[aria-pressed=true] { background:var(--accent); color:#0e1511; }

/* Chart cards */
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:24px 24px 18px; margin-top:16px; }
.card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px 28px; flex-wrap:wrap; }
.legend { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:13px; margin-top:4px; }
.legend .item { display:flex; align-items:center; gap:8px; }
.legend .sw { width:12px; height:12px; border-radius:3px; flex-shrink:0; }
.legend .val { color:var(--muted); }
.sw.s1, .k.s1 { background:var(--series-1); }
.sw.s2, .k.s2 { background:var(--series-2); }
.chart { position:relative; height:300px; margin-top:18px; }
.chart svg { width:100%; height:100%; overflow:visible; }
.chart svg:focus { outline:none; }
.chart svg:focus-visible { outline:2px solid var(--ink); outline-offset:4px; border-radius:4px; }
.empty { height:100%; display:grid; place-items:center; color:var(--muted); font-size:14px; }
.grid { stroke:var(--line); stroke-width:1; shape-rendering:crispEdges; }
.baseline { stroke:var(--baseline); stroke-width:1; shape-rendering:crispEdges; }
.tick { fill:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; }
.line { fill:none; stroke:var(--series-1); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
.area { fill:var(--series-1); opacity:.1; }
.dot { fill:var(--series-1); stroke:var(--card); stroke-width:2; }
.end-label { fill:var(--ink); font-size:12px; font-weight:600; }
.annot line { stroke:var(--muted); stroke-width:1; opacity:.55; shape-rendering:crispEdges; }
.annot text { fill:var(--muted); font-size:11px; }
.cross { stroke:var(--muted); stroke-width:1; shape-rendering:crispEdges; pointer-events:none; }
.b-rev { fill:var(--series-1); }
.b-buy { fill:var(--series-2); }
.group { cursor:default; }
.group .hit { fill:var(--ink); fill-opacity:0; }
.group:hover .hit, .group:focus .hit { fill-opacity:.05; }
.group:focus { outline:none; }
.group:focus-visible .hit { stroke:var(--ink); stroke-width:1; }
.group.partial .bar { opacity:.45; }
h3.minor { font-size:14px; font-weight:600; margin:22px 0 0; letter-spacing:-.005em; }
.fine { font-size:12.5px; line-height:1.55; color:var(--muted); margin:14px 0 0; max-width:820px; }
details { margin-top:12px; font-size:13px; }
summary { cursor:pointer; color:var(--muted); width:max-content; }
summary:hover { color:var(--ink); }
.table-wrap { max-height:340px; overflow:auto; margin-top:10px; border-top:1px solid var(--line); }
table { border-collapse:collapse; width:100%; font-variant-numeric:tabular-nums; }
th, td { padding:7px 12px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap; }
th:first-child, td:first-child, th.text, td.text { text-align:left; }
td.text { white-space:normal; min-width:160px; }
th { font-weight:600; position:sticky; top:0; background:var(--card); }

/* Tooltip */
.tip { position:fixed; z-index:20; pointer-events:none; background:var(--card); border:1px solid var(--line); border-radius:8px; padding:10px 12px; box-shadow:var(--shadow); font-size:12.5px; min-width:170px; }
.tip .t-head { color:var(--muted); margin-bottom:6px; }
.tip .row { display:flex; align-items:center; gap:8px; margin-top:4px; }
.tip .k { width:12px; height:2px; border-radius:1px; flex-shrink:0; }
.tip strong { font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.tip .n { color:var(--muted); }

/* Major sections */
.section { margin-top:56px; padding-top:40px; border-top:1px solid var(--line); }
.section > .sub { margin-bottom:4px; }
.section .tiles { padding-top:20px; }
.section .controls { padding-top:20px; }
.tiles.four { grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); }
.tile .value small { font-size:15px; font-weight:500; color:var(--muted); letter-spacing:0; }
.history-note { height:100%; display:grid; place-items:center; text-align:center; color:var(--muted); font-size:14px; line-height:1.5; padding:0 20px; }
.chart.short { height:220px; }

/* Pool bars */
.b-pool { fill:var(--series-1); }
.bar-value { fill:var(--ink); font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; }
.bar-name { fill:var(--ink); font-size:12px; }
.bar-name tspan { fill:var(--muted); }
td a { text-underline-offset:2px; }

/* Governance */
.props { list-style:none; margin:0; padding:0; }
.prop { display:grid; grid-template-columns:76px 1fr; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); align-items:start; }
.prop:last-child { border-bottom:0; }
.chip { display:inline-block; text-align:center; font-size:11.5px; font-weight:600; letter-spacing:.02em; padding:4px 0; border-radius:999px; border:1px solid var(--line); color:var(--muted); }
.chip.active { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.chip.pending { border-style:dashed; }
.prop a { font-size:15px; line-height:1.4; text-decoration:none; }
.prop a:hover { text-decoration:underline; text-underline-offset:3px; }
.prop .meta { margin:5px 0 0; font-size:13px; color:var(--muted); line-height:1.5; }
.tag { display:inline-block; margin-left:6px; padding:1px 8px; border-radius:999px; font-size:11.5px; background:var(--line); color:var(--ink); }
.tag.council { background:transparent; border:1px solid var(--line); color:var(--muted); }
.card.list { padding-top:8px; padding-bottom:8px; }

@media (max-width:640px) {
  .prop { grid-template-columns:1fr; gap:6px; }
  .chip { width:max-content; padding:3px 10px; }
  .chart.short { height:200px; }
}

@media (max-width:1000px) {
  .wrap { width:calc(100% - 64px); }
  .intro { grid-template-columns:minmax(0, 1fr); grid-template-areas:"title" "headline" "verdict" "lead" "status"; row-gap:16px; }
  .intro-title { margin-bottom:4px; }
}
@media (max-width:640px) {
  .wrap { width:calc(100% - 36px); }
  .site-header { height:84px; }
  .site-header nav { display:none; }
  .theme-toggle { margin-left:auto; }
  .card { padding:18px 14px 14px; }
  .tiles { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
  .tile { padding:14px; min-height:0; }
  .tile .value { font-size:23px; }
  .chart { height:260px; }
  .site-footer { flex-direction:column; align-items:flex-start; }
}
@media (forced-colors:active) {
  .b-rev, .b-buy, .line, .dot, .area { forced-color-adjust:auto; }
}
