/* Base / reset — quiet, ink-on-paper. See §0, §2, §8, §10. */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--app-backdrop);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

/* Numeric data aligns in columns (§2). */
.tnum { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Custom scrollbar matching the reference build. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: #D7D7D3;
  border-radius: 6px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Visible focus on every interactive element (§10). Never removed without a replacement. */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Motion is restrained and fast (§8). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Type scale helpers (§2). */
.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.t-display { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; }
.t-title   { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.t-meta    { font-size: 12.5px; color: var(--faint); }

.signal-text { color: var(--signal); }
