/* Elementi comuni ad app e pagine informative */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--testo-corpo);
  font-weight: var(--peso-regular);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: var(--azure); text-underline-offset: 3px; }
a:hover { color: var(--azure-hover); }

:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 6px; }
h1:focus, h1:focus-visible { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--azure);
  font-size: var(--testo-eyebrow);
  font-weight: var(--peso-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}
.titolo-hero {
  font-size: var(--testo-hero);
  font-weight: var(--peso-light);
  letter-spacing: var(--tracking-hero);
  line-height: 1.08;
}
.titolo {
  font-size: var(--testo-titolo);
  font-weight: var(--peso-regular);
  letter-spacing: var(--tracking-titolo);
  line-height: 1.18;
}
.sottotitolo { font-size: 18px; color: var(--testo-terziario); line-height: 1.45; }
.nota { font-size: var(--testo-nota); color: var(--testo-secondario); line-height: 1.5; }

/* Pulsanti a pillola */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; padding: 13px 24px;
  border-radius: var(--raggio-pillola);
  border: 1.5px solid transparent;
  font: var(--peso-regular) 17px/1.2 var(--font);
  letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: var(--transizione-btn);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-primario { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-primario:hover { filter: brightness(0.94); color: var(--navy); }
.btn-secondario { background: transparent; color: var(--white); border-color: var(--bordo-forte); }
.btn-secondario:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); color: var(--white); }
.icona { width: 22px; height: 22px; flex: none; }
.icona-piccola { width: 16px; height: 16px; }

.logo { height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
