:root {
  color-scheme: dark;
  --ink: #e7e8e4;
  --muted: #9ca39d;
  --line: #30352f;
  --panel: #151815;
  --ground: #0c0e0c;
  --signal: #d5ff5f;
  --warm: #f0bd6a;
  font-family: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(213, 255, 95, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--ground);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.brand::before { content: "KF/"; color: var(--signal); }
.brand span { display: none; }

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--signal); }

main { padding: 76px 0 88px; }

.eyebrow {
  color: var(--signal);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 20px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 68px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  min-width: 0;
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(21, 24, 21, 0.72);
}

.metric small { color: var(--muted); text-transform: uppercase; }
.metric strong { display: block; margin-top: 34px; font-size: 25px; font-weight: 500; overflow-wrap: anywhere; }
.metric .live { color: var(--signal); }

.section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 { margin: 0; color: var(--warm); font-size: 14px; text-transform: uppercase; }
.section p, .section li { color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.75; }
.section p:first-child { margin-top: 0; }

.document { max-width: 820px; }
.document h1 { font-size: clamp(42px, 6vw, 72px); }
.document h2 { margin-top: 48px; color: var(--warm); font-size: 18px; }
.document p, .document li { color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.75; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  nav { gap: 16px; flex-wrap: wrap; }
  main { padding-top: 52px; }
  .status-grid { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .section { grid-template-columns: 1fr; gap: 16px; }
  footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .status-grid { grid-template-columns: 1fr; }
  h1 { font-size: 44px; line-height: 0.98; overflow-wrap: anywhere; }
}
