@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/ibm-plex-mono-latin-600-normal.woff2) format('woff2');
}

:root {
  --surface-0: #0c0d0f;
  --page: #0f1012;
  --panel: #111214;
  --input: #131417;
  --hover: #15171a;
  --active: #17191c;

  --border-row: #1a1c20;
  --border-chrome: #1c1e22;
  --border-panel: #22242a;
  --border-control: #2b2d33;
  --border-focus: #33353a;

  --text-1: #eceded;
  --text-2: #d5d6d8;
  --text-3: #b4b6ba;
  --text-4: #9a9ca1;
  --text-5: #8b8d92;
  --text-6: #6d6f74;
  --text-7: #5d5f64;
  --text-8: #4e5055;

  --operational: #3fbf6f;
  --degraded: #e0a13a;
  --failing: #c2503f;
  --idle: #2b2d33;

  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --radius-bar: 2px;
  --radius-control: 4px;
  --radius-panel: 6px;
  --shadow-panel: 0 40px 90px -50px #000;

  --transition: 150ms cubic-bezier(.2, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text-2);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--text-1); }

a { color: var(--text-3); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-1); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; }
.features, .faq, .cta, .footer { border-top: 1px solid var(--border-chrome); }

.btn, .btn:hover {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: var(--text-1);
  color: var(--page);
  border-radius: var(--radius-control);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.btn-sm, .btn-sm:hover { height: auto; padding: 8px 14px; font-size: 12.5px; }

/* Status colours are classes, never style attributes: the CSP (default-src 'self') blocks inline styles. */
.s-ok { background: var(--operational); }
.s-warn { background: var(--degraded); }
.s-fail { background: var(--failing); }
.s-idle { background: var(--idle); }
.s-muted { background: var(--text-7); }

.dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; }

.bars { display: flex; gap: 2px; height: 18px; min-width: 0; overflow: hidden; }
.bars > span { flex: 1 1 0; min-width: 2px; border-radius: var(--radius-bar); }
.bars-lg { height: 36px; }

/* Header */
.header { padding: 22px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { display: block; border-radius: var(--radius-control); }
.wordmark { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--text-1); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }

/* Hero */
.hero {
  padding: 80px 32px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--text-6); }
h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 500;
  color: var(--text-1);
  max-width: 900px;
  text-wrap: balance;
}
.lede { font-size: 16px; line-height: 1.6; color: var(--text-5); max-width: 560px; text-wrap: pretty; }
.access { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.chip {
  padding: 2px 6px;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-bar);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--text-5);
}
.note { font-family: var(--mono); font-size: 11px; color: var(--text-7); }

.panel {
  width: 100%;
  margin-top: 40px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-chrome);
}
.health {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--operational);
  box-shadow: 0 0 12px #3fbf6f73;
  animation: pulse 2.6s ease-in-out infinite;
}
.health-line { font-size: 14px; font-weight: 500; color: var(--text-1); }
.census { font-family: var(--mono); font-size: 10.5px; color: var(--text-7); }
.panel-meta { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--text-8); }

.row {
  display: grid;
  grid-template-columns: 14px minmax(0, 180px) minmax(0, 1fr) 60px 60px;
  gap: 14px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-row);
}
.host {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms, .up { text-align: right; font-family: var(--mono); font-size: 11px; }
.ms { color: var(--text-6); }
.up { color: var(--text-5); }

.event {
  display: flex;
  gap: 14px;
  padding: 11px 18px;
  background: var(--page);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
}
.event-time { color: var(--text-8); }
.event-msg { color: var(--text-4); overflow: hidden; text-overflow: ellipsis; }

/* Features */
.features { padding: 72px 32px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-meta { font-family: var(--mono); font-size: 11px; color: var(--text-7); }
.feat-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }

.tablist { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--border-panel); }
.tab {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-row);
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  transition: background-color var(--transition);
}
.tab:hover { background: var(--hover); }
.tab[aria-current="true"] { background: var(--active); }
.tab-n { font-family: var(--mono); font-size: 10.5px; color: var(--text-8); }
.tab-title { flex: 1; font-size: 15px; color: var(--text-4); transition: color var(--transition); }
.tab[aria-current="true"] .tab-title { color: var(--text-1); }
.tab-meta { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--text-8); }

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--text-5);
  transform-origin: left;
  animation: tabfill 5s linear forwards;
}
.tablist:hover .progress,
.feat-body:has(.detail:hover) .progress { animation-play-state: paused; }

.detail {
  flex: 2 1 420px;
  min-width: 0;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--border-panel);
  border-radius: var(--radius-panel);
}
.feat { display: flex; flex-direction: column; gap: 24px; }
.feat-text { display: flex; flex-direction: column; gap: 10px; }
.feat-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--text-8); }
h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--text-1); }
.feat p { font-size: 15px; line-height: 1.6; color: var(--text-5); max-width: 560px; text-wrap: pretty; }

.spec { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border-row); }
.spec li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-row);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
}
.spec li > span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* FAQ */
.faq { padding: 72px 32px; display: flex; flex-wrap: wrap; gap: 40px; }
.faq-intro { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.faq-intro p { font-size: 14px; line-height: 1.6; color: var(--text-6); max-width: 300px; }
.faq-intro a { font-family: var(--mono); font-size: 12.5px; }
.faq-list { flex: 2 1 460px; min-width: 0; border-top: 1px solid var(--border-panel); }
.faq-item { border-bottom: 1px solid var(--border-row); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-3);
  transition: color var(--transition);
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--text-1); }
.faq-q > span:first-child { flex: 1; }
.sign { font-family: var(--mono); font-size: 13px; color: var(--text-7); }
.sign::after { content: "+"; }
.faq-q[aria-expanded="true"] .sign::after { content: "\2212"; }
.faq-a { padding: 0 40px 20px 0; font-size: 14.5px; line-height: 1.65; color: var(--text-5); text-wrap: pretty; }

/* Closed-beta CTA */
.cta {
  padding: 72px 32px 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.cta-text { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.cta-text p { font-size: 14.5px; line-height: 1.6; color: var(--text-5); }

/* Footer */
.footer {
  padding: 22px 32px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-7);
}
.footer .wordmark { font-size: inherit; color: var(--text-5); }
.footer-status { margin-left: auto; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 480px) {
  .header, .nav { gap: 16px; }
  .header { padding: 22px 20px; flex-wrap: nowrap; }
  .nav, .panel-meta, .row .ms { display: none; }
  .header .btn { margin-left: auto; }
  .hero { padding: 48px 20px 56px; }
  .panel { margin-top: 32px; }
  .census span { white-space: nowrap; }
  .features, .faq, .cta { padding: 48px 20px; }
  .footer { padding: 22px 20px 32px; row-gap: 8px; }
  .footer-status { margin-left: 0; flex-basis: 100%; }
  .row { grid-template-columns: 6px minmax(0, 124px) minmax(0, 1fr) 52px; gap: 10px; }
  .row .host { font-size: 11px; }
  .row .bars { gap: 1px; }
  .row .bars > span { min-width: 1px; }
  .row .bars > span:nth-child(-n+30) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .health { animation: none; }
  /* A hidden line never fires animationend, so this also stops feature auto-advance. */
  .progress { display: none; }
}
