@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&display=swap');

/* Cosmogas: tipografia.
   DIREZIONE PREFERITA, applicata al livello attivo di fondazione. Non ancora approvata
   in via definitiva, ma non piu' un segnaposto: Schibsted Grotesk porta la voce di marca
   (H1-H4, corpo, navigazione, bottoni, contenuto editoriale e consumer); Archivo resta
   registro tecnico puro (dati, tabelle, codici, etichette tecniche, grafici).
   La direzione display serif precedente resta rifiutata e rimossa dal sistema attivo.
   Scala display ridotta a un massimo di 64px: la gerarchia si costruisce con scala, peso,
   interlinea, tracking, layout e rapporto con l'immagine, non con titoli oversize.
   Font serviti da Google Fonts: nessun file istituzionale Cosmogas e' disponibile. */
:root{
  --font-sans:'Schibsted Grotesk',system-ui,sans-serif;
  --font-technical:'Archivo',system-ui,sans-serif;
  --font-display:var(--font-sans);
  --font-body:var(--font-sans);
  --font-data:var(--font-technical);

  /* Display: Schibsted Grotesk. Massimo 64px: niente titoli oversize come effetto. */
  --display-xl-size:64px;
  --display-xl-lh:1.02; /* @kind other */
  --display-xl-ls:-0.015em; /* @kind other */
  --display-l-size:52px;
  --display-l-lh:1.06; /* @kind other */
  --display-l-ls:-0.014em; /* @kind other */
  --display-m-size:40px;
  --display-m-lh:1.1; /* @kind other */
  --display-m-ls:-0.012em; /* @kind other */
  --display-s-size:32px;
  --display-s-lh:1.15; /* @kind other */
  --display-s-ls:-0.01em; /* @kind other */
  --display-weight:600;--display-weight-strong:700; /* @kind other */

  /* Heading: Schibsted Grotesk. Titoli di sezione, card, tabelle, interfaccia. */
  --heading-xl-size:32px;--heading-xl-lh:1.16; /* @kind other */
  --heading-l-size:26px; --heading-l-lh:1.2; /* @kind other */
  --heading-m-size:22px; --heading-m-lh:1.25; /* @kind other */
  --heading-s-size:19px; --heading-s-lh:1.3; /* @kind other */
  --heading-weight:600;--heading-ls:-0.008em; /* @kind other */

  /* Corpo: Schibsted Grotesk, peso 400. Minimo 16px per il testo corrente. */
  --body-l-size:18px;--body-l-lh:1.62; /* @kind other */
  --body-m-size:16px;--body-m-lh:1.6; /* @kind other */
  --body-s-size:16px;--body-s-lh:1.55; /* @kind other */
  --body-weight:400;--body-weight-strong:600; /* @kind other */

  /* Etichette: registro tecnico Archivo. Minimo 14px. Uppercase solo per codici e metadati,
     non come voce universale del sistema. */
  --label-l-size:16px;--label-m-size:15px;--label-s-size:14px; /* @kind other */
  --label-weight:600;--label-ls:0.04em;--label-transform:none; /* @kind other */

  /* Dati: Archivo, cifre tabellari, larghezza leggermente ristretta funzionale. */
  --data-xl-size:44px;--data-l-size:28px;--data-m-size:20px;--data-s-size:16px;
  --data-weight:600; /* @kind other */
  --data-width:96; /* @kind other */
  --data-ls:-0.005em; /* @kind other */

  /* Codici prodotto e matricole: Archivo, tracking neutro, non decorativo. */
  --code-size:16px;
  --code-weight:550; /* @kind other */
  --code-width:100; /* @kind other */
  --code-ls:0.01em; /* @kind other */

  --measure-reading:68ch;--measure-intro:52ch; /* @kind other */
}
/* Classi di supporto: l'unico CSS non-token del sistema, perché font-variation-settings
   e font-variant-numeric non sono esprimibili come singolo valore di token. */
.cg-display{font-family:var(--font-display);font-weight:var(--display-weight);font-optical-sizing:auto}
.cg-data{font-family:var(--font-data);font-variation-settings:'wdth' 96;font-weight:var(--data-weight);font-variant-numeric:tabular-nums;letter-spacing:var(--data-ls)}
.cg-code{font-family:var(--font-technical);font-variation-settings:'wdth' 100;font-weight:var(--code-weight);font-variant-numeric:tabular-nums;letter-spacing:var(--code-ls)}
.cg-label{font-family:var(--font-technical);font-weight:var(--label-weight);letter-spacing:var(--label-ls)}
.cg-tabular{font-variant-numeric:tabular-nums}
