/* ScaleDemand — landing avvocati. Mobile first. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0b1b33;
  --ink-2: #44526a;
  --ink-3: #5f6c84;
  --line: #e2e8f1;
  --line-2: #cfd9e8;
  --bg: #ffffff;
  --field: #f5f8fc;
  --az: #1570ef;
  --az-700: #0a4fb0;
  --az-100: #dbeafe;
  --az-50: #eef5ff;
  --or: #e8590c;
  --or-ink: #ad3f08;
  --or-500: #ff6b1a;
  --or-50: #fff3eb;
  --gold: #f5a524;
  --ok: #1570ef;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --r-s: 8px;
  --r: 14px;
  --r-l: 22px;
  --sh-1: 0 1px 2px rgba(11, 27, 51, .06), 0 4px 14px rgba(11, 27, 51, .06);
  --sh-2: 0 2px 4px rgba(11, 27, 51, .05), 0 18px 40px -12px rgba(11, 27, 51, .18);
  --sh-or: 0 10px 24px -8px rgba(232, 89, 12, .55);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: 20px;
  --max: 1160px;
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; }
p + p { margin-top: 14px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--az-700); text-underline-offset: 3px; }
::selection { background: var(--az-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--az); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-capo { display: none; }
@media (min-width: 900px) { .a-capo { display: inline; } }

/* Highlights ------------------------------------------------------------ */
.hl {
  color: var(--az-700);
  background: linear-gradient(transparent 62%, var(--az-100) 62%, var(--az-100) 92%, transparent 92%) no-repeat;
  background-size: 100% 100%;
  padding: 0 .06em;
  transition: background-size 900ms var(--ease);
}
.hl--or {
  color: var(--or-ink);
  background-image: linear-gradient(transparent 62%, #ffe2cf 62%, #ffe2cf 92%, transparent 92%);
}
html.js:not(.no-reveal) [data-reveal]:not(.is-in) .hl { background-size: 0% 100%; }
strong { font-weight: 700; color: var(--ink); }

/* Buttons --------------------------------------------------------------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--h);
  padding: 0 10px 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--or);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  overflow: clip;
  box-shadow: var(--sh-or);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex: none;
  transition: transform 250ms var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}
.btn:hover { background: #d44f08; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(232, 89, 12, .6); }
.btn:hover .btn__ico { transform: translateX(3px); }
.btn:hover::after { opacity: 1; animation: sheen 800ms var(--ease) 1; }
.btn:active { transform: translateY(0) scale(.99); }
@keyframes sheen { from { left: -60%; } to { left: 120%; } }
.btn--full { width: 100%; justify-content: space-between; }
.btn--sm { --h: 44px; font-size: .9375rem; padding: 0 18px; box-shadow: none; }
.btn--ghost {
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { background: var(--field); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__ico { transition: background-color 200ms; }
  .btn:hover { transform: none; }
  .btn:hover .btn__ico { transform: none; }
  .btn:hover::after { animation: none; opacity: 0; }
}

/* Header ---------------------------------------------------------------- */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: transform 300ms var(--ease), border-color 200ms;
}
.head.is-scrolled { border-bottom-color: var(--line); }
.head.is-hidden { transform: translateY(-100%); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__txt { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.035em; }
.logo__txt b { color: var(--az); font-weight: 800; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; padding: 14px 0 48px; overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 620px;
  background:
    radial-gradient(60% 55% at 85% 12%, rgba(21, 112, 239, .10), transparent 70%),
    linear-gradient(180deg, var(--az-50), rgba(238, 245, 255, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 34px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .8125rem; font-weight: 600; color: var(--ink);
  line-height: 1.3;
}
.pill svg { flex: none; }
.hero h1 { font-size: clamp(2.0625rem, 8.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.hero__sub { margin-top: 16px; color: var(--ink-2); max-width: 56ch; }
.hero__cta { margin-top: 20px; display: grid; gap: 12px; }
.seals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.seal-mini {
  display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 12px 6px 10px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .75rem; line-height: 1.25; font-weight: 600; color: var(--ink);
}
.seal-mini svg { flex: none; }

/* Hero visual: scheda contatto */
.lead-stage { position: relative; padding: 22px 4px 8px; max-width: 460px; width: 100%; margin: 0 auto; }
.toast {
  position: absolute; z-index: 2; top: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 9px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-size: .8125rem; font-weight: 600; line-height: 1.2;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
}
.toast__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--az); display: grid; place-items: center; flex: none; }
.toast small { display: block; font-weight: 500; color: #ccd8ea; font-size: .75rem; }
.lead-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
  padding: 20px 18px 18px;
  margin-top: 22px;
}
.lead-card__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--az-50); color: var(--az-700);
  font-family: var(--f-display); font-weight: 800; font-size: .9375rem;
}
.lead-card__name { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.lead-card__meta { font-size: .8125rem; color: var(--ink-3); line-height: 1.4; }
.tag-ex {
  margin-left: auto; align-self: flex-start;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px; background: var(--field); color: var(--ink-3);
}
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.checks li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  font-size: .9375rem; font-weight: 600; line-height: 1.3;
}
.checks li:nth-child(odd) { background: var(--field); }
.checks li span.ok-label { font-size: .75rem; font-weight: 700; color: var(--az-700); }
.tick {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--az); display: grid; place-items: center;
}
.tick path { stroke-dasharray: 16; stroke-dashoffset: 0; }
.stamp {
  position: absolute; right: 14px; bottom: -18px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border: 2.5px solid var(--or);
  border-radius: 10px;
  color: var(--or-ink);
  background: #fff;
  font-family: var(--f-display); font-weight: 900; letter-spacing: .08em; font-size: .9375rem;
  transform: rotate(-7deg);
  box-shadow: 0 8px 18px -8px rgba(11, 27, 51, .35);
}

