/* AfterSlate Status: one stylesheet. The AfterSlate brand kit (guidelines 1.5):
   black ground, one lime, flat color, Cal Sans / Hanken Grotesk / IBM Plex Mono,
   self-hosted. Lime appears in two places only: the logo and "Operational". */

@font-face { font-family: "Cal Sans"; font-weight: 400; font-display: swap; src: url("../fonts/CalSans-latin.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400 600; font-display: swap; src: url("../fonts/HankenGrotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/IBMPlexMono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/IBMPlexMono-500-latin.woff2") format("woff2"); }

:root {
  --lime: #8bc500;
  --bg: #000000;
  --surface: #0d0d0d;
  --border: #2e2e2e;
  --border-strong: #6b6b6b;
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --text-subtle: #8f8f8f;
  --danger: #ff6b5e;
  --warning: #ffb224;
  --gutter: 32px;
  --font-display: "Cal Sans", "Hanken Grotesk", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
@media (max-width: 720px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
main { flex: 1 0 auto; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
::selection { background: var(--lime); color: #000000; }
table { border-collapse: collapse; width: 100%; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-muted); }
.label { font-family: var(--font-mono); font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.small { font-size: 14px; line-height: 1.5; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-family: var(--font-display); font-size: 20px; }
.brand:hover { color: var(--text); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--text-muted); text-decoration: none; }
.back:hover { color: var(--text); }

.head { padding-block: 64px 48px; max-width: 760px; }
.head .display { margin-block: 16px; font-size: 64px; line-height: 1; letter-spacing: -0.015em; }
.lead { font-size: 18px; line-height: 1.55; }

.block { padding-bottom: 48px; max-width: 1000px; }
.block > h2 { font-size: 28px; line-height: 1.15; margin-bottom: 16px; }

.rows { border-top: 1px solid var(--border); }
.rows > li { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.name strong { font-weight: 600; }
.name .muted { font-size: 14px; line-height: 1.5; }
.state { flex: none; display: inline-flex; align-items: center; gap: 4px; padding-top: 3px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.state svg { width: 16px; height: 16px; }
.state-ok { color: var(--lime); }
.state-warn { color: var(--warning); }
.state-bad { color: var(--danger); }
.checked { margin-top: 16px; }

.table-scroll { overflow-x: auto; margin-bottom: 16px; }
.versions { border-top: 1px solid var(--border); }
.versions th, .versions td { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; white-space: nowrap; }
.versions thead th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.versions tbody th { font-weight: 600; }
.versions td { font-family: var(--font-mono); font-size: 14px; }

.notes li { position: relative; padding: 12px 0 12px 24px; border-top: 1px solid var(--border); color: var(--text-muted); }
.notes li:last-child { border-bottom: 1px solid var(--border); }
.notes li::before { content: ""; position: absolute; left: 0; top: 23px; width: 6px; height: 6px; background: var(--text-muted); }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; font-size: 14px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .head { padding-block: 48px 32px; }
  .head .display { font-size: 40px; }
  .block > h2 { font-size: 24px; }
  .rows > li { flex-wrap: wrap; }
  .versions thead { display: none; }
  .versions th, .versions td { white-space: normal; }
}
