:root {
  color-scheme: light;
  /* Legacy names, aliased onto the PF Global tokens (pf-tokens.css, linked first). */
  --surface: var(--pf-color-surface-default);
  --surface-muted: var(--pf-color-surface-warm);          /* Insight orange */   /* copper dark, for small text that must stay legible */
  --text-primary: var(--pf-color-text-primary);
  --text-muted: var(--pf-color-text-secondary);
  --border: var(--pf-color-border-soft);
}

@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/beausiteclassicweb-clear.woff2") format("woff2"); /* Clear is 350 internally; declared 400 as in the MRP */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/beausiteclassicweb-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beausite Classic";
  src: url("../fonts/beausiteclassicweb-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--pf-font-stack);
  background: var(--surface);
  color: var(--text-primary);
  min-height: 100vh;
  /* Grayscale smoothing, as in the MRP: macOS subpixel rendering sets Beausite noticeably heavier. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* One visible focus treatment for every interactive element: a 2px Deep Teal ring (MRP global.css).
   The sunburst arcs and bubbles keep their own (a lift, a stroke): a box ring round a wedge misleads. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: var(--pf-border-width-focus) solid var(--pf-color-border-focus);
  outline-offset: var(--pf-focus-offset);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
