/* The change package page only (site/src/change-package/index.html). The package draws
   itself inside .cp-app with its own stylesheet, brought in from the RAISE project; this
   file holds what that stylesheet expects from the page around it. */

/* Three weights the package's design uses that the rest of the site does not. */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/source-serif-4-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-tight-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }

/* The package counts the gutter inside its content column and this site counts it outside.
   Widening the column by one gutter each side lines the package's text up with the header
   and footer at every width. */
.cp-app { --content-max: calc(1340px + 2 * var(--gutter)); }

/* The short message shown when a download starts (site/assets/js/package.js). */
.cp-status {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60;
  max-width: min(92vw, 560px); padding: 12px 18px; border-radius: 6px;
  background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.45;
  box-shadow: 0 8px 24px var(--shadow);
}
.cp-status:empty { display: none; }
.cp-status.is-error { background: var(--p3); }
