:root {
  color-scheme: light;
  --bg: #f8f8f8; --bg-2: #efefef; --tile: #f1f1f1;
  --ink: #222222; --ink-2: #555555; --ink-3: #8a8a8a; --rule: #dcdcdc; --rule-2: #222222;
  --series-1: #2a78d6;
  --good: #0ca30c; --critical: #d03b3b;
  --font: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark;
    --bg: #111111; --bg-2: #1a1a1a; --tile: #1c1c1c;
    --ink: #ededed; --ink-2: #b5b5b5; --ink-3: #7d7d7d; --rule: #2e2e2e; --rule-2: #ededed;
    --series-1: #3987e5; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 48px); }
a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .2s; }
a:hover { border-bottom-color: var(--rule-2); }
strong { font-weight: 500; color: var(--ink); }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }

/* top bar */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 400; }
.brand { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.topbar-mid { color: var(--ink-3); }
.topbar-links a { border: 0; margin-left: 22px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.topbar-links a:hover { color: var(--ink-3); }
@media (max-width: 760px) { .topbar-mid { display: none; } }

/* masthead */
.masthead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: 64px 0 56px; }
h1 { font-size: clamp(3.4rem, 9.6vw, 8.6rem); line-height: .9; text-transform: uppercase; letter-spacing: -.035em; }
.lede { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.3; font-weight: 300; max-width: 30ch; }
.status { margin-top: 24px; color: var(--ink-3); font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .masthead { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 40px; } .lede { max-width: none; } }

/* stat row */
.stats { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.stat { padding: 26px 24px 26px 0; border-left: 1px solid var(--rule); padding-left: 24px; min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.stat .value { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.stat .value.big { font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.04em; line-height: 1; margin: 12px 0 10px; }
.stat .value .cur { font-size: .45em; vertical-align: .6em; margin-right: .06em; color: var(--ink-2); font-weight: 400; }
.stat .sub { font-size: 14px; color: var(--ink-3); font-weight: 400; line-height: 1.4; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 20px 16px 20px 0; padding-left: 16px; border-top: 1px solid var(--rule); }
  .stat:nth-child(-n+2) { border-top: 0; } .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat-hero { grid-column: 1 / -1; border-left: 0; } }

/* mosaic */
.mosaic-sec { padding: 32px 0 0; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.mosaic img { width: 100%; min-width: 0; aspect-ratio: 1; object-fit: contain; background: var(--tile); padding: 10%; opacity: 0; animation: pop .5s ease-out forwards; }
@keyframes pop { to { opacity: 1; } }
@media (max-width: 860px) { .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* sections */
.sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px; padding: 56px 0 64px; border-top: 1px solid var(--rule); margin-top: 56px; }
.mosaic-sec + .sec { margin-top: 40px; }
.sec-label .n, .col .n { display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 18px; }
.sec-label h2, .col h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; margin-bottom: 14px; }
.sec-label p, .col p { color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 34ch; }
.sec-body { min-width: 0; }
@media (max-width: 860px) { .sec { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 44px; margin-top: 32px; } }

/* chart */
figure { margin: 0; }
.chart { position: relative; border-top: 1px solid var(--rule); padding-top: 8px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 12px; font-family: var(--font); font-weight: 400; font-variant-numeric: tabular-nums; }
.chart .area { fill: url(#areaFill); }
.chart .line { fill: none; stroke: var(--series-1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--series-1); stroke: var(--bg); stroke-width: 2; }
.chart .endlabel { fill: var(--ink); font-size: 13px; font-weight: 500; font-family: var(--font); font-variant-numeric: tabular-nums; }
.chart .crosshair { stroke: var(--ink-3); stroke-width: 1; pointer-events: none; }
.chart .hit { fill: transparent; }
.tooltip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); padding: 6px 10px; font-size: 13px; font-weight: 400; white-space: nowrap; transform: translate(-50%, -100%); display: none; font-variant-numeric: tabular-nums; }

/* bars */
.bars { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.bar-row { display: grid; grid-template-columns: 120px 1fr 90px; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 400; }
.bar-track { height: 18px; position: relative; }
.bar { position: absolute; left: 0; top: 0; height: 18px; background: var(--ink); transform-origin: left; animation: grow .8s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; }
.bar-name { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 500; }

/* tables */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-weight: 400; }
caption { text-align: left; padding: 28px 0 10px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
th, td { padding: 13px 14px 13px 0; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
thead th { border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); color: var(--ink-3); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
tbody tr:not(.group):hover td { background: var(--bg-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num:last-child, th.num:last-child { padding-right: 0; }
tr.group td { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); padding-top: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); }
.item { display: flex; align-items: center; gap: 14px; }
.item img { width: 40px; height: 40px; object-fit: contain; background: var(--tile); padding: 3px; flex: none; }
.item .t { display: block; font-weight: 500; border: 0; }
.item .t:hover { color: var(--ink-3); }
.item .note { display: block; color: var(--ink-3); font-size: 13px; }
.chip { display: inline-block; padding: 2px 8px; border: 1px solid var(--rule-2); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.up { color: var(--critical); } .down { color: var(--good); } .flat { color: var(--ink-3); }
.compact td, .compact th { padding-top: 10px; padding-bottom: 10px; }

/* three columns */
.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col p { margin-bottom: 14px; }
.col ul { padding-left: 1em; margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; } .col li { margin-bottom: 10px; }
.links { list-style: none; padding: 0 !important; } .links li { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0 !important; }
.links li:first-child { border-top: 1px solid var(--rule); } .links a { font-weight: 500; color: var(--ink); } .links span { color: var(--ink-3); font-size: 13px; }
.badge { display: inline-block; vertical-align: middle; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 3px 8px; border: 1px solid var(--rule-2); margin-left: 10px; font-weight: 500; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; } }

footer { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0 40px; border-top: 1px solid var(--rule-2); margin-top: 40px; color: var(--ink-3); font-size: 13px; font-weight: 400; }

/* motion */
@media (prefers-reduced-motion: reduce) { .bar, .mosaic img { animation: none; opacity: 1; } html { scroll-behavior: auto; } }

/* coverage row */
.coverage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.cov { padding: 18px 20px 20px 0; border-left: 1px solid var(--rule); padding-left: 20px; min-width: 0; }
.cov:first-child { border-left: 0; padding-left: 0; }
.cov .name { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cov .src { margin-top: 8px; font-size: 13px; color: var(--ink-3); font-weight: 400; line-height: 1.4; }
.tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border: 1px solid var(--rule-2); }
.tag.live { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tag.planned { color: var(--ink-3); border-color: var(--rule); }
@media (max-width: 860px) { .coverage { grid-template-columns: 1fr; } .cov { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .cov:first-child { border-top: 0; } }

/* module headers */
.module-head { padding: 72px 0 28px; margin-top: 56px; border-top: 1px solid var(--rule-2); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px; align-items: end; }
.module-head .n { grid-column: 1 / -1; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); }
.module-head h2 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; text-transform: uppercase; letter-spacing: -.03em; }
.module-meta { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.module-head + .stats { border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .module-head { grid-template-columns: 1fr; gap: 16px; padding: 48px 0 20px; margin-top: 32px; } }

/* planned modules list */
.coming { border-top: 1px solid var(--rule); }
.coming .row { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.6fr) 90px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 15px; }
.coming .row .name { font-weight: 500; font-size: 17px; }
.coming .row .src, .coming .row .note { color: var(--ink-2); font-weight: 400; line-height: 1.45; }
.coming .row .note { color: var(--ink-3); font-size: 14px; }
.coming .row .st { text-align: right; }
@media (max-width: 860px) { .coming .row { grid-template-columns: 1fr; gap: 6px; } .coming .row .st { text-align: left; } }