/* Play state: default is the complete drawing, animation only runs when .play is added */
.play .toast { animation: toastIn 700ms var(--ease) 1500ms both; }
.play .checks li { animation: rowIn 500ms var(--ease) both; }
.play .checks li:nth-child(1) { animation-delay: 150ms; }
.play .checks li:nth-child(2) { animation-delay: 400ms; }
.play .checks li:nth-child(3) { animation-delay: 650ms; }
.play .checks li:nth-child(4) { animation-delay: 900ms; }
.play .checks li .tick { animation: pop 450ms var(--ease) both; }
.play .checks li:nth-child(1) .tick { animation-delay: 300ms; }
.play .checks li:nth-child(2) .tick { animation-delay: 550ms; }
.play .checks li:nth-child(3) .tick { animation-delay: 800ms; }
.play .checks li:nth-child(4) .tick { animation-delay: 1050ms; }
.play .checks li .tick path { animation: draw 380ms var(--ease) both; }
.play .checks li:nth-child(1) .tick path { animation-delay: 420ms; }
.play .checks li:nth-child(2) .tick path { animation-delay: 670ms; }
.play .checks li:nth-child(3) .tick path { animation-delay: 920ms; }
.play .checks li:nth-child(4) .tick path { animation-delay: 1170ms; }
.play .stamp { animation: stamp 520ms cubic-bezier(.2, 1.4, .4, 1) 1300ms both; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes draw { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-18deg) scale(1.9); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* Sections -------------------------------------------------------------- */
.sec { padding: 72px 0; scroll-margin-top: var(--head-h); }
.sec--tint { background: var(--field); }
.sec--line { border-top: 1px solid var(--line); }
.sec__head { max-width: 760px; margin-bottom: 34px; }
.sec__head--c { margin-inline: auto; text-align: center; }
.sec h2 { font-size: clamp(1.75rem, 6.4vw, 2.75rem); font-weight: 800; }
.sec__lead { margin-top: 14px; color: var(--ink-2); }
.sec__head--c .sec__lead { margin-inline: auto; max-width: 60ch; }

/* Social proof */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 36px; }
.ph {
  position: relative;
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(21, 112, 239, .05) 0 10px, transparent 10px 20px),
    var(--field);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  color: var(--ink-3);
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; line-height: 1.3;
  padding: 6px;
  border-radius: var(--r-s);
}
.ph b { display: block; font-family: var(--f-display); font-size: .8125rem; color: var(--az-700); letter-spacing: .04em; }
.logo-ph { height: 64px; }

