:root {
  --bg: #fff;
  --ink: #021534;
  --cy: #01d2fc;
  --az: #0091ff;
  --vi: #7e41ff;
  --ma: #ea1bd3;
  --pk: #ff4976;
  --co: #ff8a69;
  --p-ink: #536583;
  --g: linear-gradient(
    135deg,
    #01d2fc,
    #0091ff,
    #7e41ff,
    #ea1bd3,
    #ff4976,
    #ff8a69
  );
  --max: 1152px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #fff;
    --ink: #021534;
  }
}
:root[data-theme="dark"] {
  --bg: #fff;
  --ink: #021534;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
}
body {
  background: #fff;
  color: var(--ink);
  font:
    500 18px/26px Inter,
    sans-serif;
  overflow-x: hidden;
}
a {
  color: var(--ink);
}
p {
  color: var(--p-ink);
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  box-sizing: border-box;
  height: calc(72px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 48px 0;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
nav > a:first-child {
  justify-self: start;
  min-width: 0;
}
nav > .btn {
  justify-self: end;
}
nav img {
  height: 56px;
  display: block;
}
nav .l {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav .l[hidden],
.nav-toggle[hidden] {
  display: none;
}
.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
  background: rgb(1 210 252 / 12%);
}
.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-toggle span:first-child {
  transform: translate(-50%, calc(-50% - 6px));
}
.nav-toggle span:last-child {
  transform: translate(-50%, calc(-50% + 6px));
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
nav .l a,
nav > .btn {
  font: 600 14px/20px Inter;
  text-decoration: none;
}
nav .l a {
  padding: 12px 0;
  position: relative;
  color: var(--p-ink);
}
nav .l a:after {
  content: "";
  height: 3px;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--cy), var(--ma));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
nav .l a:hover:after,
nav .l a:focus-visible:after {
  transform: scaleX(1);
}
.btn {
  display: inline-block;
  background: var(--cy);
  color: var(--ink);
  font: 700 15px/21px Inter;
  padding: 12px 27px;
  border-radius: 42px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.25s;
}
.btn:hover {
  box-shadow:
    0 0 0 6px rgb(1 210 252/25%),
    0 0 40px rgb(126 65 255/35%);
}
nav .btn {
  transition: box-shadow 0.25s;
}
.nb {
  padding: 9px 18px;
  border-radius: 999px;
  height: 40px;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
}
.glow-sol {
  width: 700px;
  height: 460px;
  left: -8%;
  top: 200px;
  background: radial-gradient(ellipse, rgb(255 73 118/10%), transparent 70%);
}
.glow-met {
  width: 760px;
  height: 420px;
  right: -8%;
  top: 140px;
  background: radial-gradient(ellipse, rgb(1 145 255/12%), transparent 70%);
}
.glow-con {
  width: 800px;
  height: 480px;
  left: 20%;
  top: 80px;
  background: radial-gradient(ellipse, rgb(1 210 252/14%), transparent 70%);
}
section {
  position: relative;
  padding: 160px 24px 0;
  /* Wide decorative glows must never widen the page on phones. */
  overflow-x: clip;
}
.w {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.lab {
  font: 500 20px/22px Inter;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.eyebrow {
  color: var(--pk);
}
h1,
h2 {
  font-weight: 700;
  color: var(--ink);
}
h1 {
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.2;
  letter-spacing: -3.2px;
  max-width: 922px;
}
/* Tutti i titoli di sezione come quello della sezione Problema. */
h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -3.2px;
  /* Stessa misura di .philosophy-content. */
  max-width: 940px;
  text-wrap: balance;
}
.sub {
  font: 400 24px/31.2px Inter;
  letter-spacing: -1.2px;
  max-width: 700px;
  margin-top: 24px;
}
#hero {
  padding-top: 180px;
  text-align: center;
}
#hero h1,
#hero .sub {
  margin-left: auto;
  margin-right: auto;
  /* Titolo e sottotitolo salgono senza spostare il resto: lo script calcola
     la posizione del globo come se fossero ancora al loro posto e riduce
     --hero-raise se il titolo finirebbe troppo vicino al menu. */
  position: relative;
  top: calc(-1 * var(--hero-raise, 60px));
}
/* Domanda che porta alla sezione Problema. Sta nel vuoto tra il sottotitolo
   e il globo senza occupare spazio, così il globo non si sposta; la hero sale
   sopra #filosofia perché il bagliore del globo non la copra. Lo script
   calcola --q-gap (aria sopra la domanda) e, se serve, abbassa il globo. */
#hero {
  z-index: 2;
}
.hero-question {
  --q-line: 48px;
  position: absolute;
  top: calc(100% + var(--q-gap, 80px) + var(--q-shift, 0px));
  left: 0;
  right: 0;
  /* La linea sotto la domanda fa parte del blocco. */
  padding-bottom: calc(16px + var(--q-line));
  font: 600 32px/38px Inter;
  letter-spacing: -1.2px;
  text-wrap: balance;
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Sopra i 700px la domanda scende un po' oltre la posizione calcolata. */
@media (min-width: 701px) {
  .hero-question {
    --q-shift: 50px;
  }
}
@media (min-width: 901px) {
  .hero-question {
    --q-shift: 25px;
  }
}
/* Linea sottile sotto la domanda: una luce che scende verso il globo. */
.hero-question::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: var(--q-line);
  background: linear-gradient(var(--vi), transparent);
  transform-origin: top;
  animation: question-drop 2.6s ease-in-out infinite;
}
@keyframes question-drop {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }
  60% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
.cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cta a.t {
  font: 700 16px/22px Inter;
}
.hero-note {
  margin-top: 32px;
  font: 600 14px/20px Inter;
}
.intro {
  position: relative;
  isolation: isolate;
  /* Clip only sideways: the globe glow must spill down into #soluzioni. */
  overflow-x: clip;
}
.intro > section {
  z-index: 1;
}
#filosofia {
  /* Reference desktop sizing: a fixed ~1220px sphere at every width. The
     sphere fills 79.5% of the stage, so the stage is 1220 / 0.795. */
  --globe-diameter: 1536px;
  display: grid;
  place-items: center;
  min-height: calc(var(--globe-diameter) + 80px);
  /* Low enough that the cyan glow fades out before reaching the header, so
     the header's white runs straight into the page background. */
  margin-top: 50px;
  padding: 140px 24px;
}
/* Stesso gradiente della domanda della hero. Il gradiente si vede solo dentro
   il riquadro, più basso del testo: lo spazio interno, compensato dai
   margini, evita che le lettere siano tagliate senza spostare nulla. */
#sol-show-lab {
  font-size: 30px;
  font-weight: 600;
  padding: 6px 0 10px;
  margin-top: -6px;
  margin-bottom: -10px;
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.globe-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.globe-glow {
  --d: var(--globe-diameter);
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--d) * 1.6);
  height: calc(var(--d) * 2.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* The light radiates from the globe: a short rise towards the hero, which
     stays white under the header, and a longer fall into the next section. */
  background:
    radial-gradient(
      ellipse calc(var(--d) * 0.58) calc(var(--d) * 0.4) at 50%
        calc(50% - var(--d) * 0.42),
      rgb(1 210 252 / 24%),
      rgb(0 145 255 / 9%) 45%,
      transparent 100%
    ),
    radial-gradient(
      circle calc(var(--d) * 0.58) at 50% 50%,
      rgb(126 65 255 / 14%),
      rgb(126 65 255 / 5%) 70%,
      transparent 100%
    ),
    radial-gradient(
      ellipse calc(var(--d) * 0.7) calc(var(--d) * 0.72) at 50%
        calc(50% + var(--d) * 0.45),
      rgb(234 27 211 / 17%),
      rgb(255 73 118 / 8%) 50%,
      transparent 100%
    ),
    radial-gradient(
      ellipse calc(var(--d) * 0.55) calc(var(--d) * 0.42) at 50%
        calc(50% + var(--d) * 0.92),
      rgb(255 138 105 / 12%),
      transparent 100%
    );
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}
.globe-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  width: var(--globe-diameter);
  transform: translate(-50%, -50%);
}
/* Luce attorno al globo, come nel riferimento: un disco grande quanto la
   sfera (che occupa il 79,5% dello stage), più chiaro verso il bordo, con un
   anello sfumato da cui partono i bagliori di .globe-glow. */
.globe-halo {
  position: absolute;
  inset: 10.25%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 45%,
    rgb(1 210 252 / 7%) 0%,
    rgb(126 65 255 / 6%) 62%,
    rgb(1 145 255 / 12%) 88%,
    rgb(126 65 255 / 18%) 100%
  );
  box-shadow:
    inset 0 0 40px 10px rgb(1 145 255 / 9%),
    0 0 80px 30px rgb(1 210 252 / 12%);
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
.globe-halo::before {
  content: "";
  position: absolute;
  inset: -48px;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    var(--cy),
    var(--az),
    var(--vi),
    var(--ma),
    var(--pk),
    var(--co),
    var(--cy)
  );
  -webkit-mask: radial-gradient(
    closest-side,
    transparent 78%,
    #000 93%,
    transparent 100%
  );
  mask: radial-gradient(closest-side, transparent 78%, #000 93%, transparent 100%);
  filter: blur(32px);
  opacity: 0.2;
}
.globe-particles {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.globe-ready .globe-particles {
  opacity: 1;
}
.philosophy-content {
  position: relative;
  z-index: 2;
  width: min(100%, calc(var(--globe-diameter) * 0.7), 940px);
  text-align: center;
}
.globe-reading-zone {
  text-shadow:
    0 1px 2px rgb(255 255 255 / 95%),
    0 0 12px rgb(255 255 255 / 80%);
}
#filosofia h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
#filosofia .lab {
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Il copy di Soluzioni segue quello della sezione Problema. */
#filosofia .problem-sub,
.sol-head .sub {
  max-width: min(940px, 75vw);
  margin: 20px auto 0;
  font-size: 22px;
  line-height: 31px;
  text-wrap: pretty;
}
/* Velo luminoso al centro del globo: calma le particelle dietro al
   testo. Resta nel contesto di .philosophy-content (z-index 2), quindi
   copre il globo ma rimane sotto il testo. */
#filosofia .philosophy-content::before {
  content: "";
  position: absolute;
  inset: -110px -140px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgb(255 255 255 / 88%) 0%,
    rgb(255 255 255 / 76%) 45%,
    rgb(246 250 255 / 45%) 72%,
    rgb(246 250 255 / 0%) 100%
  );
}
#filosofia .two {
  max-width: 880px;
  margin: 40px auto 0;
  gap: 44px;
  text-align: left;
}
#filosofia .two .sub {
  font-size: 22px;
  line-height: 31px;
}
#filosofia .two > div {
  line-height: 28px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.two p + p {
  margin-top: 16px;
}
.name {
  font-weight: 700;
}
/* Soluzioni: intestazione centrata, poi una galleria di esempi. Senza
   script (o con il movimento ridotto) gli esempi sono una griglia statica;
   con .is-live diventano una galleria guidata dallo scroll. */
.sol-head {
  text-align: center;
}
.sol-head .eyebrow {
  color: var(--az);
}
.sol-head h2 {
  margin: 0 auto;
}
.sol-show {
  position: relative;
  z-index: 1;
  margin-top: 120px;
}
.sol-stage {
  max-width: var(--max);
  margin: 0 auto;
}
.sol-show-lab {
  text-align: center;
  color: var(--p-ink);
}
.sol-track {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 64px 40px;
}
.sol-item {
  min-width: 0;
}
.sol-copy {
  margin-top: 28px;
  text-align: center;
}
.sol-copy h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 26px/30px Inter;
  letter-spacing: -0.6px;
  color: var(--ink);
}
.sol-copy p {
  max-width: 34ch;
  margin: 10px auto 0;
  font: 400 18px/26px Inter;
  text-wrap: pretty;
}
/* Descrizione più lunga: più larga, così sta su due righe e non si avvicina
   troppo ai pallini sotto. */
