/* Idento: sito v2, direzione "Camera oscura" (scelta utente 30/09).
   Una sola famiglia (Archivo) usata sull'asse della larghezza: larga per i titoli, come le
   incisioni sul corpo di una macchina fotografica; normale per il testo. */
/* Il carattere e' ospitato da noi (licenza SIL OFL, vedi fonts/LICENZA.txt): la privacy dichiara
   che il sito non fa caricare nulla da terzi. */
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg:      oklch(0.155 0.012 160);
  --bg-2:    oklch(0.185 0.014 160);
  --bg-3:    oklch(0.225 0.015 160);
  --riga:    oklch(0.31 0.014 160);
  --ink:     oklch(0.965 0.006 160);
  --muted:   oklch(0.75 0.012 160);
  --verde:   oklch(0.74 0.17 148);
  --verde-f: oklch(0.52 0.15 148);
  --oro:     oklch(0.82 0.11 82);
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --pad:     clamp(16px, 5vw, 72px);
  --max:     1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Archivo, system-ui, sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.6; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
.salta { position: absolute; left: -9999px; }
.salta:focus { left: 16px; top: 12px; z-index: 60; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

h1, h2, h3 { text-wrap: balance; }
.titolo { margin: 0; font-stretch: 112%; font-weight: 760; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -0.03em; }
.titolo em { font-style: normal; color: var(--verde); }
.intro { margin: 20px 0 0; max-width: 56ch; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); text-wrap: pretty; }
.sezione { padding: clamp(96px, 12vw, 168px) var(--pad); }
.dentro { max-width: var(--max); margin: 0 auto; }

/* ── Bottoni ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 650; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), border-color .25s; }
.btn.primario { background: var(--verde); color: oklch(0.16 0.03 150); box-shadow: 0 10px 30px -12px oklch(0.74 0.17 148 / .7); }
.btn.primario:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px oklch(0.74 0.17 148 / .85); }
.btn.secondario { color: var(--ink); border: 1px solid var(--riga); background: transparent; }
.btn.secondario:hover { border-color: var(--muted); }
.btn.grande { padding: 18px 34px; font-size: 18px; }

/* ── Testata ── */
.testa { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px;
  padding: 14px var(--pad); background: oklch(0.155 0.012 160 / .84); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid oklch(1 0 0 / .06); }
.marchio { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%;
  font-size: 22px; letter-spacing: -0.02em; }
.marchio svg { width: 30px; height: 30px; flex: none; }
.testa nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--muted); }
.testa nav a { text-decoration: none; transition: color .2s; }
.testa nav a:hover { color: var(--ink); }
.testa .btn { padding: 10px 18px; font-size: 14.5px; }
.lingua { position: relative; font-size: 14px; color: var(--muted); }
.lingua summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--riga); }
.lingua summary::-webkit-details-marker { display: none; }
.lingua[open] summary { color: var(--ink); }
.lingua div { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 150px; padding: 6px;
  background: var(--bg-3); border: 1px solid var(--riga); border-radius: 12px; box-shadow: 0 20px 40px -20px oklch(0 0 0 / .8); }
.lingua div a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.lingua div a:hover, .lingua div a[aria-current] { background: oklch(1 0 0 / .06); }
@media (max-width: 1020px) { .testa nav { display: none; } .lingua { margin-left: auto; } }
/* Sul telefono il tasto in testa e' piu' lungo nelle altre lingue ("Experimentar grátis"): tutto su una riga. */
.testa nav, .marchio, .lingua summary, .testa .btn { white-space: nowrap; }
@media (max-width: 480px) { .testa { gap: 8px; padding-inline: 12px; } .testa .btn { padding: 9px 11px; font-size: 13px; } .lingua summary { padding: 7px 8px; } }
@media (max-width: 360px) { .marchio { font-size: 0; gap: 0; } }

/* ── Apertura: scritte in alto, sotto la finestra vera di Idento ── */
.eroe { position: relative; padding: clamp(40px, 7vw, 96px) var(--pad) clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.eroe::before { content: ""; position: absolute; left: 50%; top: 28%; width: min(1400px, 140vw); height: 900px; translate: -50% 0;
  background: radial-gradient(closest-side, oklch(0.74 0.17 148 / .13), transparent); pointer-events: none; }
.eroe h1 { position: relative; margin: 0 auto; font-stretch: 108%; font-weight: 780; font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: 1;
  letter-spacing: -0.035em; }
.eroe h1 .riga { display: block; overflow: hidden; padding-bottom: .06em; }
.eroe h1 .riga > span { display: block; animation: sale 1.1s var(--ease) both; }
.eroe h1 .riga:nth-child(2) > span { animation-delay: .12s; color: var(--verde); }
.eroe-sotto { position: relative; max-width: 50ch; margin: 26px auto 0; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted);
  animation: appare 1s .35s var(--ease) both; }
