/* Vettore — generated from tokens.json */

:root, [data-theme="dark"] {
  --bg-000: #08090a;
  --bg-100: #0f1011;
  --bg-200: #16171a;
  --bg-300: #1e1f23;
  --bg-400: #26272c;
  --border-100: #1f2024;
  --border-200: #2c2d32;
  --border-300: #6b6e78;
  --text-100: #f7f8f8;
  --text-200: #c9ced6;
  --text-300: #8d929b;
  --text-400: #5c6069;
  --accent: #5e62e6;
  --accent-hover: #5054d6;
  --on-accent: #ffffff;
  --accent-text: #a4a7fb;
  --accent-tint: #1d1e3a;
  --focus: #a4a7fb;
  --success: #4cc38a;
  --warning: #f2c94c;
  --danger: #ff7a6b;
  --danger-fill: #d63a28;
  --info: #5eb0ef;
  --label-1: #e5484d;
  --label-2: #f5a524;
  --label-3: #30a46c;
  --label-4: #3e9fe0;
  --label-5: #b065f0;
  --scrim: rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
  --bg-000: #f7f8f8;
  --bg-100: #ffffff;
  --bg-200: #fbfbfc;
  --bg-300: #f1f2f4;
  --bg-400: #e7e8eb;
  --border-100: #ebecef;
  --border-200: #dcdee2;
  --border-300: #8a8e98;
  --text-100: #0f1011;
  --text-200: #3a3d44;
  --text-300: #5f636b;
  --text-400: #9a9ea6;
  --accent: #5458dc;
  --accent-hover: #4347c9;
  --on-accent: #ffffff;
  --accent-text: #4448c8;
  --accent-tint: #eeeffd;
  --focus: #4448c8;
  --success: #1d7f52;
  --warning: #8a6100;
  --danger: #c8321f;
  --danger-fill: #c8321f;
  --info: #1f6fb5;
  --label-1: #d13438;
  --label-2: #d98c0f;
  --label-3: #2b9a62;
  --label-4: #2b85c6;
  --label-5: #9447d6;
  --scrim: rgba(15, 16, 17, 0.32);
  --shadow-sm: 0 1px 2px rgba(15, 16, 17, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 16, 17, 0.08), 0 0 0 1px rgba(15, 16, 17, 0.04);
  --shadow-lg: 0 16px 48px rgba(15, 16, 17, 0.14), 0 0 0 1px rgba(15, 16, 17, 0.05);
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 64px;
  --space-8: 128px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --z-sticky: 10;
  --z-popover: 100;
  --z-dialog: 200;
  --z-toast: 300;
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.display { font-family: var(--font-sans); font-size: 64px; line-height: 64px; font-weight: 600; letter-spacing: -0.035em; }

.title-1 { font-family: var(--font-sans); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.025em; }

.title-2 { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.015em; }

.title-3 { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }

.body-lg { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }

.body { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 450; }

.body-strong { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 550; }

.small { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 450; }

.micro { font-family: var(--font-sans); font-size: 11px; line-height: 14px; font-weight: 550; letter-spacing: 0.02em; }

.mono { font-family: var(--font-mono); font-size: 12px; line-height: 18px; font-weight: 400; }

/* ===== Vettore Aurora (aggiunta del 25/10/2026): aurora, vetro, marchio. I nomi di prima restano validi; qui si aggiungono i nuovi e si ritoccano alcuni valori. ===== */
:root, [data-theme="dark"] {
  --accent-hover: #6c70ef;
  --focus: #5e62e6;
  --danger-solid: #d63a28;
  --success-tint: rgba(76, 195, 138, .12); --warning-tint: rgba(242, 201, 76, .12); --danger-tint: rgba(255, 122, 107, .12); --info-tint: rgba(94, 176, 239, .12);
  /* marchio */
  --brand-bot: #e8562f; --brand-bot-text: #ff6b45; --brand-cream: #f5f3ee; --brand-ink: #141414; --school-blue: #2470b3;
  /* aurora e vetro */
  --aurora-1: #5e62e6; --aurora-2: #e8542f; --aurora-3: #2470b3; --aurora-strength: .35;
  --glass: rgba(22, 23, 26, .86); --glass-border: var(--border-200); --glass-accent: rgba(29, 30, 58, .88); --glass-accent-border: var(--accent);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .45); --shadow-lg: 0 24px 64px rgba(0, 0, 0, .55);
  /* alias con i nomi del prompt */
  --r-xs: 4px; --r-ctl: 6px; --r-menu: 8px; --r-card: 12px; --r-hero: 16px; --r-xl: 24px; --r-pill: 9999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-16: 64px; --s-32: 128px;
  --t-fast: 120ms; --t-menu: 180ms; --t-dialog: 240ms; --t-view: 340ms;
  --ease: cubic-bezier(.25, .46, .45, .94); --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}
[data-theme="light"] {
  --accent: #5458dc; --accent-hover: #4448c8; --accent-text: #4448c8; --accent-tint: #eeeffd; --focus: #5458dc;
  --brand-bot-text: #d9461f;
  --aurora-1: #5458dc; --aurora-strength: .3;
  --glass: rgba(255, 255, 255, .9); --glass-accent: rgba(238, 239, 253, .92);
  --shadow-md: 0 8px 24px rgba(15, 16, 17, .10); --shadow-lg: 0 24px 64px rgba(15, 16, 17, .14);
}
