/* Quadra — sito
   Linguaggio preso dalla hero su Paper: gradienti acciaio in oklab, Geist,
   bianco pieno per ciò che conta e bianco attenuato per il resto. */

:root {
  --ink: #ffffff;
  --ink-2: rgb(255 255 255 / 0.8);
  --ink-3: rgb(255 255 255 / 0.7);
  --ink-4: rgb(255 255 255 / 0.55);
  --void: #0b0d0e;
  --accent: #ff6a2b;          /* l'arancio dell'app: solo per ciò che chiede attenzione */
  --accent-soft: #ffb08a;

  /* acciaio: i punti di passaggio fra una sezione e l'altra */
  --s-night: #131618;
  --s-light: #939da6;
  --s-mid: #4e5a66;
  --s-deep: #181c1f;
  --s-haze: #7d8791;
  --s-slate: #3a434c;
  --s-ink: #111416;
  --s-mist: #8a949d;
  --s-iron: #46505a;
  --s-pit: #0f1214;

  --font: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --margin: clamp(20px, 3.3vw, 50px);
  --gap-section: clamp(64px, 7.5vw, 120px);

  --t-hero: clamp(34px, 2.65vw + 6px, 52px);
  --t-h2: clamp(26px, 1.3vw + 12px, 34px);
  --t-body: clamp(17px, 0.25vw + 14px, 19px);
  --t-small: 15px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--s-night);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.45;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; }

