/* ModoLeads LinkedIn presentation. The palette of the site (Midnight #1A1D26, Sky #8FA3C7, Sand #F5F2EC,
   Blush #F1C9B8, Stone #C9C1B8), dark like the hero, laid out like presentazione.liberatori.eu. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }

:root {
  --notte: #12151d; --midnight: #1a1d26; --midnight-2: #232836; --sky: #8fa3c7; --sky-chiaro: #b9c7e0; --sand: #f5f2ec;
  --blush: #f1c9b8; --stone: #c9c1b8; --paper: #fbfaf7; --line: #e2dcd3; --muted: #5d606b;
  --vetro: rgba(255, 255, 255, .045); --bordo: rgba(255, 255, 255, .1); --testo-2: rgba(245, 242, 236, .66);
  --verde: #8cc5a0; --rosso: #e7a597;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--sand); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60vw 60vh at 12% 8%, rgba(143, 163, 199, .16), transparent 60%),
    radial-gradient(50vw 50vh at 92% 96%, rgba(241, 201, 184, .1), transparent 60%),
    var(--notte);
}
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
.logo-modo { font-weight: 800; letter-spacing: -.02em; }
.logo-leads { font-weight: 800; letter-spacing: -.02em; color: var(--sky); }

/* ---------- header and fixed controls ---------- */
.topp { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(20px, 5vw, 96px); pointer-events: none; }
.topp > * { pointer-events: auto; }
.marca { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: 1.35rem; }
.marca .coda { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--testo-2); padding-left: 14px; border-left: 1px solid var(--bordo); }
.topp-dx { display: flex; gap: 14px; align-items: center; }
.pill { display: inline-flex; gap: 10px; align-items: center; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--bordo); background: rgba(18, 21, 29, .6); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.pill:hover { border-color: var(--sky); }
.pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lingue { display: flex; padding: 4px; border-radius: 30px; border: 1px solid var(--bordo); background: rgba(18, 21, 29, .6); }
.lingue a { padding: 5px 12px; border-radius: 20px; font-size: .74rem; font-weight: 700; color: var(--testo-2); text-decoration: none; }
.lingue a[aria-current] { background: var(--sky-chiaro); color: var(--midnight); }

.cta { position: fixed; z-index: 25; left: clamp(20px, 5vw, 96px); bottom: 36px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 40px; background: var(--sky-chiaro); color: var(--midnight); text-decoration: none; font-weight: 700; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s, opacity .3s; }
.cta:hover { transform: translateY(-2px); }
.cta > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cta .min { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; padding-left: 10px; border-left: 1px solid rgba(26, 29, 38, .2); }
.cta .freccia { width: 30px; height: 30px; border-radius: 50%; background: rgba(26, 29, 38, .1); display: grid; place-items: center; }
.cta .freccia svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
body:not([data-dove="centro"]) .cta { opacity: 0; pointer-events: none; }

.uscita, .torna { position: fixed; z-index: 24; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--bordo); background: rgba(18, 21, 29, .55); display: grid; place-items: center; backdrop-filter: blur(6px); transition: opacity .35s, border-color .2s, background .2s; }
.uscita:hover, .torna:hover { border-color: var(--sky); background: rgba(143, 163, 199, .14); }
.uscita svg, .torna svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.uscita span { position: absolute; white-space: nowrap; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--testo-2); opacity: 0; transition: opacity .2s; pointer-events: none; }
.uscita:hover span, .uscita:focus-visible span { opacity: 1; }
.uscita.sx { left: 34px; top: calc(50% - 29px); } .uscita.sx span { left: 72px; }
.uscita.dx { right: 34px; top: calc(50% - 29px); } .uscita.dx span { right: 72px; }
.uscita.giu { left: calc(50% - 29px); bottom: 28px; } .uscita.giu span { bottom: 70px; }
body:not([data-dove="centro"]) .uscita { opacity: 0; pointer-events: none; }
.torna { opacity: 0; pointer-events: none; }
.torna.vis { opacity: 1; pointer-events: auto; }
.torna.verso-dx { right: 24px; top: calc(50% - 29px); } .torna.verso-dx svg { transform: rotate(180deg); }
.torna.verso-sx { left: 24px; top: calc(50% - 29px); }
.torna.verso-su { left: calc(50% - 29px); top: 92px; } .torna.verso-su svg { transform: rotate(90deg); }

