:root {
  --bg-deep: #07080c;
  --bg-elevated: #0e1017;
  --bg-card: rgba(18, 21, 32, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eaf2;
  --muted: #9aa3b5;
  --faint: #5c6578;
  --accent: #7c5cff;
  --accent-2: #3dd6f5;
  --accent-glow: rgba(124, 92, 255, 0.45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.faq__a code {
  font-family: ui-monospace, monospace;
  font-size: 0.88em;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > *:not(.noise):not(.menu-drawer):not(.site-header-bar) {
  position: relative;
  z-index: 1;
}

/* Due sfere: blur LEGGERO (costa poco), traiettorie libere (non cerchio), movimento veloce */
@keyframes sphere-drift-a {
  0% {
    transform: translate3d(-16vmin, -20vmin, 0);
  }
  24% {
    transform: translate3d(10vmin, -24vmin, 0);
  }
  50% {
    transform: translate3d(20vmin, 2vmin, 0);
  }
  76% {
    transform: translate3d(-6vmin, 18vmin, 0);
  }
  100% {
    transform: translate3d(-16vmin, -20vmin, 0);
  }
}

@keyframes sphere-drift-b {
  0% {
    transform: translate3d(16vmin, 18vmin, 0);
  }
  22% {
    transform: translate3d(-12vmin, 8vmin, 0);
  }
  48% {
    transform: translate3d(-22vmin, -14vmin, 0);
  }
  74% {
    transform: translate3d(8vmin, -20vmin, 0);
  }
  100% {
    transform: translate3d(16vmin, 18vmin, 0);
  }
}

body::before {
  content: "";
  position: fixed;
  left: 14%;
  top: 26%;
  width: min(320px, 44vmin);
  height: min(320px, 44vmin);
  margin: calc(min(320px, 44vmin) * -0.5) 0 0 calc(min(320px, 44vmin) * -0.5);
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(235, 230, 255, 0.42) 0%,
    rgba(150, 130, 255, 0.24) 22%,
    rgba(124, 92, 255, 0.12) 45%,
    rgba(124, 92, 255, 0.04) 65%,
    transparent 80%
  );
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  animation: sphere-drift-a 7.5s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
}

body::after {
  content: "";
  position: fixed;
  left: 86%;
  top: 74%;
  width: min(300px, 40vmin);
  height: min(300px, 40vmin);
  margin: calc(min(300px, 40vmin) * -0.5) 0 0 calc(min(300px, 40vmin) * -0.5);
  border-radius: 50%;
  background: radial-gradient(
    circle at 45% 45%,
    rgba(215, 252, 255, 0.38) 0%,
    rgba(90, 200, 230, 0.2) 24%,
    rgba(61, 214, 245, 0.1) 46%,
    rgba(61, 214, 245, 0.035) 66%,
    transparent 82%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  animation: sphere-drift-b 8.5s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
  animation-delay: -3.2s;
}

@media (max-width: 540px) {
  body::before {
    left: 20%;
    top: 28%;
  }

  body::after {
    left: 80%;
    top: 72%;
  }
}

.site-header-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-bar.is-scrolled {
  border-bottom-color: var(--border);
}

body.menu-open .site-header-bar {
  z-index: 200;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  min-height: var(--header-h);
  box-sizing: border-box;
}

.header-start {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hamburger {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s ease;
}

.hamburger:hover {
  transform: scale(1.08);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.hamburger:active {
  transform: scale(1.12);
}

.hamburger:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.hamburger__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease, width 0.28s ease;
}

.hamburger.is-open {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.15),
    0 8px 28px rgba(124, 92, 255, 0.18);
}

.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
  width: 0;
}

.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .hamburger__bar {
    transition-duration: 0.01ms;
  }
}

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}

.menu-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.menu-drawer__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(4, 5, 8, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.menu-drawer.is-open .menu-drawer__backdrop {
  opacity: 1;
}

.menu-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(400px, 100%);
  max-width: 100%;
  padding: calc(var(--header-h) + 1.25rem) 1.5rem 2rem;
  border-right: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    rgba(22, 24, 36, 0.97) 0%,
    rgba(10, 11, 16, 0.98) 55%
  );
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateX(0);
}

.menu-drawer__title {
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.menu-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-drawer__item + .menu-drawer__item {
  border-top: 1px solid var(--border);
}

.menu-drawer__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
  transition-delay: calc(0.04s + var(--i, 0) * 0.055s);
}

.menu-drawer.is-open .menu-drawer__link {
  opacity: 1;
  transform: translateX(0);
}

.menu-drawer:not(.is-open) .menu-drawer__link {
  transition-delay: 0s;
}

.menu-drawer__link:hover {
  color: var(--accent-2);
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .menu-drawer__backdrop,
  .menu-drawer__panel,
  .menu-drawer__link {
    transition-duration: 0.01ms;
  }

  .menu-drawer {
    transition: none;
  }

  .menu-drawer:not(.is-open) .menu-drawer__link {
    opacity: 0;
  }

  .menu-drawer.is-open .menu-drawer__link {
    opacity: 1;
    transform: none;
  }
}

