/* Base grafica comune: font locali (funzionano senza internet) e colori.
   Font: Inter e Space Grotesk, licenza SIL Open Font License 1.1 (vedi font/LICENZE.txt). */
@font-face {
  font-family: "Inter";
  src: url("font/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("font/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-testo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-titoli: "Space Grotesk", "Inter", system-ui, sans-serif;

  --sfondo: #f6f3ee;
  --superficie: #ffffff;
  --superficie-2: #f0ece5;
  --bordo: #e4ded4;
  --bordo-forte: #cbc3b6;
  --testo: #17150f;
  --testo-2: #6d675d;
  --testo-3: #9a9388;
  --inchiostro: #17150f;

  --verde: #14784a;
  --verde-chiaro: #e2f2e9;
  --arancio: #c25a00;
  --arancio-chiaro: #fdeedc;
  --rosso: #c0262d;
  --rosso-chiaro: #fbe6e6;
  --blu: #1f4fd1;
  --giallo-chiaro: #fff5d6;
  --giallo-testo: #7a5200;

  --raggio: 14px;
  --raggio-piccolo: 10px;
  --ombra: 0 1px 2px rgba(23, 21, 15, .05), 0 4px 14px rgba(23, 21, 15, .06);
  --ombra-forte: 0 10px 40px rgba(23, 21, 15, .18);
}

[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--sfondo); color: var(--testo); font-family: var(--font-testo); -webkit-font-smoothing: antialiased; }
button, input, select { font-family: inherit; }
.mono { font-family: var(--font-titoli); letter-spacing: .01em; }
