/* IBM Plex Mono — self-hosted, four weights, latin subset.
   Source: @fontsource/ibm-plex-mono (jsDelivr); SIL Open Font License 1.1.
   font-display: swap renders fallback immediately, no FOIT. */
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("/static/fonts/IBMPlexMono-Regular.79936b18df9f.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("/static/fonts/IBMPlexMono-Medium.b1c8a895f5fd.woff2") format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("/static/fonts/IBMPlexMono-SemiBold.5a2ce7798732.woff2") format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url("/static/fonts/IBMPlexMono-Bold.59952787cc62.woff2") format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset, body, links, app shell — spec §5, §6.1, §7.13. */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Main content shell — §6.1 */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
  padding: var(--sp-8) var(--sp-8);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
}

/* Page header — §7.13 */
.main-content .page-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
  line-height: 1.15;
}

.main-content .page-caption {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: var(--sp-6);
}
