@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/font/Manrope_500Medium.ttf); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/font/Manrope_700Bold.ttf); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/font/Manrope_800ExtraBold.ttf); }
:root { --fondo: #f6f2f1; --scheda: #ffffff; --testo: #241414; --tenue: #6b5757; --primario: #8f1113; --tinta: #f8e3e1; --linea: #e8dcdc; --pieno: #241414; --su-pieno: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root { --fondo: #171011; --scheda: #241a1b; --testo: #f5eeee; --tenue: #b9a7a7; --primario: #f2b8b5; --tinta: #4a1b1d; --linea: #443537; --pieno: #f5eeee; --su-pieno: #171011; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--testo); font: 500 17px/1.55 Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
.pagina { max-width: 720px; margin: 0 auto; padding: 20px 16px 72px; }
.testata { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 28px; }
.marchio { display: inline-flex; align-items: center; gap: 10px; color: var(--testo); text-decoration: none; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.lingue { display: flex; flex: 1 1 300px; max-width: 420px; gap: 4px; padding: 4px; background: var(--scheda); border-radius: 999px; }
.lingue a { flex: 1; padding: 8px 10px; border-radius: 999px; color: var(--tenue); text-align: center; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 14px; }
.lingue a:hover { color: var(--testo); }
a { color: var(--primario); font-weight: 700; }
h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 800; margin: 0 0 10px; }
p { margin: 0; }
.tenue { color: var(--tenue); font-size: 15px; }
.nota { margin-top: 10px; }
.scheda { background: var(--scheda); border-radius: 24px; padding: 22px 22px 20px; margin-top: 14px; }
.scheda.in-breve { background: var(--tinta); }
ul { margin: 0; padding: 0; list-style: none; }
li { position: relative; padding-left: 18px; margin: 9px 0; }
li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--primario); }
section { scroll-margin-top: 16px; }
section + section { margin-top: 64px; }
mark { background: #ffe08a; color: #3a2a00; padding: 0 4px; border-radius: 4px; }
.pulsanti { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pulsante { display: inline-block; padding: 13px 22px; border-radius: 999px; background: var(--pieno); color: var(--su-pieno); text-decoration: none; font-weight: 700; }
.pulsante.chiaro { background: var(--fondo); color: var(--testo); }
.inizio { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.inizio .scheda { padding: 32px 26px; }
.inizio .marchio { font-size: 34px; margin-bottom: 18px; }
.inizio p + p { margin-top: 10px; }
/* Una lingua alla volta, dove il browser lo sa fare: altrimenti si vedono tutte, una sotto l'altra */
@supports selector(:has(*)) {
  section { display: none; margin-top: 0 !important; }
  section:target, .pagina:not(:has(section:target)) section:first-of-type { display: block; }
  .pagina:has(#it:target) .lingue a[href="#it"], .pagina:not(:has(section:target)) .lingue a:first-child { background: var(--pieno); color: var(--su-pieno); }
  .pagina:has(#en:target) .lingue a[href="#en"] { background: var(--pieno); color: var(--su-pieno); }
  .pagina:has(#es:target) .lingue a[href="#es"] { background: var(--pieno); color: var(--su-pieno); }
  .pagina:has(#fr:target) .lingue a[href="#fr"] { background: var(--pieno); color: var(--su-pieno); }
}