.azioni { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; animation: appare 1s .5s var(--ease) both; }
.nota { position: relative; margin: 20px 0 0; font-size: 14px; color: var(--muted); animation: appare 1s .65s var(--ease) both; }
/* La finestra arriva inclinata all'indietro e si raddrizza scorrendo, come uno schermo che si alza */
.schermo { position: relative; margin: clamp(44px, 6vw, 72px) auto 0; width: min(100%, 1200px); perspective: 2000px; }
.finestra { position: relative; border-radius: 14px; overflow: hidden; background: #1b1e24; transform-origin: 50% 0%;
  box-shadow: 0 0 0 1px oklch(1 0 0 / .1), 0 70px 140px -50px oklch(0 0 0 / .95), 0 0 120px -30px oklch(0.74 0.17 148 / .22);
  animation: sale-schermo 1.4s .5s var(--ease) backwards; }
.finestra > img { width: 100%; }
.didascalia-app { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.didascalia-app b { color: var(--ink); font-weight: 650; }
@keyframes sale { from { transform: translateY(105%); } to { transform: none; } }
@keyframes appare { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sale-schermo { from { opacity: 0; transform: translateY(60px) rotateX(24deg); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .schermo { animation: raddrizza linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
  }
}
@keyframes raddrizza { from { transform: perspective(1800px) rotateX(16deg) scale(.94); } to { transform: perspective(1800px) rotateX(0deg) scale(1); } }

/* ── Il racconto a scorrimento (logica in storia.js) ── */
.storia { position: relative; }
.storia-intro { padding: clamp(80px, 10vw, 140px) var(--pad) 40px; max-width: 980px; }
.storia-pin { height: 100svh; display: grid; grid-template-columns: minmax(280px, 34%) 1fr; align-items: center;
  padding: 0 clamp(16px, 4vw, 56px); gap: clamp(16px, 3vw, 48px); }
.storia-passi { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.passo { opacity: .28; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(-6px); }
.passo.attivo { opacity: 1; transform: none; }
.passo h3 { margin: 0 0 6px; font-stretch: 110%; font-weight: 720; font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -0.01em; }
.passo p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 42ch; }
.storia-scena { position: relative; height: 86svh; overflow: hidden; }
.lastra { position: absolute; inset: 0; will-change: clip-path, transform; }
.f-scatto { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; }
.f-originale { position: absolute; object-fit: cover; }
.f-guida { position: absolute; overflow: visible; }
.f-guida .g-ovale { fill: none; stroke: var(--verde-f); stroke-width: 2; }
.f-guida .g-ovale.ideale { stroke-width: 3; }
.f-guida .g-asse { stroke: var(--verde-f); stroke-width: 1.5; opacity: .7; }
.f-cert, .f-foglio { position: absolute; max-width: none; border-radius: 4px; box-shadow: 0 40px 80px -30px oklch(0 0 0 / .9), 0 0 0 1px oklch(1 0 0 / .08); }
@media (max-width: 860px) {
  .storia-pin { grid-template-columns: 1fr; grid-template-rows: 58svh auto; align-content: start; padding-top: 12px; gap: 8px; }
  .storia-scena { height: 58svh; order: -1; }
  .storia-passi { position: relative; min-height: 34svh; }
  .passo { position: absolute; inset: 0 0 auto 0; opacity: 0; }
  .passo.attivo { opacity: 1; }
}
.storia.statico .storia-pin { height: auto; display: block; padding-bottom: 60px; }
.storia.statico .storia-scena { height: auto; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; overflow: visible; }
.storia.statico .lastra { position: static; display: contents; }
.storia.statico .f-scatto, .storia.statico .f-cert, .storia.statico .f-foglio { position: static; width: 100%; height: auto; transform: none; }
.storia.statico .f-originale, .storia.statico .f-guida { display: none; }
.storia.statico .passo { opacity: 1; transform: none; position: static; }

/* ── Quaranta clic diventano cinque ── */
.flusso .dentro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contatore { position: sticky; top: 120px; }
.contatore .num { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(7rem, 18vw, 15rem); line-height: .85;
  letter-spacing: -0.05em; color: var(--verde); font-variant-numeric: tabular-nums; }
.contatore .num small { font-size: .32em; letter-spacing: -0.02em; color: var(--muted); margin-left: .1em; }
.contatore p { margin: 18px 0 0; color: var(--muted); max-width: 30ch; }
.contatore p s { color: oklch(0.6 0.01 160); }
.passi-flusso { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: p; }
.passi-flusso li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 26px 0;
  border-top: 1px solid var(--riga); }
.passi-flusso li::before { content: counter(p, decimal-leading-zero); grid-row: span 2; font-stretch: 125%; font-weight: 700;
  font-size: 1.1rem; color: var(--verde); padding-top: 3px; }
.passi-flusso h3 { margin: 0; font-stretch: 110%; font-weight: 720; font-size: 1.3rem; }
.passi-flusso p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .flusso .dentro { grid-template-columns: 1fr; } .contatore { position: static; } }

/* ── Stili: prima e dopo col cursore ── */
.stili { background: var(--bg-2); }
.stili .dentro { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stili-scelta { display: grid; gap: 4px; margin: 36px 0 0; padding: 0; list-style: none; }
.stili-scelta button { width: 100%; display: grid; gap: 2px; text-align: left; padding: 16px 18px; border-radius: 14px;
  background: transparent; border: 1px solid transparent; color: var(--ink); font: inherit; cursor: pointer;
  transition: background .25s, border-color .25s; }
.stili-scelta button b { font-stretch: 110%; font-size: 1.12rem; font-weight: 720; }
.stili-scelta button span { color: var(--muted); font-size: .95rem; }
.stili-scelta button:hover { background: oklch(1 0 0 / .04); }
.stili-scelta button[aria-pressed="true"] { background: var(--bg-3); border-color: var(--riga); }
.stili-scelta button[aria-pressed="true"] b { color: var(--verde); }
.confronto { position: relative; margin: 0; }
.confronto-foto { position: relative; aspect-ratio: 35 / 45; border-radius: 6px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 90px -34px oklch(0 0 0 / .85); --pos: 50%; }
.confronto-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.confronto-foto .dopo { clip-path: inset(0 0 0 var(--pos)); }
.confronto-foto .maniglia { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff;
  box-shadow: 0 0 0 1px oklch(0 0 0 / .15); pointer-events: none; }
.confronto-foto .maniglia::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px;
  border-radius: 50%; background: #fff; color: oklch(0.2 0.01 250); display: grid; place-items: center; font-weight: 800; font-size: 16px;
  letter-spacing: .1em; box-shadow: 0 8px 24px -6px oklch(0 0 0 / .5); }
/* scanner automatico (finche' nessuno tocca): la maniglia diventa una linea di luce */
.confronto-foto.scansiona .maniglia { width: 3px; background: oklch(0.97 0.06 150);
  box-shadow: 0 0 14px 3px oklch(0.8 0.17 148 / .85), 0 0 48px 12px oklch(0.8 0.17 148 / .35); }
.confronto-foto.scansiona .maniglia::after { opacity: 0; }
.confronto-foto input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.confronto-foto.solo .prima, .confronto-foto.solo .maniglia, .confronto-foto.solo input { display: none; }
.confronto-foto.solo .dopo { clip-path: none; }
.etichette { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--muted); }
.confronto figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; min-height: 3em; }
.premium { margin-top: 30px; display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: .98rem; }
.premium b { color: var(--oro); font-stretch: 112%; font-weight: 750; }
/* Sul telefono la foto sta subito sotto il titolo: dopo sei tasti nessuno ci arrivava */
@media (max-width: 860px) {
  .stili .dentro { display: flex; flex-direction: column; }
  .stili .dentro > div { display: contents; }
  .stili .confronto { order: 3; width: 100%; max-width: 420px; margin: 32px auto 0; }
  .stili-scelta { order: 4; }
  .stili .premium { order: 5; }
}