::selection { background: rgb(255 255 255 / 0.9); color: #111; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.dim { color: var(--ink-2); }
.wrap { padding-inline: var(--margin); max-width: 1680px; margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ marchio */

.mark { position: relative; display: block; width: var(--size, 50px); height: var(--size, 50px); flex-shrink: 0; }
.mark i { position: absolute; background: currentColor; }
.mark i:nth-child(1) { left: 44%; top: 0;   width: 14%; height: 44%; border-radius:0 calc(var(--size, 50px) * .5) 0 calc(var(--size, 50px)); }
.mark i:nth-child(2) { left: 44%; top: 58%; width: 14%; height: 42%; border-radius: 0 calc(var(--size, 50px)) 0 calc(var(--size, 50px) * .5); }
.mark i:nth-child(3) { left: 58%; top: 44%; width: 42%; height: 14%; border-radius: calc(var(--size, 50px)) 0 calc(var(--size, 50px) * .5) 0; }
.mark i:nth-child(4) { left: 0;   top: 44%; width: 44%; height: 14%; border-radius: calc(var(--size, 50px) * .5) 0 calc(var(--size, 50px)) 0; }

.studio { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgb(255 255 255 / 0.75); transition: color .2s; }
a.studio:hover { color: #fff; }
.studio svg { width: 42px; height: 14px; fill: currentColor; }

/* ---------------------------------------------------------------- pulsanti */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 999px; border: 0;
  background: #fff; color: #000; font-size: 15px; font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .2s;
}
.btn:hover { background: #e9edf0; }
.btn:active { transform: scale(0.96); }
.btn--big { height: 52px; padding: 0 28px; font-size: 17px; }
.btn--quiet { background: rgb(255 255 255 / 0.14); color: #fff; }
.btn--quiet:hover { background: rgb(255 255 255 / 0.22); }

.link {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s var(--ease-out);
}
.link:hover { background-size: 100% 1px; }
.link svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------- navigazione */

/* L'header resta sempre identico: nessun cambio di altezza o colore.
   Solo una sfocatura, che sfuma verso il basso, sul contenuto che ci passa sotto. */
.nav { position: fixed; inset: var(--bar, 0px) 0 auto 0; z-index: 50; }
.nav::before {
  content: ""; position: absolute; inset: 0 0 -44px 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  transition: bottom .35s var(--ease-out);
}
.nav:has(.nav__more.is-open)::before, .nav:has(.nav__more:focus-within)::before { bottom: -150px; }
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-block: 50px 0; height: 100px;
}
.nav__brand { justify-self: start; display: block; }
.nav__links { display: flex; gap: 21px; font-size: 15px; line-height: 18px; }
.nav__links > li { position: relative; }
.nav__links a, .nav__more > button { opacity: 1; transition: opacity .2s; }
.nav__links:hover a, .nav__links:hover .nav__more > button { opacity: .7; }
.nav__links a:hover, .nav__more > button:hover, .nav__links a[aria-current="true"] { opacity: 1 !important; }
.nav__more > button { background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; display: inline-flex; gap: 5px; align-items: center; }
.nav__more > button svg { width: 10px; height: 10px; transition: transform .3s var(--ease-out); }
.nav__more.is-open > button svg { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 0; top: 100%; padding-top: 5px; display: none; gap: 5px;
}
.nav__sub a { color: var(--ink-3); white-space: nowrap; }
.nav__sub a:hover { color: #fff; }
.nav__more.is-open .nav__sub, .nav__more:focus-within .nav__sub { display: grid; animation: drop .3s var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.nav__cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

@media (max-width: 1000px) {
  .nav__inner { grid-template-columns: 1fr auto; padding-block: 24px 0; height: 82px; }
  .nav .mark { --size: 38px; }
  .nav__links, .nav__inner > nav { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
    background: rgb(255 255 255 / 0.14);
  }
  .nav__toggle span { position: relative; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: background .2s; }
  .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease-out); }
  .nav__toggle span::before { transform: translateY(-5px); }
  .nav__toggle span::after { transform: translateY(5px); }
  .menu-open .nav__toggle span { background: transparent; }
  .menu-open .nav__toggle span::before { transform: rotate(45deg); }
  .menu-open .nav__toggle span::after { transform: rotate(-45deg); }
}

.sheet {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 110px var(--margin) 40px;
  background: linear-gradient(in oklab 180deg, var(--s-night) 0%, var(--s-mid) 100%);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.sheet ul { display: grid; gap: 6px; font-size: 34px; line-height: 1.15; }
.sheet ul a { display: block; padding-block: 4px; }
.sheet .studio { margin-top: 40px; }
@media (min-width: 1001px) { .sheet { display: none; } }

/* --------------------------------------------------------------- sezioni */

.sec { position: relative; isolation: isolate; }
/* Ogni sezione va da --from a --to con una curva morbida (smoothstep):
   la pendenza è nulla ai bordi, così fra una sezione e l'altra non resta una piega di luce. */
.sec {
  background: linear-gradient(in oklab 180deg,
    var(--from) 0%,
    color-mix(in oklab, var(--to) 6%, var(--from)) 15%,
    color-mix(in oklab, var(--to) 22%, var(--from)) 30%,
    color-mix(in oklab, var(--to) 50%, var(--from)) 50%,
    color-mix(in oklab, var(--to) 78%, var(--from)) 70%,
    color-mix(in oklab, var(--to) 94%, var(--from)) 85%,
    var(--to) 100%);
}
.sec__title { font-size: var(--t-h2); line-height: 1.18; max-width: 22ch; text-wrap: balance; }
.sec__lead { font-size: var(--t-body); line-height: 1.4; max-width: 34em; }
.sec__lead + .sec__lead { margin-top: 10px; }
.sec__title + .sec__lead { margin-top: 22px; }
.facts { display: grid; gap: 26px 40px; }
.facts dt { font-size: var(--t-body); color: #fff; }
.facts dd { margin-top: 4px; font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); max-width: 30em; }

/* --------------------------------------------------------------- iPhone */

.phone {
  --w: 320px;
  position: relative; width: var(--w); flex-shrink: 0;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.165);
  background: #050607;
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.006) #2e3439,
    0 0 0 calc(var(--w) * 0.006) #5d666e,
    0 0 0 calc(var(--w) * 0.012) #1d2124,
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.22) calc(var(--w) * -0.08) rgb(0 0 0 / 0.55);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; background: #3c434a;
}
.phone::before { left: calc(var(--w) * -0.022); top: 22%; height: 13%; box-shadow: 0 calc(var(--w) * 0.36) 0 #3c434a; }
.phone::after { right: calc(var(--w) * -0.022); top: 30%; height: 17%; }
.phone img {
  width: 100%; aspect-ratio: 920 / 2000; object-fit: cover;
  border-radius: calc(var(--w) * 0.137);
  background: #1c2024;
}

/* frammento di interfaccia ritagliato da uno screenshot */
.crop {
  --cw: 300px;
  position: relative; overflow: hidden; width: var(--cw);
  border-radius: calc(var(--cw) * 0.07);
  aspect-ratio: var(--ratio);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}
.crop img {
  position: absolute; max-width: none;
  width: calc(var(--cw) * var(--scale));
  left: calc(var(--cw) * var(--x)); top: calc(var(--cw) * var(--y));
}

/* =================================================================== HERO */

.hero {
  min-height: max(calc(100svh - var(--barh, 0px)), 720px);
  --from: var(--s-night); --to: var(--s-light);
  overflow: hidden;
}
.hero__img {
  position: absolute; bottom: 0; left: 16.3vw; height: 100%; width: auto; aspect-ratio: 1.5;
  max-width: none; object-fit: contain; object-position: left bottom;
  pointer-events: none; z-index: -1;
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.hero__body {
  position: relative; min-height: inherit; display: grid;
  grid-template-rows: 1fr auto 1fr auto;
  padding-top: 100px; padding-bottom: 50px;
}
.hero h1 { grid-row: 2; font-size: var(--t-hero); line-height: 1.2; }
.hero__about { grid-row: 4; align-self: end; }
.hero__about p { font-size: 18px; line-height: 22px; color: var(--ink-2); max-width: 30em; }
.hero__about .studio { margin-top: 12px; }

@media (max-width: 1000px) {
  .hero { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 128px; }
  .hero__body { display: contents; }
  .hero h1 { grid-row: 1; padding-inline: var(--margin); }
  .hero__img {
    --hw: min(210vw, 1150px);
    position: relative; grid-row: 2; grid-column: 1; left: auto; bottom: auto; height: auto; width: var(--hw); max-width: none;
    margin: calc(var(--hw) * -0.1) 0 calc(var(--hw) * -0.07) calc(50vw - var(--hw) * 0.53);
    -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 74%, transparent 96%);
  }
  .hero__about { grid-row: 3; grid-column: 1; padding: 0 var(--margin) 40px; }
}
@media (max-width: 600px) {
  .hero__about p br { display: none; }
}

/* ============================================================ COS'È QUADRA */

.cosa {
  --from: var(--s-light); --to: var(--s-mid);
  padding-block: var(--gap-section);
}
.cosa__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.cosa__phones { --pw: clamp(250px, 20vw, 320px); position: relative; height: calc(var(--pw) * 2.5); }
.cosa__phones .phone { position: absolute; --w: var(--pw); }
.cosa__phones .phone:nth-child(1) { right: 4%; top: calc(var(--pw) * 0.24); z-index: 2; }
.cosa__phones .phone:nth-child(2) { right: calc(4% + var(--pw) * 0.8); top: 0; transform: scale(.9); transform-origin: right top; }

@media (max-width: 1000px) {
  .cosa__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cosa__phones { height: auto; display: flex; gap: 16px; justify-content: center; }
  .cosa__phones .phone { position: relative; inset: auto; --w: min(44vw, 300px); }
  .cosa__phones .phone:nth-child(1) { order: 2; right: auto; top: 40px; }
  .cosa__phones .phone:nth-child(2) { order: 1; right: auto; transform: none; opacity: 1; }
}

/* =============================================================== MOVIMENTI */

.movimenti {
  --from: var(--s-mid); --to: var(--s-deep);
  padding-block: var(--gap-section);
}
.movimenti__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.movimenti__head .sec__lead { justify-self: end; max-width: 28em; }
.movimenti__stage {
  margin-top: 90px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center;
}
.movimenti__stage .phone { --w: clamp(280px, 24vw, 360px); }
.callouts { display: grid; gap: 54px; }
.callouts--left { text-align: right; justify-items: end; }
.callouts dt { font-size: var(--t-body); }
.callouts dd { margin-top: 6px; font-size: var(--t-small); color: var(--ink-2); max-width: 22em; line-height: 1.45; }
.callouts > div { position: relative; }
.callouts > div::after {
  content: ""; position: absolute; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.callouts--left > div::after { right: calc(-1 * clamp(28px, 4vw, 72px) / 2 - 4px); }
.callouts--right > div::after { left: calc(-1 * clamp(28px, 4vw, 72px) / 2 - 4px); }

@media (max-width: 1000px) {
  .movimenti__head { grid-template-columns: 1fr; gap: 22px; }
  .movimenti__head .sec__lead { justify-self: start; }
  .movimenti__stage { grid-template-columns: 1fr; margin-top: 56px; gap: 48px; }
  .movimenti__stage .phone { order: -1; justify-self: center; --w: min(76vw, 330px); }
  .callouts { gap: 30px; }
  .callouts--left { text-align: left; justify-items: start; }
  .callouts > div::after { display: none; }
}

/* ============================================================ IMPORTAZIONE */

.importa {
  --from: var(--s-deep); --to: var(--s-haze);
  padding-block: var(--gap-section) calc(var(--gap-section) * 0.8);
}
.importa__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.steps { margin-top: 70px; display: grid; gap: 40px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / 0.12); font-size: 17px;
}
.steps h3 { font-size: var(--t-body); padding-top: 10px; }
.steps p { margin-top: 6px; font-size: var(--t-small); color: var(--ink-2); max-width: 32em; line-height: 1.5; }
.importa__note { margin-top: 56px; display: flex; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--ink-2); }
.importa__note svg { width: 18px; height: 18px; flex-shrink: 0; }
.importa__phones { position: relative; height: clamp(640px, 54vw, 820px); perspective: 2200px; }
.importa__phones .phone { position: absolute; --w: clamp(260px, 21vw, 330px); }
.importa__phones .phone:nth-child(1) { left: 6%; top: 0; transform: rotateY(16deg) rotateZ(-2deg); }
.importa__phones .phone:nth-child(2) { right: 4%; top: 13%; transform: rotateY(-12deg) rotateZ(2deg); }

@media (max-width: 1000px) {
  .importa__grid { grid-template-columns: minmax(0, 1fr); }
  .importa__phones { height: auto; display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
  .importa__phones .phone { position: relative; inset: auto; --w: min(44vw, 300px); }
  .importa__phones .phone:nth-child(1) { left: auto; transform: none; }
  .importa__phones .phone:nth-child(2) { right: auto; top: 50px; transform: none; }
}

/* ================================================================ DOPPIONI */

.doppioni {
  --from: var(--s-haze); --to: var(--s-slate);
  padding-block: var(--gap-section);
}
.doppioni__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.doppioni__phone { display: flex; justify-content: center; }
.doppioni__phone .phone { --w: clamp(280px, 23vw, 360px); }
.doppioni .facts { grid-template-columns: 1fr 1fr; margin-top: 56px; }

@media (max-width: 1000px) {
  .doppioni__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .doppioni__phone { order: 2; }
  .doppioni__phone .phone { --w: min(72vw, 330px); }
}
@media (max-width: 600px) { .doppioni .facts { grid-template-columns: 1fr; margin-top: 44px; } }

/* ================================================================= MERCATI */

.mercati {
  --from: var(--s-slate); --to: var(--s-ink);
  padding-block: var(--gap-section);
  overflow: hidden;
}
.mercati__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.mercati__visual { position: relative; height: clamp(640px, 52vw, 820px); perspective: 2400px; }
.mercati__visual .phone { position: absolute; left: 8%; top: 0; --w: clamp(290px, 25vw, 380px); transform: rotateY(18deg) rotateX(4deg) rotateZ(-3deg); transform-origin: center; }
.mercati__visual .crop { position: absolute; left: calc(8% + clamp(290px, 25vw, 380px) * 0.9); top: 40%; --cw: clamp(240px, 19vw, 300px); }
.mercati .facts { grid-template-columns: 1fr; margin-top: 56px; max-width: 34em; }

@media (max-width: 1000px) {
  .mercati__grid { grid-template-columns: minmax(0, 1fr); }
  .mercati__visual { height: auto; display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 30px; }
  .mercati__visual .phone { position: relative; left: auto; --w: min(72vw, 330px); transform: none; }
  .mercati__visual .crop { position: relative; left: auto; bottom: auto; margin-top: -30px; margin-left: 30%; --cw: min(64vw, 300px); }
}
@media (max-width: 600px) { .mercati .facts { margin-top: 44px; } }

/* ================================================================= ANALISI */

.analisi {
  --from: var(--s-ink); --to: var(--s-mist);
  padding-block: var(--gap-section) calc(var(--gap-section) * 0.9);
}
.analisi__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; }
.analisi__head .sec__lead { justify-self: end; max-width: 30em; }
.strip {
  margin-top: 90px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px);
  align-items: start;
}
.strip figure { margin: 0; display: grid; gap: 26px; justify-items: start; }
.strip .phone { --w: 100%; width: 100%; padding: 3%; border-radius: 16.5% / 7.6%; }
.strip .phone img { border-radius: 13.6% / 6.3%; }
.strip .phone::before, .strip .phone::after { display: none; }
.strip figure:nth-child(2) { margin-top: 70px; }
.strip figure:nth-child(3) { margin-top: 140px; }
.strip figure:nth-child(4) { margin-top: 70px; }
.strip figcaption strong { display: block; font-weight: 400; font-size: var(--t-body); }
.strip figcaption span { display: block; margin-top: 4px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.strip .phone { box-shadow: inset 0 0 0 2px #2e3439, 0 0 0 2px #5d666e, 0 0 0 4px #1d2124, 0 40px 70px -30px rgb(0 0 0 / 0.55); }

.budget { margin-top: 130px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.budget__text p { margin-top: 18px; max-width: 32em; }
.budget__crop { justify-self: end; }
.budget__crop .crop { --cw: clamp(300px, 34vw, 520px); }

@media (max-width: 1000px) {
  .analisi__head, .budget { grid-template-columns: 1fr; gap: 22px; }
  .analisi__head .sec__lead { justify-self: start; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 16px; margin-top: 56px; }
  .strip figure { margin-top: 0 !important; gap: 18px; }
  .strip figure:nth-child(even) { margin-top: 48px !important; }
  .budget { margin-top: 90px; }
  .budget__crop { justify-self: stretch; margin-top: 20px; }
  .budget__crop .crop { --cw: min(calc(100vw - 2 * var(--margin)), 460px); }
}

/* ================================================================ SCADENZE */

.scadenze {
  --from: var(--s-mist); --to: var(--s-iron);
  padding-block: var(--gap-section);
}
.scadenze__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.scadenze .facts { grid-template-columns: 1fr; margin-top: 54px; max-width: 34em; }
.scadenze__phone { display: flex; justify-content: center; align-self: center; }
.scadenze__phone .phone { --w: clamp(280px, 23vw, 360px); }

@media (max-width: 1000px) {
  .scadenze__grid { grid-template-columns: minmax(0, 1fr); }
  .scadenze .facts { margin-bottom: 30px; }
  .scadenze__phone .phone { --w: min(78vw, 340px); }
}

/* ================================================================= PRIVACY */

.privacy {
  --from: var(--s-iron); --to: var(--s-pit);
  padding-block: calc(var(--gap-section) * 1.15) var(--gap-section);
}
.privacy__head { text-align: center; display: grid; justify-items: center; }
.privacy__head .mark { --size: 64px; margin-bottom: 40px; }
.privacy h2 { font-size: clamp(36px, 3.6vw + 6px, 64px); line-height: 1.05; letter-spacing: -0.035em; }
.privacy__head p { margin-top: 26px; max-width: 36em; font-size: clamp(18px, 0.5vw + 14px, 22px); color: var(--ink-2); text-wrap: balance; }
.privacy .facts { margin-top: 110px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; }
.privacy .facts > div { padding-top: 22px; position: relative; }
.privacy .facts > div::before { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.5); }

@media (max-width: 1000px) { .privacy .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .privacy .facts { grid-template-columns: 1fr; gap: 36px; margin-top: 70px; } }

/* ================================================================= DOMANDE */

.domande {
  --from: var(--s-pit); --to: #262c31;
  padding-block: var(--gap-section);
}
.domande__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.domande__grid .sec__lead { margin-top: 18px; max-width: 20em; }
.domande__grid > div:first-child { position: sticky; top: 120px; }
.qa { display: grid; }
.qa details { border-radius: 22px; transition: background .25s; }
.qa details + details { margin-top: 6px; }
.qa details[open], .qa details:hover { background: rgb(255 255 255 / 0.05); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 24px; font-size: clamp(18px, 0.4vw + 15px, 21px);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa .ans { padding: 0 24px 24px; color: var(--ink-2); max-width: 44em; line-height: 1.5; }
.qa .ans a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 1000px) {
  .domande__grid { grid-template-columns: minmax(0, 1fr); }
  .domande__grid > div:first-child { position: static; }
  .qa summary { padding: 18px 16px; }
  .qa .ans { padding: 0 16px 20px; }
}

/* ======================================================= SUPPORTO + FINE */

.fine {
  --from: #262c31; --to: var(--s-light);
  padding-top: var(--gap-section);
  overflow: hidden;
}
.fine__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.fine__block h2 { font-size: var(--t-h2); line-height: 1.18; }
.fine__block p { margin-top: 18px; max-width: 30em; }
.fine__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.fine__mail { margin-top: 20px; display: inline-block; color: var(--ink-2); font-size: var(--t-small); }
.fine__mail a { color: #fff; }

.colophon { margin-top: clamp(140px, 16vw, 240px); padding-bottom: 36px; }
.wordmark {
  display: flex; align-items: center; gap: clamp(16px, 2.2vw, 40px);
  font-size: clamp(80px, 23.4vw, 420px); line-height: 0.82; letter-spacing: -0.06em; font-weight: 400;
  margin-left: -0.04em;
}
.wordmark .mark { --size: 0.72em; margin-top: 0.06em; }
.colophon__row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; font-size: 14px; color: rgb(255 255 255 / 0.85); }
.colophon__row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.colophon__row nav a:hover { color: #fff; }

@media (max-width: 1000px) {
  .fine__grid { grid-template-columns: minmax(0, 1fr); gap: 80px; }
}

/* ----------------------------------------------------------- movimento */

.js [data-reveal] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js .phone[data-rise] { opacity: 0; translate: 0 60px; transition: opacity 1s var(--ease-out), translate 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js .phone[data-rise].is-in { opacity: 1; translate: 0 0; }
.js .crop[data-rise] { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease-out), translate 1.3s var(--ease-out); transition-delay: .35s; }
.js .crop[data-rise].is-in { opacity: 1; translate: 0 0; }

.hero h1 { animation: rise 1.1s var(--ease-out) both .1s; }
.hero__about { animation: rise 1.1s var(--ease-out) both .35s; }
.hero__img { animation: lift 1.6s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes lift { from { opacity: 0; translate: 0 60px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] > *, .js [data-rise] { opacity: 1 !important; transform: none !important; translate: none !important; }
}

/* ------------------------------------------------- banner della lingua */
.langbar { position: relative; z-index: 60; background: #0b0d0e; }
.langbar[hidden] { display: none; }
.langbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 14px; flex-wrap: wrap; }
.langbar p { font-size: 15px; color: var(--ink-2); }
.langbar__actions { display: flex; align-items: center; gap: 10px; }
.langbar .btn { height: 34px; padding: 0 16px; font-size: 14px; }
.langbar__close { width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgb(255 255 255 / 0.1); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.langbar__close:hover { background: rgb(255 255 255 / 0.18); }
.langbar__close svg { width: 12px; height: 12px; }

/* ----------------------------------------------- selettore della lingua */
.langpick { position: relative; display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / 0.85); }
.langpick svg { width: 16px; height: 16px; flex-shrink: 0; }
.langpick select {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; letter-spacing: -0.01em; color: #fff;
  background: rgb(255 255 255 / 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5 5 7l3.5-3.5' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
  border-radius: 999px; padding: 8px 32px 8px 14px; transition: background-color .2s;
}
.langpick select:hover { background-color: rgb(255 255 255 / 0.2); }
.langpick select option { color: #000; background: #fff; }

/* ------------------------------------- download non ancora disponibile */
.btn--off { background: rgb(255 255 255 / 0.2); color: rgb(255 255 255 / 0.62); cursor: default; pointer-events: none; }
.soon { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.soon small { position: absolute; top: 100%; margin-top: 7px; font-size: 12px; line-height: 1.2; color: rgb(255 255 255 / 0.7); white-space: nowrap; }
.soon--start { align-items: flex-start; }
.soon--start small { position: static; margin-top: 12px; font-size: 14px; }
@media (max-width: 600px) { .nav .soon small { font-size: 11px; } }