.reviews { position: relative; }
.rev-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; align-items: start;
  gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 18px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  min-width: 0;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev {
  scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 16px;
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: var(--sh-1), inset 0 0 0 1px var(--line);
  padding: 20px;
}
.rev__quote { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.rev__quote .big { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 10px; }
.rev__who { margin-top: auto; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rev__photo { width: 52px; height: 52px; border-radius: 50%; }
.rev__photo.ph { border-radius: 50%; font-size: .75rem; }
.rev__logo { width: 54px; height: 42px; font-size: .75rem; }
.rev__name { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; line-height: 1.25; }
.rev__studio { font-size: .8125rem; color: var(--ink-3); line-height: 1.35; }
.rev--todo .rev__quote { color: var(--ink-3); }
.rev-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.rev-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2);
  display: grid; place-items: center;
  transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.rev-nav button:hover { background: var(--az-50); box-shadow: inset 0 0 0 1.5px var(--az); }
.rev-nav button:disabled { opacity: .4; cursor: default; }

/* Vantaggi */
.adv { display: grid; gap: 16px; }
.adv__item {
  display: grid; gap: 16px;
  background: #fff;
  border-radius: var(--r-l);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 22px 20px;
}
.adv__art { height: 140px; padding: 10px 0 18px; border-bottom: 1px dashed var(--line-2); position: relative; overflow: clip; display: grid; place-items: center; }
.adv__num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: .875rem;
  margin-bottom: 10px;
}
.adv__item h3 { font-size: 1.375rem; font-weight: 800; }
.adv__item p { margin-top: 10px; color: var(--ink-2); }
.adv__item--guar { background: var(--ink); box-shadow: none; }
.adv__item--guar h3 { color: #fff; }
.adv__item--guar p { color: rgba(255, 255, 255, .86); }
.adv__item--guar .adv__num { background: var(--or); }
.adv__item--guar .adv__art { border-bottom-color: rgba(255, 255, 255, .18); }
.adv__item--guar .swap__card, .adv__item--guar .cert { box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .55); }
.adv__item--guar .seal { box-shadow: none; }
.adv__item--guar .hl { color: #ffc9a8; background-image: linear-gradient(transparent 62%, rgba(255, 107, 26, .28) 62%, rgba(255, 107, 26, .28) 92%, transparent 92%); }

/* Mini arts */
.art-call .ring { transform-origin: 60px 60px; transform-box: view-box; }
.play .art-call .ring { animation: ring 1400ms var(--ease) both; }
.play .art-call .ring2 { animation-delay: 250ms; }
@keyframes ring { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.35); } }
.play .art-call .pin { animation: pop 450ms var(--ease) both; }
.play .art-call .pin:nth-of-type(2) { animation-delay: 300ms; }
.play .art-call .pin:nth-of-type(3) { animation-delay: 500ms; }
.play .art-call .pin:nth-of-type(4) { animation-delay: 700ms; }
.art-doc .strike { stroke-dasharray: 60; stroke-dashoffset: 0; }
.play .art-doc .strike { animation: draw60 600ms var(--ease) 500ms both; }
@keyframes draw60 { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.play .art-doc .line { animation: grow 500ms var(--ease) both; transform-box: fill-box; transform-origin: left center; }
.play .art-doc .line:nth-of-type(2) { animation-delay: 100ms; }
.play .art-doc .line:nth-of-type(3) { animation-delay: 200ms; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.seal {
  position: relative;
  background-color: var(--or);
  border-radius: 50%;
  padding: 20px; width: 116px; height: 116px; display: grid; place-items: center; text-align: center;
  color: #fff; font-family: var(--f-display); font-weight: 900; line-height: 1;
}
.seal svg.seal__bg { position: absolute; left: -9%; top: -9%; width: 118%; height: 118%; }
.seal--az { background-color: var(--az); }
.seal__txt { position: relative; display: grid; gap: 2px; }
.seal__txt b { font-size: 1.75rem; letter-spacing: -.03em; }
.seal__txt small { font-size: .75rem; letter-spacing: .05em; font-weight: 800; }
.play .seal { animation: sealIn 800ms cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes sealIn { from { opacity: 0; transform: rotate(-40deg) scale(.5); } to { opacity: 1; transform: none; } }
.swap { display: flex; align-items: center; gap: 12px; }
.swap__card { width: 62px; height: 78px; border-radius: 10px; background: #fff; box-shadow: var(--sh-1); display: grid; place-items: center; }
.swap__card--bad { opacity: .55; }
.play .swap__card--new { animation: rowIn 600ms var(--ease) 700ms both; }

.cert {
  width: 168px; background: #fff; border-radius: 10px; box-shadow: var(--sh-1); padding: 12px 12px 10px;
  display: grid; gap: 6px; position: relative;
}
.cert__t { font-family: var(--f-display); font-weight: 800; font-size: .8125rem; letter-spacing: .04em; color: var(--ink); }
.cert__row { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); font-weight: 600; line-height: 1.3; }
.cert__row b { color: var(--ink); }
.cert__bar { height: 6px; border-radius: 3px; background: var(--line); }
.cert__bar--s { width: 60%; }
.cert__badge {
  position: absolute; right: -16px; bottom: -16px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--az-700); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 900; font-size: .75rem; line-height: 1.05;
  box-shadow: 0 0 0 4px #fff;
}
.play .cert__badge { animation: pop 500ms var(--ease) 500ms both; }

/* Domanda (search) */
.split { display: grid; gap: 34px; align-items: center; }
.search-demo {
  background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
  padding: 16px; max-width: 480px; width: 100%; margin: 0 auto;
}
.sbar {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px;
  background: var(--field); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .9375rem; font-weight: 600; white-space: nowrap; overflow: clip;
}
.sbar__txt { display: inline-block; overflow: clip; white-space: nowrap; max-width: 100%; vertical-align: bottom; }
.sbar__caret { width: 2px; height: 18px; background: var(--az); flex: none; }
.play .sbar__txt { animation: type 1600ms steps(32, end) both; }
.play .sbar__caret { animation: blink 700ms steps(2) 5; }
@keyframes type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes blink { 50% { opacity: 0; } }
.sres { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.sres li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--field); font-size: .8125rem; line-height: 1.35; }
.sres li b { display: block; font-size: .875rem; }
.sres li span { color: var(--ink-3); }
.sres__ico { width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.sres__time { font-size: .75rem; font-weight: 700; color: var(--ink-3); }
.sres li.is-you { background: var(--az-700); color: #fff; }
.sres li.is-you span, .sres li.is-you .sres__time { color: rgba(255, 255, 255, .8); }
.sres li.is-you .sres__ico { background: rgba(255, 255, 255, .16); box-shadow: none; }
.play .sres li { animation: rowIn 500ms var(--ease) both; }
.play .sres li:nth-child(1) { animation-delay: 1500ms; }
.play .sres li:nth-child(2) { animation-delay: 1700ms; }
.play .sres li:nth-child(3) { animation-delay: 1900ms; }
.play .sres li.is-you { animation: youIn 700ms var(--ease) 2300ms both; }
@keyframes youIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.callout {
  margin-top: 22px; padding: 18px 18px 18px 16px; border-radius: var(--r);
  background: var(--or-50); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start;
}
.callout p { color: var(--ink); font-weight: 500; }

/* Chiavi in mano */
.tally { background: #fff; border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 24px 20px 22px; }
.tally__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; color: var(--line-2); }
.tally__grid span { display: grid; place-items: center; }
.tally__i--ok { color: var(--az); }
.tally__cap { margin-top: 18px; color: var(--ink-2); }
.tally__cap strong { font-family: var(--f-display); font-size: 1.125rem; }
.play .tally__grid span { animation: pop 420ms var(--ease) both; }
.play .tally__grid span:nth-child(1) { animation-delay: 60ms; }
.play .tally__grid span:nth-child(2) { animation-delay: 120ms; }
.play .tally__grid span:nth-child(3) { animation-delay: 180ms; }
.play .tally__grid span:nth-child(4) { animation-delay: 240ms; }
.play .tally__grid span:nth-child(5) { animation-delay: 300ms; }
.play .tally__grid span:nth-child(6) { animation-delay: 360ms; }
.play .tally__grid span:nth-child(7) { animation-delay: 420ms; }
.play .tally__grid span:nth-child(8) { animation-delay: 480ms; }
.play .tally__grid span:nth-child(9) { animation-delay: 540ms; }
.play .tally__grid span:nth-child(10) { animation-delay: 700ms; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .8125rem; font-weight: 600; margin-bottom: 8px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart__legend i { width: 18px; height: 4px; border-radius: 2px; display: inline-block; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .path { stroke-dasharray: 700; stroke-dashoffset: 0; }
.play .chart .path { animation: drawL 1600ms var(--ease) both; }
.play .chart .path--az { animation-delay: 500ms; }
@keyframes drawL { from { stroke-dashoffset: 700; } to { stroke-dashoffset: 0; } }
.stat90 { display: flex; align-items: center; gap: 16px; margin: 20px 0 6px; }
.stat90__n { font-family: var(--f-display); font-weight: 900; font-size: 3.5rem; line-height: 1; letter-spacing: -.05em; color: var(--az); font-variant-numeric: tabular-nums; }
.stat90 p { font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.punch {
  margin-top: 30px; background: var(--ink); color: #fff; border-radius: var(--r-l); padding: 28px 22px;
  position: relative; overflow: clip;
}
.punch p { color: rgba(255, 255, 255, .86); font-size: 1rem; }
.punch .punch__big { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.375rem, 5.2vw, 1.875rem); line-height: 1.2; letter-spacing: -.02em; color: #fff; margin-top: 8px; }
.punch .hl { color: #ffc9a8; background-image: linear-gradient(transparent 62%, rgba(255, 107, 26, .3) 62%, rgba(255, 107, 26, .3) 92%, transparent 92%); }

/* Come funziona */
.steps { position: relative; display: grid; gap: 22px; }
.steps__rail { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line); }
.steps__fill { position: absolute; inset: 0 0 auto 0; height: var(--p, 100%); border-radius: 3px; background: linear-gradient(var(--az), var(--or-500)); }
.step { position: relative; display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 14px; }
.step__dot {
  width: 45px; height: 45px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--az);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; color: var(--az-700); position: relative; z-index: 1;
}
.step.is-in .step__dot { background: var(--az-700); box-shadow: inset 0 0 0 3px var(--az-700); color: #fff; }
.step__body { background: #fff; border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 18px 20px; min-width: 0; }
.step__body h3 { font-size: 1.3125rem; font-weight: 800; }
.step__body p, .step__body li { color: var(--ink-2); }
.step__body > p { margin-top: 10px; }
.step__body ul { margin: 10px 0 0; padding-left: 18px; }
.step__art { margin-top: 18px; padding: 18px 2px 2px; border-top: 1px dashed var(--line-2); overflow: clip; }
.result {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--or-50);
  font-size: .9375rem; line-height: 1.55; color: var(--ink);
}
.result b { color: var(--or-ink); font-family: var(--f-display); font-weight: 800; }

.sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; padding: 0 2px; }
.src { display: grid; justify-items: center; gap: 5px; min-width: 0; font-size: .75rem; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.2; overflow-wrap: normal; hyphens: none; }
.src__i { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-1); }
.flow { height: 30px; position: relative; margin: 6px 0; }
.flow svg { width: 100%; height: 30px; display: block; }
.flow .dash { stroke-dasharray: 4 5; }
.play .flow .dash { animation: dashmove 1.2s linear 3; }
@keyframes dashmove { to { stroke-dashoffset: -18; } }
.inbox { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--sh-1); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.inbox__n { margin-left: auto; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--or-ink); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; }

.filter { display: grid; gap: 6px; }
.chip { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: .8125rem; font-weight: 600; line-height: 1.3; box-shadow: inset 0 0 0 1px var(--line); }
.chip .tick { width: 20px; height: 20px; }
.play .filter .chip { animation: rowIn 450ms var(--ease) both; }
.play .filter .chip:nth-child(2) { animation-delay: 150ms; }
.play .filter .chip:nth-child(3) { animation-delay: 300ms; }
.play .filter .chip:nth-child(4) { animation-delay: 450ms; }

.cal { background: #fff; border-radius: 12px; box-shadow: var(--sh-1); padding: 10px; }
.cal__h { display: flex; justify-content: space-between; font-size: .8125rem; font-weight: 700; color: var(--ink-2); padding: 0 2px 8px; }
.cal__g { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); gap: 5px; font-size: .75rem; font-weight: 700; color: var(--ink-3); }
.cal__g > span { display: grid; place-items: center; min-height: 26px; }
.cal__slot { border-radius: 6px; background: var(--field); min-height: 26px; }
.cal__slot--busy { background: var(--line); }
.cal__appt {
  border-radius: 6px; background: var(--az-700); color: #fff; min-height: 26px; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; letter-spacing: .01em; padding: 0 4px; text-align: center; line-height: 1.1;
}
.play .cal__appt { animation: youIn 700ms cubic-bezier(.2, 1.3, .4, 1) 400ms both; }

/* Qualità */
.quality {
  position: relative; border-radius: 26px; background: #fff; padding: 26px 20px 24px;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
  overflow: clip;
}
.quality::before {
  content: ""; position: absolute; inset: 9px; border-radius: 18px;
  border: 2px solid var(--az-100); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--az-50);
  pointer-events: none;
}
.quality__seal { display: flex; justify-content: center; margin: -4px 0 20px; }
.funnel { margin: 10px 0 4px; }
.funnel__cap { display: flex; justify-content: center; text-align: center; max-width: 420px; margin: 22px auto 0; font-size: .8125rem; font-weight: 600; color: var(--ink-3); line-height: 1.45; }
.funnel__cap b { display: block; font-family: var(--f-display); font-size: .9375rem; color: var(--ink); margin-bottom: 2px; }
.funnel svg { width: 100%; max-width: 420px; height: auto; display: block; margin: 0 auto; }
.funnel .dot { opacity: 1; }
.play .funnel .dot { animation: dotIn 900ms var(--ease) both; }
.play .funnel .dot--out { animation: dotOut 1200ms var(--ease) both; }
@keyframes dotIn { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
@keyframes dotOut { 0% { opacity: 0; transform: translateY(-20px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.qlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; }
.qlist li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 16px 16px; border-radius: 14px; background: var(--az-50);
  font-weight: 600; line-height: 1.4;
}
.qlist .tick { width: 30px; height: 30px; }
.play .qlist li { animation: rowIn 500ms var(--ease) both; }
.play .qlist li:nth-child(2) { animation-delay: 150ms; }
.play .qlist li:nth-child(3) { animation-delay: 300ms; }
.play .qlist li:nth-child(4) { animation-delay: 450ms; }
.play .qlist .tick { animation: pop 450ms var(--ease) both; }
.play .qlist li:nth-child(1) .tick { animation-delay: 250ms; }
.play .qlist li:nth-child(2) .tick { animation-delay: 400ms; }
.play .qlist li:nth-child(3) .tick { animation-delay: 550ms; }
.play .qlist li:nth-child(4) .tick { animation-delay: 700ms; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--az), var(--sh-1); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; align-items: center;
  padding: 16px 16px 16px 18px; min-height: 60px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { width: 32px; height: 32px; border-radius: 50%; background: var(--az-50); display: grid; place-items: center; transition: transform 250ms var(--ease), background-color 200ms; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--az); }
.faq details[open] .faq__plus path { stroke: #fff; }
.faq__a { padding: 0 18px 18px; color: var(--ink-2); max-width: 70ch; }

/* Form */
.form-sec { background: linear-gradient(180deg, var(--az-50), #fff 70%); }
.qform {
  max-width: 620px; margin: 0 auto; background: #fff; border-radius: 26px;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); padding: 20px 18px 22px;
}
.qform__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8125rem; font-weight: 700; color: var(--ink-3); }
.qform__back {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; color: var(--ink-2);
  font-weight: 700; font-size: .875rem; min-height: 44px; padding: 0 8px 0 0;
}
.qform__back[hidden] { display: none; }
.qform__back:hover { color: var(--ink); }
.progress { height: 6px; border-radius: 3px; background: var(--line); margin: 6px 0 20px; overflow: clip; }
.progress__bar { height: 100%; width: 100%; transform-origin: left center; transform: scaleX(var(--p, .16)); background: linear-gradient(90deg, var(--az), var(--or-500)); border-radius: 3px; transition: transform 500ms var(--ease); }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep[hidden] { display: none; }
.qstep legend { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3125rem, 5.4vw, 1.625rem); line-height: 1.2; letter-spacing: -.02em; padding: 0; margin-bottom: 6px; }
.qstep__hint { font-size: .875rem; color: var(--ink-3); margin-bottom: 14px; }
.qstep.is-enter { animation: stepIn 420ms var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.opts { display: grid; gap: 10px; margin-top: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__box {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: center;
  min-height: 56px; padding: 12px 14px; border-radius: 14px;
  background: var(--field); box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 600; line-height: 1.35;
  transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}
.opt__mark { width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line-2); display: grid; place-items: center; transition: background-color 180ms, box-shadow 180ms; }
.opt input[type=checkbox] + .opt__box .opt__mark { border-radius: 7px; }
.opt__mark svg { opacity: 0; transform: scale(.5); transition: opacity 180ms, transform 220ms var(--ease); }
.opt:hover .opt__box { box-shadow: inset 0 0 0 1.5px var(--az); background: #fff; }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--az); outline-offset: 2px; }
.opt input:checked + .opt__box { background: var(--az-50); box-shadow: inset 0 0 0 2px var(--az); }
.opt input:checked + .opt__box .opt__mark { background: var(--az); box-shadow: none; }
.opt input:checked + .opt__box .opt__mark svg { opacity: 1; transform: none; }
.opt input:active + .opt__box { transform: scale(.99); }

.field { display: grid; gap: 6px; margin-top: 12px; }
.field label { font-size: .875rem; font-weight: 700; color: var(--ink); }
.field input {
  width: 100%; min-height: 54px; padding: 0 14px; border: 0; border-radius: 12px;
  background: var(--field); box-shadow: inset 0 0 0 1.5px var(--line);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: box-shadow 180ms var(--ease), background-color 180ms;
}
.field input::placeholder { color: #7b879b; }
.field input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--az), 0 0 0 4px var(--az-100); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d92d20; background: #fff; }
.row2 { display: grid; gap: 0 12px; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 16px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--az); }
.qform__err { min-height: 22px; margin-top: 10px; color: #b42318; font-size: .875rem; font-weight: 600; }
.qform__next { margin-top: 8px; }
.qform__safe { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .8125rem; color: var(--ink-3); text-align: center; line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 56px 0 110px; }
.foot__cta { display: grid; gap: 18px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__cta h2 { color: #fff; font-size: clamp(1.625rem, 6vw, 2.25rem); font-weight: 800; }
.foot .logo { color: #fff; }
.foot .btn { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); }
.foot .btn:hover { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7); }
.foot .logo__txt b { color: #7cb4ff; }
.foot__legal { display: grid; gap: 14px; padding-top: 26px; font-size: .875rem; line-height: 1.6; }
.foot__legal a { color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; }
.footer__crediti a { color: #fff; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -8px 24px rgba(11, 27, 51, .08);
  transform: translateY(110%);
  transition: transform 350ms var(--ease);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta .btn { --h: 54px; }

/* Reveal ------------------------------------------------------------------ */
html.js:not(.no-reveal) [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
html.js:not(.no-reveal) [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js:not(.no-reveal) [data-reveal] { transform: none; transition: opacity 400ms; }
  .play *, .play { animation: none !important; }
  .hl { transition: none; }
  html.js:not(.no-reveal) [data-reveal]:not(.is-in) .hl { background-size: 100% 100%; }
}

/* Simple pages -------------------------------------------------------------- */
.page { padding: 40px 0 80px; }
.page h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; }
.page__lead { margin-top: 14px; color: var(--ink-2); max-width: 60ch; }
.vsl { margin-top: 28px; border-radius: var(--r-l); aspect-ratio: 16 / 9; width: 100%; max-width: 860px; }
.vsl .ph { border-radius: var(--r-l); }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.375rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.note-box { margin-top: 24px; padding: 18px; border-radius: var(--r); background: var(--field); box-shadow: inset 0 0 0 1px var(--line); max-width: 640px; }

/* Tablet / desktop ---------------------------------------------------------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .rev-track { grid-auto-columns: 48%; }
  .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .qform { padding: 28px 30px 30px; }
  .hero__cta { max-width: 460px; }
}
@media (min-width: 900px) {
  :root { --head-h: 76px; }
  .hero { padding: 40px 0 90px; }
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
  .sec { padding: 110px 0; }
  .sec__head { margin-bottom: 52px; }
  .rev-track { grid-auto-columns: calc((100% - 28px) / 3); margin-inline: 0; padding-inline: 0; }
  .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .adv__item { padding: 28px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .split--rev > :first-child { order: 2; }
  .steps { gap: 28px; }
  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 24px; }
  .steps__rail { left: 26px; }
  .step__dot { width: 56px; height: 56px; font-size: 1.25rem; }
  .step__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 32px; padding: 28px; }
  .step__body > * { grid-column: 1; }
  .step__body > .step__art { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; align-self: center; }
  .quality { padding: 44px 44px 40px; }
  .quality-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
  .quality .qlist { gap: 14px; }
  .foot { padding-bottom: 56px; }
  .foot__cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .foot__legal { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .sticky-cta { display: none; }
}
