/* Design token Italia Shore 4 — vesta "Neon V2 / energico" (vedi sample/). */
:root {
  /* Palette (dal mock approvato: notte profonda + neon rosa/arancio + teal) */
  --is-night: #0c0815; /* fondo pagina */
  --is-night-2: #120d1d; /* superficie card */
  --is-night-3: #1a1230; /* superficie rialzata / hover */
  --is-ink: #16092a; /* testo scuro su fondi accesi */
  --is-pink: #ff2e7e;
  --is-pink-text: #ff5e9d; /* per testi piccoli su dark: contrasto AA (§4.5) */
  --is-cyan: #3ee6d2; /* teal neon, accento secondario */
  --is-orange: #ff7a3a;
  --is-yellow: #ffd23f;
  --is-white: #ffffff;
  --is-paper: #f4f0fa; /* testo principale su dark */
  --is-grey: #a79fc2;
  --is-light: #f6f4fb; /* base chiara backoffice */

  /* Gradiente firma (98° rosa → arancio, come da mock) */
  --is-gradient: linear-gradient(98deg, var(--is-pink) 10%, var(--is-orange) 90%);
  --glow-pink: 0 8px 30px rgb(255 46 126 / 0.45);

  /* Tipografia */
  --font-display: "Anton", "Arial Narrow", "Impact", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Geometria */
  --radius-card: 16px;
  --radius-pill: 999px;
  --touch-target: 48px;

  /* Transizioni */
  --transition-fast: 150ms ease;

  /* Spaziatura */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;

  /* Semantica (tema scuro, area pubblica) */
  --bg: var(--is-night);
  --surface: var(--is-night-2);
  --surface-2: var(--is-night-3);
  --border: rgb(244 240 250 / 0.12);
  --text: var(--is-paper);
  --text-muted: var(--is-grey);
  --accent: var(--is-pink);
  --accent-2: var(--is-cyan);
  --focus-ring: var(--is-cyan);
  --error: #ff5a5a;
  --success: #3ddc97;
}

/* Tema chiaro per il backoffice (§4.1) */
.theme-light {
  --bg: var(--is-light);
  --surface: var(--is-white);
  --surface-2: #efecf8;
  --border: #e6e1f2;
  --text: #1c1430;
  --text-muted: #6a6390;
  --accent-2: #0a7d71; /* teal scurito: contrasto AA dei link su fondo chiaro */
  --focus-ring: #7a3aff;
  --error: #d8323c;
  --success: #1d9e6f;
}
