/* Italian home (body.home2). Everything here is scoped to .home2 so the other pages keep site.css as is. */
.home2 {
  --a-bg: #1c1c1e; --a-panel: #232326; --a-card: #2b2b2f; --a-line: #3a3a40; --a-ink: #ececf1; --a-dim: #9c9ca6;
  --a-teal: #3cc8b1; --a-violet: #a78bfa; --a-blue: #3b82f6; --a-green: #4ade80; --a-yellow: #facc15; --a-red: #ef4444;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1180px;
}
.home2 section { padding: 112px 0; }
.home2 section + section { border-top: 0; }
.home2 h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.03em; text-wrap: balance; }
.home2 h3 { text-wrap: balance; }
.home2 .lead { text-wrap: pretty; }
.home2 :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.home2 .btn.primary:focus-visible { outline-color: #fff; }
.home2 .skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.home2 .skip:focus { top: 12px; }
.home2 .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home2 .btn.big { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.home2 .btn.alt { background: rgba(20,29,53,.55); }
.home2 .btn .dim { color: var(--dim); font-weight: 500; }
.home2 .btn.primary { box-shadow: 0 10px 30px -10px rgba(94,234,212,.55); }

/* macOS window frame */
.home2 .mac { position: relative; margin: 0; background: var(--a-bg); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 90px -20px rgba(0,0,0,.75), 0 0 0 .5px rgba(255,255,255,.04) inset; }
.home2 .mac-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: #2a2a2d; border-bottom: 1px solid #111; position: relative; }
.home2 .mac-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.home2 .mac-bar i:nth-child(2) { background: #febc2e; }
.home2 .mac-bar i:nth-child(3) { background: #28c840; }
.home2 .mac-bar span { position: absolute; left: 70px; right: 70px; text-align: center; font-size: 12px; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home2 .mac picture { display: block; }
.home2 .mac img { display: block; width: 100%; height: auto; }

/* ---------- Apertura ---------- */
.home2 .h-hero { padding: 96px 0 40px; text-align: center; overflow: hidden; }
.home2 .h-hero-text { max-width: 940px; margin: 0 auto; }
.home2 .h-beta { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20,29,53,.6); color: var(--dim); font-size: 13.5px; font-weight: 600; }
.home2 .h-beta i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.home2 .h-hero h1 { font-size: clamp(40px, 6.6vw, 80px); font-weight: 850; letter-spacing: -.038em; line-height: 1.03; margin-top: 24px; text-wrap: balance; }
.home2 .h-sub { color: var(--dim); font-size: clamp(17px, 2vw, 21px); max-width: 760px; margin: 24px auto 0; text-wrap: pretty; }
.home2 .h-hero .cta { justify-content: center; margin-top: 34px; }
.home2 .h-avail { color: var(--dim2); font-size: 14.5px; margin-top: 18px; }
.home2 .h-shot-wrap { position: relative; max-width: 1228px; margin: 64px auto 0; padding: 0 24px; perspective: 2400px; }
.home2 .h-shot-wrap::before { content: ""; position: absolute; inset: 6% 8% -4%; z-index: -1; filter: blur(70px); opacity: .55;
  background: radial-gradient(50% 60% at 25% 50%, rgba(94,234,212,.55), transparent 70%), radial-gradient(50% 60% at 78% 45%, rgba(167,139,250,.6), transparent 70%); }
.home2 .h-shot { transform-origin: 50% 0; animation: tilt 1.4s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes tilt { from { transform: rotateX(14deg) translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.home2 .h-float { position: absolute; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 11px 15px; border-radius: 12px;
  background: rgba(30,30,34,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,.6); font-size: 12.5px; color: var(--a-dim); animation: floatin .9s ease 1.3s both; }
.home2 .h-float b { display: flex; align-items: center; gap: 8px; color: var(--a-ink); font-size: 14px; font-weight: 650; }
.home2 .h-float i { width: 9px; height: 9px; border-radius: 50%; background: var(--a-green); }
.home2 .h-float i.ok { box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.home2 .h-float i.live { animation: pulse 2s ease infinite; }
.home2 .h-float.f1 { left: 0; bottom: 14%; }
.home2 .h-float.f2 { right: 0; top: 18%; animation-delay: 1.6s; }
@keyframes floatin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }

/* ---------- Il problema ---------- */
.home2 .h-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.home2 .h-split.mid { align-items: center; }
.home2 .h-problem .lead { margin-top: 44px; max-width: none; }
.home2 .h-qs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home2 .h-qs li { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(248,113,113,.22); background: rgba(248,113,113,.05); font-weight: 650; color: #fecaca; font-size: 15.5px; }
.home2 .h-qs li::before { content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: rgba(248,113,113,.16); color: var(--red); font-size: 13px; font-weight: 800; }

/* ---------- Come funziona ---------- */
.home2 .h-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.home2 .h-steps li { position: relative; padding: 28px 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,29,53,.85), rgba(13,20,38,.7)); }
.home2 .h-steps .n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #06101f; font-weight: 850; margin-bottom: 18px; }
.home2 .h-steps h3 { font-size: 21px; }
.home2 .h-steps p { color: var(--dim); margin-top: 10px; font-size: 15.5px; }
.home2 .h-film { position: relative; margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #0b0f1a; }
.home2 .h-film img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: brightness(.38) saturate(.8) blur(1.5px); transform: scale(1.03); }
.home2 .h-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0f1a; display: block; }
.home2 .h-film:not(.playing)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 50% 50%, rgba(7,11,22,.35), rgba(7,11,22,.8)); }
.home2 .h-film-over { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 20px; }
.home2 button.h-film-over { border: 0; margin: 0; background: none; color: inherit; font: inherit; cursor: pointer; width: 100%; }
.home2 .h-film-over:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; border-radius: 20px; }
.home2 .h-film.playing .h-film-over, html:not(.js) .home2 button.h-film-over { display: none; }
.home2 .h-play { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--grad); color: #06101f; box-shadow: 0 0 0 10px rgba(94,234,212,.12), 0 20px 50px -10px rgba(96,165,250,.6); transition: transform .2s ease; }
.home2 button.h-film-over:hover .h-play { transform: scale(1.06); }
.home2 .h-play svg { width: 34px; height: 34px; margin-left: 5px; }
.home2 .h-film-over b { display: block; font-size: 20px; letter-spacing: -.01em; }
.home2 .h-film-over div span, .home2 .h-film-txt > span { display: block; color: var(--dim); font-size: 15px; margin-top: 4px; }

/* ---------- La mappa dal vivo ---------- */
.home2 .h-live { background: linear-gradient(180deg, transparent, rgba(13,20,38,.55) 30%, rgba(13,20,38,.55) 70%, transparent); }
.home2 .h-live-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.home2 .h-live-head .lead { margin-top: 0; max-width: none; font-size: 17.5px; }
.home2 .lv { margin: 52px 0 0; display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.62fr); gap: 20px; align-items: stretch; }
.home2 .lv figcaption { grid-column: 1 / -1; text-align: center; color: var(--dim); font-size: 15px; margin-top: 8px; }
.home2 .lv-term { background: #0a0e18; display: flex; flex-direction: column; }
.home2 .lv-term .mac-bar { background: #161b27; border-color: #05070c; }
.home2 .lv-lines { padding: 16px 16px 20px; font: 12.5px/1.6 var(--mono); color: #c9d1e0; display: flex; flex-direction: column; gap: 7px; }
.home2 .lv-lines p { margin: 0; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; overflow-wrap: anywhere; }
.home2 .lv-lines p.on, .home2 .lv.is-final .lv-lines p { opacity: 1; transform: none; }
.home2 .lv-lines .you { color: #f1f5fb; }
.home2 .lv-lines .you::before { content: "› "; color: var(--teal); }
.home2 .lv-lines .tool { color: var(--blue); margin-top: 6px; }
.home2 .lv-lines .tool::before { content: "⏺ "; font-size: 10px; }
.home2 .lv-lines .out { color: #8b96ab; padding-left: 14px; }
.home2 .lv-lines .warn { color: var(--amber); padding-left: 14px; }
.home2 .lv-lines .ok { color: var(--green); padding-left: 14px; }

.home2 .lv-app { display: flex; flex-direction: column; }
.home2 .lv-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #111; background: var(--a-bg); }
.home2 .lv-top > div { min-width: 0; flex: 1; }
.home2 .lv-top b { display: block; font-size: 14px; color: var(--a-ink); }
.home2 .lv-top span { display: block; font-size: 12px; color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home2 .lv-unsent { font-style: normal; color: var(--a-violet); transition: opacity .4s; }
.home2 .lv.pushed .lv-unsent { opacity: 0; }
.home2 .lv-follow { flex: none; display: inline-flex !important; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 7px; background: #24324a; color: #dbe7ff !important; font-size: 12.5px !important; }
.home2 .lv-follow i { width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); animation: pulse 2s infinite; }
.home2 .lv-canvas { position: relative; flex: 1; min-height: 0; aspect-ratio: 16 / 9.6; background: var(--a-bg);
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 18px 18px; }
.home2 .lv-edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home2 .lv-edges .e { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .9s cubic-bezier(.5,0,.2,1), stroke .5s; }
.home2 .lv-edges .e.on { stroke-dashoffset: 0; }
.home2 .lv-edges .dep { stroke: #8a8a94; }
.home2 .lv-edges .run { stroke: var(--a-teal); }
.home2 .lv-edges .unsent { stroke: var(--a-violet); }
.home2 .lv.pushed .lv-edges .unsent { stroke: #8a8a94; }
.home2 .lv-edges .faint.on { stroke: #b4a6e8; stroke-dasharray: 3 4; animation: none; }
.home2 .lv-edges .faint { stroke: #b4a6e8; }

.home2 .mn { position: absolute; width: 25%; padding: 9px 11px 9px 13px; border-radius: 8px; background: var(--a-card); border: 1px solid #45454c;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.6), inset 3px 0 0 #5b6ee8; color: var(--a-ink);
  opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .45s ease, transform .45s cubic-bezier(.3,1.4,.5,1), border-color .5s, background .5s; }
.home2 .mn.on, .home2 .lv.is-final .mn { opacity: 1; transform: none; }
.home2 .mn b { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home2 .mn b i { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #8b8b95; }
.home2 .mn.svc b i { background: var(--a-yellow); border-color: var(--a-yellow); }
.home2 .mn.svc { box-shadow: 0 6px 16px -6px rgba(0,0,0,.6), inset 3px 0 0 var(--a-teal); }
.home2 .mn small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--a-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home2 .mn .tagl { position: absolute; right: 8px; top: -9px; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 600; line-height: 1.5; white-space: nowrap; background: var(--a-bg); transition: opacity .4s; }
.home2 .mn .tagl .sh { display: none; }
.home2 .mn.unsent { border: 1.5px dashed var(--a-violet); background: #2a2640; }
.home2 .mn.unsent .tagl { color: var(--a-violet); border: 1px solid var(--a-violet); }
.home2 .lv.pushed .mn.unsent { border: 1px solid #45454c; background: var(--a-card); }
.home2 .lv.pushed .mn.unsent .tagl { opacity: 0; }
.home2 .mn.shadow { border: 1.5px dashed #8f83c7; box-shadow: none;
  background: repeating-linear-gradient(135deg, #26252c 0 6px, #2e2d36 6px 12px); }
.home2 .mn.shadow.on, .home2 .lv.is-final .mn.shadow { opacity: .92; }
.home2 .mn.shadow b i { background: none; border-color: #8b8b95; }
.home2 .mn.shadow small { font-family: var(--mono); font-size: 10.5px; color: #c4b5fd; }
.home2 .mn.shadow .tagl { color: #d8d0ff; border: 1px solid #8f83c7; }
/* positions: three rows, three columns (same topology on every screen size) */
.home2 .mn[data-id="web"]      { left: 37.5%; top: 9%; }
.home2 .mn[data-id="vercel"]   { left: 71%;   top: 9%; }
.home2 .mn[data-id="sentry"]   { left: 4%;    top: 38%; }
.home2 .mn[data-id="api"]      { left: 37.5%; top: 38%; }
.home2 .mn[data-id="postmark"] { left: 71%;   top: 38%; }
.home2 .mn[data-id="db"]       { left: 4%;    top: 66%; }
.home2 .mn[data-id="hetzner"]  { left: 37.5%; top: 66%; }
.home2 .mn[data-id="stripe"]   { left: 71%;   top: 66%; }
.home2 .lv-act { position: absolute; left: 4%; bottom: 3.5%; width: min(62%, 460px); display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 9px;
  background: #262629; border: 1px solid #3a3a40; font-size: 12.5px; color: var(--a-dim); white-space: nowrap; overflow: hidden; }
.home2 .lv-act i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); }
.home2 .lv-act b { color: var(--a-ink); font-weight: 650; }
.home2 .lv-ticker { overflow: hidden; text-overflow: ellipsis; }
.home2 .lv-ticker.in { animation: tickin .45s ease both; }
@keyframes tickin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.home2 .lv .lv-app, .home2 .lv .lv-term { transition: opacity .7s; }
.home2 .lv.fade .lv-canvas > *, .home2 .lv.fade .lv-lines { opacity: 0 !important; transition: opacity .7s; }

/* ---------- Sei cose ---------- */
.home2 .h-six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.home2 .six { display: flex; flex-direction: column; padding: 14px 14px 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,29,53,.9), rgba(13,20,38,.75)); }
.home2 .six h3 { font-size: 19px; margin: 22px 12px 0; }
.home2 .six p { color: var(--dim); font-size: 15.5px; margin: 10px 12px 0; }
.home2 .viz { position: relative; aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; background: var(--a-bg); border: 1px solid rgba(255,255,255,.07); color: var(--a-ink); font-size: 13px; }
.home2 .viz code { font-family: var(--mono); }
.home2 .js .anim:not(.run) *, .js .home2 .anim:not(.run) *, .js .home2 .anim:not(.run)::before, .js .home2 .anim:not(.run)::after { animation-play-state: paused !important; }

/* 1 · doc */
.home2 .v-doc { display: flex; flex-direction: column; background: #16161a; }
.home2 .ed-tab { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #202024; border-bottom: 1px solid #0d0d0f; font-size: 12px; }
.home2 .ed-tab span { color: var(--a-ink); padding-bottom: 2px; border-bottom: 2px solid var(--teal); }
.home2 .ed-tab em { font-style: normal; font-family: var(--mono); color: var(--a-dim); font-size: 11px; }
.home2 .ed { flex: 1; margin: 0; padding: 12px 0; font: 12px/1.75 var(--mono); color: #c7cad6; white-space: normal; overflow: hidden; }
.home2 .ed .l { display: block; padding: 0 14px; white-space: pre; }
.home2 .ed .l:not(.add) { color: #9aa3b8; }
.home2 .ed .add { color: #bbf7d0; background: rgba(74,222,128,.1); box-shadow: inset 2px 0 0 var(--green); animation: addl 8s ease infinite both; }
.home2 .ed .a2 { animation-name: addl2; }
.home2 .ed .a3 { animation-name: addl3; }
@keyframes addl  { 0%,8% { opacity: 0; transform: translateX(-8px); } 14%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }
@keyframes addl2 { 0%,18% { opacity: 0; transform: translateX(-8px); } 24%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }
@keyframes addl3 { 0%,28% { opacity: 0; transform: translateX(-8px); } 34%,88% { opacity: 1; transform: none; } 96%,100% { opacity: 0; } }
.home2 .ed-foot { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid #2a2a30; font-size: 12px; color: var(--a-dim); }
.home2 .ed-foot i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* 2 · verify */
.home2 .v-verify { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px; }
.home2 .card-ui { padding: 14px 16px; border-radius: 10px; background: var(--a-card); border: 1px solid #45454c; box-shadow: inset 3px 0 0 var(--a-teal); }
.home2 .card-ui .row b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.home2 .card-ui .row small { color: var(--a-dim); font-size: 12px; }
.home2 .badges { position: relative; height: 26px; margin-top: 12px; }
.home2 .badges .bd { position: absolute; left: 0; top: 0; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.home2 .bd.decl { background: #34343a; color: #c9c9d1; animation: decl 7s ease infinite both; }
.home2 .bd.ver { background: rgba(74,222,128,.14); color: var(--green); animation: ver 7s ease infinite both; }
.home2 .card-ui .evd { margin-top: 8px; font-size: 12px; color: var(--a-dim); animation: ver 7s ease infinite both; }
@keyframes decl { 0%,38% { opacity: 1; transform: none; } 44%,94% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; } }
@keyframes ver  { 0%,42% { opacity: 0; transform: translateY(6px) scale(.96); } 50%,92% { opacity: 1; transform: none; } 98%,100% { opacity: 0; } }
.home2 .chips-ui { display: flex; flex-wrap: wrap; gap: 6px; }
.home2 .chips-ui span { padding: 3px 9px; border-radius: 999px; border: 1px solid #3c3c44; color: var(--a-dim); font-size: 11.5px; }

/* 3 · ghost */
.home2 .v-ghost { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.home2 .gnode { position: relative; width: 62%; padding: 12px 14px; border-radius: 9px; border: 1.5px dashed #8f83c7;
  background: repeating-linear-gradient(135deg, #26252c 0 6px, #2e2d36 6px 12px); animation: gnode 7s ease infinite both; }
.home2 .gnode b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.home2 .gnode b i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #8b8b95; animation: gdot 7s ease infinite both; }
.home2 .gnode small { color: var(--a-dim); font-size: 12px; }
.home2 .gnode .tagl { position: absolute; right: 8px; top: -10px; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: var(--a-bg); color: #d8d0ff; border: 1px solid #8f83c7; white-space: nowrap; animation: decl 7s ease infinite both; }
.home2 .gnode .tagl.ok { color: var(--green); border-color: rgba(74,222,128,.5); animation: ver 7s ease infinite both; }
@keyframes gnode { 0%,44% { border-style: dashed; border-color: #8f83c7; background: repeating-linear-gradient(135deg, #26252c 0 6px, #2e2d36 6px 12px); box-shadow: none; }
  50%,94% { border-style: solid; border-color: #45454c; background: var(--a-card); box-shadow: inset 3px 0 0 var(--a-teal), 0 0 0 6px rgba(94,234,212,.06); } }
@keyframes gdot { 0%,44% { background: transparent; border-color: #8b8b95; } 50%,94% { background: var(--a-yellow); border-color: var(--a-yellow); } }
.home2 .gbtn { padding: 7px 14px; border-radius: 7px; background: var(--a-blue); color: #fff; font-size: 13px; font-weight: 600; animation: gbtn 7s ease infinite both; }
@keyframes gbtn { 0%,36% { transform: none; filter: none; opacity: 1; } 40% { transform: scale(.94); filter: brightness(.85); } 44% { transform: none; } 50%,92% { opacity: .35; } 100% { opacity: 1; } }
.home2 .v-ghost .mcur { position: absolute; width: 20px; height: 20px; left: 80%; top: 86%; animation: gcur 7s ease-in-out infinite both; }
@keyframes gcur { 0%,8% { left: 82%; top: 88%; opacity: 0; } 14% { opacity: 1; } 34%,42% { left: 54%; top: 68%; opacity: 1; } 56% { opacity: 0; } 100% { opacity: 0; left: 54%; top: 68%; } }

/* 4 · keys */
.home2 .v-keys { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.home2 .v-keys > * { flex-shrink: 0; }
.home2 .kh { position: relative; height: 24px; margin-bottom: 2px; font-size: 14.5px; }
.home2 .kh b { position: absolute; left: 0; top: 0; white-space: nowrap; }
.home2 .k-miss { animation: decl 7s ease infinite both; }
.home2 .k-ok { color: var(--green); animation: ver 7s ease infinite both; }
.home2 .kt { display: flex; flex-direction: column; border-top: 1px solid #333338; }
.home2 .kt > div { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px solid #333338; font-size: 12px; }
.home2 .kt code { color: #d4d4dc; font-size: 11.5px; }
.home2 .kt .s { position: relative; min-width: 44px; height: 18px; text-align: right; font-size: 12px; }
.home2 .kt .s.ok { color: var(--green); }
.home2 .kt .s em { position: absolute; right: 0; top: 0; font-style: normal; }
.home2 .kt .s em:first-child { color: var(--a-yellow); animation: decl 7s ease infinite both; }
.home2 .kt .s em:last-child { color: var(--green); animation: ver 7s ease infinite both; }
.home2 .kt > div:nth-child(3) em { animation-delay: .15s; }
.home2 .kt > div:nth-child(4) em { animation-delay: .3s; }
.home2 .kbtn { align-self: flex-start; padding: 6px 12px; border-radius: 7px; background: var(--a-blue); color: #fff; font-size: 12.5px; font-weight: 600; animation: gbtn 7s ease infinite both; }
.home2 .kn { margin-top: auto; font-size: 11.5px; color: var(--a-dim); }
.home2 .kn code { color: var(--teal); font-size: 11px; }

/* 5 · stand-in */
.home2 .v-sub { padding: 14px 16px; display: flex; flex-direction: column; }
.home2 .sh-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #333338; }
.home2 .sh-h > div { flex: 1; min-width: 0; }
.home2 .sh-h b { display: block; font-size: 14px; }
.home2 .sh-h small, .home2 .sr-row small { display: block; color: var(--a-dim); font-size: 11.5px; }
.home2 .av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #4b4b55; font-size: 11px; font-weight: 700; }
.home2 .sr-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #333338; }
.home2 .sr-row > div { flex: 1; min-width: 0; }
.home2 .sr-row b { font-size: 12.5px; }
.home2 .sw { position: relative; flex: none; width: 92px; height: 18px; font-size: 11.5px; text-align: right; }
.home2 .sw em { position: absolute; right: 0; top: 0; font-style: normal; white-space: nowrap; }
.home2 .sw .on { color: var(--a-dim); animation: decl 8s ease infinite both; }
.home2 .sw .off { color: var(--green); animation: ver 8s ease infinite both; }
.home2 .st-s .on { color: var(--green); padding: 1px 7px; border-radius: 5px; background: rgba(74,222,128,.12); }
.home2 .st-s .off { color: #c9c9d1; padding: 1px 7px; border-radius: 5px; background: #34343a; }
.home2 .sr-row:nth-child(3) em { animation-delay: .2s; }
.home2 .sr-row:nth-child(4) em { animation-delay: .4s; }
.home2 .sh-f { margin-top: auto; padding-top: 10px; }
.home2 .sw.wide { display: block; width: 100%; text-align: left; }
.home2 .sw.wide em { left: 0; right: auto; }
.home2 .sw.wide .off { color: var(--a-yellow); }
.home2 .sw.wide code { color: #e5e5ea; font-size: 11px; }

/* 6 · offline */
.home2 .v-off { display: flex; flex-direction: column; }
.home2 .ob { display: flex; align-items: center; gap: 7px; padding: 8px 12px; font-size: 11.5px; color: #e8e2c4; background: #3a3320; border-bottom: 1px solid #4d4426; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: obar 7s ease infinite both; }
.home2 .ob i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a-yellow); }
@keyframes obar { 0%,10% { margin-top: -34px; opacity: 0; } 18%,92% { margin-top: 0; opacity: 1; } 100% { margin-top: -34px; opacity: 0; } }
.home2 .ep { flex: 1; padding: 14px 16px; background: #222225; }
.home2 .ep .et { display: block; font-size: 15px; }
.home2 .ep small { display: block; color: var(--a-dim); font-size: 11.5px; margin-top: 2px; }
.home2 .ep .eh { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--a-ink); }
.home2 .ep .er { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 4px 0; border-bottom: 1px solid #333338; font-size: 11.5px; color: #c9c9d1; }
.home2 .ep .er span:first-child { color: var(--a-dim); }
.home2 .ep .er span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Computer nuovo ---------- */
.home2 .prep { max-width: 540px; justify-self: end; width: 100%; }
.home2 .prep-body { padding: 18px 20px 16px; background: #26262a; }
.home2 .prep-h { display: block; font-size: 15px; margin-bottom: 4px; }
.home2 .pg { margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--a-dim); }
.home2 .pg em { font-style: normal; font-weight: 400; color: #7c7c86; }
.home2 .pr { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; color: var(--a-ink); border-bottom: 1px solid #343439; }
.home2 .pr small { margin-left: auto; color: var(--a-dim); font-size: 12px; font-family: var(--mono); white-space: nowrap; }
.home2 .pr .st { flex: none; position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--a-green); }
.home2 .pr .st::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #0b2412; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.home2 .prep.live .pr .st { background: none; border: 1.5px solid #6b6b74; }
.home2 .prep.live .pr .st::after { display: none; }
.home2 .prep.live .pr.doing .st { border-color: var(--a-blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.home2 .prep.live .pr.done .st { background: var(--a-green); border-color: var(--a-green); animation: pop .3s ease; }
.home2 .prep.live .pr.done .st::after { display: block; left: 4px; top: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.15); } 100% { transform: none; } }
.home2 .pf { position: relative; height: 22px; margin-top: 14px; font-size: 13px; }
.home2 .pf span { position: absolute; left: 0; top: 0; transition: opacity .3s; }
.home2 .pf .p1 { color: var(--a-dim); opacity: 0; }
.home2 .pf .p2 { color: var(--green); font-weight: 650; }
.home2 .prep.live:not(.ready) .pf .p1 { opacity: 1; }
.home2 .prep.live:not(.ready) .pf .p2 { opacity: 0; }

/* ---------- Per chi è ---------- */
.home2 .h-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.home2 .h-who article { padding: 14px 14px 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,29,53,.9), rgba(13,20,38,.75)); }
.home2 .h-who h3 { font-size: 19px; margin: 22px 12px 0; }
.home2 .h-who p { color: var(--dim); font-size: 15.5px; margin: 10px 12px 0; }
/* four audiences, each with its film (the main film's player, smaller): two by two, one column on a phone */
.home2 .h-who.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home2 .h-who .h-film { margin-top: 0; border-radius: 12px; aspect-ratio: 16 / 10; }
.home2 .h-who .h-film-over { gap: 12px; }
.home2 .h-who .h-film-over:focus-visible { border-radius: 12px; }
.home2 .h-who .h-play { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(94,234,212,.12), 0 16px 40px -10px rgba(96,165,250,.6); }
.home2 .h-who .h-play svg { width: 26px; height: 26px; margin-left: 4px; }
.home2 .h-who .h-film-txt b { font-size: 17px; }
.home2 .h-who .h-film-txt > span { font-size: 13.5px; }
/* a film whose poster is a light web page (the client's): a darker veil, so the label stays readable */
.home2 .h-who .h-film.light:not(.playing)::after { background: radial-gradient(60% 70% at 50% 50%, rgba(7,11,22,.72), rgba(7,11,22,.9)); }
.home2 .who-img { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--a-bg); border: 1px solid rgba(255,255,255,.07); }
.home2 .who-img > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.home2 .who-img.dev { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px; background: radial-gradient(80% 80% at 50% 0%, #2a2a33, var(--a-bg)); }
.home2 .who-img.dev > img { height: auto; border-radius: 10px; box-shadow: 0 18px 36px -12px rgba(0,0,0,.8); border: 1px solid #3a3a40; }
.home2 .dev-cmds { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--a-dim); }
.home2 .dev-cmds kbd { display: inline-block; min-width: 26px; margin-right: 8px; padding: 1px 6px; border-radius: 5px; border: 1px solid #45454c; background: #2b2b30; color: var(--a-ink); font: 11px var(--mono); text-align: center; }
.home2 .who-img.web { background: #eef0f5; color: #12151c; display: flex; flex-direction: column; }
.home2 .br { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #dfe3ea; }
.home2 .br i { width: 9px; height: 9px; border-radius: 50%; background: #c2c8d2; }
.home2 .br span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: #5b6372; }
.home2 .wb { padding: 10px 16px; display: flex; flex-direction: column; }
.home2 .wb > b { font-size: 14px; margin-bottom: 6px; }
.home2 .wb > b small { font-weight: 400; color: #5b6372; font-size: 12px; }
.home2 .ws { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #d9dde5; font-size: 13.5px; font-weight: 600; }
.home2 .ws > span { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.home2 .ws small { font-weight: 400; color: #5b6372; font-size: 11.5px; white-space: nowrap; }
.home2 .ws i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.home2 .ws i.g { background: #16a34a; }
.home2 .ws i.y { background: #d97706; }

/* ---------- Fiducia ---------- */
.home2 .h-trust { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.home2 .tl { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.home2 .tl li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(34,48,79,.8); color: var(--dim); font-size: 16px; }
.home2 .tl li b { color: var(--ink); }
.home2 .tl svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.home2 .trust-shot .sep { border-top: 1px solid #2f2f34; }
/* the client's page drawn in HTML, with the app's own English labels (English home, until an English capture exists) */
.home2 .trust-form { background: #1e1e20; padding: 6px 0 10px; font-size: 14.5px; color: var(--a-ink); }
.home2 .trust-form .tf-h { padding: 12px 22px 6px; font-weight: 600; color: var(--a-dim); font-size: 14px; }
.home2 .trust-form .tf-h.sep { margin-top: 8px; padding-top: 16px; }
.home2 .trust-form dl { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 10px 14px; margin: 4px 0 6px; padding: 0 22px; align-items: center; }
.home2 .trust-form dt { text-align: right; color: var(--a-dim); }
.home2 .trust-form dd { margin: 0; color: #c9c9d1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home2 .tf-ok { padding: 2px 8px; border-radius: 6px; background: rgba(74,222,128,.14); color: var(--a-green); font-size: 13.5px; }
.home2 .tf-num { display: inline-block; min-width: 54px; padding: 4px 10px; border-radius: 7px; background: #2b2b2f; border: 1px solid var(--a-line); color: var(--a-ink); }
.home2 .tf-btn { padding: 4px 12px; border-radius: 7px; background: #3a3a40; color: var(--a-ink); font-size: 13.5px; }
.home2 .trust-shot figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--a-dim); background: #222225; border-top: 1px solid #111; }

/* ---------- Programma ---------- */
.home2 .h-early { padding-top: 56px; padding-bottom: 56px; }
.home2 .early { position: relative; display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center; padding: 48px; border-radius: 26px;
  background: linear-gradient(135deg, rgba(94,234,212,.10), rgba(96,165,250,.06) 45%, rgba(167,139,250,.12)), rgba(13,20,38,.85); border: 1px solid transparent; }
.home2 .early::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); opacity: .55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.home2 .early h2 { font-size: clamp(28px, 3.6vw, 40px); }
.home2 .early .cta { margin-top: 0; flex-direction: column; }
.home2 .early .cta .btn { justify-content: center; }

/* ---------- Prezzi ---------- */
.home2 .h-price { padding-top: 72px; padding-bottom: 72px; }
.home2 .price-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.home2 .price-box { padding: 28px 30px; border-radius: 20px; border: 1px solid var(--line); background: rgba(13,20,38,.7); }
.home2 .pfrom { font-size: 19px; color: var(--dim); }
.home2 .pfrom b { font-size: 46px; font-weight: 850; letter-spacing: -.03em; color: var(--ink); margin: 0 4px; }
.home2 .pfree { margin-top: 6px; color: var(--ink); font-weight: 600; }
.home2 .plink { display: inline-block; margin-top: 16px; color: var(--teal); font-weight: 650; text-decoration: none; }
.home2 .plink:hover { text-decoration: underline; }

/* ---------- Chiusura ---------- */
.home2 .h-final { text-align: center; padding: 120px 0 128px; }
.home2 .appicon { width: 112px; height: 112px; border-radius: 26px; filter: drop-shadow(0 20px 50px rgba(96,165,250,.45)); }
.home2 .h-final h2 { margin-top: 28px; font-size: clamp(36px, 6vw, 68px); font-weight: 850; }
.home2 .cta.center { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .home2 .h-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home2 .lv { grid-template-columns: 1fr; }
  .home2 .lv-term { display: none; }
  .home2 .h-float { display: none; }
}
@media (max-width: 900px) {
  .home2 section { padding: 88px 0; }
  .home2 .h-split, .home2 .h-live-head, .home2 .h-trust, .home2 .price-row { grid-template-columns: 1fr; gap: 28px; }
  .home2 .h-problem .lead { margin-top: 0; }
  .home2 .h-steps, .home2 .h-who, .home2 .h-who.four { grid-template-columns: 1fr; }
  .home2 .h-who { max-width: 560px; }
  .home2 .prep { justify-self: start; }
  .home2 .early { grid-template-columns: 1fr; padding: 34px 28px; }
  .home2 .early .cta { flex-direction: row; }
}
@media (max-width: 680px) {
  .home2 .h-six { grid-template-columns: minmax(0, 1fr); }
  .home2 .lv-canvas { aspect-ratio: 1 / .98; }
  .home2 .lv-unsent { display: none; }
  .home2 .mn { width: 30.5%; padding: 7px 7px 7px 9px; }
  .home2 .mn b { font-size: 11px; gap: 5px; }
  .home2 .mn small { font-size: 9.5px; }
  .home2 .mn.shadow small { font-size: 9px; }
  .home2 .mn .tagl { font-size: 8.5px; right: 4px; padding: 0 5px; }
  .home2 .mn .tagl .lg { display: none; }
  .home2 .mn .tagl .sh { display: inline; }
  .home2 .mn[data-id="sentry"], .home2 .mn[data-id="db"] { left: 2%; }
  .home2 .mn[data-id="web"], .home2 .mn[data-id="api"], .home2 .mn[data-id="hetzner"] { left: 34.75%; }
  .home2 .mn[data-id="vercel"], .home2 .mn[data-id="postmark"], .home2 .mn[data-id="stripe"] { left: 67.5%; }
  .home2 .mn[data-id="web"], .home2 .mn[data-id="vercel"] { top: 8%; }
  .home2 .mn[data-id="sentry"], .home2 .mn[data-id="api"], .home2 .mn[data-id="postmark"] { top: 33%; }
  .home2 .mn[data-id="db"], .home2 .mn[data-id="hetzner"], .home2 .mn[data-id="stripe"] { top: 58%; }
  .home2 .lv-act { width: auto; right: 4%; font-size: 11.5px; }
  .home2 .lv-top { padding: 8px 10px; }
  .home2 .lv-follow { padding: 4px 8px; font-size: 11px !important; }
}
@media (max-width: 640px) {
  .home2 section { padding: 72px 0; }
  .home2 .h-hero { padding: 64px 0 24px; }
  .home2 .h-shot-wrap { margin-top: 44px; padding: 0 12px; }
  .home2 .mac-bar span { left: 78px; right: 12px; text-align: left; }
  .home2 .h-qs { grid-template-columns: 1fr; }
  .home2 .h-play { width: 60px; height: 60px; }
  .home2 .h-play svg { width: 26px; height: 26px; }
  .home2 button.h-film-over { gap: 10px; }
  .home2 .h-film-txt b { font-size: 16px; }
  .home2 .h-film-txt > span { font-size: 12.5px; }
  .home2 .early { padding: 28px 20px; }
  .home2 .early .cta { flex-direction: column; }
  .home2 .pr small { display: none; }
  .home2 .h-final { padding: 88px 0 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .home2 .h-shot, .home2 .h-float, .home2 .h-float i.live, .home2 .lv-follow i, .home2 .lv-ticker.in { animation: none !important; }
  .home2 .anim *, .home2 .anim *::before, .home2 .anim *::after { animation: none !important; }
  /* the small loops show their end state */
  .home2 .bd.decl, .home2 .sw .on, .home2 .gnode .tagl:not(.ok), .home2 .k-miss, .home2 .kt .s em:first-child, .home2 .kbtn, .home2 .gbtn, .home2 .v-ghost .mcur { opacity: 0 !important; }
  .home2 .bd.ver, .home2 .sw .off, .home2 .card-ui .evd, .home2 .gnode .tagl.ok, .home2 .k-ok, .home2 .kt .s em:last-child, .home2 .ed .add { opacity: 1 !important; transform: none !important; }
  .home2 .gnode { border-style: solid; border-color: #45454c; background: var(--a-card); box-shadow: inset 3px 0 0 var(--a-teal); }
  .home2 .gnode b i { background: var(--a-yellow); border-color: var(--a-yellow); }
  .home2 .ob { margin-top: 0 !important; opacity: 1 !important; }
}
@media (max-width: 640px) {
  .home2 .trust-form { font-size: 13.5px; }
  .home2 .trust-form .tf-h { padding-left: 16px; padding-right: 16px; }
  .home2 .trust-form dl { grid-template-columns: 1fr; gap: 4px; padding: 0 16px; }
  .home2 .trust-form dt { text-align: left; font-size: 12.5px; margin-top: 6px; }
}
.home2 .tl-more { margin-top: 22px; }
.home2 .tl-more a { color: var(--teal); font-weight: 650; text-decoration: none; }
.home2 .tl-more a:hover { text-decoration: underline; }
