/* ------------------------------------------------------------------
   SDAT design tokens
   Generato da sdat-design-system.json (meta.generatedAt 2026-09-30).
   NON modificare a mano: rigenerare dal design system.
   Unica correzione applicata rispetto all'export: --focus-ring,
   che nell'export conteneva i riferimenti non risolti {brand-700}
   e {brand-500}, sostituiti qui con i valori esatti dei token.
   Caricare DOPO il link a Google Fonts (Hanken Grotesk 400/500/600).
   ------------------------------------------------------------------ */

:root, [data-theme="light"] {
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-sunken: #eef2f3;
  --surface-inverse: #141d21;
  --border: #dde4e6;
  --border-strong: #c3cdd0;
  --ink: #141d21;
  --ink-muted: #3e5a67;
  --ink-faint: #7f9099;
  --ink-on-inverse: #f2f5f6;
  --ink-muted-on-inverse: #9aa7ac;
  --brand-200: #abd4e2;
  --brand-300: #94c9d2;
  --brand-400: #75b9cb;
  --brand-500: #57aac5;
  --brand-700: #2f7287;
  --on-brand: #141d21;
  --focus-ring: #2f7287;
  --success: #2f6b4d;
  --success-fill: #dcf0e5;
  --danger: #a1432f;
  --danger-fill: #f7e3de;
  --shadow-sm: 0 1px 2px rgba(20, 29, 33, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 29, 33, 0.12);
}

[data-theme="dark"] {
  --surface: #141d21;
  --surface-raised: #1f2d34;
  --surface-sunken: #202e34;
  --surface-inverse: #141d21;
  --border: #2b3e47;
  --border-strong: #3a4a53;
  --ink: #f2f5f6;
  --ink-muted: #9aa7ac;
  --ink-faint: #5c6b71;
  --ink-on-inverse: #f2f5f6;
  --ink-muted-on-inverse: #9aa7ac;
  --brand-200: #abd4e2;
  --brand-300: #94c9d2;
  --brand-400: #75b9cb;
  --brand-500: #57aac5;
  --brand-700: #2f7287;
  --on-brand: #141d21;
  --focus-ring: #57aac5;
  --success: #7fc7a3;
  --success-fill: #1c2f27;
  --danger: #e08a71;
  --danger-fill: #301f1c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
}

:root {
  --font-sans: 'Hanken Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  --space-160: 160px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 999px;
}

/* Display — For the dark editorial section and any full-bleed statement. Sentence case; reserve uppercase for label styles only. */
.display-xl {
  font-family: var(--font-sans);
  font-size: 88px;
  line-height: 92px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.display-l {
  font-family: var(--font-sans);
  font-size: 64px;
  line-height: 70px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.headline {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Text — One family throughout, four weights of emphasis. */
.title {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
}
.subtitle {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 29px;
  font-weight: 400;
}
.body-lg {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

/* Label — Set in uppercase via CSS text-transform — never type the capitals into the copy itself. */
.label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
