/*
 * The site is a plinth (same language as the sibling project this theme is
 * borrowed from). Two thin near-black strips and, between them, a canvas.
 * Nothing in this file may develop a personality. Body typography lives in
 * the Tailwind prose build (src/tailwind/input.css) instead — this file only
 * covers the chrome bar and page shell.
 */

:root {
  --chrome: #0a0a0b;
  --label: #8a8a8f;
  --paper: #ffffff;
  --signal: #ff4d2e;
  --edge: #26262a;
  --f-mast: "Libre Caslon Display", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --bar: 2.75rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--chrome);
}

body {
  margin: 0;
  background: var(--chrome);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.chrome {
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.9rem;
  background: var(--chrome);
  color: var(--paper);
  gap: 1rem;
  white-space: nowrap;
}
.chrome.top {
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 30;
}
.mast {
  font-family: var(--f-mast);
  font-size: 1.3rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.label {
  color: var(--label);
  text-transform: lowercase;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1rem 6rem;
}

.prose-plinth h1 {
  font-family: var(--f-mast);
  font-weight: 400;
}
