/* Trama 1.1 — «Entra nei Mille»: le parti nuove della pagina d'ingresso (sopra landing.css, stessi gettoni) */
@font-face { font-family: 'Firma'; src: url('fonts/caveat-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
[data-v] { display: none; }
html.va [data-v="A"], html.vb [data-v="B"] { display: revert; }
html.va h1[data-v="A"], html.vb h1[data-v="B"] { display: block; }
.l11-test { background: #FFF1D6; color: #7A5A0C; font-size: .88rem; text-align: center; padding: .55rem 1rem; }
@media (prefers-color-scheme: dark) { .l11-test { background: #33270F; color: #FFC456; } }

/* prima schermata */
.l11-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) 1.25rem 0; display: grid; gap: 2.2rem; }
.l11-hero h1 { font-size: clamp(3.1rem, 10.5vw, 6.6rem); line-height: .93; letter-spacing: -.055em; font-weight: 800; }
.l11-hero h1.b { font-size: clamp(2.6rem, 8.4vw, 5.6rem); line-height: .97; }
.l11-hero .lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.4; color: var(--ink-2); margin: 1.2rem 0 0; max-width: 34ch; letter-spacing: -.018em; }
.l11-hero .weave { margin-bottom: 1.2rem; }
.l11-video { position: relative; border-radius: 24px; overflow: hidden; background: #111; aspect-ratio: 4 / 5; max-height: 72vh; box-shadow: var(--shot-shadow); margin: 0 auto; width: min(100%, 460px); }
.l11-video video, .l11-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l11-video .mute { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.l11-video .mute svg { width: 18px; height: 18px; fill: #fff; }
.l11-video .mute[hidden] { display: none; }
@media (min-width: 980px) { .l11-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; padding-bottom: 2rem; } }
.l11-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.8rem; }
.l11-cta .btn-fill.big { font-size: 1.08rem; padding: .95rem 1.6rem; }
.l11-cta small { color: var(--ink-3); font-size: .9rem; }

/* tre schermate vere */
.l11-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.6rem); margin-top: 2.6rem; }
.l11-shots figure { margin: 0; text-align: center; }
.l11-shots .phone { width: 100%; padding: 6px; border-radius: 26px; }
.l11-shots .phone .scr { border-radius: 21px; }
.l11-shots figcaption { margin-top: .8rem; font-weight: 600; letter-spacing: -.01em; }
.l11-shots figcaption small { display: block; font-weight: 400; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 640px) {
  .l11-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; margin-right: -1.25rem; padding-right: 1.25rem; }
  .l11-shots figure { scroll-snap-align: start; }
}

