/* AppSviluppo, /prove/home-…/: eight trials for the home (24/11/2026). Loaded only on those pages, after site.css.
   Same tokens as the site (dark stage, cyan #58b9da, Geist). Motion: transform and opacity; "Ferma il movimento"
   (html.is-still) and prefers-reduced-motion stop every loop and leave the pictures in place. */

/* the iPhone drawn in CSS (.iph) and @property --c now live in site.css: the home hero uses them too */

/* ------------------------------------------------------------------ the switcher between trials */
.phs { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(16, 18, 25, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -12px rgba(0, 0, 0, .9); }
.phs a { color: var(--ink); text-decoration: none; border-radius: 999px; }
.phs__arrow { width: 44px; height: 44px; display: grid; place-items: center; }
.phs__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phs__mid { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 0 10px; line-height: 1.15; }
.phs__mid .mono { font-size: 10px; }
.phs__mid strong { font-size: 14px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .phs a { transition: background 160ms var(--ease-out); } .phs a:hover { background: rgba(255, 255, 255, .08); } }
@media (max-width: 599px) { .phs__mid strong { display: none; } }

/* ------------------------------------------------------------------ shared: app cards */
.appcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.appc { position: relative; display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  color: inherit; text-decoration: none; overflow: hidden; }
.appc__stage { position: relative; height: 400px; display: grid; justify-items: center; padding-top: 40px; overflow: hidden; }
.appc__glow { position: absolute; inset: 0; background: radial-gradient(56% 46% at 50% 86%, color-mix(in srgb, var(--c) 36%, transparent), transparent 72%); opacity: .8;
  transition: opacity 500ms var(--ease-out); }
.appc .iph { --w: 214px; transform: translateY(26px) rotate(-2.5deg); transition: transform 700ms var(--ease-out); }
.appc:nth-child(even) .iph { transform: translateY(26px) rotate(2.5deg); }
.appc__meta { display: grid; gap: 8px; padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.appc__meta h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.appc__meta p { color: var(--soft); font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .appc { transition: box-shadow 300ms var(--ease-out); }
  .appc:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
  .appc:hover .appc__glow { opacity: 1; }
  .appc:hover .iph, .appc:nth-child(even):hover .iph { transform: translateY(4px) rotate(0); }
}
@media (max-width: 1023px) { .appcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .appcs { grid-template-columns: 1fr; } .appc__stage { height: 360px; } .appc .iph { --w: 190px; } }

/* hero copy shared by the trials */
.ph-h1, .dna h1, .muro h1, .vt h1, .iosx h1, .cod h1, .pc h1, .bn h1, .let h1 { font-size: clamp(44px, 5.4vw, 92px); line-height: .96; letter-spacing: -.048em; font-weight: 600; margin: 20px 0 24px; text-wrap: balance; }
.dna h1 em, .muro h1 em, .vt h1 em, .iosx h1 em, .cod h1 em, .pc h1 em, .bn h1 em { font-style: normal; color: var(--accent); }
.let h1 em { font-style: normal; background: linear-gradient(95deg, #58b9da 0%, #9be7ff 45%, #8c7bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }   /* «Dall’idea allo store.»: the Mission gradient */

/* ------------------------------------------------------------------ 1. DNA */
.dna { position: relative; height: 560vh; }
.dna__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.dna__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dna__fallback { position: absolute; inset: 0; opacity: 0; background: radial-gradient(34% 50% at 72% 50%, rgba(88, 185, 218, .28), transparent 70%); }
.dna.no-gl .dna__fallback { opacity: 1; }
.dna__copy { position: relative; z-index: 2; height: 100%; display: grid; align-items: center; pointer-events: none; }
.dna__step { grid-area: 1 / 1; max-width: 540px; opacity: 0; transform: translateY(26px); visibility: hidden;
  transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out), visibility 0s 600ms; }
.dna__step.is-on { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 700ms var(--ease-out) 120ms, transform 900ms var(--ease-out) 120ms; }
.dna__step .h2 { font-size: clamp(44px, 5vw, 84px); margin: 14px 0 18px; }
.dna__step[style] .h2 { color: var(--c); }
.dna__step .go { margin-top: 22px; }
.dna__years { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; text-align: right;
  font-size: 11px; color: var(--muted); opacity: 0; transition: opacity 600ms; }
.dna__years { display: none; }
.dna__dots { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.dna__dots li { width: 22px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); transition: background 300ms, width 500ms var(--ease-out); }
.dna__dots li.is-on { width: 44px; background: var(--accent); }
.dna__hint { position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; color: var(--muted); transition: opacity 400ms; }
.dna.is-moved .dna__hint { opacity: 0; }
@media (max-width: 899px) {
  .dna__copy { align-items: end; padding-bottom: 76px; }
  .dna__copy::before { content: ""; position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(transparent, rgba(7, 8, 11, .9) 40%); z-index: -1; }
  .dna__step { max-width: none; }
  .dna__step .lead { font-size: 16px; }
  .dna__years { display: none; }
  .dna h1 { font-size: 44px; margin: 12px 0 14px; }
}

/* ------------------------------------------------------------------ 2. Muro di app */
.muro { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.muro__wall { position: absolute; inset: 0; perspective: 1800px; z-index: -2; }
.muro__plane { position: absolute; left: 50%; top: 50%; display: flex; gap: 30px; transform-style: preserve-3d;
  transform: translate(-36%, -52%) rotateX(30deg) rotateZ(-20deg); }
.muro__col { width: 236px; height: 150vh; }
.muro__track { display: flex; flex-direction: column; gap: 30px; animation: muro-up var(--dur) linear infinite; will-change: transform; }
.muro__col[data-dir="1"] .muro__track { animation-direction: reverse; }
@keyframes muro-up { to { transform: translateY(calc(-50% - 15px)); } }
.muro__item { position: relative; display: block; text-decoration: none; }
.muro__item .iph { --w: 236px; transition: transform 500ms var(--ease-out), filter 500ms; }
.muro__tag { position: absolute; left: 50%; bottom: -26px; transform: translate(-50%, 6px); opacity: 0; color: var(--ink); white-space: nowrap;
  transition: opacity 300ms, transform 300ms var(--ease-out); }
.muro__item:hover .iph { transform: scale(1.06) translateY(-8px); filter: drop-shadow(0 0 40px color-mix(in srgb, var(--c) 50%, transparent)); }
.muro__item:hover .muro__tag { opacity: 1; transform: translate(-50%, 0); }
.muro__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 8, 11, .97) 0%, rgba(7, 8, 11, .86) 30%, rgba(7, 8, 11, .25) 62%, rgba(7, 8, 11, 0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 11, 0) 34%), linear-gradient(180deg, rgba(7, 8, 11, .85) 0%, rgba(7, 8, 11, 0) 20%); }
.muro__copy { padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(56px, 12vh, 120px); }
.muro__copy h1 { max-width: 10.5em; }
.muro__copy .lead { max-width: 30em; }
@media (max-width: 899px) {
  .muro__plane { transform: translate(-50%, -62%) rotateX(28deg) rotateZ(-18deg) scale(.62); }
  .muro__shade { background: linear-gradient(0deg, rgba(7, 8, 11, .98) 8%, rgba(7, 8, 11, .82) 46%, rgba(7, 8, 11, .1) 78%), linear-gradient(180deg, rgba(7, 8, 11, .8), transparent 24%); }
  .muro__copy { padding-top: 46vh; }
}

/* ------------------------------------------------------------------ 3. Vetrina */
.vt { position: relative; height: calc((var(--n) + 1.2) * 100vh); --c: #58b9da; transition: --c 900ms var(--ease-out); }
.vt__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.vt__glow { position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(36% 46% at 70% 54%, color-mix(in srgb, var(--c) 40%, transparent), transparent 72%),
    radial-gradient(40% 18% at 70% 92%, color-mix(in srgb, var(--c) 34%, transparent), transparent 72%);
  animation: vt-breathe 8s ease-in-out infinite alternate; }
@keyframes vt-breathe { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
.vt__names span { position: absolute; left: 0; right: 0; top: 52%; text-align: center; font-size: clamp(110px, 20vw, 360px); font-weight: 700; letter-spacing: -.06em;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); white-space: nowrap; pointer-events: none;
  transform: translate(calc(var(--vx, 0) * 1px), -50%); opacity: 0; transition: opacity 700ms var(--ease-out); }
.vt__names span.is-on { opacity: 1; }
.vt__grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px; padding-top: var(--nav-h); }
.vt__copy { display: grid; }
.vt__apps { grid-area: 1 / 1; display: grid; }
.vt.is-apps .vt__apps { z-index: 1; }
.vt__intro, .vt__app { grid-area: 1 / 1; transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out), visibility 0s 600ms; }
.vt__app { opacity: 0; transform: translateY(24px); visibility: hidden; }
.vt__app.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 120ms, 120ms, 0s; }
.vt.is-apps .vt__intro { opacity: 0; transform: translateY(-24px); visibility: hidden; }
.vt:not(.is-apps) .vt__app { opacity: 0; visibility: hidden; }
.vt__app .h2 { font-size: clamp(42px, 4.6vw, 76px); margin: 14px 0 16px; }
.vt__app .go { margin-top: 20px; }
.vt__stage { position: relative; height: min(80vh, 780px); display: grid; place-items: center; perspective: 1400px; }
.vt__main { --w: min(330px, 31vh); z-index: 3; transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); transform-style: preserve-3d; }
.vt__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease-out); }
.vt__layer.is-on { opacity: 1; }
.vt__layer > .iph__shot { opacity: 0; }
.vt__side { position: absolute; --w: min(230px, 22vh); opacity: 0; z-index: 2; transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-out); }
.vt__side--l { transform: translate(-112%, 10%) rotate(-14deg) scale(.86); }
.vt__side--r { transform: translate(112%, 10%) rotate(14deg) scale(.86); }
.vt__side--l.is-on { opacity: .92; transform: translate(-92%, 4%) rotate(-8deg) scale(.92); animation: vt-bob 7s ease-in-out infinite; }
.vt__side--r.is-on { opacity: .92; transform: translate(92%, 6%) rotate(8deg) scale(.92); animation: vt-bob 7s ease-in-out -3.5s infinite; }
@keyframes vt-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.vt__floor { position: absolute; left: 50%; bottom: 2%; width: 70%; height: 40px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 40%, transparent), transparent); filter: blur(10px); }
.vt__dots { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 6px; }
.vt__dots li { position: relative; padding: 10px 10px 12px; color: var(--muted); font-size: 11px; transition: color 300ms; white-space: nowrap; }
.vt__dots li::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; opacity: .3; transform-origin: left; transition: opacity 300ms; }
.vt__dots li.is-on { color: var(--ink); }
.vt__dots li.is-on::after { opacity: 1; background: var(--c); }
@media (max-width: 899px) {
  .vt__grid { grid-template-columns: 1fr; grid-template-rows: 54% 46%; gap: 0; align-items: stretch; padding-top: calc(var(--nav-h) + 8px); }
  .vt__stage { order: -1; height: auto; }
  .vt__main { --w: min(220px, 22vh); }
  .vt__side { --w: min(150px, 15vh); }
  .vt__copy { align-content: start; padding-top: 8px; }
  .vt__intro h1 { font-size: 40px; margin: 8px 0 12px; }
  .vt__intro .lead, .vt__app .lead { font-size: 15px; }
  .vt__app .h2 { font-size: 36px; margin: 8px 0 8px; }
  .vt__dots { display: none; }
  .vt__names span { top: 30%; }
}