/* ---------- the cross ---------- */
#mondo { position: fixed; inset: 0; transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
#mondo.fermo { transition: none; }
.cella { position: absolute; width: 100vw; height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.barra-tel { display: none; }

/* ---------- home: the wheel ---------- */
.home { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px 20px 120px; }
.ruota-zona { position: relative; width: min(74vh, 86vw, 640px); aspect-ratio: 1; }
.ruota { width: 100%; height: 100%; overflow: visible; }
.ruota .tacche line { stroke: rgba(255, 255, 255, .16); stroke-width: 1.4; }
.ruota .tacche line.lunga { stroke: rgba(255, 255, 255, .34); stroke-width: 2; }
.ruota .anello { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 1.2; }
.ruota .anello.fine { stroke: rgba(143, 163, 199, .22); }
.ruota .anello.tratt { stroke-dasharray: 2 7; stroke: rgba(255, 255, 255, .14); }
.ruota .arco { fill: none; stroke: var(--sky-chiaro); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(143, 163, 199, .6)); transition: stroke-dashoffset .9s cubic-bezier(.6, 0, .2, 1), opacity .5s; }
/* the opening: the ticks turn in, the rings appear, the steps pop in one by one, the middle settles */
[data-cella="centro"]:not(.pronta) .ruota > *, [data-cella="centro"]:not(.pronta) .mozzo { opacity: 0; }
.pronta .ruota .tacche { transform-origin: 330px 330px; animation: gira 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.pronta .ruota .anello { animation: appare .9s .25s both; }
.pronta .ruota .nodo { animation: appare .5s calc(.55s + var(--k) * .1s) both; }
.pronta .ruota .nodo .disco { transform-box: fill-box; transform-origin: center; animation: pop .55s calc(.55s + var(--k) * .1s) cubic-bezier(.3, 1.5, .5, 1) both; }
.pronta .mozzo { animation: mozzo-entra 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gira { from { opacity: 0; transform: rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes appare { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.2); } to { transform: none; } }
@keyframes mozzo-entra { from { opacity: 0; transform: translate(-50%, -50%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%); } }
.nodo { cursor: pointer; outline: none; }
.nodo .alone { fill: rgba(143, 163, 199, .12); opacity: 0; transition: opacity .3s; }
.nodo .disco { fill: var(--notte); stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; transition: all .3s; }
.nodo text { fill: rgba(245, 242, 236, .75); font-size: 15px; font-weight: 700; text-anchor: middle; }
.nodo text.nome { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: rgba(245, 242, 236, .45); transition: fill .3s; }
.nodo.fatto .disco { stroke: var(--sky); }
.nodo:hover .disco, .nodo:focus-visible .disco { stroke: var(--sky-chiaro); }
.nodo.on .alone { opacity: 1; }
.nodo.on .disco { fill: var(--sky-chiaro); stroke: var(--sky-chiaro); r: 26; }
.nodo.on text { fill: var(--midnight); }
.nodo.on text.nome { fill: #fff; }
.mozzo { position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(143, 163, 199, .35);
  background: radial-gradient(circle at 50% 30%, #1f2431, #141821 70%); box-shadow: 0 0 0 10px rgba(143, 163, 199, .04), 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8%; gap: 6px; }
.mozzo:hover { border-color: var(--sky); }
.m-eti { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky-chiaro); }
.m-ico { width: 40px; height: 40px; fill: none; stroke: var(--sand); stroke-width: 1.3; margin: 8px 0 4px; }
.m-lab { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 242, 236, .4); }
.m-num { font-size: clamp(1.9rem, 4.6vh, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.m-cosa { font-size: .78rem; color: var(--testo-2); max-width: 240px; line-height: 1.4; }
.mozzo > * { animation: entra .4s ease both; }
@keyframes entra { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.risultato { margin-top: 18px; font-size: 1rem; color: var(--testo-2); text-align: center; }
.risultato b { color: #fff; text-decoration: underline; text-decoration-color: rgba(143, 163, 199, .6); text-underline-offset: 5px; }

/* the popup of a step, and the frame of the slides */
.strato { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.strato.aperto { opacity: 1; pointer-events: auto; }
.velo { position: absolute; inset: 0; background: rgba(8, 10, 15, .7); backdrop-filter: blur(6px); }
.tondo { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bordo); background: transparent; display: inline-grid; place-items: center; }
.tondo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tondo:disabled { opacity: .3; cursor: default; }
.scheda { position: relative; width: min(560px, 92vw); padding: 38px 38px 26px; border-radius: 26px; background: linear-gradient(180deg, #1f2431, #171b25); border: 1px solid var(--bordo); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); transform: translateY(14px); transition: transform .35s; }
.strato.aperto .scheda { transform: none; }
.scheda .chiudi { position: absolute; top: 16px; right: 16px; }
.scheda .eti, .eti { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
.scheda h2 { margin: 10px 0 12px; font-size: 1.9rem; letter-spacing: -.02em; }
.scheda p#p-txt { color: var(--testo-2); line-height: 1.6; }
.scheda .prova { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--vetro); border: 1px solid var(--bordo); display: flex; gap: 18px; align-items: center; }
.scheda .num { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--sky-chiaro); white-space: nowrap; }
.scheda .cosa { font-size: .88rem; color: var(--testo-2); }
.scheda .barra { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--testo-2); }
.scheda .barra span:last-child { display: flex; gap: 8px; }

/* ---------- the CRM demo (light, like a real app) ---------- */
.crm { min-height: 100%; display: grid; grid-template-columns: 236px 1fr; padding: 92px clamp(96px, 7vw, 120px) 40px clamp(20px, 4vw, 70px); gap: 0; }
.crm-lato { background: var(--midnight); border: 1px solid var(--bordo); border-right: 0; border-radius: 22px 0 0 22px; padding: 22px 14px; display: flex; flex-direction: column; }
.crm-marca { font-size: 1.2rem; padding: 0 10px 20px; border-bottom: 1px solid var(--bordo); margin-bottom: 14px; }
.crm-marca small { display: block; font-size: .7rem; color: var(--testo-2); font-weight: 600; margin-top: 2px; }
.crm-menu { display: grid; gap: 4px; }
.crm-menu button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 0; background: transparent; color: var(--testo-2); font-weight: 600; font-size: .92rem; text-align: left; }
.crm-menu button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.crm-menu button:hover { background: var(--vetro); color: #fff; }
.crm-menu button.on { background: var(--sky-chiaro); color: var(--midnight); }
.crm-menu b { margin-left: auto; font-size: .7rem; background: var(--blush); color: var(--midnight); border-radius: 20px; padding: 1px 8px; }
.crm-io { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 10px 0; border-top: 1px solid var(--bordo); font-size: .86rem; }
.crm-io small { display: block; color: var(--testo-2); font-size: .74rem; }
.crm-main { background: var(--paper); color: var(--midnight); border-radius: 0 22px 22px 0; min-width: 0; display: flex; flex-direction: column; }
.crm-barra { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px; border-bottom: 1px solid var(--line); }
.crm-demo { font-size: .74rem; font-weight: 700; background: var(--sand); border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; color: var(--muted); }
.crm-nota { margin: 16px 26px 0; padding: 10px 14px; border-radius: 12px; background: #f3edd9; color: #6b5a22; font-size: .84rem; font-weight: 600; }
.crm-demo { background: #f3edd9 !important; color: #7a6526 !important; border-color: #e6dab3 !important; }
.crm-riparti { border: 0; background: none; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.crm-corpo { padding: 24px 26px 30px; font-size: .9rem; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 700; background: #e3e8f2; color: #4d6187; }
.crm-lato .av { background: rgba(143, 163, 199, .2); color: var(--sky-chiaro); }
.crm-main small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.d-data { font-size: .8rem; color: var(--muted); }
.d-titolo { margin-top: 4px; font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.d-titolo em { font-style: normal; color: #5b6f97; }
.d-sotto { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.kpi { margin-top: 20px; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.kpi div { padding: 14px; border-left: 1px solid var(--line); }
.kpi div:first-child { border-left: 0; }
.kpi span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.kpi div:nth-child(2) strong { color: #4f8a64; }
.kpi div:nth-child(4) strong, .kpi div:nth-child(5) strong { color: #5b6f97; }
.filtri { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 12px; }
.filtri button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: .8rem; font-weight: 600; color: var(--midnight); }
.filtri button b { color: var(--muted); font-weight: 700; }
.filtri button.on { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.filtri button.on b { color: var(--sky-chiaro); }
.pallino { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.tab-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tab { width: 100%; border-collapse: collapse; min-width: 600px; }
.tab th { text-align: left; font-size: .74rem; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tab td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tab tr:last-child td { border-bottom: 0; }
.tab tr.apre { cursor: pointer; }
.tab tr.apre:hover td { background: var(--sand); }
.persona { display: flex; gap: 10px; align-items: center; }
.persona b { font-weight: 650; }
.quando { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.chip { display: inline-block; white-space: nowrap; font-size: .74rem; font-weight: 650; padding: 3px 10px; border-radius: 20px; background: #ebe6df; color: var(--midnight); }
.c-pos { background: #e1efe5; color: #2f6b45; } .pallino.c-pos { background: #4f8a64; }
.c-neg { background: #f6e1dd; color: #9a4434; } .pallino.c-neg { background: #c46a57; }
.c-snt { background: #e3e8f2; color: #4d6187; } .pallino.c-snt { background: #5b6f97; }
.c-acc { background: #e6f0f5; color: #3c6a86; } .pallino.c-acc { background: #6c9ab5; }
.c-fup { background: #f8e6de; color: #8a5a45; } .pallino.c-fup { background: #d49a80; }
.c-later { background: #f3edd9; color: #7a6526; } .pallino.c-later { background: #c4a54a; }
.c-req { background: #ebe6df; color: #5d606b; } .pallino.c-req { background: #a9a296; }

.d-testa { margin-bottom: 18px; }
.d-testa h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.d-testa p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.inbox { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 460px; }
.conv { list-style: none; margin: 0; padding: 8px; background: var(--paper); border-right: 1px solid var(--line); }
.conv button { width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 0; background: transparent; text-align: left; color: var(--midnight); }
.conv button:hover { background: var(--sand); }
.conv button.on { background: #fff; box-shadow: 0 1px 3px rgba(26, 29, 38, .1); }
.c-testo { min-width: 0; flex: 1; }
.c-testo b { display: block; font-size: .88rem; }
.c-testo small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-lato { display: grid; gap: 6px; justify-items: end; }
.filo { display: flex; flex-direction: column; min-width: 0; }
.filo-testa { display: flex; gap: 12px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.filo-testa b { display: block; }
.filo-corpo { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.evento { align-self: center; font-size: .76rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; }
.bolla { max-width: 78%; }
.bolla p { padding: 12px 16px; border-radius: 16px; line-height: 1.5; }
.bolla small { margin-top: 4px; }
.bolla.out { align-self: flex-end; }
.bolla.out p { background: var(--midnight); color: #fff; border-bottom-right-radius: 4px; }
.bolla.out small { text-align: right; }
.bolla.in p { background: var(--sand); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bolla.nuova { animation: entra .4s ease both; }
.bandiera { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; font-size: .84rem; font-weight: 650; }
.bandiera svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.suggerito { border: 1px dashed #b9c7e0; border-radius: 14px; padding: 14px 16px; background: #f4f6fb; display: grid; gap: 12px; }
.suggerito p { font-size: .88rem; color: #33405a; }
.b-azione { justify-self: start; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 30px; border: 0; background: var(--midnight); color: #fff; font-weight: 700; font-size: .84rem; }
.b-azione svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.seq { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seq li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.seq li + li::before { content: ""; position: absolute; left: -17px; top: 38px; width: 16px; height: 1px; background: var(--stone); }
.seq-n { width: 28px; height: 28px; border-radius: 50%; background: var(--midnight); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; margin-bottom: 8px; }
.seq li:nth-child(2) .seq-n { background: var(--sky); } .seq li:nth-child(3) .seq-n { background: var(--blush); color: var(--midnight); }
.seq li b { font-size: 1.05rem; }
.seq-num { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .84rem; color: var(--muted); }
.seq-num strong { color: #2f6b45; }
.d-h4 { margin: 26px 0 12px; font-size: 1rem; }
.passo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.passo div { background: #fff; padding: 14px 16px; }
.passo span { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.passo b { font-size: .92rem; }
.totali { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.totali div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.totali span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.totali strong { display: block; font-size: 1.8rem; letter-spacing: -.02em; }
.totali div:last-child strong { color: #2f6b45; }
.grafico { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 10px; }
.legenda { display: flex; gap: 18px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.grafico svg { width: 100%; height: auto; }
.grafico text { font-size: 12px; fill: var(--muted); font-family: inherit; }
.s0 { fill: #d6dbe6; background: #d6dbe6; } .s1 { fill: #8fa3c7; background: #8fa3c7; } .s2 { fill: #1a1d26; background: #1a1d26; }

/* ---------- the calculator ---------- */
.calc { min-height: 100%; padding: 100px clamp(20px, 4vw, 70px) 120px clamp(96px, 7vw, 120px); }
.k-testa { margin-bottom: 18px; }
.k-griglia { display: grid; grid-template-columns: 260px minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.k-card { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)); border: 1px solid var(--bordo); border-radius: 22px; padding: 22px; }
.k-card > .eti { text-align: center; margin-bottom: 14px; }
.k-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.k-chips button { padding: 6px 12px; border-radius: 20px; border: 1px solid var(--bordo); background: transparent; font-size: .8rem; font-weight: 650; color: var(--testo-2); }
.k-chips button.on { background: var(--sky-chiaro); color: var(--midnight); border-color: var(--sky-chiaro); }
.k-grande { margin-top: 16px; text-align: center; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.k-nota { text-align: center; font-size: .8rem; color: var(--testo-2); }
.k-riga { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.k-campo { display: grid; gap: 8px; margin-bottom: 18px; }
.k-campo > label { font-size: .86rem; font-weight: 700; }
.k-campo > small { font-size: .74rem; color: var(--testo-2); }
.k-mesi { justify-content: flex-start; }
.k-mesi button { min-width: 48px; }
.k-passi { display: flex; align-items: center; gap: 14px; }
.k-passi button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bordo); background: var(--vetro); font-size: 1.2rem; line-height: 1; }
.k-passi button:hover { border-color: var(--sky); }
.k-passi b { font-size: 1.5rem; min-width: 22px; text-align: center; }
.k-input { position: relative; }
.k-input input { width: 100%; padding: 12px 44px 12px 16px; border-radius: 14px; border: 1px solid var(--bordo); background: rgba(0, 0, 0, .2); color: #fff; font: inherit; font-size: 1.3rem; font-weight: 700; text-align: right; -moz-appearance: textfield; }
.k-input input::-webkit-outer-spin-button, .k-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.k-input input:focus { outline: none; border-color: var(--sky); }
.k-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--testo-2); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--notte); border: 2px solid var(--sky-chiaro); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--notte); border: 2px solid var(--sky-chiaro); cursor: pointer; }
.k-switch { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 20px; cursor: pointer; }
.k-switch input { position: absolute; opacity: 0; }
.k-sw { flex: none; width: 40px; height: 22px; border-radius: 20px; background: rgba(255, 255, 255, .15); position: relative; transition: background .2s; margin-top: 2px; }
.k-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.k-switch input:checked + .k-sw { background: var(--sky); }
.k-switch input:checked + .k-sw::after { transform: translateX(18px); }
.k-switch input:focus-visible + .k-sw { outline: 2px solid var(--sky); outline-offset: 2px; }
.k-switch b { display: block; font-size: .86rem; }
.k-switch small { display: block; font-size: .74rem; color: var(--testo-2); }
.k-ipotesi { border-top: 1px solid var(--bordo); padding-top: 14px; }
.k-ipotesi summary { cursor: pointer; font-weight: 700; font-size: .86rem; margin-bottom: 14px; }
.k-ipotesi summary small { font-weight: 500; color: var(--testo-2); margin-left: 6px; }
.k-ipotesi .k-input input { font-size: 1.05rem; padding: 9px 40px 9px 14px; }
.imbuto { display: grid; gap: 10px; }
.im-riga { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; font-size: .82rem; }
.im-lab { color: var(--testo-2); font-weight: 600; }
.im-barra { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.im-barra i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--sky), var(--sky-chiaro)); transition: width .4s; }
.im-3 .im-barra i, .im-4 .im-barra i { background: linear-gradient(90deg, var(--blush), #f6dccf); }
.im-riga b { min-width: 46px; text-align: right; font-size: .98rem; }
.im-3 b, .im-4 b { color: var(--blush); }
.k-soldi { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-soldi div, .k-costo { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .18); border: 1px solid var(--bordo); text-align: center; }
.k-soldi span, .k-costo span { display: block; font-size: .74rem; color: var(--testo-2); font-weight: 600; }
.k-soldi strong { font-size: 1.35rem; letter-spacing: -.02em; color: var(--sky-chiaro); }
.k-costo { margin-top: 10px; }
.k-costo strong { font-size: 1.5rem; }
.k-costo small { display: block; font-size: .74rem; color: var(--testo-2); margin-top: 2px; }
.btn-chiaro, .btn-scuro { margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 40px; font-weight: 700; text-decoration: none; }
.btn-chiaro { background: var(--sky-chiaro); color: var(--midnight); }
.btn-scuro { background: var(--midnight); color: #fff; }
.btn-chiaro svg, .btn-scuro svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.k-disc { margin-top: 12px; font-size: .72rem; color: var(--testo-2); text-align: center; line-height: 1.45; }

/* ---------- the offer ---------- */
.offerta { min-height: 100%; max-width: 1180px; margin: 0 auto; padding: 150px clamp(20px, 4vw, 40px) 130px; }
.o-griglia { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.o-testo h2 { margin: 12px 0 10px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.1; }
.o-testo > p { color: var(--testo-2); font-size: 1.05rem; }
.o-h4 { margin: 28px 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--testo-2); }
.spunte { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spunte li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.spunte svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--blush); stroke: var(--midnight); fill: none; stroke-width: 2.4; }
.o-prezzo { background: var(--paper); color: var(--midnight); border-radius: 26px; padding: 32px; position: relative; overflow: hidden; }
.o-prezzo::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--midnight), var(--sky) 30%, var(--sand) 55%, var(--blush) 78%, var(--stone)); }
.o-prezzo .eti { color: var(--muted); }
.o-cifra { font-size: clamp(2.8rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 8px; }
.o-alt { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.o-prezzo > p:not(.o-cifra):not(.o-alt) { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.o-prezzo .spunte li { font-size: .94rem; }
.o-dopo { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }
.o-sotto { margin-top: 28px; grid-template-columns: 1fr 1fr; }
.o-card { background: var(--vetro); border: 1px solid var(--bordo); border-radius: 22px; padding: 4px 26px 26px; }
.tappe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tappe li { display: flex; flex-direction: column; gap: 4px; }
.tappe span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sky); color: var(--sky-chiaro); display: grid; place-items: center; font-weight: 700; font-size: .82rem; margin-bottom: 6px; }
.tappe li:last-child span { background: var(--sky-chiaro); color: var(--midnight); }
.tappe b { font-size: .92rem; }
.tappe small { font-size: .78rem; color: var(--testo-2); }
.o-legale { margin-top: 24px; font-size: .78rem; color: var(--testo-2); }

/* ---------- the full presentation ---------- */
.telaio { position: relative; width: min(94vw, calc((100vh - 60px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--sand); color: var(--midnight); box-shadow: 0 40px 120px rgba(0, 0, 0, .55); transform: scale(.97); transition: transform .35s; container-type: inline-size; }
.strato.aperto .telaio { transform: none; }
.telaio .chiudi { position: absolute; z-index: 3; top: 2.2cqw; right: 2.2cqw; border-color: rgba(26, 29, 38, .15); }
.mazzo { position: absolute; inset: 0; }
.sl { position: absolute; inset: 0; padding: 5.5cqw 6cqw 8cqw; opacity: 0; transform: translateX(3%); transition: opacity .45s, transform .45s; pointer-events: none; display: flex; flex-direction: column; }
.sl.prima { transform: translateX(-3%); }
.sl.on { opacity: 1; transform: none; pointer-events: auto; }
.sl h2 { font-size: 4.6cqw; letter-spacing: -.035em; line-height: 1.05; }
.sl-riga { width: 7cqw; height: .35cqw; background: var(--midnight); margin: 1.6cqw 0; border-radius: 2px; }
.sl-sotto { font-size: 1.9cqw; font-weight: 650; color: #3b4152; }
.sl-corpo { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sl-scura { background: radial-gradient(70% 90% at 15% 10%, rgba(143, 163, 199, .25), transparent 60%), var(--midnight); color: var(--sand); }
.sl-scura .telaio-x { color: #fff; }
.sl-cover { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 70cqw; }
.sl-marca { font-size: 2.2cqw; margin-bottom: 3cqw; }
.sl-cover h1 { font-size: 5.8cqw; letter-spacing: -.04em; line-height: 1.02; }
.sl-cover p { margin-top: 2cqw; font-size: 1.9cqw; color: var(--testo-2); }
.sl-cover .btn-chiaro { align-self: flex-start; font-size: 1.5cqw; padding: 1.2cqw 2.4cqw; margin-top: 3cqw; }
.sl-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4cqw; counter-reset: f; }
.sl-flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1.4cqw; padding: 2cqw 1.6cqw; display: flex; flex-direction: column; gap: .5cqw; }
.sl-flow li + li::before { content: ""; position: absolute; left: -1.4cqw; top: 50%; width: 1.4cqw; height: 1px; background: var(--stone); }
.sl-flow span { font-size: 1.1cqw; font-weight: 700; color: var(--sky); letter-spacing: .1em; }
.sl-flow b { font-size: 1.8cqw; }
.sl-flow small { font-size: 1.15cqw; color: var(--muted); }
.sl-flow li:last-child { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.sl-flow li:last-child small { color: var(--testo-2); }
.sl-flow.mini { margin-top: 4cqw; grid-template-columns: repeat(6, auto); justify-content: start; gap: 1.6cqw; }
.sl-flow.mini li { background: none; border: 0; padding: 0; font-size: 1.1cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-chiaro); counter-increment: f; }
.sl-flow.mini li::before { display: none; }
.sl-flow.mini li:last-child { background: none; color: var(--blush); }
.sl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.sl-split > div { border-radius: 1.6cqw; padding: 2.4cqw; display: grid; gap: 1cqw; align-content: start; }
.sl-split .no { border: 1.5px dashed #cfc7bb; color: #7a7d86; }
.sl-split .no p { text-decoration: line-through; text-decoration-color: rgba(196, 106, 87, .6); }
.sl-split .si { background: var(--midnight); color: #fff; }
.sl-split h4 { font-size: 1.1cqw; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .6cqw; }
.sl-split p { font-size: 1.75cqw; font-weight: 650; display: flex; gap: 1cqw; align-items: center; }
.sl-split svg { width: 1.8cqw; height: 1.8cqw; fill: none; stroke: var(--blush); stroke-width: 2.4; flex: none; }
.sl-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.sl-lista div { background: #fff; border: 1px solid var(--line); border-radius: 1.4cqw; padding: 2cqw; }
.sl-lista span { font-size: 1.1cqw; font-weight: 700; color: var(--sky); letter-spacing: .1em; }
.sl-lista b { display: block; font-size: 1.9cqw; margin: .4cqw 0; }
.sl-lista p { font-size: 1.35cqw; color: var(--muted); }
.sl-chat { width: 70cqw; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2cqw; font-size: 1.65cqw; }
.sl-chat .evento { font-size: 1cqw; }
.sl-chat .bolla small { font-size: .95cqw; color: var(--muted); display: block; }
.sl-chat .bandiera { font-size: 1.2cqw; }
.sl-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; }
.sl-kpi div { background: #fff; border: 1px solid var(--line); border-radius: 1.4cqw; padding: 2.4cqw 2cqw; }
.sl-kpi strong { display: block; font-size: 5cqw; letter-spacing: -.04em; line-height: 1; }
.sl-kpi div:last-child { background: var(--midnight); color: #fff; }
.sl-kpi span { font-size: 1.4cqw; color: var(--muted); font-weight: 600; }
.sl-kpi div:last-child span { color: var(--testo-2); }
.sl-nota { margin-top: 1.6cqw; font-size: 1.1cqw; color: var(--muted); }
.sl-prezzo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4cqw; align-items: center; }
.sl-prezzo .o-cifra { font-size: 7cqw; }
.sl-prezzo .o-alt, .sl-prezzo p { font-size: 1.4cqw; color: var(--muted); }
.sl-prezzo .eti { color: var(--muted); font-size: 1.1cqw; }
.sl-prezzo .spunte { gap: 1.2cqw; }
.sl-prezzo .spunte li { font-size: 1.6cqw; align-items: center; }
.sl-prezzo .spunte svg { width: 2.2cqw; height: 2.2cqw; padding: .45cqw; }
.mazzo-barra { position: absolute; z-index: 3; left: 6cqw; right: 3cqw; bottom: 2.4cqw; display: flex; justify-content: space-between; align-items: center; font-size: 1.2cqw; color: var(--muted); }
.mazzo-frecce { display: flex; gap: .8cqw; align-items: center; }
.mazzo-frecce .tondo { width: 3.2cqw; height: 3.2cqw; min-width: 32px; min-height: 32px; border-color: rgba(26, 29, 38, .15); background: #fff; }
.mazzo-conta { margin-left: 1cqw; font-size: 1.5cqw; }
.mazzo-conta b { color: var(--midnight); }
.mazzo-prog { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: .4cqw; background: rgba(26, 29, 38, .08); }
.mazzo-prog span { display: block; height: 100%; background: var(--midnight); transition: width .4s; }
.telaio:has(.sl-scura.on) .mazzo-barra, .telaio:has(.sl-scura.on) .chiudi { color: var(--sand); }
.telaio:has(.sl-scura.on) .mazzo-conta b { color: #fff; }

/* ---------- smaller screens ---------- */
@media (max-width: 1200px) {
  .k-griglia { grid-template-columns: 1fr 1fr; }
  .k-mercato { grid-column: 1 / -1; }
  .kpi { grid-template-columns: repeat(3, 1fr); }
  .kpi div:nth-child(4) { border-left: 0; }
  .kpi div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .uscita, .torna { display: none; }
  .barra-tel { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(18, 21, 29, .92); border-top: 1px solid var(--bordo); backdrop-filter: blur(10px); }
  .barra-tel button { border: 0; background: none; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; color: var(--testo-2); font-size: .68rem; font-weight: 700; }
  .barra-tel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .barra-tel button.on { color: var(--midnight); background: var(--sky-chiaro); }
  .cta { left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cta:hover { transform: translateX(-50%); }
  body:not([data-dove="centro"]) .cta { opacity: 0; pointer-events: none; }
  .topp { padding: 16px 16px; background: linear-gradient(var(--notte), rgba(18, 21, 29, 0)); }
  .marca { font-size: 1.15rem; }
  .marca .coda { display: none; }
  .pill span { display: none; }
  .pill { padding: 9px 11px; }
  .home { padding: 80px 14px 170px; }
  .ruota-zona { width: min(94vw, 62vh); }
  .ruota .nome { display: none; }
  .mozzo { width: 56%; padding: 6%; gap: 3px; }
  .m-lab { display: none; }
  .m-eti { font-size: .56rem; letter-spacing: .14em; }
  .m-ico { width: 26px; height: 26px; margin: 0 0 4px; }
  .m-num { font-size: 1.7rem; }
  .m-cosa { font-size: .68rem; max-width: 150px; }
  .cta { white-space: nowrap; }
  .crm { grid-template-columns: 1fr; padding: 74px 12px 100px; }
  .crm-lato { border-radius: 18px 18px 0 0; border-right: 1px solid var(--bordo); border-bottom: 0; padding: 12px; }
  .crm-marca, .crm-io { display: none; }
  .crm-menu { grid-template-columns: repeat(4, 1fr); }
  .crm-menu button { flex-direction: column; gap: 4px; font-size: .72rem; padding: 8px 4px; }
  .crm-menu b { display: none; }
  .crm-main { border-radius: 0 0 18px 18px; }
  .crm-corpo { padding: 18px 14px 24px; }
  .crm-barra { padding: 10px 14px; }
  .kpi { grid-template-columns: repeat(2, 1fr); }
  .kpi div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .kpi div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .kpi div:nth-child(-n+2) { border-top: 0; }
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .conv { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; gap: 6px; }
  .conv li { flex: none; width: 230px; }
  .bolla { max-width: 92%; }
  .seq, .passo, .totali { grid-template-columns: 1fr 1fr; }
  .seq li + li::before { display: none; }
  .calc { padding: 76px 12px 110px; }
  .k-griglia { grid-template-columns: minmax(0, 1fr); }
  .offerta { padding: 80px 16px 110px; }
  .o-griglia, .o-sotto { grid-template-columns: minmax(0, 1fr); }
  .tappe { grid-template-columns: 1fr 1fr; gap: 16px; }
  .telaio { width: 96vw; }
  .mazzo-frecce .tondo { width: 34px; height: 34px; }
}
@media (max-width: 900px) and (orientation: portrait) {
  /* the slides stay 16:9: on a phone they are read turned or small, as a deck is */
  .telaio { width: 96vw; }
}
@media (prefers-reduced-motion: reduce) {
  #mondo, .sl, .scheda, .telaio, .ruota .arco { transition: none; }
  .pronta .ruota *, .pronta .mozzo, .mozzo > * { animation: none !important; }
}
.telaio:has(.sl-scura.on) .mazzo-frecce .tondo, .telaio:has(.sl-scura.on) .chiudi { background: transparent; border-color: rgba(255, 255, 255, .2); color: var(--sand); }
.piani { margin: 4px 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.piani .eti { color: var(--muted); padding: 10px 14px 6px; }
.piano { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.piano span { color: var(--muted); }
.piano strong { text-align: right; font-size: 1.05rem; }
.piano strong small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); }
.piano.primo { background: #f4f6fb; }
.sl-prezzo .piani { font-size: 1.3cqw; margin: 0; }
.sl-prezzo .piano { font-size: 1.35cqw; padding: .8cqw 1.2cqw; }
.sl-prezzo .piano strong { font-size: 1.5cqw; }
.sl-prezzo .piano strong small { font-size: 1cqw; }
.sl-prezzo .piani .eti { font-size: 1cqw; padding: .8cqw 1.2cqw .4cqw; }
