/* ============================================================
   S.C.O.P.E. — BASE / RESET + element defaults
   Dark-first. Sets the void background, body type, link &
   selection styling, and a few primitive helpers.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: var(--lh-heading);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-standard);
}
a:hover { color: var(--link-hover); text-decoration: underline; text-decoration-color: var(--link-underline); }

code, kbd, samp { font-family: var(--font-mono); font-size: 0.9em; }

::selection { background: var(--gold-glow); color: var(--ink-0); }

:focus-visible {
  outline: var(--border-width-2) solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

hr { border: 0; height: 1px; background: var(--line); margin: var(--space-6) 0; }

/* The institute's signature eyebrow label */
.scope-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* Inline mathematical / scope notation */
.scope-math {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
  color: var(--notation);
}