.sol-copy .sol-wide {
  max-width: 46ch;
  text-wrap: balance;
}
.sol-ic {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--g);
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.sol-ic-app {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
.sol-ic-web {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2.5'/%3E%3Cpath d='M2 9h20M6 6.5h.01M9 6.5h.01'/%3E%3C/svg%3E");
}
.sol-ic-data {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M8 17v-5M13 17V7M18 17v-8'/%3E%3C/svg%3E");
}
.sol-ic-ai {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 2.5l1.9 5.6L17.5 10l-5.6 1.9L10 17.5l-1.9-5.6L2.5 10l5.6-1.9zM18.5 13.5l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9z'/%3E%3C/svg%3E");
}
.sol-ic-mix {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 8l10 5 10-5z'/%3E%3Cpath d='m2 12 10 5 10-5M2 16l10 5 10-5'/%3E%3C/svg%3E");
}
.sol-dots {
  display: none;
}

/* Mockup: una finestra 4:3 il cui contenuto si misura in em, con l'em
   legato alla larghezza della finestra, così scala intero a ogni misura. */
.mock {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgb(2 21 52 / 8%);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 30px 60px -24px rgb(2 21 52 / 28%),
    0 8px 20px -8px rgb(126 65 255 / 14%);
}
.mock-body {
  position: relative;
  flex: 1;
  min-height: 0;
  color: var(--ink);
  font-size: 2.9cqw;
  line-height: 1.3;
}
.mock-body strong {
  font-weight: 700;
}
.mock-body em {
  font-style: normal;
}
/* Elementi comuni agli esempi: icone, barra del browser, avvisi. */
.m-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.m-i {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.m-bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 1.7cqw 2.4cqw;
  border-bottom: 1px solid rgb(2 21 52 / 6%);
  background: #f4f6fb;
  color: var(--p-ink);
  font-size: 2cqw;
}
.m-bar > i {
  flex: none;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: var(--co);
}
.m-bar > i:nth-child(2) {
  background: #ffc857;
}
.m-bar > i:nth-child(3) {
  background: #3ddc97;
}
.m-nv {
  display: flex;
  gap: 0.5em;
  margin: 0 0.4em 0 0.9em;
  color: rgb(2 21 52 / 30%);
}
.m-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45em;
  min-width: 0;
  margin-right: 5cqw;
  padding: 0.42em 0.9em;
  overflow: hidden;
  border-radius: 99px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(2 21 52 / 6%);
  white-space: nowrap;
}
.m-url .m-i {
  width: 0.95em;
  height: 0.95em;
  color: #0a8f63;
}
.m-url b {
  color: var(--ink);
  font-weight: 600;
}
.mock-body.m-ui {
  font-size: 2.05cqw;
  line-height: 1.35;
}
.m-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.6em;
  background: var(--g);
  color: #fff;
  font-size: 0.78em;
  font-style: normal;
  font-weight: 800;
}
.m-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--az), var(--vi));
  color: #fff;
  font-size: 0.74em;
  font-style: normal;
  font-weight: 700;
}
.m-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 0.6em;
  background: var(--g);
  color: #fff;
}
.m-note {
  position: absolute;
  right: 1.2em;
  bottom: 1.2em;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  max-width: 60%;
  padding: 0.8em 1em;
  border-radius: 0.9em;
  background: var(--ink);
  box-shadow: 0 14px 30px rgb(2 21 52 / 30%);
  color: #fff;
  font-size: 0.9em;
}
.m-note-left {
  right: auto;
  bottom: 1.4em;
  left: 1.2em;
  max-width: 50%;
}
.m-note strong {
  display: block;
  font-weight: 600;
}
.m-note span {
  display: block;
  margin-top: 0.15em;
  color: rgb(255 255 255 / 72%);
  font-size: 0.88em;
}
.m-plate {
  display: inline-flex;
  align-items: stretch;
  margin-top: 0.25em;
  overflow: hidden;
  border: 1px solid rgb(2 21 52 / 25%);
  border-radius: 0.25em;
  background: #fff;
  font: 600 0.76em/1.45 ui-monospace, Consolas, monospace;
  letter-spacing: 0.06em;
}
.m-plate::before {
  content: "I";
  display: grid;
  place-items: center;
  margin-right: 0.4em;
  padding: 0 0.3em;
  background: var(--az);
  color: #fff;
  font-size: 0.8em;
}
.m-plate::after {
  content: "";
  width: 0.35em;
  margin-left: 0.4em;
  background: var(--az);
}
/* Esempi che non stanno in una finestra del browser (telefono, tablet). */
.mock.m-free {
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
}