/* ── Tre pose ── */
.pose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--riga); }
.pose li { padding: 26px 24px 0 0; }
.pose li + li { padding-left: 24px; border-left: 1px solid var(--riga); }
.pose b { display: block; font-stretch: 112%; font-size: 1.25rem; margin-bottom: 6px; }
.pose span { color: var(--muted); }
.pose-giro { display: inline-block; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; border: 2px solid var(--verde);
  position: relative; }
.pose-giro::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--verde);
  translate: calc(-50% + var(--g, 0px)) -50%; }
@media (max-width: 760px) { .pose { grid-template-columns: 1fr; } .pose li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--riga); } .pose li { padding-bottom: 22px; } }

/* ── Formati ── */
.formati .dentro { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fmt-palco { position: relative; height: min(64svh, 560px); display: grid; place-items: center; }
.fmt-cornice { position: relative; height: 100%; aspect-ratio: var(--ar, 0.7778); max-width: 100%; background: #fff; border-radius: 3px;
  box-shadow: 0 50px 90px -34px oklch(0 0 0 / .85); transition: aspect-ratio .7s var(--ease), height .7s var(--ease); overflow: hidden; }
.fmt-cornice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.fmt-quote { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fmt-scelta { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.fmt-scelta button { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--riga); background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.fmt-scelta button:hover { border-color: var(--muted); }
.fmt-scelta button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.elenco { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 32px; margin: 36px 0 0; padding: 0; list-style: none; }
.elenco li { position: relative; padding-left: 28px; color: var(--muted); }
.elenco li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--verde);
  border-bottom: 2px solid var(--verde); rotate: -45deg; }
@media (max-width: 860px) { .formati .dentro { grid-template-columns: 1fr; } .fmt-palco { height: 56svh; margin-bottom: 40px; } }

/* ── Certificato ── */
.certificato { text-align: center; overflow: hidden; }
.certificato .intro { margin-inline: auto; }
.cert-grande { margin: clamp(48px, 7vw, 88px) auto 0; max-width: 1080px; perspective: 1400px; }
.cert-pila { position: relative; aspect-ratio: 1600 / 1137; border-radius: 6px; overflow: hidden;
  box-shadow: 0 60px 120px -40px oklch(0 0 0 / .95), 0 0 0 1px oklch(1 0 0 / .08); }
.cert-pila img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.cert-pila img.on { opacity: 1; }
/* l'alone sul riquadro del marchio, in alto a destra del certificato */
.cert-marchio { position: absolute; left: 59%; top: 1.6%; width: 39%; height: 11.5%; border-radius: 10px; opacity: 0;
  box-shadow: 0 0 0 3px var(--verde), 0 0 40px 6px oklch(0.74 0.17 148 / .45); transition: opacity .6s var(--ease); }
.cert-marchio.on { opacity: 1; }
.cert-didascalia { margin-top: 18px; color: var(--muted); font-size: 15px; min-height: 1.6em; }
.cert-punti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1080px; margin: 56px auto 0; text-align: left; }
.cert-punti b { display: block; font-stretch: 110%; font-size: 1.15rem; margin-bottom: 6px; }
.cert-punti p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .cert-punti { grid-template-columns: 1fr; } }

