/*
 * AuraOne official brand typography — registered runtime faces.
 *
 * Governance:
 * - /fonts holds ONLY the approved binaries recorded in
 *   docs/product/design/makeover/font-provenance.json; this stylesheet lives
 *   in /styles so the provenance gate keeps scanning a pure binary set.
 * - Every declared face maps ONE static file to its GENUINE weight (owner
 *   typography rule: no static file assigned to weights it does not carry).
 *   Weights marketing does not render as a distinct cut are not declared;
 *   CSS font matching resolves them to the nearest genuine face — Whitney
 *   500/700 -> Book/Semibold and Aeonik 400/900 -> Medium/Bold — preserving
 *   the rendered result of the former synthetic duplicates honestly.
 * - "Whitney Numeric" uses the GENUINE Hoefler & Frere-Jones numeric cuts
 *   (tabular figures) instead of ordinary Whitney renamed via unicode-range.
 *   The digits-only unicode-range is retained deliberately: mixed labels
 *   keep rendering in the UI face, and the numeric faces are fetched only
 *   where digits actually render in the numeric role.
 * - IBM Plex Mono is intentionally NOT registered for the public website
 *   payload; marketing mono resolves through the system stack below, while
 *   the platform app registers the genuine face. Aeonik Regular/Black and
 *   Whitney Medium/Bold stay uncommitted-to-CSS for the same payload reason.
 * - Payload budget: tools/makeover/budgets.json fonts.marketingInitialMaxBytes.
 *   Declared set = 126,424 bytes (genuine numeric faces added per the owner's
 *   real-assets rule; see docs/product/design/proofline-compact/decisions-log.md).
 */

@font-face {
  font-family: "Aeonik";
  src: url("../fonts/Aeonik-Medium-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Aeonik";
  src: url("../fonts/Aeonik-Bold-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Whitney";
  src: url("../fonts/Whitney-Book-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Whitney";
  src: url("../fonts/Whitney-Semibold-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Whitney Numeric";
  src: url("../fonts/WhitneyNumeric-Book-latin.woff2") format("woff2");
  unicode-range: U+0030-0039;
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Whitney Numeric";
  src: url("../fonts/WhitneyNumeric-Semibold-latin.woff2") format("woff2");
  unicode-range: U+0030-0039;
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --pl-official-font-display:
    "Aeonik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --pl-official-font-ui:
    "Whitney", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --pl-official-font-numeric:
    "Whitney Numeric", "Whitney", system-ui, -apple-system, "Segoe UI", Arial,
    sans-serif;
  --pl-official-font-mono:
    ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}