/* Officina: la chat con il link e il telefono del cliente. */
.m-scene {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  color: var(--ink);
  font-size: 2.05cqw;
  line-height: 1.35;
}
.m-chat {
  width: 47%;
  margin-top: -9%;
  overflow: hidden;
  border: 1px solid rgb(2 21 52 / 8%);
  border-radius: 1.1em;
  background: #fff;
  box-shadow:
    0 30px 60px -24px rgb(2 21 52 / 28%),
    0 8px 20px -8px rgb(126 65 255 / 14%);
}
.m-chat-h {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em 0.9em;
  border-bottom: 1px solid rgb(2 21 52 / 6%);
}
.m-chat-h strong {
  display: block;
  font-weight: 600;
}
.m-chat-h small {
  display: block;
  color: #0a8f63;
  font-size: 0.82em;
}
.m-chat-b {
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 0.9em;
  background: #f4f6fb;
}
.m-chat-day {
  align-self: center;
  padding: 0.15em 0.7em;
  border-radius: 99px;
  background: #fff;
  color: var(--p-ink);
  font-size: 0.76em;
  font-weight: 600;
}
.m-bub {
  max-width: 90%;
  padding: 0.6em 0.75em 0.45em;
  border-radius: 0.9em 0.9em 0.9em 0.25em;
  background: #fff;
  box-shadow: 0 1px 2px rgb(2 21 52 / 8%);
  font-size: 0.92em;
}
.m-bub.me {
  align-self: flex-end;
  border-radius: 0.9em 0.9em 0.25em 0.9em;
  background: #dff7fd;
}
.m-bub time {
  display: block;
  margin-top: 0.15em;
  color: var(--p-ink);
  font-size: 0.76em;
  text-align: right;
}
.m-link {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.5em;
  padding: 0.5em;
  border-radius: 0.6em;
  background: #f4f6fb;
}
.m-link strong {
  display: block;
  font-size: 0.95em;
  font-weight: 600;
}
.m-link small {
  display: block;
  color: var(--az);
  font-size: 0.82em;
}
.m-phone {
  position: relative;
  flex: none;
  width: 33%;
  aspect-ratio: 9 / 19;
  padding: 0.5em;
  border-radius: 2.3em;
  background: #0b1426;
  box-shadow:
    0 34px 60px -22px rgb(2 21 52 / 45%),
    0 0 0 1px rgb(2 21 52 / 20%);
}
.m-phone::before {
  content: "";
  position: absolute;
  top: 1em;
  left: 50%;
  z-index: 2;
  width: 30%;
  height: 1.25em;
  border-radius: 99px;
  background: #0b1426;
  transform: translateX(-50%);
}
.m-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1.85em;
  background: #fff;
  font-size: 0.84em;
}
.m-sbar {
  display: flex;
  justify-content: space-between;
  padding: 0.95em 1.5em 0.2em;
  font-size: 0.82em;
  font-weight: 700;
}
.m-sbar span {
  display: flex;
  align-items: flex-end;
  gap: 0.15em;
}
.m-sbar span i {
  width: 0.25em;
  border-radius: 0.1em;
  background: var(--ink);
}
.m-ph {
  padding: 0.7em 1em 0.85em;
  border-bottom: 1px solid rgb(2 21 52 / 6%);
  background: linear-gradient(160deg, #eefaff, #fff 60%, #fcf1ff);
}
.m-ph small {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--p-ink);
  font-size: 0.85em;
  font-weight: 600;
}
.m-ph small .m-mark {
  width: 1.7em;
  height: 1.7em;
  font-size: 0.7em;
}
.m-ph strong {
  display: block;
  margin-top: 0.45em;
  font-size: 1.25em;
  letter-spacing: -0.02em;
}
.m-tl {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 0.8em 1em;
}
.m-tl div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--p-ink);
}
.m-tl div + div::before {
  content: "";
  position: absolute;
  top: -0.55em;
  left: 0.55em;
  width: 1.5px;
  height: 0.6em;
  background: rgb(2 21 52 / 14%);
}
.m-tl i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(2 21 52 / 18%);
}
.m-tl .dn {
  color: var(--ink);
}
.m-tl .dn i {
  background: #0a8f63;
  box-shadow: none;
  color: #fff;
}
.m-tl .dn .m-i,
.m-fl .dn .m-i {
  width: 0.75em;
  height: 0.75em;
  stroke-width: 3.5;
}
.m-tl .cu {
  color: var(--ink);
  font-weight: 700;
}
.m-tl .cu i {
  box-shadow:
    inset 0 0 0 1.5px var(--vi),
    0 0 0 0.25em rgb(126 65 255 / 15%);
}
.m-tl .cu i::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--vi);
}
.m-tl em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.85em;
  font-weight: 500;
}
.m-quote {
  margin: 0 0.8em;
  padding: 0.7em 0.8em;
  border-radius: 0.8em;
  box-shadow: 0 0 0 1px rgb(2 21 52 / 9%);
}
.m-quote > strong {
  display: block;
  margin-bottom: 0.35em;
  font-size: 0.95em;
}
.m-quote div {
  display: flex;
  justify-content: space-between;
  color: var(--p-ink);
  font-size: 0.9em;
}
.m-quote .tot {
  margin-top: 0.35em;
  padding-top: 0.35em;
  border-top: 1px solid rgb(2 21 52 / 8%);
  color: var(--ink);
  font-size: 1em;
  font-weight: 700;
}
/* Il pulsante "Approva" lascia il posto alla conferma. */
.m-pbtn {
  display: grid;
  margin: 0.75em 0.8em 0;
}
.m-pbtn > * {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7em;
  border-radius: 99px;
  background: var(--cy);
  font-weight: 700;
}
.m-pbtn .ok {
  background: #0a8f63;
  color: #fff;
}
.m-call {
  margin-top: 0.6em;
  color: var(--p-ink);
  font-size: 0.85em;
  text-align: center;
}