/* ── Stampa ── */
.stampa-sez .dentro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
/* La stampante: i fogli escono dalla fessura in alto, uno dopo l'altro */
.stampante { position: relative; padding-top: 14px; }
.fessura { position: absolute; z-index: 3; left: -3%; right: -3%; top: 0; height: 22px; border-radius: 10px;
  background: linear-gradient(oklch(0.27 0.012 160), oklch(0.2 0.012 160)); box-shadow: 0 10px 24px -8px oklch(0 0 0 / .8), inset 0 1px 0 oklch(1 0 0 / .08); }
.fessura::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 5px; height: 3px; border-radius: 3px; background: oklch(0.08 0.01 160); }
.fogli { position: relative; aspect-ratio: 3 / 2; overflow: hidden; margin-top: 4px; }
.foglio { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; border-radius: 0 0 4px 4px;
  box-shadow: 0 30px 60px -30px oklch(0 0 0 / .9); translate: 0 -104%; transition: translate 1s var(--ease), opacity .6s; }
.foglio.intero { object-fit: contain; }
.foglio.on { translate: 0 0; z-index: 2; }
.foglio.via { translate: 0 0; z-index: 1; opacity: 0; }
.pinza { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; padding: 6px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--riga); width: fit-content; }
.pinza span { padding: 0 10px 0 12px; color: var(--muted); font-size: 14.5px; }
.pinza button { padding: 9px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px;
  cursor: pointer; transition: background .25s, color .25s; }