/* ------------------------------------------------------------------ 4. Schermata Home */
.iosx { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: clip; padding: calc(var(--nav-h) + 32px) 0 64px; }
.iosx__aura { position: absolute; inset: -20%; pointer-events: none; filter: blur(30px);
  background: radial-gradient(28% 34% at 70% 44%, rgba(88, 185, 218, .3), transparent 70%), radial-gradient(26% 30% at 84% 74%, rgba(138, 124, 245, .22), transparent 70%),
    radial-gradient(20% 24% at 58% 82%, rgba(255, 106, 0, .12), transparent 70%);
  animation: ios-aura 20s ease-in-out infinite alternate; }
@keyframes ios-aura { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(-3%, 2%, 0) rotate(6deg); } }
.iosx__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.iosx__now { margin-top: 36px; min-height: 120px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line); max-width: 30em; }
.iosx__now h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 4px; color: var(--c, var(--ink)); }
.iosx__now p:not(.mono) { color: var(--soft); font-size: 15px; }
.iosx__now .go { margin-top: 6px; }
.ios__phone { --w: min(380px, 38vh, 86vw); }
.ios { position: absolute; inset: 0; color: #fff; font-family: -apple-system, BlinkMacSystemFont, var(--font-text); overflow: hidden; border-radius: inherit; }
.ios__wall { position: absolute; inset: 0; background: #0b1530; overflow: hidden; }
.ios__wall i { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; filter: blur(9cqw); opacity: .9; }
.ios__wall i:nth-child(1) { left: -50%; top: -20%; background: radial-gradient(circle, #2aa6d6, transparent 64%); animation: ios-blob 14s ease-in-out infinite alternate; }
.ios__wall i:nth-child(2) { right: -60%; top: 22%; background: radial-gradient(circle, #6a4cf0, transparent 64%); animation: ios-blob 17s ease-in-out -6s infinite alternate-reverse; }
.ios__wall i:nth-child(3) { left: -20%; bottom: -46%; background: radial-gradient(circle, #ff7a3c, transparent 62%); opacity: .55; animation: ios-blob 19s ease-in-out -3s infinite alternate; }
@keyframes ios-blob { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12%, 10%, 0) scale(1.15); } }
.ios__status { position: absolute; z-index: 3; top: 4.6cqw; left: 9cqw; right: 8cqw; display: flex; justify-content: space-between; align-items: center; font-size: 4.2cqw; font-weight: 600; letter-spacing: -.01em; }
.ios__sig { display: flex; align-items: flex-end; gap: .7cqw; }
.ios__sig i { width: .9cqw; border-radius: .3cqw; background: #fff; }
.ios__sig i:nth-child(1) { height: 1.3cqw; } .ios__sig i:nth-child(2) { height: 1.9cqw; } .ios__sig i:nth-child(3) { height: 2.5cqw; } .ios__sig i:nth-child(4) { height: 3.1cqw; }
.ios__sig b { width: 6cqw; height: 3cqw; margin-left: 1.4cqw; border-radius: 1cqw; border: .35cqw solid rgba(255, 255, 255, .55); background: linear-gradient(90deg, #fff 76%, transparent 76%); background-clip: content-box; padding: .3cqw; }
.ios__home { position: absolute; inset: 0; padding: 16cqw 5.6cqw 0; transition: transform 500ms cubic-bezier(.2, .9, .25, 1), opacity 400ms, filter 500ms; }
.ios.is-open .ios__home { transform: scale(.9); opacity: .4; filter: blur(1.4cqw); }
.ios__widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 4.6cqw; }
.ios__w { aspect-ratio: 1; border-radius: 6.4cqw; padding: 4.2cqw; display: flex; flex-direction: column; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(3cqw) saturate(1.6); backdrop-filter: blur(3cqw) saturate(1.6); box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .22); }
.ios__wt { font-size: 3cqw; font-weight: 600; opacity: .8; }
.ios__wn { font-size: 7.4cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: .8cqw; font-variant-numeric: tabular-nums; }
.ios__ws { font-size: 2.6cqw; opacity: .7; margin-top: auto; }
.ios__wl { font-size: 2.6cqw; color: #7ee2a8; margin-top: .6cqw; }
.ios__bars { display: flex; align-items: flex-end; gap: .7cqw; height: 9cqw; margin-top: 2cqw; }
.ios__bars i { flex: 1; height: var(--h); border-radius: .5cqw; background: linear-gradient(#bfefff, #58b9da); transform-origin: bottom; animation: ios-bar 900ms var(--ease-out) both; }
.ios__bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes ios-bar { from { transform: scaleY(.1); } }
.ios__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4.6cqw 3cqw; margin-top: 6.4cqw; }
.ios__app { display: grid; justify-items: center; gap: 1.4cqw; padding: 0; border: 0; background: none; color: #fff; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ios__icon { position: relative; width: 16.4cqw; aspect-ratio: 1; border-radius: 3.8cqw; overflow: hidden; display: grid; place-items: center;
  box-shadow: 0 1.2cqw 2.4cqw -1cqw rgba(0, 0, 0, .5), inset 0 0 0 .2cqw rgba(255, 255, 255, .12); transition: transform 300ms var(--ease-out); }
.ios__icon img { width: calc(100% - var(--pad, 0%) * 2); height: calc(100% - var(--pad, 0%) * 2); object-fit: contain; }
.ios__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 46%); pointer-events: none; }
.ios__app:active .ios__icon { transform: scale(.9); }
.ios__name { font-size: 2.7cqw; font-weight: 500; text-shadow: 0 .3cqw 1cqw rgba(0, 0, 0, .5); white-space: nowrap; }
.ios__dots { display: flex; justify-content: center; gap: 1.6cqw; margin-top: 5cqw; }
.ios__dots i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.ios__dots i.is-on { background: #fff; }
.ios__dock { position: absolute; left: 3.6cqw; right: 3.6cqw; bottom: 3.6cqw; height: 22cqw; border-radius: 9cqw; display: flex; justify-content: space-around; align-items: center;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(4cqw) saturate(1.8); backdrop-filter: blur(4cqw) saturate(1.8); box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .2); }
.ios__icon--glass { background: rgba(255, 255, 255, .92); color: #0b1530; }
.ios__icon--glass svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ios__open { position: absolute; inset: 0; z-index: 8; background: #000; border-radius: inherit; overflow: hidden; opacity: 0; pointer-events: none;
  transform-origin: var(--ox, 50%) var(--oy, 50%); transform: scale(.16); transition: transform 520ms cubic-bezier(.2, .9, .25, 1), opacity 260ms var(--ease-out); }
.ios.is-open .ios__open { opacity: 1; transform: none; pointer-events: auto; }
.ios__run { position: absolute; inset: 0; display: none; background: var(--c); }
.ios__run.is-on { display: block; }
.ios__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transform: translateX(8%); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); }
.ios__shot.is-on { opacity: 1; transform: none; }
.ios__shot.is-out { opacity: 0; transform: translateX(-8%); }
.ios__homebar { position: absolute; z-index: 9; left: 50%; bottom: 0; transform: translateX(-50%); width: 60%; height: 8cqw; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ios__homebar i { width: 38cqw; height: 1.4cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .85); box-shadow: 0 0 1cqw rgba(0, 0, 0, .4); }
.ios__notif { position: absolute; z-index: 10; top: 3cqw; left: 3cqw; right: 3cqw; display: grid; grid-template-columns: auto 1fr auto; gap: 3cqw; align-items: center; padding: 3.4cqw;
  border-radius: 6.4cqw; background: rgba(28, 30, 38, .72); -webkit-backdrop-filter: blur(4cqw) saturate(1.6); backdrop-filter: blur(4cqw) saturate(1.6);
  box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .14), 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .6);
  transform: translateY(-150%); transition: transform 600ms cubic-bezier(.2, .9, .25, 1); }
.ios__notif.is-on { transform: none; }
.ios__nicon { width: 10cqw; aspect-ratio: 1; border-radius: 2.4cqw; overflow: hidden; background: #fff; display: grid; place-items: center; }
.ios__nicon img { width: 76%; height: auto; }
.ios__ntxt { display: grid; font-size: 3.1cqw; line-height: 1.3; }
.ios__ntxt b { font-weight: 600; }
.ios__nwhen { align-self: start; font-size: 2.6cqw; opacity: .6; }
@media (max-width: 899px) {
  .iosx { padding-top: calc(var(--nav-h) + 24px); }
  .iosx__grid { grid-template-columns: 1fr; }
  .iosx__stage { justify-self: center; }
  .ios__phone { --w: min(340px, 82vw); }
  .iosx__now { margin-top: 24px; }
}

/* ------------------------------------------------------------------ 5. Dal codice all'app */
.cod { position: relative; overflow: clip; padding: calc(var(--nav-h) + 48px) 0 56px; }
.cod__bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(60% 60% at 60% 60%, #000, transparent); mask-image: radial-gradient(60% 60% at 60% 60%, #000, transparent); }
.cod__head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cod__head .hero__sub { grid-column: 1 / -1; }
.cod__head h1 { margin: 0; }
.cod__head .lead { grid-column: 2; grid-row: 2; }
.cod__head .cta { grid-column: 2; margin-top: 0; }
.cod__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 48px; }
.cod__ed { border-radius: 16px; background: #0b0d13; box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 120px -50px rgba(88, 185, 218, .45);
  overflow: hidden; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.72; }
.cod__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #10131a; }
.cod__dots { display: flex; gap: 7px; }
.cod__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cod__dots i:nth-child(2) { background: #febc2e; } .cod__dots i:nth-child(3) { background: #28c840; }
.cod__tab { padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--ink-2); font-size: 12.5px; }
.cod__branch { margin-left: auto; font-size: 11px; }
.cod__body { display: grid; grid-template-columns: 48px minmax(0, 1fr); height: 418px; padding: 14px 0; overflow: hidden; }
.cod__gutter { color: #3f4554; text-align: right; padding-right: 16px; user-select: none; }
.cod__gutter li.is-cur { color: var(--ink-2); }
.cod__pre { margin: 0; white-space: pre; color: #cfd6e4; overflow: hidden; font: inherit; }
.cod__pre .k { color: #c792ea; } .cod__pre .s { color: #c3e88d; } .cod__pre .t { color: #ffcb6b; } .cod__pre .n { color: #f78c6c; }
.cod__pre .c { color: #56627a; font-style: italic; } .cod__pre .f { color: #82aaff; } .cod__pre .a { color: #f07178; }
.cod__caret { display: inline-block; width: 8px; height: 1.25em; margin-left: 1px; vertical-align: text-bottom; background: var(--accent); animation: cod-blink 1s steps(1) infinite; }
@keyframes cod-blink { 50% { opacity: 0; } }
.cod__term { border-top: 1px solid var(--line); padding: 10px 16px; height: 82px; overflow: hidden; color: var(--soft); font-size: 12px; text-transform: none; letter-spacing: 0; line-height: 1.6; }
.cod__term p { white-space: nowrap; }
.cod__term .ok { color: #7ee2a8; }
.cod__status { display: flex; justify-content: space-between; padding: 5px 14px; background: var(--accent); color: var(--accent-ink); font-size: 11px; }
.cod__right { position: relative; display: grid; justify-items: center; gap: 14px; }
.cod__phone { --w: min(300px, 34vh); }
.cod__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease-out); }
.cod__layer.is-on { opacity: 1; }
.cod__ghost, .cod__real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cod__ghost { filter: grayscale(1) blur(5px) brightness(.4); }
.cod__real { clip-path: inset(0 0 calc((1 - var(--r, 0)) * 100%) 0); transition: clip-path 400ms var(--ease-out); }
.cod__scan { position: absolute; left: 0; right: 0; height: 2px; top: calc(var(--r, 0) * 100%); background: var(--accent); box-shadow: 0 0 16px 4px rgba(88, 185, 218, .55);
  transition: top 400ms var(--ease-out), opacity 300ms; }
.cod__layer.is-done .cod__scan { opacity: 0; }
.cod__toast { position: absolute; top: 9%; left: 50%; z-index: 9; transform: translate(-50%, -10px); opacity: 0; padding: 9px 16px; border-radius: 999px; background: rgba(12, 14, 20, .92);
  box-shadow: 0 0 0 1px rgba(126, 226, 168, .55), 0 10px 30px -10px rgba(0, 0, 0, .8); color: #7ee2a8; text-transform: none; letter-spacing: 0; white-space: nowrap;
  transition: opacity 300ms, transform 400ms var(--ease-out); }
.cod__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cod__cap { min-height: 2.6em; text-align: center; }
.cod__cap a { color: var(--ink); }
.cod__note { position: relative; margin-top: 28px; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
@media (max-width: 899px) {
  .cod__head { grid-template-columns: 1fr; gap: 0; }
  .cod__head .lead, .cod__head .cta { grid-column: 1; grid-row: auto; }
  .cod__head .lead { margin-top: 16px; }
  .cod__head .cta { margin-top: 24px; }
  .cod__stage { grid-template-columns: 1fr; }
  .cod__right { order: -1; }
  .cod__phone { --w: min(240px, 60vw); }
  .cod__ed { font-size: 11.5px; }
  .cod__body { height: 300px; grid-template-columns: 36px minmax(0, 1fr); }
  .cod__gutter { padding-right: 10px; }
}

/* ------------------------------------------------------------------ 6. Dall'idea allo store */
.pc { position: relative; height: 620vh; --p0: 0; --p1: 0; --p2: 0; --p3: 0; --p4: 0; }
.pc__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.pc__glow { position: absolute; inset: -10%; pointer-events: none;
  background: radial-gradient(34% 44% at 68% 52%, rgba(88, 185, 218, calc(.18 + var(--p2) * .1)), transparent 70%),
    radial-gradient(30% 36% at 72% 60%, rgba(194, 23, 111, calc(var(--p2) * .3 - var(--p4) * .1)), transparent 70%); }
.pc__grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 32px; padding-top: var(--nav-h); }
.pc__copy { display: grid; }
.pc__intro, .pc__steps { grid-area: 1 / 1; transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s 500ms; }
.pc__steps { display: grid; }
.pc__step { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); visibility: hidden; transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s 500ms; }
.pc__step.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 100ms, 100ms, 0s; }
.pc__step .h2 { font-size: clamp(40px, 4.4vw, 72px); margin: 14px 0 16px; }
.pc:not(.is-intro) .pc__intro { opacity: 0; transform: translateY(-20px); visibility: hidden; }
.pc.is-intro .pc__steps { opacity: 0; visibility: hidden; }
.pc__stage { position: relative; height: min(80vh, 780px); display: grid; place-items: center; }
.pc__phone { --w: min(320px, 33vh); z-index: 2; transform: translateX(calc(var(--p3) * (1 - var(--p4)) * -46%)); }
.pc__phone .iph__body { background: none; box-shadow: none; }
.pc__phone .iph__body::before { opacity: var(--p4); }
.pc__phone .iph__body::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--iph-band); opacity: var(--p4);
  box-shadow: inset 0 0 0 .32cqw rgba(255, 255, 255, .3), 0 16cqw 30cqw -12cqw rgba(0, 0, 0, .9); }
.pc__phone .iph__btn, .pc__phone .iph__island { opacity: var(--p4); }
.pc__phone .iph__screen { inset: calc(3.66cqw * var(--p4)); border-radius: calc(4cqw + 10.45cqw * var(--p4)); background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, calc(.14 * (1 - var(--p4)))), 0 30px 80px -30px rgba(0, 0, 0, .9); }
.pc__board { position: absolute; inset: 0; }
.pc__paper { position: absolute; inset: 0; background: #efe9dc; opacity: calc(1 - var(--p1));
  background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 6px 6px; }
.pc__sketch { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc__sketch path, .pc__sketch circle { fill: none; stroke: #2a2a33; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p0)); stroke-opacity: min(1, calc(var(--p0) * 30)); }
.pc__sketch .pc__thin { stroke-width: 1.2; stroke: #8b8779; }
.pc__note { position: absolute; right: -6%; top: 31%; width: 52%; padding: 6% 6% 8%; background: #ffe066; color: #3a3320; font: 500 clamp(11px, 1.15vw, 15px)/1.3 "Geist", system-ui;
  transform: rotate(5deg) scale(calc(.6 + var(--p0) * .4)); opacity: min(1, calc(var(--p0) * 3 - 1.4)); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4); }
.pc__wire { position: absolute; inset: 0; background: #161a22; opacity: calc(var(--p1) * (1 - var(--p2))); }
.pc__wire i { position: absolute; border-radius: 6px; background: #2b313d; transform: scaleX(calc(min(1, var(--p1) * 1.6 - var(--d) * .05))); transform-origin: left; }
.pc__wire i:nth-child(1) { left: 0; right: 0; top: 0; height: 16%; border-radius: 0; background: #232833; }
.pc__wire i:nth-child(2) { left: 8%; top: 19%; width: 52%; height: 3%; }
.pc__wire i:nth-child(3) { left: 8%; top: 25%; width: 84%; height: 11%; }
.pc__wire i:nth-child(4) { left: 8%; top: 38%; width: 84%; height: 11%; }
.pc__wire i:nth-child(5) { left: 8%; top: 51%; width: 84%; height: 11%; }
.pc__wire i:nth-child(6) { left: 8%; top: 64%; width: 84%; height: 11%; }
.pc__wire i:nth-child(7) { left: 8%; top: 77%; width: 40%; height: 3%; }
.pc__wire i:nth-child(8) { left: 0; right: 0; bottom: 0; height: 10%; border-radius: 0; background: #232833; }
.pc__wire i:nth-child(9) { left: 18%; bottom: 3.4%; width: 8%; height: 3.4%; border-radius: 50%; background: #3a4150; }
.pc__wire i:nth-child(10) { left: 46%; bottom: 3.4%; width: 8%; height: 3.4%; border-radius: 50%; background: #3a4150; }
.pc__wire i:nth-child(11) { left: 74%; bottom: 3.4%; width: 8%; height: 3.4%; border-radius: 50%; background: #3a4150; }
.pc__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: var(--p2); }
.pc__tool { position: absolute; inset: 0; opacity: calc(var(--p2) * (1 - var(--p3))); pointer-events: none; }
.pc__sel { position: absolute; left: 5%; right: 5%; top: 24%; height: 12%; border: 1.5px solid #ff3d8b; }
.pc__sel::before, .pc__sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid #ff3d8b; }
.pc__sel::before { left: -5px; top: -5px; } .pc__sel::after { right: -5px; bottom: -5px; }
.pc__sel b { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); padding: 2px 7px; border-radius: 4px; background: #ff3d8b; color: #fff; font: 500 11px/1.4 var(--font-mono); white-space: nowrap; }
.pc__gap { position: absolute; left: 50%; top: 36.4%; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: #ff3d8b; color: #fff; font-size: 10px; letter-spacing: 0; }
.pc__cursor { position: absolute; width: 18px; height: 18px; left: 70%; top: 30%; background: #fff; clip-path: polygon(0 0, 0 78%, 22% 60%, 40% 100%, 54% 94%, 36% 56%, 66% 56%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); animation: pc-cursor 5s ease-in-out infinite; }
@keyframes pc-cursor { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-60px, 40px); } 60% { transform: translate(-20px, 110px); } }
.pc__swatch { position: absolute; z-index: 3; left: calc(50% + min(170px, 17vh) + 24px); top: 30%; display: grid; gap: 10px; opacity: calc(var(--p2) * (1 - var(--p3))); text-transform: none; }
.pc__swatch span { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.pc__swatch i { width: 28px; height: 28px; border-radius: 8px; background: var(--sw, #333); box-shadow: 0 0 0 1px var(--line-2); }
.pc__code { position: absolute; z-index: 1; right: -1%; top: 50%; width: min(52%, 520px); border-radius: 14px; background: #0b0d13; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 70px -30px rgba(0, 0, 0, .9); opacity: calc(var(--p3) * (1 - var(--p4)));
  transform: translate(calc((1 - var(--p3)) * 40px), -50%); font: 12.5px/1.7 var(--font-mono); }
.pc__codebar { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 11px; }
.pc__code pre { margin: 0; padding: 14px 16px; color: #cfd6e4; white-space: pre; overflow: hidden; height: 300px; font: inherit; }
.pc__store { position: absolute; z-index: 3; left: calc(50% + min(160px, 16.5vh) + 28px); top: 50%; transform: translate(calc((1 - var(--p4)) * 20px), -50%); display: grid; gap: 10px; justify-items: start; opacity: var(--p4); }
.pc__chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; color: #07080b; font-weight: 600; font-size: 14px; }
.pc__chip svg { width: 18px; height: 18px; fill: currentColor; }
.pc__ver { color: var(--soft); }
.pc__bar { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 6px; }
.pc__bar li { position: relative; padding: 8px 12px 12px; font-size: 11px; color: var(--muted); }
.pc__bar li::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; opacity: .3; }
.pc__bar li.is-on { color: var(--ink); }
.pc__bar li.is-on::after { opacity: 1; background: var(--accent); }
@media (max-width: 899px) {
  .pc__grid { grid-template-columns: 1fr; grid-template-rows: 56% 44%; gap: 0; align-items: stretch; padding-top: calc(var(--nav-h) + 8px); }
  .pc__stage { order: -1; height: auto; }
  .pc__phone { --w: min(210px, 21vh); transform: translateX(calc(var(--p3) * (1 - var(--p4)) * -60%)); }
  .pc__code { width: 62%; font-size: 9.5px; } .pc__code pre { height: 200px; padding: 10px; }
  .pc__swatch { display: none; }
  .pc__step .h2 { font-size: 34px; margin: 8px 0 8px; } .pc__step .lead { font-size: 15px; }
  .pc__intro h1 { font-size: 40px; margin: 8px 0 8px; }
  .pc__bar { display: none; }
  .pc__note { font-size: 10px; }
  .pc__store { left: 50%; top: auto; bottom: 2%; transform: translate(-50%, 0); display: flex; }
}

/* ------------------------------------------------------------------ 7. Bento dal vivo */
.bn { padding: calc(var(--nav-h) + 40px) 0 var(--sec); }
.bn__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.bn__head h1 { margin-bottom: 0; }
.bn__side .cta { margin-top: 24px; }
.bn__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.bn__t { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border-radius: 22px; overflow: hidden; color: inherit; text-decoration: none;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.bn__label { position: relative; z-index: 2; color: var(--soft-2); font-size: 11px; }
.bn__cap { position: relative; z-index: 2; color: var(--soft); font-size: 15px; line-height: 1.45; }
.bn__sub { color: var(--soft); font-size: 14px; }
.bn__t--app { grid-column: 1 / 5; grid-row: 1 / 4; align-items: center; background: radial-gradient(70% 46% at 50% 72%, color-mix(in srgb, var(--c) 30%, transparent), transparent 74%), var(--surface); }
.bn__t--app .iph { --w: 230px; margin-top: 10px; }
.bn__t--app .bn__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(7, 8, 11, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; }
.bn__t--pipe { grid-column: 5 / 13; grid-row: 1 / 3; }
.bn__t--pipe .uipanel { flex: 1; min-height: 0; }
.bn__t--commit { grid-column: 5 / 9; grid-row: 3 / 5; }
.bn__big { font-size: clamp(44px, 4.6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.bn__bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 0; margin-top: 4px; }
.bn__bars li { position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(#bfefff, #58b9da 60%, #2b6f8a); transform-origin: bottom; }
.bn__bars span { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); font-size: 10px; }
.bn__bars { padding-bottom: 18px; }
html.js-motion .bn__t--commit .bn__bars li { transform: scaleY(.05); transition: transform 1100ms var(--ease-out) var(--d); }
html.js-motion .bn__t--commit.is-in .bn__bars li { transform: none; }
.bn__t--time { grid-column: 9 / 13; grid-row: 3 / 4; }
.bn__clock { font-size: 52px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bn__clock .sec { color: var(--accent); }
.bn__t--time .go { margin-top: auto; }
.bn__t--svc { grid-column: 9 / 13; grid-row: 4 / 5; }
.bn__svc { display: flex; flex-wrap: wrap; gap: 6px; }
.bn__svc li { padding: 5px 11px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line-2); font-size: 13.5px; }
.bn__t--svc .go { margin-top: auto; }
.bn__t--logos { grid-column: 1 / 5; grid-row: 4 / 5; }
.bn__logos { position: relative; flex: 1; min-height: 0; }
.bn__logos span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.bn__logos span.is-on { opacity: 1; transform: none; }
.bn__logos img { max-width: 70%; max-height: 92px; width: auto; height: auto; filter: brightness(0) invert(1); opacity: .85; }
.bn__t--mac { grid-column: 1 / 6; grid-row: 5 / 7; justify-content: space-between; }
.bn__t--mac .mbp { width: 92%; margin: 0 auto; }
.bn__t--blog { grid-column: 6 / 9; grid-row: 5 / 7; }
.bn__posts { position: relative; flex: 1; }
.bn__post { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity 300ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s 300ms; }
.bn__post.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity 600ms var(--ease-out) 280ms, transform 700ms var(--ease-out) 280ms, visibility 0s; }
.bn__post:not(.is-on) { transform: translateY(-12px); }
.bn__post strong { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.bn__t--team { grid-column: 9 / 13; grid-row: 5 / 7; justify-content: flex-end; }
.bn__photo { position: absolute; inset: 0; margin: 0; }
.bn__photo img { width: 100%; height: 100%; object-fit: cover; animation: bn-kb 22s ease-in-out infinite alternate; }
.bn__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(7, 8, 11, .9)); }
@keyframes bn-kb { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -2%); } }
@media (hover: hover) and (pointer: fine) {
  .bn__t { transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out); }
  a.bn__t:hover, .bn__t:hover { box-shadow: 0 0 0 1px var(--line-3); }
}
@media (max-width: 1023px) {
  .bn__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .bn__t--app { grid-column: 1 / 4; grid-row: span 3; } .bn__t--pipe { grid-column: 4 / 7; grid-row: span 3; }
  .bn__t--commit { grid-column: 1 / 4; grid-row: span 2; } .bn__t--time { grid-column: 4 / 7; grid-row: span 1; } .bn__t--svc { grid-column: 4 / 7; grid-row: span 1; }
  .bn__t--logos { grid-column: 1 / 4; grid-row: span 1; } .bn__t--mac { grid-column: 1 / 7; grid-row: span 2; } .bn__t--blog { grid-column: 4 / 7; grid-row: span 1; }
  .bn__t--team { grid-column: 1 / 7; grid-row: span 2; }
}
@media (max-width: 639px) {
  .bn__head { grid-template-columns: 1fr; gap: 0; }
  .bn__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bn__t { grid-column: 1 / -1 !important; grid-row: auto !important; min-height: 180px; }
  .bn__t--app { min-height: 520px; } .bn__t--pipe { min-height: 420px; } .bn__t--commit { min-height: 300px; } .bn__t--mac { min-height: 280px; } .bn__t--team { min-height: 320px; } .bn__t--blog { min-height: 220px; }
}

/* ------------------------------------------------------------------ 8. Lettere */
.let { position: relative; height: 260vh; }
.let__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
.let__strip { position: absolute; inset: 0; display: grid; align-content: center; gap: 28px; transform: rotate(-6deg) scale(1.15); }
.let__row { overflow: visible; }
.let__track { display: flex; gap: 26px; width: max-content; animation: let-x var(--dur) linear infinite; will-change: transform; }
.let__row[data-dir="-1"] .let__track { animation-direction: reverse; }
.let__track .iph { --w: 200px; }
@keyframes let-x { to { transform: translateX(calc(-50% - 13px)); } }
.let__mask { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--bg); color: #fff; mix-blend-mode: multiply;
  transform: scale(calc(var(--z, 1) * var(--zi, 1))); transform-origin: 50.6% 58%; opacity: var(--mo, 1); }   /* --zi: the arrival of «la tua APP» */
/* «la tua APP» in white (02/12/2026): the word again over the window, nearly full white, so it reads on any screen behind it; it
   zooms with the window (prove-home.js) and goes as the page is scrolled (--vo), so the apps come back before the zoom into the P */
.let__over { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none;
  transform: scale(calc(var(--z, 1) * var(--zi, 1))); transform-origin: 50.6% 58%; opacity: calc(var(--mo, 1) * var(--vo, 1)); }
.let__veil .let__pre { color: rgba(255, 255, 255, .93); }
.let__veil .let__w { color: rgba(255, 255, 255, .82); }
.let__word { font-size: 40vw; font-weight: 800; letter-spacing: -.07em; line-height: .8; margin-top: -4vh; }
/* the motto: two lines on a wide window, a word per line on a phone; heavy so that the apps show through the strokes */
.let--think .let__word { font-size: 13.2vw; font-weight: 800; letter-spacing: -.06em; line-height: .86; text-align: center; margin-top: -8vh; }
.let--think .let__copy h1 { font-size: clamp(36px, 3.6vw, 60px); }
/* the motto has thinner strokes than APP: a light ground between the phones keeps every letter readable, and fades with the word */
.let--think .let__strip { background: rgba(214, 219, 228, var(--mo, 1)); }
/* the stars of /servizi/ over the black of the word (screen: they light the dark, they barely touch the letters) */
.let__stars { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: calc(.25 + .75 * var(--mo, 1)); }
.let__copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end;
  padding-bottom: clamp(32px, 7vh, 72px); opacity: calc(1 - var(--s, 0) * 4); transform: translateY(calc(var(--s, 0) * -60px)); }
.let__copy h1 { margin: 0; }
.let__side .cta { margin-top: 22px; }
.let-words { padding: clamp(40px, 8vw, 110px) 0; overflow: clip; }
.let-words__row .band__track { display: flex; align-items: center; gap: .35em; font-size: clamp(64px, 10vw, 168px); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; white-space: nowrap; }
.let-words__row .band__track i { font-style: normal; font-size: .4em; color: var(--accent); }
.let-words__row--o .band__track span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); }
.let-list { position: relative; }
.let__items { margin-top: 40px; border-top: 1px solid var(--line); }
.let__item { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.let__name { font-size: clamp(40px, 6.4vw, 104px); font-weight: 600; letter-spacing: -.05em; line-height: 1; transition: color 300ms, transform 500ms var(--ease-out); }
.let__plat { text-align: right; }
.let__inline { display: none; }
.let__pvs { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; }
.let__pv { position: absolute; left: 0; top: 0; opacity: 0; transform: translate(calc(var(--mx, 0) * 1px - 50%), calc(var(--my, 0) * 1px - 50%)) rotate(calc(var(--rot, 0) * 1deg)) scale(.85);
  transition: opacity 300ms var(--ease-out), transform 500ms var(--ease-out); }
.let__pv.is-on { opacity: 1; transform: translate(calc(var(--mx, 0) * 1px - 50%), calc(var(--my, 0) * 1px - 50%)) rotate(calc(var(--rot, 0) * 1deg)) scale(1); }
.let__pv .iph { --w: 220px; }
@media (hover: hover) and (pointer: fine) {
  .let__item:hover .let__name { color: var(--c); transform: translateX(16px); }
}
@media (max-width: 899px) {
  .let__word { font-size: 44vw; }
  .let--think .let__word { font-size: 22vw; line-height: .86; margin-top: -18vh; }
  .let--think .let__w { display: block; }
  .let--think .let__br { display: none; }
  .let__copy { grid-template-columns: 1fr; gap: 0; }
  .let__copy h1 { font-size: 42px; }
  .let__track .iph { --w: 140px; }
  .let__item { grid-template-columns: 1fr auto; }
  .let__n { display: none; }
  .let__plat { grid-column: 1; text-align: left; }
  .let__inline { display: block; grid-column: 2; grid-row: 1 / 3; }
  .let__inline .iph { --w: 90px; }
  .let__pvs { display: none; }
}

/* ------------------------------------------------------------------ the index of the trials */
.phx-head { display: grid; gap: 18px; padding-bottom: 32px; }
.phx-head h1 { margin: 6px 0; }
.phxs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.phx { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 8px 24px; padding: 28px; border-radius: var(--r-card); background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; }
.phx__n { grid-row: 1 / 3; font-size: 56px; font-weight: 600; letter-spacing: -.05em; line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.phx__t { font-size: 28px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 10px; }
.phx p:not(.mono) { color: var(--soft); }
.phx .mono { margin-top: 12px; }
.phx .go { grid-column: 2; }
@media (hover: hover) and (pointer: fine) { .phx { transition: box-shadow 300ms var(--ease-out); } .phx:hover { box-shadow: 0 0 0 1px var(--accent); } }
@media (max-width: 767px) { .phxs { grid-template-columns: 1fr; } .phx { grid-template-columns: 1fr; } .phx__n { grid-row: auto; font-size: 40px; } .phx .go { grid-column: 1; } }

/* ------------------------------------------------------------------ stillness */
html.is-calm .muro__track, html.is-still .muro__track, html.is-still .let__track, html.is-still .vt__glow, html.is-still .vt__side, html.is-still .iosx__aura, html.is-still .ios__wall i,
html.is-still .bn__photo img, html.is-still .pc__cursor, html.is-still .cod__caret { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .muro__track, .let__track, .vt__glow, .vt__side, .iosx__aura, .ios__wall i, .bn__photo img, .pc__cursor, .cod__caret, .ios__bars i { animation: none !important; }
  .let__tap { display: none; }
  .iph__shot, .vt__layer, .vt__side, .ios__open, .ios__shot, .bn__post, .bn__logos span { transition: none !important; }
}

/* «la tua APP» (/prove/hero-la-tua-app/, 24/11/2026): the same window as APP, with «la tua» above it, in the same cut */
.let--tua .let__word { display: flex; flex-direction: column; align-items: center; font-size: min(31.5vw, 58vh); line-height: .8; margin-top: -12vh; }
.let--tua .let__pre { font-size: .3em; letter-spacing: -.045em; line-height: .9; margin-bottom: .05em; }
.let--tua .let__strip { background: rgba(214, 219, 228, var(--mo, 1)); }
/* outside the letters the ground is a touch less than solid black: the apps barely show through (Vittorio, 24/11/2026) */
.let--tua .let__mask { background: rgba(7, 8, 11, .94); }
/* the apps in use (02/12/2026, prove-home.js): one screen shows, the others wait under it; the finger is the simulator's touch */
.let__app .iph__shot { opacity: 0; }
.let__app .iph__shot.is-on { opacity: 1; }
.let__tap { position: absolute; z-index: 3; left: var(--x, 50%); top: var(--y, 60%); width: 19%; aspect-ratio: 1; margin: -9.5% 0 0 -9.5%; border-radius: 50%;
  background: rgba(90, 100, 120, .42); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 3px 12px rgba(0, 0, 0, .28); opacity: 0; pointer-events: none; }
/* smaller phones in four rows (Vittorio, 26/11/2026: "potremmo anche ridurle un po' di dimensioni"); phones only (27/11/2026) */
.let--tua .let__track { --pw: 156px; align-items: center; gap: 22px; }
.let--tua .let__strip { gap: 22px; }
.let--tua .let__track .iph { --w: var(--pw); }
@media (max-width: 899px) { .let--tua .let__word { font-size: 38vw; margin-top: -30vh; } .let--tua .let__pre { font-size: .36em; margin-bottom: .14em; }
  .let--tua .let__track { --pw: 88px; gap: 14px; } .let--tua .let__strip { gap: 14px; } }   /* smaller phones on a phone (Vittorio, 25/11/2026) */
/* the arrival (Vittorio, 26/11/2026: "qualche animazione per la tua app quando parte il sito"). The page opens inside the P,
   among the apps, and pulls back through the letters until the whole word is there (prove-home.js drives --zi, the same zoom the
   scroll makes, backwards); the phones settle from a steeper, closer angle; then the title, the line and the buttons come up.
   wait: dark, until the fonts and the first screens are ready (at most 0.9 s); run: the apps fade in from inside the stroke and the
   word pulls back; done: as always.
   01/12/2026: 1.5 s instead of 2.6, the phones turn less, the title and the buttons come up sooner (Vittorio: «più fluida e più veloce»).
   Only with motion on; if the script never runs, everything shows after a moment (let-safe). */
@media (prefers-reduced-motion: no-preference) {
  html.js-motion:not(.is-still) .let[data-intro="wait"] .let__mask,
  html.js-motion:not(.is-still) .let[data-intro="wait"] .let__copy > * { opacity: 0; animation: let-safe 0s 2.5s forwards; }
  html.js-motion:not(.is-still) .let[data-intro="wait"] .let__strip,
  .let[data-intro="run"] .let__strip { transform: rotate(-11deg) scale(1.45); }
  html.js-motion:not(.is-still) .let[data-intro="wait"] .let__strip { opacity: 0; animation: let-safe-strip 0s 2.5s forwards; }
  .let[data-intro="run"] .let__strip { animation: let-strip-in 1500ms cubic-bezier(.3, 0, .1, 1) both, let-in 320ms ease-out both; }
  .let[data-intro="run"] .let__mask { animation: let-in 220ms ease-out both; }
  html.js-motion:not(.is-still) .let[data-intro="wait"] .let__over .let__word { opacity: 0; animation: let-safe 0s 2.5s forwards; }
  .let[data-intro="run"] .let__over .let__word { animation: let-in 700ms ease-out 650ms both; }
  .let[data-intro="run"] .let__copy h1 { animation: let-wipe 900ms 750ms cubic-bezier(.16, .84, .2, 1) both; }
  .let[data-intro="run"] .let__side .lead { animation: let-up 700ms 950ms cubic-bezier(.16, .84, .2, 1) both; }
  .let[data-intro="run"] .let__side .btn { animation: let-up 700ms 1050ms cubic-bezier(.16, .84, .2, 1) both; }
  .let[data-intro="run"] .let__side .btn + .btn { animation-delay: 1130ms; }
}
@keyframes let-safe { to { opacity: 1; } }
@keyframes let-safe-strip { to { transform: rotate(-6deg) scale(1.15); opacity: 1; } }
@keyframes let-strip-in { from { transform: rotate(-11deg) scale(1.45); } to { transform: rotate(-6deg) scale(1.15); } }
@keyframes let-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes let-wipe { from { clip-path: inset(-20% 100% -20% 0); transform: translateX(-24px); } to { clip-path: inset(-20% -6% -20% 0); transform: none; } }
@keyframes let-up { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* the services told by the DNA (/prove/servizi-dna/, 24/11/2026) */
.dna--svc .dna__jump { margin-top: 22px; pointer-events: auto; }
.dna--svc .dna__cap { margin-top: 16px; color: var(--ink-2); text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.45; max-width: 46ch; }
.dna--svc .dna__go { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 18px; }
.dna--svc .dna__go .go { margin-top: 0; }
.dna--svc .dna__step .cta { margin-top: 26px; }

/* «Dall'idea allo store» on a phone (24/11/2026): there is no room beside the phone, so the code comes over its lower half
   instead of pushing it off the left edge, the phone steps back a little for the store badges, and only one measure shows */
@media (max-width: 899px) {
  .pc__phone { transform: translateY(calc(var(--p4) * -6%)) scale(calc(1 - var(--p4) * .14 - var(--p3) * (1 - var(--p4)) * .06)); }
  .pc__code { left: 3%; right: 3%; width: auto; top: auto; bottom: 2%; font-size: 10.5px; line-height: 1.6;
    transform: translateY(calc((1 - var(--p3)) * 24px)); }
  .pc__code pre { height: 148px; padding: 10px 12px; }
  .pc__codebar { padding: 8px 12px; font-size: 10px; }
  .pc__store { bottom: 0; gap: 8px; align-items: center; flex-wrap: nowrap; }
  .pc__chip { padding: 6px 10px; border-radius: 10px; font-size: 12px; gap: 6px; white-space: nowrap; }
  .pc__chip svg { width: 14px; height: 14px; }
  .pc__ver { font-size: 10px; white-space: nowrap; }
  .pc__gap { display: none; }
  .pc__sel b { font-size: 10px; bottom: -22px; }
}