.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.nav__btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav__btn:hover {
  color: var(--text);
  transform: scale(1.06);
}

.nav__btn:active {
  transform: scale(1.1);
}

.nav__btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    max-width: min(720px, calc(100vw - 14rem));
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: scale(1.07);
}

.btn:active {
  transform: scale(1.1);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--primary {
  color: #0a0b10;
  background: linear-gradient(135deg, #c4b5ff 0%, #7c5cff 45%, #5ae8ff 120%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 16px 48px rgba(124, 92, 255, 0.55);
}

.btn--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem 3rem;
  text-align: center;
}

@keyframes eyebrow-soft {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.9;
    filter: brightness(1.15);
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  animation: eyebrow-soft 4.5s ease-in-out infinite;
}

@keyframes hero-title-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 10vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  /* Tanti colori chiari (luminosi) così resta leggibile sul fondo scuro */
  background: linear-gradient(
    100deg,
    #ffffff 0%,
    #e0e7ff 10%,
    #c4b5fd 20%,
    #a5f3fc 32%,
    #fef3c7 44%,
    #ffffff 52%,
    #fbcfe8 64%,
    #99f6e4 76%,
    #ddd6fe 88%,
    #ffffff 100%
  );
  background-size: 320% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-title-shift 14s ease-in-out infinite;
  /* Contrasto sullo sfondo variabile (orb, rumore) */
  text-shadow:
    0 0 42px rgba(7, 8, 12, 0.92),
    0 0 20px rgba(7, 8, 12, 0.65),
    0 2px 0 rgba(7, 8, 12, 0.35);
}

.hero__lead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero__meta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@keyframes pill-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.pill {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  animation: pill-float 5s ease-in-out infinite;
}

.hero__meta .pill:nth-child(2) {
  animation-delay: 0.25s;
}

.hero__meta .pill:nth-child(3) {
  animation-delay: 0.5s;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.section--tight {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head {
  margin-bottom: 2rem;
  text-align: center;
}

.section__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid--2 {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-2px);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.stat {
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(18, 21, 32, 0.9) 0%,
    rgba(10, 11, 16, 0.6) 100%
  );
}

.stat--wide {
  grid-column: span 1;
}

@media (min-width: 700px) {
  .stat--wide {
    grid-column: span 1;
  }
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__value--text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.tile {
  padding: 1.15rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.tile__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.tile__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.panel__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel__note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--faint);
}

.panel__note strong {
  color: var(--text);
  font-weight: 600;
}

.panel__badge {
  margin: 1.25rem 0 0;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  color: var(--accent-2);
  background: rgba(61, 214, 245, 0.1);
  border: 1px solid rgba(61, 214, 245, 0.25);
}

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq__item[open] {
  border-color: rgba(124, 92, 255, 0.35);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}

.faq__a {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq__a a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resource {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.resource--accent {
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 0 60px rgba(124, 92, 255, 0.12);
}

.resource__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.65rem;
}

.resource__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.resource__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.resource__list {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.resource__list li {
  margin-bottom: 0.35rem;
}

.link-arrow {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-2);
}

.link-arrow::after {
  content: " →";
}

.link-arrow:hover {
  color: #fff;
}

.cta {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.cta__inner {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(
    160deg,
    rgba(124, 92, 255, 0.14) 0%,
    rgba(18, 21, 32, 0.85) 42%,
    rgba(7, 8, 12, 0.95) 100%
  );
  animation: cta-glow-pass 8s ease-in-out infinite;
}

@keyframes cta-glow-pass {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.12),
      0 12px 48px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(61, 214, 245, 0.22),
      0 16px 56px rgba(124, 92, 255, 0.2);
  }
}

.cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta__text {
  margin: 0.75rem auto 0;
  max-width: 28rem;
  color: var(--muted);
}

.cta .hero__actions {
  margin-top: 1.75rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__brand {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.footer__links {
  margin: 0 0 0.75rem;
}

.footer__btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer__btn:hover {
  color: var(--text);
  transform: scale(1.06);
}

.footer__btn:active {
  transform: scale(1.1);
}

.footer__btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__links a {
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--text);
}

.dot {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--faint);
}

/* Ingresso sezioni allo scroll */
.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active,
  .hamburger:hover,
  .hamburger:active,
  .nav__btn:hover,
  .nav__btn:active,
  .footer__btn:hover,
  .footer__btn:active {
    transform: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__title,
  .eyebrow,
  .pill,
  body::before,
  body::after,
  .noise,
  .cta__inner {
    animation: none !important;
  }

  body::before,
  body::after {
    filter: none;
    transform: none;
  }

  body {
    animation: none !important;
    background: var(--bg-deep);
    background-image: none;
  }
}