.pinza button[aria-pressed="true"] { background: var(--verde); color: oklch(0.16 0.03 150); font-weight: 650; }
.pinza-nota { margin: 12px 0 0; color: var(--muted); font-size: .98rem; max-width: 46ch; }
.layout-chip { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.layout-chip button { padding: 9px 15px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--riga); color: var(--ink);
  font: inherit; font-size: 14.5px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.layout-chip button:hover { border-color: var(--muted); }
.layout-chip button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 860px) { .stampa-sez .dentro { grid-template-columns: 1fr; } }

/* ── Fondatore ── */
.fondatore .dentro { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; }
.fondatore img { width: clamp(140px, 18vw, 220px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: grayscale(.15);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 7px var(--riga); }
.fondatore blockquote { margin: 0; font-stretch: 104%; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.35; letter-spacing: -0.01em; }
.fondatore blockquote strong { color: var(--verde); font-weight: 700; }
.fondatore cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); font-size: 1rem; }
@media (max-width: 700px) { .fondatore .dentro { grid-template-columns: 1fr; } }

/* ── Prezzi ── */
.prezzi { background: var(--bg-2); }
.piani { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin: 48px 0 0; }
.piano { padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--bg-3); border: 1px solid var(--riga); display: flex; flex-direction: column; }
.piano.forte { background: linear-gradient(160deg, oklch(0.26 0.04 150), var(--bg-3) 60%); border-color: oklch(0.45 0.09 148); }
.piano h3 { margin: 0; font-stretch: 112%; font-size: 1.35rem; }
.piano .cosa { margin: 6px 0 0; color: var(--muted); }
.piano .cifra { margin: 26px 0 4px; font-stretch: 120%; font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.piano .cifra small { font-size: .32em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.piano .listino { color: var(--muted); font-size: .95rem; }
.piano .listino s { opacity: .8; }
.piano .btn { margin-top: 28px; align-self: flex-start; }
.crediti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 18px 0 0; }
.credito { padding: 24px 26px; border-radius: 18px; border: 1px solid var(--riga); }
.credito b { display: block; font-stretch: 112%; font-size: 1.15rem; }
.credito .euro { font-stretch: 118%; font-weight: 800; font-size: 2.2rem; letter-spacing: -0.03em; margin: 10px 0 2px; }
.credito span { color: var(--muted); font-size: .95rem; }
.prezzi-nota { margin: 26px 0 0; color: var(--muted); max-width: 70ch; }
.prezzi-nota b { color: var(--oro); }
@media (max-width: 860px) { .piani, .crediti { grid-template-columns: 1fr; } }

/* ── Fatto da chi le fototessere le fa: le cose che in studio succedono, e il paragone ── */
.verita { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); margin: 48px 0 0; }
.verita > div { padding: 22px 0; border-top: 1px solid var(--riga); }
.verita dt { font-stretch: 110%; font-weight: 720; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--verde); }
.verita dd { margin: 6px 0 0; color: var(--muted); }
.paragone { margin-top: 64px; }
.p-testa, .p-riga { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 0 28px; }
.p-testa { padding-bottom: 12px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.p-testa span:last-child { color: var(--verde); padding-left: 16px; }
.p-riga { padding: 22px 0; border-top: 1px solid var(--riga); }
.p-riga b { font-weight: 700; font-stretch: 108%; }
.p-riga p { margin: 0; color: var(--muted); }
.p-riga p + p { color: var(--ink); padding-left: 16px; border-left: 2px solid var(--verde); }
.non-fa { margin: 40px 0 0; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--riga); color: var(--muted); max-width: 72ch; }
.non-fa b { color: var(--ink); }
@media (max-width: 860px) { .verita { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .p-testa { display: none; }
  .p-riga { grid-template-columns: 1fr; gap: 10px; }
  .p-riga p::before { content: attr(data-l) ": "; font-weight: 650; color: var(--muted); }
  .p-riga p + p::before { color: var(--verde); }
}

/* ── Domande ── */
.faq .dentro { max-width: 900px; }
.faq details { border-top: 1px solid var(--riga); }
.faq details:last-of-type { border-bottom: 1px solid var(--riga); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-stretch: 106%; font-weight: 650; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); translate: 0 -70%; rotate: 45deg; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 225deg; }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }
.faq details a { color: var(--verde); }

/* ── Chiusura e piede ── */
.chiusura { padding: clamp(110px, 14vw, 190px) var(--pad); text-align: center; position: relative; overflow: hidden; }
.chiusura::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 600px; translate: -50% -30%;
  background: radial-gradient(closest-side, oklch(0.74 0.17 148 / .14), transparent); pointer-events: none; }