/* Falegnameria: un sito con il marchio del cliente, non quello dello studio. */
.m-wood {
  --wd: #7a4f33;
  --cr: #fbf7f1;
  display: flex;
  flex-direction: column;
}
.m-shead {
  display: flex;
  align-items: center;
  gap: 1.4em;
  padding: 0.85em 1.6em;
  border-bottom: 1px solid rgb(122 79 51 / 14%);
  background: var(--cr);
}
.m-wordmark {
  margin-right: auto;
  line-height: 1.05;
}
.m-wordmark b {
  display: block;
  font: 700 1.2em/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.2em;
}
.m-wordmark small {
  display: block;
  margin-top: 0.25em;
  color: var(--wd);
  font-size: 0.66em;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.m-snav {
  display: flex;
  gap: 1.2em;
  color: var(--p-ink);
  font-size: 0.88em;
}
.m-snav .on {
  color: var(--wd);
  font-weight: 600;
  box-shadow: inset 0 -1.5px 0 var(--wd);
}
.m-contact {
  padding: 0.38em 0.9em;
  border-radius: 0.35em;
  background: var(--ink);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
}
.m-spage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.9em 1.4em;
  min-height: 0;
  padding: 1em 1.6em 1.2em;
  background: var(--cr);
}
.m-stitle {
  grid-column: 1 / -1;
}
.m-stitle small {
  color: var(--wd);
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.m-stitle h4 {
  margin-top: 0.2em;
  font: 400 1.95em/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}
.m-stitle h4 em {
  color: var(--wd);
  font-style: italic;
}
.m-stitle p {
  margin-top: 0.25em;
  font-size: 0.9em;
}
.m-draw {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em;
  border-radius: 0.3em;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(122 79 51 / 14%);
}
.m-draw svg {
  width: 100%;
  height: auto;
}
.m-form {
  display: flex;
  flex-direction: column;
  gap: 0.62em;
  font-size: 0.88em;
}
.m-lab {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45em;
  font-weight: 600;
}
.m-lab span {
  color: var(--p-ink);
  font-weight: 500;
}
.m-range {
  position: relative;
  height: 0.32em;
  border-radius: 99px;
  background: rgb(2 21 52 / 10%);
}
.m-range i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: var(--wd);
}
.m-range i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.55em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1.5px var(--wd),
    0 2px 4px rgb(2 21 52 / 20%);
  transform: translateY(-50%);
}
.m-sw {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.m-sw i {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(2 21 52 / 14%);
}
.m-sw i.on {
  box-shadow:
    0 0 0 2px var(--cr),
    0 0 0 3.5px var(--wd);
}
.m-sw span {
  margin-left: 0.2em;
  color: var(--p-ink);
}
.m-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
.m-pair > span {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.m-stp {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.15em 0.3em;
  border-radius: 0.3em;
  box-shadow: inset 0 0 0 1px rgb(2 21 52 / 14%);
}
.m-stp i {
  width: 1.2em;
  color: var(--p-ink);
  font-style: normal;
  text-align: center;
}
.m-tog {
  position: relative;
  width: 2.1em;
  height: 1.2em;
  border-radius: 99px;
  background: var(--wd);
}
.m-tog::after {
  content: "";
  position: absolute;
  top: 0.15em;
  right: 0.15em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #fff;
}
.m-price {
  padding: 0.65em 0.8em;
  border-radius: 0.3em;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(122 79 51 / 22%);
}
.m-price small {
  display: block;
  color: var(--p-ink);
  font-weight: 600;
}
.m-price strong {
  display: block;
  font: 400 1.55em/1.2 Georgia, "Times New Roman", serif;
}
.m-price span {
  display: block;
  color: var(--p-ink);
  font-size: 0.86em;
}
.m-cta {
  padding: 0.6em;
  border-radius: 0.3em;
  background: var(--wd);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

/* Gelateria: un tablet scuro appoggiato in laboratorio. */
.m-tab {
  flex: 1;
  display: flex;
  padding: 0.75em;
  border-radius: 1.7em;
  background: #0a1222;
  box-shadow:
    0 34px 60px -24px rgb(2 21 52 / 45%),
    0 0 0 1px rgb(2 21 52 / 25%);
  font-size: 2.05cqw;
  line-height: 1.35;
}
.m-ts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  min-width: 0;
  padding: 1em 1.2em 1.1em;
  overflow: hidden;
  border-radius: 1.05em;
  background:
    radial-gradient(circle at 85% -10%, rgb(126 65 255 / 32%), transparent 45%),
    radial-gradient(circle at -5% 110%, rgb(1 210 252 / 18%), transparent 45%),
    #0e1a31;
  color: #eef2fb;
}
.m-ttop {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.9em;
}
.m-ttop > div {
  flex: 1;
}
.m-ttop strong {
  display: block;
  font-weight: 600;
}
.m-ttop small,
.m-dim {
  color: rgb(238 242 251 / 55%);
}
.m-wx {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.75em;
  border-radius: 99px;
  background: rgb(255 255 255 / 8%);
  font-weight: 600;
}
.m-wx .m-i {
  color: #ffc857;
}
.m-hello h4 {
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.m-hello p {
  margin-top: 0.15em;
  color: rgb(238 242 251 / 60%);
  font-size: 0.92em;
}
.m-hello b {
  color: #fff;
}
.m-alert {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.6em 0.8em;
  border-radius: 0.8em;
  background: linear-gradient(90deg, rgb(255 73 118 / 22%), rgb(126 65 255 / 18%));
  box-shadow: inset 0 0 0 1px rgb(255 73 118 / 35%);
  font-size: 0.9em;
}
.m-alert .m-badge {
  width: 1.9em;
  height: 1.9em;
}
.m-alert span {
  color: rgb(238 242 251 / 70%);
}
.m-tgrid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.75em;
  min-height: 0;
}
.m-tc {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.75em 0.85em;
  border-radius: 0.85em;
  background: rgb(255 255 255 / 5%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
}
.m-tc h5 {
  display: flex;
  justify-content: space-between;
  font-size: 0.86em;
  font-weight: 600;
}
.m-tc h5 span {
  color: rgb(238 242 251 / 50%);
  font-weight: 500;
}
.m-chart {
  flex: 1;
  display: flex;
  gap: 0.35em;
  min-height: 0;
  margin-top: 0.5em;
  background: linear-gradient(rgb(255 255 255 / 8%) 1px, transparent 1px) 0 100% / 100% 33.4%;
}
.m-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}
.m-day > span {
  color: rgb(238 242 251 / 50%);
  font-size: 0.74em;
  white-space: nowrap;
}
.m-day > span.on {
  color: #fff;
  font-weight: 700;
}
.m-col {
  position: relative;
  flex: 1;
  width: 100%;
}
.m-col i {
  position: absolute;
  right: 16%;
  bottom: 0;
  left: 16%;
  height: var(--h);
  border-radius: 0.3em 0.3em 0.1em 0.1em;
  background: linear-gradient(180deg, var(--cy), var(--az));
  transform-origin: bottom;
}
.m-col.hi i {
  background: linear-gradient(180deg, var(--pk), var(--vi));
}
.m-col b {
  position: absolute;
  right: 0;
  bottom: calc(var(--h) + 0.35em);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  color: rgb(238 242 251 / 75%);
  font-size: 0.78em;
  font-weight: 600;
}
.m-col b .m-i {
  width: 1.25em;
  height: 1.25em;
  color: #ffc857;
}
.m-col b .m-i.cl {
  color: #9fb0cc;
}
.m-fl {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  margin-top: 0.55em;
}
.m-fl div {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em 0.55em;
  border-radius: 0.6em;
  background: rgb(255 255 255 / 5%);
  font-size: 0.88em;
}
.m-fl div span {
  flex: 1;
}
.m-fl div b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.m-fl i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 0.35em;
  box-shadow: inset 0 0 0 1.5px rgb(238 242 251 / 35%);
}
.m-fl .dn i {
  background: var(--cy);
  box-shadow: none;
  color: #0e1a31;
}
.m-fl .dn span {
  color: rgb(238 242 251 / 50%);
  text-decoration: line-through;
}
.m-go {
  margin-top: auto;
  padding: 0.6em;
  border-radius: 0.6em;
  background: var(--cy);
  color: var(--ink);
  font-size: 0.9em;
  font-weight: 700;
  text-align: center;
}

/* Commercialista: un gestionale web classico, con menu laterale. */
.m-app {
  display: flex;
}
.m-side {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  width: 24%;
  padding: 1.1em 0.75em;
  border-right: 1px solid rgb(2 21 52 / 6%);
  background: #f7f8fc;
  color: var(--p-ink);
  font-size: 0.92em;
}
.m-side > span {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.45em 0.5em;
  border-radius: 0.5em;
}
.m-side > .on {
  background: #fff;
  box-shadow: 0 1px 3px rgb(2 21 52 / 8%);
  color: var(--ink);
  font-weight: 600;
}
.m-side em {
  margin-left: auto;
  padding: 0 0.45em;
  border-radius: 99px;
  background: rgb(126 65 255 / 12%);
  color: var(--vi);
  font-size: 0.82em;
  font-weight: 700;
}
.m-brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0.25em 1em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
}
.m-me {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: auto;
  padding: 0.8em 0.25em 0;
  border-top: 1px solid rgb(2 21 52 / 7%);
}
.m-me span {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.m-me small {
  color: var(--p-ink);
  font-size: 0.85em;
  font-weight: 500;
}
.m-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  min-width: 0;
  padding: 1.2em 1.3em;
}
.m-top {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.m-top > div {
  flex: 1;
  min-width: 0;
}
.m-top h4 {
  font-size: 1.32em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.m-top small {
  display: block;
  margin-top: 0.15em;
  color: var(--p-ink);
  font-size: 0.86em;
}
.m-av-lg {
  font-size: 0.95em;
}
.m-prog {
  display: block;
  width: 60%;
  height: 0.32em;
  margin-top: 0.4em;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(2 21 52 / 8%);
}
.m-prog i {
  display: block;
  width: 86%;
  height: 100%;
  background: var(--g);
}
.m-btn {
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.95em;
  border-radius: 99px;
  background: var(--cy);
  font-size: 0.86em;
  font-weight: 700;
  white-space: nowrap;
}
.m-ai {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.55em 0.8em;
  border-radius: 0.7em;
  background: linear-gradient(90deg, rgb(1 210 252 / 10%), rgb(126 65 255 / 10%));
  box-shadow: inset 0 0 0 1px rgb(126 65 255 / 25%);
  font-size: 0.88em;
}
.m-ai .m-badge {
  width: 1.8em;
  height: 1.8em;
}
.m-ai span {
  color: var(--p-ink);
}
.m-docs {
  display: flex;
  flex-direction: column;
  font-size: 0.92em;
}
.m-tr {
  display: grid;
  grid-template-columns: 2em 1.9fr 1.25fr 0.8fr;
  align-items: center;
  gap: 0.9em;
  padding: 0.6em 0.15em;
  border-bottom: 1px solid rgb(2 21 52 / 6%);
}
.m-tr > * {
  min-width: 0;
}
.m-tr strong {
  display: block;
  overflow: hidden;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.m-tr small {
  display: block;
  overflow: hidden;
  color: var(--p-ink);
  font-size: 0.86em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.m-th {
  padding-top: 0;
  color: var(--p-ink);
  font-size: 0.76em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.m-r {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.m-fic {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 0.5em;
  background: #f4f6fb;
  color: var(--p-ink);
}
.m-chip {
  justify-self: start;
  padding: 0.15em 0.55em;
  border-radius: 0.4em;
  background: rgb(1 210 252 / 14%);
  color: #00709e;
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}
.m-chip.vi {
  background: rgb(126 65 255 / 12%);
  color: var(--vi);
}
.m-chip.wa {
  background: rgb(255 138 105 / 20%);
  color: #b8401f;
}
.m-miss strong {
  color: #b8401f;
}
.m-miss .m-fic {
  background: rgb(255 138 105 / 18%);
  color: #b8401f;
}
/* La tua soluzione: un foglio di proposta e il gestionale che unisce tutto. */
.m-desk {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 3%;
  color: var(--ink);
  font-size: 2.05cqw;
  line-height: 1.35;
}
.m-paper {
  position: relative;
  width: 60%;
  height: 100%;
  padding: 1.5em 1.6em;
  overflow: hidden;
  border-radius: 0.35em;
  background: #fff;
  box-shadow:
    0 30px 60px -24px rgb(2 21 52 / 30%),
    0 0 0 1px rgb(2 21 52 / 10%);
  transform: rotate(-2deg);
}
/* Il foglio continua oltre il bordo: sfuma invece di finire di netto. */
.m-paper::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(rgb(255 255 255 / 0%), #fff 85%);
}
.m-phead {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid rgb(2 21 52 / 8%);
  font-size: 0.82em;
}
.m-phead b {
  font-weight: 700;
}
.m-phead span {
  margin-left: auto;
  color: var(--p-ink);
}
.m-paper h4 {
  margin-top: 0.9em;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.m-paper h4 + p {
  margin-top: 0.2em;
  font-size: 0.9em;
}
.m-sec {
  margin-top: 1em;
}
.m-sec > small {
  display: block;
  margin-bottom: 0.4em;
  color: var(--p-ink);
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-ask {
  padding: 0.1em 0 0.1em 0.8em;
  border-left: 2px solid var(--vi);
  font-size: 0.9em;
  font-style: italic;
}
.m-ask cite {
  display: block;
  margin-top: 0.2em;
  color: var(--p-ink);
  font-size: 0.86em;
  font-style: normal;
}
.m-build {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  font-size: 0.9em;
}
.m-build div {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.m-build i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: rgb(10 143 99 / 14%);
  color: #0a8f63;
}
.m-build .m-i {
  width: 0.75em;
  height: 0.75em;
  stroke-width: 3.5;
}
.m-plan {
  display: flex;
  gap: 0.3em;
  font-size: 0.78em;
}
.m-plan div {
  flex: var(--w);
  padding: 0.45em 0.6em;
  border-radius: 0.35em;
  background: rgb(1 210 252 / 14%);
  color: #00709e;
  font-weight: 600;
}
.m-plan div:nth-child(2) {
  background: rgb(126 65 255 / 12%);
  color: var(--vi);
}
.m-plan div:nth-child(3) {
  background: rgb(234 27 211 / 10%);
  color: #b0129f;
}
.m-plan small {
  display: block;
  color: var(--p-ink);
  font-weight: 500;
}
.m-int {
  position: absolute;
  top: 50%;
  right: 2%;
  width: 44%;
  padding: 1em;
  border-radius: 1em;
  background: #fff;
  box-shadow:
    0 30px 60px -24px rgb(2 21 52 / 32%),
    0 8px 20px -8px rgb(126 65 255 / 16%),
    0 0 0 1px rgb(2 21 52 / 6%);
  transform: translateY(-46%);
}
.m-hub {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.65em 0.7em;
  border-radius: 0.75em;
  background: linear-gradient(135deg, rgb(1 210 252 / 12%), rgb(126 65 255 / 12%));
  box-shadow: inset 0 0 0 1px rgb(126 65 255 / 25%);
}
.m-hub strong {
  display: block;
}
.m-hub small {
  display: block;
  color: var(--p-ink);
  font-size: 0.82em;
}
.m-links {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  margin: 0.6em 0 0 1.05em;
  padding-left: 1.1em;
  border-left: 1.5px dashed rgb(126 65 255 / 40%);
}
.m-links div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em 0.6em;
  border-radius: 0.6em;
  background: #f7f8fc;
  font-size: 0.9em;
}
.m-links div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.15em;
  width: 1.05em;
  border-top: 1.5px dashed rgb(126 65 255 / 40%);
}
.m-links span {
  flex: 1;
  min-width: 0;
}
.m-links b {
  font-weight: 600;
}
.m-links small {
  display: block;
  color: var(--p-ink);
  font-size: 0.82em;
}
.m-links em {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.3em;
  color: #0a8f63;
  font-size: 0.78em;
  font-style: normal;
  font-weight: 700;
}
.m-links em::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}
.m-lic {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.5em;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(2 21 52 / 8%);
  color: var(--vi);
}

/* Galleria guidata dallo scroll: lo stage resta fermo sotto il menu mentre
   lo script sposta gli esempi (in orizzontale o in verticale) e ne calcola
   scala, sfocatura e trasparenza in base alla distanza dal centro. */
.sol-show.is-live {
  --sol-w: min(560px, 44vw, (100svh - 320px) * 1.33);
  margin-top: 56px;
}
.is-live .sol-stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  max-width: none;
  height: 100vh;
  height: 100svh;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 0 28px;
  overflow: hidden;
}
/* Gli esempi ai margini sfumano invece di essere tagliati. */
.is-live .sol-track {
  position: relative;
  flex: 1;
  display: block;
  margin: 12px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.is-live .sol-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--sol-w);
  transform: translate(-50%, -50%);
  will-change: transform, filter, opacity;
}
.is-live .sol-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sol-dots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgb(2 21 52 / 15%);
  transition:
    width 0.3s,
    background 0.3s;
}
.sol-dots i.on {
  width: 28px;
  background: var(--g);
}
/* Quando un esempio arriva a fuoco il mockup si compone un passo alla volta
   (e resta composto: .is-playing), poi compaiono titolo e descrizione. */
.is-live .st,
.is-live .sol-copy > * {
  opacity: 0;
}
.is-live .is-playing .st {
  animation: sol-step 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.1s + var(--d) * 0.22s);
}
.is-live .is-playing .m-out {
  animation: sol-out 0.2s both;
  animation-delay: calc(0.1s + var(--d) * 0.22s);
}
.is-live .m-col i {
  transform: scaleY(0);
}
.is-live .is-playing .m-col i {
  animation: sol-bar 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.8s + var(--b) * 0.05s);
}
.is-live .sol-copy > * {
  transform: translateY(10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.is-live .is-active .sol-copy > * {
  opacity: 1;
  transform: none;
  transition-duration: 0.45s;
  transition-delay: 0.05s;
}
.is-live .is-active .sol-copy p {
  transition-delay: 0.2s;
}
@keyframes sol-step {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sol-out {
  to {
    opacity: 0;
    transform: translateY(-0.4em);
  }
}
@keyframes sol-bar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@media (orientation: portrait) {
  .sol-show.is-live {
    --sol-w: min(86vw, 460px, (100svh - 360px) * 1.33);
  }
  .is-live .sol-track {
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  }
}
@media (max-width: 700px) {
  .sol-show {
    margin-top: 80px;
  }
  .sol-copy h3 {
    font-size: 24px;
    line-height: 28px;
  }
  .sol-copy p {
    font-size: 17px;
    line-height: 24px;
  }
  #hero {
    padding-top: 150px;
    padding-bottom: 130px;
  }
}
.mid {
  text-align: center;
}
.mid h2 {
  margin: 0 auto;
}
.mid .cta {
  margin-top: 40px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 56px auto 0;
  max-width: 960px;
}
.stats div {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
}
.stats b {
  display: block;
  font: 700 56px/1 Inter;
  letter-spacing: -2px;
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.stats span {
  font: 600 16px/22px Inter;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.step {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s;
}
.step:hover {
  transform: translateY(-6px);
}
.step:before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 32px;
  background: radial-gradient(ellipse, rgb(126 65 255/9%), transparent 70%);
}
.step .n {
  font: 600 32px/35.2px Inter;
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.step h3 {
  font: 600 20px/24px Inter;
  margin-bottom: 8px;
}
.step p {
  font: 500 15px/22px Inter;
}
.note {
  margin-top: 32px;
  font: 600 16px/24px Inter;
  max-width: 660px;
}
.me {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.mono {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgb(1 210 252/30%),
    rgb(126 65 255/20%) 50%,
    rgb(255 138 105/20%) 80%,
    transparent 90%
  );
  display: grid;
  place-items: center;
  font: 700 64px/1 Inter;
  letter-spacing: -3px;
}
#chi-sono .sub {
  font-size: 20px;
  line-height: 29px;
  letter-spacing: -0.1px;
}
form {
  max-width: 660px;
  margin-top: 40px;
  display: grid;
  gap: 16px;
}
label {
  font: 600 16px/24px Inter;
  display: grid;
  gap: 6px;
}
input,
textarea {
  font:
    400 16px/22px "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 15px;
  padding: 9px 15px;
  height: 40px;
}
textarea {
  height: 130px;
  padding-top: 12px;
  resize: vertical;
}
form .hero-note {
  margin-top: 16px;
  font-weight: 500;
}
footer {
  padding: 160px 48px calc(48px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font: 600 14px/20px Inter;
}
footer img {
  height: 44px;
  display: block;
  margin: 0 auto 16px;
}
.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.js .rv.on {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  nav {
    display: flex;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    gap: 12px;
  }
  nav > a:first-child {
    order: 0;
    flex: 1 1 0;
    width: 0;
  }
  nav img {
    width: 165px;
    max-width: 100%;
    height: auto;
  }
  nav > .btn {
    order: 1;
    flex: 0 0 auto;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: block;
    order: 2;
    flex: 0 0 44px;
  }
  nav .l {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 72px - env(safe-area-inset-top, 0px));
    max-height: calc(100svh - 72px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px
      max(20px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid rgb(2 21 52 / 10%);
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: 0 18px 32px rgb(2 21 52 / 8%);
  }
  nav .l a {
    padding: 14px 4px;
    font-size: 18px;
    line-height: 26px;
  }
  nav:not(.nav-ready) {
    position: sticky;
    display: grid;
    height: auto;
    min-height: calc(72px + env(safe-area-inset-top, 0px));
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 0;
  }
  nav:not(.nav-ready) > a {
    margin-top: 14px;
    margin-bottom: 14px;
  }
  nav:not(.nav-ready) > a:first-child {
    width: auto;
  }
  nav:not(.nav-ready) .l {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: none;
    box-shadow: none;
  }
  section {
    padding-top: 110px;
  }

  #hero {
    padding-top: 190px;
  }
  #hero h1,
#hero .sub {
  margin-left: 20px;
  margin-right: 20px;
}
  .hero-question {
    --q-line: 32px;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.8px;
  }
  .two,
  .me {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .sub {
    font-size: 20px;
    line-height: 28px;
  }
  #filosofia {
    /* Reference mobile sizing: a fixed ~729px sphere, far wider than the
       phone, centred in a 976px section with all the copy inside it. The
       sphere fills 79.5% of the stage, so the stage is 729 / 0.795. */
    --globe-diameter: 918px;
    min-height: 976px;
    margin-top: 10px;
    padding: 124px 24px;
  }
  .philosophy-content {
    width: 100%;
    max-width: 560px;
  }
  h2 {
    max-width: 560px;
    font-size: clamp(34px, 7vw, 48px);
    letter-spacing: -1.8px;
    line-height: 1.12;
  }
  #filosofia .problem-sub,
  .sol-head .sub {
    max-width: min(560px, 75vw);
    margin-top: 24px;
    font-size: 20px;
    line-height: 28px;
  }
  #filosofia .philosophy-content::before {
    inset: -80px -48px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stats b {
    font-size: 44px;
  }
  #filosofia .two {
    margin-top: 24px;
    gap: 28px;
    text-align: center;
  }
  #filosofia .two .sub {
    font-size: 20px;
    line-height: 28px;
  }
  #filosofia .two > div {
    font-size: 17px;
    line-height: 27px;
  }
  .mono {
    width: 140px;
    height: 140px;
    font-size: 44px;
  }
}
/* Telefoni più larghi dell'iPhone 16: lo script ingrandisce la hero di
   --hero-k partendo dalle sue misure sull'iPhone 16, larghezza del testo
   compresa, così gli a capo restano gli stessi. */
#hero.hero-fit h1,
#hero.hero-fit .sub {
  max-width: calc(305px * var(--hero-k));
  margin-left: auto;
  margin-right: auto;
}
#hero.hero-fit h1 {
  font-size: calc(40px * var(--hero-k));
  letter-spacing: calc(-3.2px * var(--hero-k));
}
#hero.hero-fit .sub {
  margin-top: calc(24px * var(--hero-k));
  font-size: calc(20px * var(--hero-k));
  line-height: calc(28px * var(--hero-k));
  letter-spacing: calc(-1.2px * var(--hero-k));
}
/* Sui telefoni più larghi dell'iPhone 16 la domanda passa a 24px. */
#hero.hero-fit .hero-question {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.9px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }
}