/* prezzo */
.l11-price { margin-top: 2.4rem; background: var(--paper); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.2rem); display: grid; gap: 1.2rem; }
.band .l11-price { background: var(--bg); }
.l11-price .big { font: 700 clamp(1.6rem, 4.6vw, 2.5rem)/1.12 var(--display); letter-spacing: -.035em; max-width: 22ch; }
.l11-price .big em { font-style: normal; color: var(--dawn-ink); }
.l11-price .small { color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.l11-tiers { display: flex; flex-wrap: wrap; gap: .5rem; }
.l11-tiers span { font-size: .88rem; padding: .35rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink-2); }
.l11-tiers span.on { background: var(--dawn-soft); color: var(--dawn-ink); font-weight: 600; }
.l11-tiers span.off { text-decoration: line-through; opacity: .6; }
.l11-count { display: grid; gap: .45rem; max-width: 420px; }
.l11-count b { font: 700 1.25rem var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.l11-count i { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.l11-count i u { display: block; height: 100%; background: linear-gradient(90deg, var(--dawn), var(--glow)); text-decoration: none; }

/* il Patto */
.l11-patto { max-width: 760px; }
.l11-patto ol { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; }
.l11-patto li { display: grid; grid-template-columns: 4px 1fr; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--line-2); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.4; letter-spacing: -.012em; }
.l11-patto li:first-child { border-top: 0; }
.l11-patto li::before { content: ''; border-radius: 2px; background: var(--glow); }
.l11-sign { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.4rem; }
.l11-sign .f { font: 700 2.6rem/1 Firma, cursive; transform: rotate(-3deg); }
.l11-sign small { color: var(--ink-3); }

/* domande */
.l11-faq { margin-top: 2rem; background: var(--paper); border-radius: var(--r); overflow: hidden; max-width: 760px; }
.band .l11-faq { background: var(--bg); }
.l11-faq details { border-top: 1px solid var(--line-2); }
.l11-faq details:first-child { border-top: 0; }
.l11-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.l11-faq summary::-webkit-details-marker { display: none; }
.l11-faq summary::after { content: '+'; color: var(--ink-3); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.l11-faq details[open] summary::after { content: '−'; }
.l11-faq details p { padding: 0 1.3rem 1.1rem; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* il pulsante fermo in basso, sul telefono */
.l11-dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: .7rem 1rem max(.9rem, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); transform: translateY(110%); transition: transform .25s ease; }
.l11-dock.on { transform: none; }
.l11-dock p { margin: 0 0 .5rem; text-align: center; font-size: .92rem; color: var(--ink-2); }
.l11-dock p b { color: var(--ink); }
.l11-dock .btn-fill { width: 100%; padding: .9rem; font-size: 1.04rem; border-radius: 14px; }
@media (min-width: 900px) { .l11-dock { display: none; } }
body.l11 { padding-bottom: 7.5rem; }
@media (min-width: 900px) { body.l11 { padding-bottom: 0; } }

/* la finestra dell'email */
.modal .l11-note { color: var(--ink-2); font-size: .95rem; margin: -.6rem .2rem 1rem; line-height: 1.45; }
.modal .l11-ok { color: #2C8A47; font-size: .85rem; font-weight: 600; margin: .35rem .2rem 0; min-height: 1.1em; }
.modal .l11-ok.no { color: #D83B32; }
.modal .l11-iv { display: flex; background: color-mix(in srgb, var(--ink) 8%, transparent); border-radius: 11px; padding: 3px; margin: 0 0 .9rem; }
.modal .l11-iv button { flex: 1; border: 0; background: none; font: inherit; font-size: .92rem; padding: .5rem .6rem; border-radius: 9px; cursor: pointer; color: var(--ink); }
.modal .l11-iv button.on { background: var(--paper); font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.modal .l11-pay { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--ink-3); font-size: .82rem; margin: .7rem 0 0; text-align: center; }

/* i cookie: Rifiuta e Accetta, uguali */
.l11-ck { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 1.1rem 1.2rem;
  box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -18px rgba(0,0,0,.4); display: grid; gap: .9rem; font-size: .95rem; line-height: 1.45; }
.l11-ck p { margin: 0; color: var(--ink-2); }
.l11-ck p b { color: var(--ink); }
.l11-ck .row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.l11-ck button { font: 600 1rem var(--sans); padding: .8rem; border-radius: 12px; border: 0; cursor: pointer; background: var(--ink); color: var(--bg); }
.l11-ck a { color: var(--dawn-ink); }
body.l11 .l11-ck { bottom: 8.2rem; }
@media (min-width: 900px) { body.l11 .l11-ck { bottom: 1rem; } }
footer .l11-lang { flex-basis: 100%; display: flex; gap: .9rem; }
footer .l11-lang a[aria-current] { color: var(--ink); font-weight: 600; }
.l11-closed { background: var(--dawn-soft); color: var(--dawn-ink); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; }

/* 1.1.10: la password compare solo quando si entra gratis */
#l11-pw[hidden] { display: none; }

/* 1.2: quando si vende, anche «inizia gratis» */
.l11-or { display: block; margin-top: .7rem; font-size: .92rem; color: inherit; opacity: .85; text-underline-offset: 3px; }
/* 1.4.11 — «Controlla la rete» dentro il messaggio di rete */
.modal .err a.l11-netchk { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