.chiusura h2 { position: relative; margin: 0 auto; max-width: 16ch; font-stretch: 118%; font-weight: 780; font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1; letter-spacing: -0.035em; }
.chiusura p { position: relative; color: var(--muted); margin: 22px auto 34px; max-width: 46ch; font-size: 1.1rem; }
.piede { padding: 48px var(--pad) 40px; border-top: 1px solid oklch(1 0 0 / .06); color: var(--muted); font-size: 14px; }
.piede .dentro { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.piede nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.piede nav a { text-decoration: none; }
.piede nav a:hover { color: var(--ink); }
.piede .legale { flex-basis: 100%; font-size: 13px; opacity: .8; }

/* ── Finestra download ── */
.dl { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: oklch(0.1 0.01 160 / .7);
  backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.dl.show { opacity: 1; pointer-events: auto; }
.dl-card { position: relative; width: min(100%, 520px); padding: 34px; border-radius: 22px; background: var(--bg-3); border: 1px solid var(--riga);
  box-shadow: 0 40px 90px -30px oklch(0 0 0 / .9); translate: 0 16px; transition: translate .35s var(--ease); }
.dl.show .dl-card { translate: 0 0; }
.dl-card h3 { margin: 0 0 10px; font-stretch: 110%; font-size: 1.4rem; }
.dl-card p { margin: 0 0 22px; color: var(--muted); }
.dl-card .hint { margin: 16px 0 0; font-size: 14px; }
.dl-card .hint a { color: var(--verde); }
.dl-chiudi { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 22px; }
.dl-chiudi:hover { background: oklch(1 0 0 / .06); color: var(--ink); }
.dl-copia { margin: 0 0 0 10px; }

/* ── Comparsa allo scorrimento: solo dove il browser la sa fare, il contenuto e' sempre visibile ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .cert-pila { animation: cert-in linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; transform-origin: 50% 100%; }
  }
}
@keyframes rv-in { from { opacity: 0; transform: translateY(32px); } }
@keyframes cert-in { from { opacity: .3; transform: rotateX(28deg) scale(.88); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* le persone degli esempi sono create con AI: lo diciamo */
.nota-ai { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Stili: visione d'insieme dei sei effetti; ogni tessera passa da sola dal prima al dopo */
.stili-mosaico { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 64px 0 0; padding: 0; list-style: none; }
.stili-mosaico button { width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center; }
.stili-mosaico .m-foto { position: relative; display: block; aspect-ratio: 35 / 45; border-radius: 8px; overflow: hidden; background: #fff;
  outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .3s, transform .3s; }
.stili-mosaico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stili-mosaico .m-dopo { animation: m-scambio 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
@keyframes m-scambio { 0%, 30% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
.stili-mosaico .m-nome { display: block; margin-top: 10px; font-size: .92rem; font-weight: 650; color: var(--muted); transition: color .3s; }
.stili-mosaico button:hover .m-foto { transform: translateY(-3px); }
.stili-mosaico button[aria-current="true"] .m-foto { outline-color: var(--verde); }
.stili-mosaico button[aria-current="true"] .m-nome { color: var(--verde); }
@media (max-width: 860px) {
  .stili-mosaico { order: 4; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; width: 100%; }
  .stili-scelta { order: 5; }
  .stili .premium { order: 6; }
}
@media (prefers-reduced-motion: reduce) { .stili-mosaico .m-dopo { animation: none; opacity: 1; } }
/* Stampa: tutte le impaginazioni in piccolo sotto la stampante */
.fogli-mini { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.fogli-mini li[hidden] { display: none; }
.fogli-mini button { width: clamp(72px, 9vw, 104px); aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #fff;
  cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; opacity: .72; transition: opacity .3s, outline-color .3s, transform .3s; }
.fogli-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fogli-mini button:hover { opacity: 1; transform: translateY(-2px); }
.fogli-mini button[aria-current="true"] { opacity: 1; outline-color: var(--verde); }

/* Senza AI e senza crediti: il lavoro di tutti i giorni */
.base { background: var(--bg-2); }
.base .elenco { grid-template-columns: repeat(3, 1fr); gap: 18px 40px; margin-top: 44px; }
.base .elenco li { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 860px) { .base .elenco { grid-template-columns: 1fr; } }
