/* =====================================================================
   WikiCV · sito pubblico (assets/site.css)
   Proprietario: agente "Sito pubblico". Usato da TUTTE le pagine pubbliche
   (anche quelle dell'agente SEO: per-chi-e/, guide/, esempi-cv/).

   Ordine dei fogli in ogni pagina:
     /assets/tokens.css  → token (Design System)
     /assets/ds.css      → componenti base .btn .btn--primary .btn--secondary
                           .btn--sm .card .pill … (Design System)
     /assets/site.css    → questo file: cornice e classi di contenuto del sito
   Ogni variabile qui sotto ha un valore di riserva, quindi il sito resta
   leggibile anche se tokens.css non è ancora caricato. I nomi seguono
   docs/revisioni/SPEC-v8.md (--canvas, --surface, --surface-2, --line,
   --line-2, --ink, --ink-2, --ink-3) più --cobalt e derivati.

   ---------------------------------------------------------------------
   CORNICE (markup fisso, vedi docs/mvp-v2/CONTRATTO.md)
   .skip                 link "Vai al contenuto" (stile in ds.css)
   .site-h               header fisso in alto; dentro .site-h__in
     .site-brand         marchio: logo "l'evidenziatore" (/assets/logo/wikicv-logo.svg)
     .site-nav           navigazione principale (nascosta sotto 960px)
     .site-h__cta        "Accedi" (.site-login) + pulsante primario piccolo
     .site-menu          pulsante "Menu" (solo telefono), aria-expanded,
                         aria-controls="site-nav-m". Il pannello #site-nav-m
                         lo crea assets/site.js copiando .site-nav e i CTA:
                         non serve scriverlo nelle pagine.
   .site-f               footer; dentro .site-f__in, .site-f__cols (4 colonne
                         con <h2> + <ul>), .site-f__bottom (riga finale)
   <main id="main">      contenuto

   CONTENUTO (per tutte le pagine)
   .wrap                 contenitore centrato 1120px con margini laterali
   .wrap--narrow         contenitore 760px (testi lunghi, moduli)
   .breadcrumb           <nav class="breadcrumb" aria-label="Percorso"><ol>
                         <li><a href="/">Home</a></li><li aria-current="page">…
   .hero-s               testata delle pagine interne:
                         <header class="hero-s"><div class="wrap">
                           <nav class="breadcrumb">…</nav>
                           <p class="kicker">Etichetta</p>
                           <h1>Titolo</h1><p class="lead">Una frase.</p>
                           (facoltativo) <div class="hero-s__actions">…</div>
                         </div></header>
   .section              sezione con spazio verticale; .section--tight più
                         stretta; .section--alt fondo bianco con righe sopra/sotto
   .section-head         titolo di sezione: .kicker + <h2> + <p class="lead">
   .kicker               etichetta piccola sopra i titoli (12px, 600)
   .lead                 frase introduttiva (17px, ink-2)
   .grid-3               griglia 3 colonne (2 su tablet, 1 su telefono).
                         Figli tipici: .tile (titolo + testo, riga in alto)
                         oppure .tile.tile--link (tutta la tile è un <a>)
   .grid-2               griglia 2 colonne (1 su telefono)
   .prose                articolo/testo lungo: h2, h3, p, ul, ol, blockquote,
                         table (scorre dentro .table-wrap), figure, hr, a.
                         Dentro .prose: .note (riquadro informativo),
                         .note--warn (da completare), .cv-line (frase di CV in
                         Newsreader), .toc (indice dell'articolo)
   .ba                   esempio prima/dopo: .ba__before (barrato) +
                         .ba__after (Newsreader, parti nuove in <mark>)
   .faq                  domande frequenti con <details><summary>…</summary>
                         <div class="faq__a">…</div></details>
   .cta-band             chiusura di pagina: <section class="cta-band"><div
                         class="wrap"><h2>…</h2><p>…</p><a class="btn
                         btn--primary" href="/app/#/login">…</a></div></section>
                         Un solo pulsante primario.
   .fine                 nota piccola (12–13px, ink-3)
   .link-arrow           link testuale con freccia "→"
   ===================================================================== */

:root {
  /* Alias locali verso i token di assets/tokens.css (con valore di riserva). */
  --site-bg: var(--canvas, #f3f2ef);
  --site-max: var(--container, 1160px);
  --site-narrow: 760px;
  /* Mobile first: margini e ritmo del telefono; più aria da 721px e da 1101px */
  --site-gutter: 16px;
  --site-h: 64px;
  --site-section: 56px;
  --site-cobalt: var(--accent, #2a44e0);
  --site-cobalt-hover: var(--accent-h, #2238b8);
  --site-cobalt-tint: var(--accent-t, #eceffd);
  --site-cobalt-tint-2: var(--accent-t2, #dce2fb);
  --site-ink: var(--ink, #161615);
  --site-ink-2: var(--ink-2, #4a4843);
  --site-ink-3: var(--ink-3-on-tint, #6c6963); /* leggibile sia su canvas sia su bianco */
  --site-surface: var(--surface, #ffffff);
  --site-surface-2: var(--surface-2, #f8f7f5);
  --site-line: var(--line, #e6e3de);
  --site-line-2: var(--line-2, #d5d1ca);
  --site-line-3: var(--line-3, #8c8881);
  --site-serif: var(--serif, "Newsreader", "Iowan Old Style", Georgia, serif);
  --site-sans: var(--sans, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
  --site-radius: var(--r-card, 14px);
  --site-shadow-float: var(--shadow-over, 0 12px 32px rgba(20, 20, 19, 0.12));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--site-h) + 16px); }
body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-ink-2);
  font-family: var(--site-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--site-ink); text-wrap: balance; }
h1 { font-family: var(--site-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-family: var(--site-serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-family: var(--site-sans); font-weight: 700; font-size: 16px; line-height: 1.4; }
p { margin: 0; }
a { color: var(--site-cobalt); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--site-cobalt-hover); }
:focus-visible { outline: 2px solid var(--site-cobalt); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--site-cobalt-tint); color: var(--site-ink); }

.wrap { width: 100%; max-width: calc(var(--site-max) + var(--site-gutter) * 2); margin-inline: auto; padding-inline: max(var(--site-gutter), env(safe-area-inset-left, 0px)); }
.wrap--narrow { max-width: calc(var(--site-narrow) + var(--site-gutter) * 2); }

/* .skip (Vai al contenuto) e .sr-only arrivano da ds.css */

/* ---------- Header ---------- */
.site-h {
  position: sticky; top: 0; z-index: 50;
  background: var(--site-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.site-h.is-scrolled, .site-h.is-open { border-bottom-color: var(--site-line); }
.site-h__in {
  max-width: calc(var(--site-max) + var(--site-gutter) * 2); margin-inline: auto;
  padding-inline: var(--site-gutter);
  height: var(--site-h);
  display: flex; align-items: center; gap: 32px;
}
/* Logo "l'evidenziatore" (docs/brand/logo/README.md): alto 28px, largo 115px
   (minimo 80px). Area di rispetto in barra: metà dell'altezza della W (~12px),
   garantita dai gap dell'header. Il link resta il ritorno alla home. */
.site-brand {
  display: inline-flex; align-items: center; flex: none;
  color: var(--site-ink); text-decoration: none; border-radius: 6px;
}
.site-brand__logo { display: block; width: auto; height: 28px; }
.site-brand:hover { color: var(--site-ink); }
.site-nav { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.site-nav a {
  color: var(--site-ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding-block: 8px; white-space: nowrap;
}
.site-nav a:hover { color: var(--site-ink); }
.site-nav a[aria-current="page"] { color: var(--site-ink); box-shadow: inset 0 -2px 0 var(--site-cobalt); }
.site-h__cta { display: flex; align-items: center; gap: 16px; }
.site-login { color: var(--site-ink); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 4px; white-space: nowrap; }
.site-login:hover { color: var(--site-cobalt); }
.site-menu {
  display: none; margin-left: auto;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--site-line-2); background: var(--site-surface); color: var(--site-ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.site-menu[aria-expanded="true"] { background: var(--site-ink); color: #fff; border-color: var(--site-ink); }

/* Pannello del menu telefono (creato da site.js) */
.site-nav-m {
  position: fixed; left: 0; right: 0; top: var(--site-h); bottom: 0; z-index: 49;
  background: var(--site-bg); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--site-gutter) 32px;
}
.site-nav-m[hidden] { display: none; }
.site-nav-m nav { display: grid; }
.site-nav-m nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--site-line);
  color: var(--site-ink); text-decoration: none; font-size: 17px; font-weight: 600;
}
.site-nav-m nav a[aria-current="page"] { color: var(--site-cobalt); }
.site-nav-m:not([hidden]) { display: flex; flex-direction: column; }
/* I pulsanti del menu stanno in fondo allo schermo, sotto il pollice */
.site-nav-m__cta { display: grid; gap: 4px; margin-top: auto; padding-top: 24px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.site-nav-m__cta .btn { --btn-h: 52px; }
.site-nav-m__cta .btn { width: 100%; }
.site-nav-m__cta .site-login { text-align: center; padding: 12px; }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-h__cta .site-login { display: none; }
  .site-menu { display: inline-flex; align-items: center; margin-left: 0; }
  .site-h__in { gap: 12px; }
  .site-h__cta { margin-left: auto; }
}
@media (max-width: 960px) {
  /* Telefono e tablet: i due comandi dell'header alti 44px, comodi col pollice */
  .site-h__cta .btn { --btn-h: 44px; border-radius: 999px; padding-inline: 16px; }
  .site-brand { min-height: 44px; }
}
@media (max-width: 400px) {
  .site-h__cta .btn { padding-inline: 14px; }
  .site-menu { padding-inline: 14px; }
}
@media (max-width: 350px) { .site-brand__logo { height: 24px; } .site-h__in { gap: 8px; } }

/* ---------- Footer (mobile first) ----------
   Telefono: Prodotto e Risorse affiancate, "Per chi è" a tutta larghezza su due
   colonne, Legale in una riga. Ogni link è alto 44px (bersaglio comodo col pollice).
   Da 861px: marchio a sinistra e quattro colonne. */
.site-f { background: var(--site-surface); border-top: 1px solid var(--site-line); margin-top: 0; font-size: 14px; }
.site-f__in { max-width: calc(var(--site-max) + var(--site-gutter) * 2); margin-inline: auto; padding: 40px var(--site-gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
.site-f__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.site-f__about p { margin-top: 10px; color: var(--site-ink-3); max-width: 34ch; font-size: 14px; }
.site-f__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.site-f__cols > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.site-f__cols > :nth-child(2) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.site-f__cols > :nth-child(4) { grid-column: 1 / -1; }
.site-f__cols > :nth-child(4) ul { display: flex; flex-wrap: wrap; column-gap: 24px; }
.site-f h2 { font-family: var(--site-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--site-ink-3); margin-bottom: 4px; }
.site-f ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-f a { color: var(--site-ink-2); text-decoration: none; }
.site-f li > a { display: flex; align-items: center; min-height: 44px; }
.site-f a:hover { color: var(--site-ink); text-decoration: underline; }
.site-f__bottom {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--site-line);
  display: flex; justify-content: space-between; gap: 4px 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--site-ink-3);
}
.site-f__bottom > span { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 4px; }
/* Link «Unsplash»: area di tocco di 44px anche se il testo è piccolo */
.site-f__bottom a { color: var(--site-ink-3); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (min-width: 861px) {
  .site-f__in { padding: 56px var(--site-gutter) 32px; }
  .site-f__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); gap: 48px; }
  .site-f__about p { margin-top: 20px; max-width: 30ch; } /* rispetto del logo: ~l'altezza della W */
  .site-f__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .site-f__cols > :nth-child(n) { grid-column: auto; grid-row: auto; }
  .site-f__cols > :nth-child(2) ul { grid-template-columns: minmax(0, 1fr); }
  .site-f__cols > :nth-child(4) ul { display: grid; }
  .site-f h2 { margin-bottom: 14px; }
  .site-f ul { gap: 10px; }
  .site-f li > a { display: inline; min-height: 0; }
  .site-f__bottom { margin-top: 48px; padding-top: 20px; gap: 8px 24px; }
}

/* ---------- Testi di base ---------- */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--site-ink-3); }
.kicker--accent { color: var(--site-cobalt); }
/* Il quadratino Cobalto del simbolo "W." come firma delle etichette: è l'unico
   Cobalto "di marca" ricorrente, piccolo e sempre nello stesso posto. */
.kicker--mark, .hero-s .kicker, .section-head .kicker { display: flex; align-items: center; gap: 10px; width: fit-content; }
.kicker--mark::before, .hero-s .kicker::before, .section-head .kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--site-cobalt); flex: none;
}
.lead { font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--site-ink-2); max-width: 60ch; }
.fine { font-size: 13px; color: var(--site-ink-3); line-height: 1.5; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--site-ink); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform 160ms ease; }
.link-arrow:hover { color: var(--site-cobalt); }
.link-arrow:hover::after { transform: translateX(3px); }
em.accent { font-style: italic; color: var(--site-cobalt); }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--site-ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--site-line-2); }
.breadcrumb a { color: var(--site-ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--site-ink); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--site-ink-2); }
@media (max-width: 720px) { .breadcrumb a { display: inline-block; padding-block: 6px; } .breadcrumb ol { row-gap: 0; } }

/* ---------- Testata delle pagine interne ---------- */
.hero-s { padding-block: 48px 72px; }
.hero-s .breadcrumb { margin-bottom: 40px; }
.hero-s .kicker { margin-bottom: 16px; }
.hero-s h1 { font-size: clamp(44px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch; }
.hero-s .lead { margin-top: 22px; font-size: 18px; }
.hero-s__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
@media (max-width: 720px) {
  .hero-s { padding-block: 16px 32px; }
  .hero-s .breadcrumb { margin-bottom: 20px; }
  .hero-s .kicker { margin-bottom: 12px; }
  .hero-s h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.06; max-width: 18ch; }
  .hero-s .lead { font-size: 16px; margin-top: 16px; }
  .hero-s__actions { margin-top: 24px; }
}

/* ---------- Sezioni ---------- */
@media (min-width: 721px) { :root { --site-gutter: 24px; --site-section: 88px; } }
@media (min-width: 1101px) { :root { --site-section: 112px; } }
.section { padding-block: var(--site-section); }
.section--tight { padding-block: 64px; }
.section--top0 { padding-top: 0; }
.section--alt { background: var(--site-surface); border-block: 1px solid var(--site-line); }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 34px; }
.section-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px; }
.section-head--row > :not(.link-arrow) { grid-column: 1; }
/* Senza link a destra (es. «Prima e dopo» in home) il testo resta nella colonna larga:
   prima l'ultimo elemento finiva nella colonna «auto» e schiacciava il titolo a 0px */
.section-head--row > .link-arrow { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
@media (max-width: 720px) {
  .section--tight { padding-block: 40px; }
  .section-head { margin-bottom: 24px; gap: 10px; }
  .section-head h2 { font-size: 28px; line-height: 1.12; }
  .section-head .lead { font-size: 16px; }
  .section-head--row { grid-template-columns: minmax(0, 1fr); }
  .section-head--row > .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ---------- Griglie e tile ---------- */
.grid-3, .grid-2, .grid-4 { display: grid; gap: 40px 32px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 32px; } .grid-4 { gap: 12px; } }

.tile { border-top: 1px solid var(--site-ink); padding-top: 18px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile__n { font-size: 12px; font-weight: 600; color: var(--site-ink-3); font-variant-numeric: tabular-nums; }
.tile p { color: var(--site-ink-2); }
.tile--link {
  border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-surface);
  padding: 20px; text-decoration: none; color: inherit;
  transition: border-color 160ms ease;
}
.tile--link:hover { border-color: var(--site-ink); color: inherit; }
.tile--link h3 { display: flex; justify-content: space-between; gap: 12px; }
.tile--link h3::after { content: "→"; color: var(--site-ink-3); font-weight: 500; transition: transform 160ms ease, color 160ms ease; }
.tile--link:hover h3::after { color: var(--site-cobalt); transform: translateX(3px); }
.tile--link p { font-size: 14px; }

/* ---------- Testo lungo (articoli, pagine legali) ---------- */
.prose { color: var(--site-ink-2); font-size: 16px; line-height: 1.7; max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 2.2em; scroll-margin-top: calc(var(--site-h) + 24px); }
.prose h3 { font-size: 18px; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--site-ink-3); }
.prose strong { color: var(--site-ink); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--site-cobalt); font-family: var(--site-serif); font-size: 19px; color: var(--site-ink); }
.prose hr { border: 0; border-top: 1px solid var(--site-line); margin-block: 2.5em; }
.prose figure { margin-inline: 0; }
.prose figure img { border-radius: var(--site-radius); }
.prose figcaption { font-size: 13px; color: var(--site-ink-3); margin-top: 8px; }
.prose code { font-size: 0.9em; background: var(--site-surface-2); padding: 1px 5px; border-radius: 5px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--site-line); border-radius: 12px; background: var(--site-surface); }
.prose table, .s-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td, .s-table th, .s-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--site-line); }
.prose th, .s-table th { font-size: 12px; font-weight: 600; color: var(--site-ink-3); background: var(--site-surface-2); }
.prose tr:last-child td, .s-table tr:last-child td { border-bottom: 0; }
.cv-line { font-family: var(--site-serif); font-size: 18px; line-height: 1.5; color: var(--site-ink); }
.note { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 12px; padding: 16px 20px; font-size: 15px; }
.note strong:first-child { display: block; margin-bottom: 4px; }
.note--warn { background: #fbf1dc; border-color: #ecd6a6; color: #5c3d00; }
.note--warn strong { color: #5c3d00; }
.toc { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 12px; padding: 18px 22px; font-size: 14px; }
.toc p { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--site-ink-3); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Pagina con indice a lato (legali, FAQ) */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.doc__aside { position: sticky; top: calc(var(--site-h) + 24px); }
.doc__aside .toc { background: transparent; border: 0; padding: 0; }
.doc__aside .toc ol { list-style: none; padding: 0; gap: 2px; }
.doc__aside .toc a { display: block; padding: 5px 0; color: var(--site-ink-2); }
.doc__aside .toc a:hover { color: var(--site-ink); }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .doc__aside { position: static; }
  .doc__aside .toc { background: var(--site-surface); border: 1px solid var(--site-line); padding: 18px 22px; }
}

/* ---------- Prima e dopo ---------- */
.ba { display: grid; gap: 14px; }
.ba__label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--site-ink-3); }
.ba__before { color: var(--site-ink-3); text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, 0.55); text-decoration-thickness: 1.5px; font-size: 15px; }
.ba__after { font-family: var(--site-serif); font-size: 22px; line-height: 1.4; color: var(--site-ink); letter-spacing: -0.01em; }
.ba__after mark { background: var(--site-cobalt-tint-2); color: var(--site-ink); padding: 0 3px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Domande frequenti ---------- */
.faq { border-top: 1px solid var(--site-line); }
.faq details { border-bottom: 1px solid var(--site-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 16px; font-weight: 600; color: var(--site-ink); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px;
  border-right: 1.5px solid var(--site-ink-3); border-bottom: 1.5px solid var(--site-ink-3);
  transform: rotate(45deg); transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq summary:hover { color: var(--site-cobalt); }
.faq__a { padding: 0 40px 22px 0; color: var(--site-ink-2); max-width: 70ch; }
.faq__a > * + * { margin-top: 0.8em; }
.faq__a ul { padding-left: 1.2em; margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 26px; margin-bottom: 8px; scroll-margin-top: calc(var(--site-h) + 24px); }

/* ---------- Chiusura di pagina ---------- */
/* Fascia piena Cobalto: l'unico fondo colorato del sito, sempre in chiusura.
   Testo bianco (7:1), pulsante bianco con testo Cobalto scuro. Un solo pulsante. */
.cta-band { padding-block: 120px; background: var(--site-cobalt); color: var(--on-accent, #fff); text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px 64px; align-items: end; }
.cta-band h2 { grid-column: 1; grid-row: 1 / span 2; font-family: var(--site-serif); font-weight: 500; font-size: 60px; line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; color: var(--on-accent, #fff); }
.cta-band p { color: var(--on-accent, #fff); max-width: 40ch; font-size: 17px; }
.cta-band .btn { justify-self: start; }
.cta-band .fine { color: var(--accent-on-dark, #c7d0ff); font-size: 13px; }
.cta-band .wrap > :not(h2) { grid-column: 2; }
.cta-band .btn--primary { background: var(--surface, #fff); color: var(--accent-h, #2238b8); }
.cta-band .btn--primary:hover { background: var(--accent-t, #eceffd); color: var(--accent-h, #2238b8); }
.cta-band a:not(.btn) { color: var(--on-accent, #fff); }
.cta-band :focus-visible { outline-color: var(--on-accent, #fff); }
.cta-band ::selection { background: var(--on-accent, #fff); color: var(--accent-h, #2238b8); }
@media (max-width: 860px) {
  .cta-band { padding-block: 80px; }
  .cta-band .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cta-band h2 { grid-row: auto; font-size: 38px; }
  .cta-band .wrap > :not(h2) { grid-column: 1; }
  .cta-band .btn { margin-top: 8px; }
}

/* =====================================================================
   Sezioni specifiche della home e delle pagine del Sito pubblico
   ===================================================================== */


/* Esempio prima/dopo grande */
.example { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.example__card { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius); padding: 32px; }
.example__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--site-ink-3); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--site-line); }
.example__card .ba__after { font-size: 24px; }
.example__why { align-self: end; margin-bottom: 40px !important; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.example__why li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--site-line); }
.example__why b { color: var(--site-ink); font-weight: 600; font-size: 14px; }
.example__why span { font-size: 14px; }
.example__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.example__tabs button {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--site-line-2);
  background: var(--site-surface); color: var(--site-ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.example__tabs button:hover { color: var(--site-ink); border-color: var(--site-ink-3); }
.example__tabs button[aria-selected="true"] { background: var(--site-ink); border-color: var(--site-ink); color: #fff; }
@media (max-width: 860px) {
  .example { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .example__card { padding: 22px; }
  .example__card .ba__after { font-size: 20px; }
}


/* Piani */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.plan { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__name { font-size: 16px; font-weight: 700; color: var(--site-ink); }
.plan__tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--site-surface-2); color: var(--site-ink-2); border: 1px solid var(--site-line); white-space: nowrap; }
.plan__price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--site-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--site-ink-3); letter-spacing: 0; margin-left: 4px; }
.plan__alt { font-size: 13px; color: var(--site-ink-3); margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--site-line); display: grid; gap: 10px; font-size: 14px; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: ""; width: 10px; height: 6px; margin-top: 7px; border-left: 1.5px solid var(--site-cobalt); border-bottom: 1.5px solid var(--site-cobalt); transform: rotate(-45deg); }
.plan li b { color: var(--site-ink); font-weight: 600; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plans__fine { margin-top: 16px; }
@media (max-width: 720px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: 22px; } }

/* Tabella di confronto */
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; white-space: nowrap; width: 22%; }
.compare td:first-child { color: var(--site-ink); }
.compare td small, .compare tbody th small { display: block; color: var(--site-ink-3); font-size: 12px; }
.compare .yes { color: var(--site-ink); font-weight: 600; }
.compare .no { color: var(--site-ink-3); }
.compare thead th { color: var(--site-ink); font-size: 13px; }

/* Tre card (Gratis · Pacchetto 50 · Pacchetto 150). Il pacchetto più
   conveniente è "selezionato": bordo Cobalto ed etichetta in tinta, come una
   scelta nell'app. Un solo .btn--primary nella sezione, sulla card evidenziata. */
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: 16px; row-gap: 0; max-width: none; align-items: stretch; }
/* Le tre card sono identiche: stesse righe (nome, a chi serve, prezzo, confronto,
   elenco, pulsante, nota su chi può averlo) allineate fra loro con subgrid, fondo
   bianco, stesso padding. Il Pacchetto 150 si distingue solo per bordo Cobalto 2px,
   etichetta e pulsante primario. */
.plans--3 .plan { background: var(--surface, #fff); grid-row: span 7; display: grid; grid-template-rows: subgrid; row-gap: 14px; align-content: start; border: 2px solid var(--site-line); padding: 28px; }
.plans--3 .plan--best { border-color: var(--site-cobalt); box-shadow: none; }
.plans--3 .plan__who, .plans--3 .plan__alt { margin: 0; }
.plans--3 .plan__alt { align-self: start; }
.plans--3 .plan ul { align-self: start; }
.plans--3 .plan .btn { align-self: end; margin-top: 8px; }
.plan__note { margin: -4px 0 0; font-size: 12px; color: var(--site-ink-3); }
.plans--3 .plan__tag { background: var(--surface, #fff); }
.plan__who { font-size: 14px; color: var(--site-ink-2); }
.plan__alt b { font-weight: 600; color: var(--site-ink); }
.plan__tag--best { color: var(--site-cobalt-hover); border-color: var(--site-cobalt); }
.section--line { border-top: 1px solid var(--site-line); }
/* Ordine unico a ogni larghezza, uguale nell'HTML, nella tabella e nell'app:
   Gratis · Pacchetto 50 · Pacchetto 150 (niente CSS order: vista e lettori di
   schermo seguono la stessa sequenza). */
/* Tablet (721–1000): restano tre card in riga, più compatte, con le righe ancora
   allineate dal subgrid. Niente colonna stretta con il vuoto a destra. */
@media (min-width: 721px) and (max-width: 1000px) {
  .plans--3 { column-gap: 12px; }
  .plans--3 .plan { padding: 20px 18px; row-gap: 12px; }
  .plans--3 .plan__head { flex-wrap: wrap; gap: 6px 8px; align-items: flex-start; }
  .plans--3 .plan__price { font-size: 28px; }
  .plans--3 .plan__price small { display: block; margin: 2px 0 0; font-size: 13px; }
  .plans--3 .plan__alt { font-size: 12px; }
  .plans--3 .plan ul { font-size: 13px; gap: 8px; padding-top: 12px; }
  .plans--3 .plan .btn { width: 100%; }
}
@media (max-width: 720px) {
  .plans--3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 16px; }
  .plans--3 .plan { grid-row: auto; grid-template-rows: none; padding: 22px; }
}
/* Confronto dei tre piani, mobile first.
   Telefono: niente tabella che scorre di lato. Ogni riga diventa una scheda:
   la voce sopra, a tutta larghezza, e sotto i tre valori in colonna; i nomi dei
   piani restano incollati in alto (sticky) mentre si scorre. Gratis è la
   prima colonna, poi 50 e 150 (come su desktop). Le parole non si spezzano mai.
   La tabella conserva i ruoli (role="table/row/cell" nel markup), così chi usa
   un lettore di schermo la sente come tabella anche con display:grid.
   Da 721px torna una tabella classica. */
.table-wrap:has(.compare--3) { overflow: visible; }
.compare--3 { display: block; min-width: 0; font-size: 14px; }
.compare--3 thead, .compare--3 tbody { display: block; }
.compare--3 tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--site-line); }
.compare--3 tbody tr:last-child { border-bottom: 0; }
.compare--3 th, .compare--3 td, .compare--3 th:not(:first-child), .compare--3 td:not(:first-child) {
  display: block; width: auto; padding: 0; border: 0; background: none; text-align: center; white-space: normal;
  overflow-wrap: normal; word-break: normal; hyphens: manual; min-width: 0;
}
.compare--3 thead { position: sticky; top: var(--site-h); z-index: 2; background: var(--site-surface-2); border-radius: 12px 12px 0 0; box-shadow: 0 1px 0 var(--site-line); }
.compare--3 thead tr { padding-block: 10px; align-items: end; border-bottom: 0; }
.compare--3 thead th { font-size: 13px; line-height: 1.25; color: var(--site-ink); }
.compare--3 thead th:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare--3 thead small { display: block; font-size: 12px; font-weight: 500; color: var(--site-ink-3); }
.compare--3 td, .compare--3 td small { text-wrap: balance; }
.compare--3 .cmp-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare--3 .cmp-cap { display: inline-block; }
.compare--3 .cmp-cap::first-letter { text-transform: uppercase; }
.compare--3 tbody th[scope="row"] { grid-column: 1 / -1; text-align: left; font-weight: 600; margin-bottom: 6px; }
.compare--3 tbody th[scope="row"] small { display: inline; margin-left: 6px; font-weight: 400; }
.compare--3 tbody th[scope="row"] { order: -2; }
.compare--3 thead th.is-best { box-shadow: inset 0 2px 0 var(--site-cobalt); padding-top: 6px; }
.compare--3 td.is-best { color: var(--site-ink); font-weight: 600; }
.compare--3 td.is-best small { font-weight: 400; }
@media (min-width: 721px) {
  .table-wrap:has(.compare--3) { overflow-x: auto; }
  .compare--3 { display: table; min-width: 640px; }
  .compare--3 thead { display: table-header-group; position: static; box-shadow: none; }
  .compare--3 tbody { display: table-row-group; }
  .compare--3 tr, .compare--3 thead tr { display: table-row; position: static; padding: 0; border: 0; background: none; }
  .compare--3 th, .compare--3 td { display: table-cell; padding: 12px 16px; border-bottom: 1px solid var(--site-line); text-align: left; }
  .compare--3 th:not(:first-child), .compare--3 td:not(:first-child) { display: table-cell; padding: 12px 16px; border-bottom: 1px solid var(--site-line); text-align: center; width: 19%; }
  .compare--3 tr:last-child td, .compare--3 tr:last-child th { border-bottom: 0; }
  .compare--3 thead th { background: var(--site-surface-2); vertical-align: bottom; }
  .compare--3 thead th:first-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; color: var(--site-ink-3); font-size: 12px; }
  .compare--3 .cmp-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .compare--3 .cmp-cap { display: inline; }
  .compare--3 tbody th[scope="row"] { margin: 0; }
  .compare--3 tbody th[scope="row"] small { display: block; margin: 0; }
  .compare--3 thead th.is-best { padding-top: 12px; }
}

/* Testo + finestra di prodotto affiancati (prezzi: il test a pagamento) */
.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: center; }
.split2__text h2 { font-size: 34px; margin-top: 12px; }
.split2__text .lead { margin-top: 16px; }
.split2 .credit { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: var(--site-surface-2); color: var(--site-ink); font-size: 15px; }
.split2 .credit b { font-weight: 600; }
@media (max-width: 900px) { .split2 { grid-template-columns: minmax(0, 1fr); } .split2__text h2 { font-size: 26px; } }
/* Fatti del test (prezzi): voce sopra, testo sotto, righe divise da un filetto */
.testfacts { margin: 24px 0 0; display: grid; gap: 0; }
.testfacts > div { padding: 12px 0; border-top: 1px solid var(--site-line); }
.testfacts > div:last-child { border-bottom: 1px solid var(--site-line); }
.testfacts dt { font-size: 14px; font-weight: 700; color: var(--site-ink); }
.testfacts dd { margin: 4px 0 0; font-size: 15px; color: var(--site-ink-2); }
.pvm--cost span small { display: block; font-size: 12px; color: var(--site-ink-3); }
.pvm .bar2 > i.b-ink { background: var(--site-ink-3); }

/* Flusso dettagliato (come funziona) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding-block: 48px; border-top: 1px solid var(--site-line); }
.flow > li:last-child { border-bottom: 1px solid var(--site-line); }
.flow__n { font-size: 12px; font-weight: 600; color: var(--site-ink-3); display: block; margin-bottom: 6px; }
.flow__t { font-size: 20px; }
.flow__body { display: grid; gap: 16px; max-width: 64ch; }
.flow__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.flow__body li::marker { color: var(--site-ink-3); }
.flow__body b { color: var(--site-ink); font-weight: 600; }
.mock { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 10px; font-size: 14px; }
.mock__label { font-size: 12px; font-weight: 600; color: var(--site-ink-3); }
.mock__row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.mock__bar { height: 6px; background: var(--site-surface-2); border-radius: 999px; overflow: hidden; flex: 1; max-width: 200px; }
.mock__bar i { display: block; height: 100%; background: var(--site-cobalt); border-radius: 999px; }
.mock__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock__chips span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--site-surface-2); border: 1px solid var(--site-line); color: var(--site-ink-2); }
.mock__actions { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--site-ink-2); }
.mock__actions span:first-child { color: var(--site-cobalt); }
.sc { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sc--hi { background: #e6f3ec; color: #1e7a4c; }
.sc--mid { background: #fbf1dc; color: #8a5a00; }
.sc--lo { background: #fbe9e7; color: #b3261e; }
@media (max-width: 860px) {
  .flow > li { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 36px; }
}

/* Valori (chi siamo) */
.values .tile h3 { font-size: 17px; }

/* Modulo contatti */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cf-field { display: grid; gap: 6px; align-content: start; }
.cf-field label, .cf-label { font-size: 13px; font-weight: 600; color: var(--site-ink); }
.cf-hint { font-size: 12px; color: var(--site-ink-3); }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--site-line-3); background: var(--site-surface); color: var(--site-ink);
  font: inherit; font-size: 15px; line-height: 1.5;
}
.cf-field textarea { min-height: 160px; resize: vertical; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--site-cobalt); box-shadow: 0 0 0 3px var(--site-cobalt-tint); }
.cf-field [aria-invalid="true"] { border-color: #b3261e; }
.cf-error { font-size: 13px; color: #b3261e; }
.cf-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; }
.cf-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--site-cobalt); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; border-radius: 10px; padding: 12px 16px; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e6f3ec; color: #1e5c3b; border: 1px solid #bfe0cc; }
.form__status--err { background: #fbe9e7; color: #8c1d17; border: 1px solid #f1c6c1; }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.contact__aside { display: grid; gap: 28px; }
.contact__aside h2 { font-family: var(--site-sans); font-weight: 700; letter-spacing: 0; font-size: 16px; margin-bottom: 6px; }
.contact__aside p { font-size: 14px; }
@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

/* 404 */
.notfound { padding-block: 96px 120px; }
.notfound h1 { font-size: 48px; max-width: 16ch; }
.notfound .lead { margin-top: 16px; }
.notfound ul { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; max-width: 560px; border-top: 1px solid var(--site-line); }
.notfound li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--site-line); text-decoration: none; color: var(--site-ink); font-weight: 600; }
.notfound li a::after { content: "→"; color: var(--site-ink-3); }
.notfound li a:hover { color: var(--site-cobalt); }
@media (max-width: 720px) { .notfound { padding-block: 48px 80px; } .notfound h1 { font-size: 34px; } }

/* Utilità */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.stack-s > * + * { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.site-h.is-open .site-h__cta { visibility: hidden; }
.mock__row:has(.mock__bar) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 180px) 56px; gap: 12px; }
.mock__row:has(.mock__bar) .sc { justify-self: end; }
.mock__row .mock__bar { max-width: none; }
.notfound .kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.notfound .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--site-cobalt); flex: none; }

/* Intestazioni di riga nelle tabelle (th scope="row"): stesso aspetto delle celle, ma lette come intestazioni */
.prose tbody th[scope="row"], .s-table tbody th[scope="row"] { font-size: inherit; font-weight: 500; color: var(--site-ink); background: none; }
.s-table tr:last-child th { border-bottom: 0; }

/* Etichette piccole nelle intestazioni di tabella: mai sotto 12px */
.compare thead small { font-size: 12px; }

/* =====================================================================
   Home v2 (personalità): foto grandi con l'interfaccia vera che galleggia
   sopra, numeri in Cobalto, ritmo tra sezioni ariose e sezioni di prodotto.
   Le parti d'interfaccia (.appwin, .apptable, .sugcard, .cvmini) riprendono
   classi e misure dell'app; dove sono illustrazioni hanno role="img" e
   l'etichetta "Esempio".
   ===================================================================== */
:root { --site-shadow-photo: 0 2px 4px rgba(20, 20, 19, 0.06), 0 24px 60px rgba(20, 20, 19, 0.18); }

/* ---------- Hero ---------- */
.hx { padding-block: 64px 0; }
/* Testo centrato (com'era piaciuto ad Alex): etichetta, titolo, frase, pulsanti, nota. */
.hx__top { display: grid; justify-items: center; text-align: center; }
.hx h1 { margin-top: 22px; font-size: clamp(44px, 5.9vw, 86px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; max-width: 15ch; } /* più leggero: Alex, 2 dic 2026 */
.hx h1 em { font-style: italic; font-weight: 400; }
.hx h1 .dot { display: inline-block; width: 0.15em; height: 0.15em; margin-left: 0.05em; border-radius: 0.03em; background: var(--site-cobalt); vertical-align: baseline; }
.hx__top .lead { margin-top: 26px; font-size: 18px; max-width: 54ch; }
.hx__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 32px; }
.hx__fine { font-size: 13px; color: var(--site-ink-3); margin-top: 16px; }

/* Foto grande con l'interfaccia sopra (alla Tandem). Per cambiare foto basta
   sostituire il <picture>: l'interfaccia resta dov'è. */
.shot { position: relative; margin-top: 56px; }
.shot__photo img { width: 100%; height: 660px; object-fit: cover; object-position: 50% 62%; border-radius: 24px; }
.shot__ui { position: absolute; top: 56px; right: 56px; width: 448px; }
.shot__toast { position: absolute; left: 40px; bottom: 40px; }
.js .shot__ui { animation: hx-in 0.8s var(--ease-out) 0.15s both; }
.js .shot__toast { animation: hx-in 0.7s var(--ease-out) 1.4s both; }
@keyframes hx-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Finestra dell'app (scheda annuncio) */
.appwin { background: var(--site-surface); border-radius: 16px; box-shadow: var(--site-shadow-photo); overflow: hidden; color: var(--site-ink-2); font-size: 13px; line-height: 1.45; }
.appwin__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--site-line); background: var(--canvas, #fafaf8); }
.appwin__crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--site-ink-2); white-space: nowrap; }
.appwin__crumb img { width: 18px; height: 18px; }
.appwin__crumb i { font-style: normal; color: var(--site-line-3); } /* separatore «/»: contrasto ≥ 3:1 */
.appwin__tag { font-size: 12px; font-weight: 600; line-height: 16px; padding: 2px 8px; border-radius: 999px; background: var(--surface-3, #efeeea); color: var(--ink-3-on-tint, #6c6963); }
.appwin__body { padding: 18px 20px 20px; display: grid; gap: 16px; }
.appwin__job { display: grid; gap: 2px; }
.appwin__job b { font-size: 16px; font-weight: 700; color: var(--site-ink); line-height: 1.35; }
.appwin__job span { font-size: 12px; color: var(--site-ink-3); }
.appwin__tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--site-line); font-size: 13px; font-weight: 500; color: var(--site-ink-3); }
.appwin__tabs span { padding-bottom: 10px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.appwin__tabs .on { color: var(--site-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--site-cobalt); }
.appwin__tabs em { font-style: normal; }

/* Anello del punteggio (come nell'app: colore della fascia, numero al centro) */
.score2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ring2 { position: relative; width: 108px; height: 108px; display: grid; place-items: center; }
.ring2 svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring2 .trk { stroke: var(--surface-3, #efeeea); }
/* Colore dell'anello = fascia del numero (soglie dell'app: <50 bassa, 50–74 discreta, ≥75 buona).
   Il numero nel markup è già quello finale; quando anima, site.js aggiorna insieme
   --p, il numero, la classe ring2--* e l'etichetta, così non sono mai in disaccordo. */
.ring2 .val { stroke: var(--mid-bar, #c98a12); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); }
.ring2--hi .val { stroke: var(--hi, #1e7a4c); }
.ring2--lo .val { stroke: var(--lo, #b3261e); }
.ring2__n { position: relative; font: 700 28px/1 var(--site-sans); letter-spacing: -0.02em; color: var(--site-ink); font-variant-numeric: tabular-nums; }
.ring2__n small { font-size: 14px; margin-left: 1px; }
.score2__t { display: grid; gap: 3px; }
.score2__k { font-size: 12px; color: var(--site-ink-3); }
.score2__t b { font-size: 16px; font-weight: 700; }
.score2__d { font-size: 12px; font-weight: 600; color: var(--site-ink); }
.t-hi { color: var(--hi, #1e7a4c); } .t-mid { color: var(--mid, #8a5a00); } .t-lo { color: var(--lo, #b3261e); }

.areas2 { display: grid; gap: 9px; }
.areas2 > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: 12px; }
.areas2 b { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar2 { grid-column: 1 / -1; display: block; height: 4px; border-radius: 999px; background: var(--surface-3, #efeeea); overflow: hidden; }
.bar2 > i { display: block; height: 100%; width: var(--w); border-radius: 999px; }
.bar2 > i { transition: width 0.9s var(--ease-out); }
.js .bar2 > i { width: 0; transition-delay: 0.5s; }
.js .is-in .bar2 > i { width: var(--w); }
/* Hero: le barre non «crescono» da sole sotto un numero già scritto; quella di Strumenti
   segue il numero fotogramma per fotogramma (site.js §7a) */
.js [data-hero] .bar2 > i { transition: none; }
.b-hi { background: var(--hi, #1e7a4c); } .b-mid { background: var(--mid-bar, #c98a12); }

.reqs2 { display: grid; border-top: 1px solid var(--site-line); padding-top: 12px; }
.reqs2__h { font-size: 12px; font-weight: 600; color: var(--site-ink-3); padding-bottom: 4px; }
.req2 { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--site-line); }
.req2:last-child { border-bottom: 0; padding-bottom: 0; }
.req2__st { font-size: 12px; font-weight: 700; line-height: 16px; padding: 3px 8px; border-radius: 999px; background: var(--lo-bg, #fbe9e7); color: var(--lo, #b3261e); }
.req2__n { display: grid; min-width: 0; }
.req2__n b { font-size: 13px; font-weight: 600; color: var(--site-ink); }
.req2__n small { font-size: 12px; color: var(--site-ink-3); }
.req2__q { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--site-ink); white-space: nowrap; }
.fakebtn { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 32px; padding: 0 10px; border: 1px solid var(--site-line-2); border-radius: 8px; background: var(--site-surface); font-size: 12px; font-weight: 600; color: var(--site-ink); white-space: nowrap; }

/* Avviso galleggiante (come i toast dell'app) */
.toast2 { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--site-ink); color: var(--on-ink, #fff); font-size: 13px; font-weight: 600; box-shadow: var(--site-shadow-photo); white-space: nowrap; }
.toast2__ic { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-on-dark, #b9c3f7); position: relative; flex: none; }
.toast2__ic::after { content: ""; position: absolute; left: 6px; top: 4px; width: 4px; height: 8px; border: solid var(--site-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Tre numeri ---------- */
.facts { padding-block: 96px 8px; }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.facts__list li { display: grid; gap: 8px; align-content: start; padding-top: 24px; border-top: 1px solid var(--site-ink); }
.facts__n { font-family: var(--site-serif); font-weight: 500; font-size: 120px; line-height: 0.85; letter-spacing: -0.04em; color: var(--site-cobalt); font-variant-numeric: lining-nums; margin-bottom: 12px; }
.facts__list b { font-size: 18px; font-weight: 700; color: var(--site-ink); line-height: 1.35; }
.facts__list li > span:last-child { font-size: 14px; color: var(--site-ink-2); max-width: 32ch; }

/* ---------- Il problema (sezione ariosa, solo testo) ---------- */
.problem2__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 80px; align-items: start; }
.problem2__head { display: grid; gap: 16px; position: sticky; top: calc(var(--site-h) + 32px); }
.problem2__head h2 { font-size: 48px; line-height: 1.05; letter-spacing: -0.03em; max-width: 14ch; }
.problem2__list { list-style: none; margin: 0; padding: 0; }
.problem2__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 26px 0; border-top: 1px solid var(--site-line); font-size: 15px; }
.problem2__list li:last-child { border-bottom: 1px solid var(--site-line); }
.problem2__list span { font-size: 12px; font-weight: 600; color: var(--site-ink-3); padding-top: 4px; font-variant-numeric: tabular-nums; }
.problem2__list b { display: block; font-size: 18px; font-weight: 700; color: var(--site-ink); margin-bottom: 4px; }

/* ---------- Prima e dopo: ritratto + suggerimento che galleggia ---------- */
.sugx__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.sugx__photo { grid-column: 1 / 6; grid-row: 1; margin: 0; }
.sugx__photo img { width: 100%; height: 580px; object-fit: cover; object-position: 52% 30%; border-radius: 24px; }
.sugcard { grid-column: 5 / 13; grid-row: 1; position: relative; z-index: 1; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 18px; padding: 32px; box-shadow: var(--site-shadow-photo); }
.sugcard .ba__after { font-size: 26px; line-height: 1.38; }
.sugcard .ba__after[contenteditable="true"] { outline: 2px solid var(--site-cobalt); outline-offset: 6px; border-radius: 4px; }
.sugcard__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--site-line); }
.sugcard__st { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 20px; font-size: 13px; font-weight: 600; color: var(--site-ink); }
.sugcard__st:empty { margin-top: 0; min-height: 0; }
.sugcard__st button { border: 0; background: none; padding: 4px 2px; font: inherit; color: var(--site-cobalt); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sugcard__acts[hidden] { display: none; }
.sugcard.is-kept .ba:not([hidden]) .ba__after { color: var(--site-ink-3); text-decoration: line-through; text-decoration-color: var(--site-line-2); }
.sugcard.is-kept .ba:not([hidden]) .ba__after mark { background: none; color: inherit; }
.sugcard.is-kept .ba:not([hidden]) .ba__before { color: var(--site-ink); text-decoration: none; }
.sugx__why { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px !important; margin: 56px 0 0 !important; }
.sugx__fine { margin-top: 24px; }

/* ---------- Come funziona + tabella delle candidature ---------- */
.how__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: center; }
.how__text .section-head { margin-bottom: 24px; }
.how__steps { list-style: none; margin: 0 0 28px; padding: 0; }
.how__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--site-line); font-size: 14px; }
.how__steps li:last-child { border-bottom: 1px solid var(--site-line); }
.how__steps span { font-size: 12px; font-weight: 600; color: var(--site-ink-3); padding-top: 3px; }
.how__steps b { display: block; font-size: 16px; font-weight: 700; color: var(--site-ink); margin-bottom: 2px; }
.how__ui { background: var(--stage, #f0efeb); border-radius: 24px; padding: 48px 40px; }
.apptable { background: var(--site-surface); border-radius: 14px; box-shadow: var(--site-shadow-photo); padding: 22px 24px 8px; font-size: 13px; }
.apptable__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.apptable__h b { font-family: var(--site-serif); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; color: var(--site-ink); }
.kpis2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--site-line); }
.kpis2 > div { display: grid; gap: 2px; padding: 12px 12px 12px 0; }
.kpis2 > div + div { padding-left: 14px; border-left: 1px solid var(--site-line); }
.kpis2 span { font-size: 12px; color: var(--site-ink-3); line-height: 1.3; }
.kpis2 b { font-size: 24px; font-weight: 700; color: var(--site-ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.rows2 { display: grid; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) 104px 52px 112px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--site-line); }
.row2:last-child { border-bottom: 0; }
.row2__co { display: grid; min-width: 0; }
.row2__co b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--site-ink); }
.row2__co small { font-size: 12px; color: var(--site-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newdot2 { width: 7px; height: 7px; border-radius: 50%; background: var(--site-cobalt); flex: none; }
.pill2 { justify-self: start; font-size: 12px; font-weight: 600; line-height: 16px; padding: 4px 10px; border-radius: 999px; background: var(--st-neutral-bg, #efeeea); color: var(--st-neutral-fg, #4a4843); white-space: nowrap; }
.pill2.s-blue { background: var(--st-blue-bg, #eceffd); color: var(--st-blue-fg, #2238b8); }
.pill2.s-violet { background: var(--st-violet-bg, #f0ecfb); color: var(--st-violet-fg, #5b3fb8); }
.sc--none { background: var(--surface-3, #efeeea); color: var(--ink-3-on-tint, #6c6963); }
.row2 .sc { justify-self: start; }
.fakebtn--row { justify-self: end; }

/* ---------- Il CV in miniatura (template identico all'app) ---------- */
/* Impaginazione alternata: "Prima e dopo" ha la foto a sinistra, "Come funziona" la tabella
   a destra, "Il CV" di nuovo l'immagine a sinistra. Nel codice il testo viene prima,
   così al telefono l'ordine resta testo → immagine. */
.cvx__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: center; }
.cvx__stage { order: -1; }
.cvx__text .section-head { margin-bottom: 28px; }
.cvx__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.cvx__list li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--site-line); font-size: 14px; }
.cvx__list b { font-size: 15px; font-weight: 700; color: var(--site-ink); }
/* Cornice pronta per una foto: senza <img class="cvx__photo"> resta il fondo "stage" */
.cvx__stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 680px; padding: 56px 32px; border-radius: 24px; background: var(--stage, #f0efeb); }
.cvx__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cvmini { --k: 0.72; position: relative; width: calc(595px * var(--k)); height: calc(842px * var(--k)); overflow: hidden; background: #fff; box-shadow: var(--site-shadow-photo); border-radius: 3px; }
.cvmini .cvpage { position: absolute; top: 0; left: 0; transform-origin: 0 0; transform: scale(var(--k)); }
.cvpage { --cv-accent: #0369a1; width: 595px; min-height: 842px; background: #fff; color: #334155; font-family: Helvetica, Arial, sans-serif; padding: 30px 36.75px 22px; display: flex; flex-direction: column; line-height: normal; text-align: left; }
.cvh { display: grid; grid-template-columns: 1fr 100px; gap: 20px; align-items: center; }
.cvph { width: 100px; height: 100px; border-radius: 50%; border: 1px dashed #9ab8cf; display: grid; place-items: center; font-size: 6.5px; letter-spacing: 2px; color: #64748b; }
.cvnm { font-size: 30px; font-weight: 700; color: #0f172a; line-height: 1.05; }
.cvtt { font-size: 12px; font-weight: 700; color: var(--cv-accent); text-transform: uppercase; margin-top: 10px; }
.cvct { font-size: 10px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cvhr { border: 0; border-top: .75px solid #e2e8f0; margin: 18px 0 14px; }
.cvpf { font-size: 9.6px; line-height: 15px; margin: 0; }
.cvcols { display: grid; grid-template-columns: 1fr 150.75px; gap: 18px; margin-top: 18px; align-items: start; }
.cvsec { font-size: 9.5px; font-weight: 700; color: #0f172a; padding-bottom: 5px; margin-bottom: 12px; border-bottom: .75px solid #e2e8f0; position: relative; }
.cvsec::after { content: ""; position: absolute; left: 0; bottom: -1.1px; width: 22.5px; border-top: 1.5px solid var(--cv-accent); }
.cvex { display: grid; grid-template-columns: 52px 1fr; gap: 0 8px; margin-bottom: 10px; }
.cvdt { font-size: 7px; color: #64748b; text-transform: uppercase; padding-top: 2px; }
.cvrt { font-size: 9.8px; font-weight: 700; color: #0f172a; }
.cvsub { font-size: 8.3px; color: var(--cv-accent); margin-bottom: 3px; }
.cvul { list-style: none; margin: 0; padding: 0; }
.cvul li { font-size: 8.5px; line-height: 12.4px; padding-left: 10px; position: relative; margin-bottom: 2px; }
.cvul li::before { content: "–"; position: absolute; left: 0; color: #9ab8cf; }
.cvside { background: #f8fafc; border-top: .75px solid #9ab8cf; padding: 16px 13.5px 14px; }
.cvsg { margin-bottom: 8px; }
.cvsg b { display: block; font-size: 8.2px; color: #0f172a; margin-bottom: 3px; }
.cvsg ul { list-style: none; margin: 0; padding: 0; }
.cvsg li { font-size: 8px; line-height: 11px; padding-left: 8px; position: relative; margin-bottom: 1.5px; }
.cvsg li::before { content: "–"; position: absolute; left: 0; color: #9ab8cf; }
.cvlang { font-size: 7.8px; line-height: 14px; }
.cvlang b { color: #0f172a; }
.cved { margin-bottom: 8px; }
.cved b { font-size: 8.2px; line-height: 10.5px; color: #0f172a; display: block; }
.cved span { font-size: 7.8px; line-height: 10.5px; display: block; }
.cvft { margin-top: auto; border-top: .75px solid #e2e8f0; padding-top: 7px; font-size: 6.4px; color: #64748b; }
.cvpage .adapted { position: relative; }
.cvpage .adapted::after { content: ""; position: absolute; top: 2px; bottom: 2px; width: calc(3px / var(--k, 1)); background: var(--site-cobalt); border-radius: 1px; }
.cvul li.adapted::after { left: -14px; }
.cvpf.adapted::after { left: -12px; }
.js .cvpage .adapted::after { transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease-out); }
.js .cvpage .adapted.is-mk::after { transform: none; }

/* ---------- Comparsa al passaggio (sobria) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js li[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.js li[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.js li[data-reveal]:nth-child(4) { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .bar2 > i { width: var(--w); }
  .js .cvpage .adapted::after { transform: none; }
}

/* ---------- Home v2: tablet e telefono ---------- */
@media (max-width: 1100px) {
  .shot__ui { right: 32px; top: 32px; }
  .how__in, .cvx__in { grid-template-columns: minmax(0, 1fr); }
  .how__ui, .cvx__stage { order: 2; }
}
@media (max-width: 960px) {
  .problem2__in { grid-template-columns: minmax(0, 1fr); }
  .problem2__head { position: static; }
  .sugx__stage { display: block; }
  .sugx__photo img { height: 420px; object-position: 52% 25%; }
  .sugcard { margin: -96px 24px 0; }
  .sugx__why { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hx { padding-top: 28px; }
  .hx h1 { margin-top: 16px; font-size: 44px; letter-spacing: -0.03em; }
  .hx__top .lead { font-size: 16px; margin-top: 20px; }
  .hx__actions { margin-top: 24px; }
  .shot { margin-top: 36px; }
  .shot__photo img { height: 460px; border-radius: 18px; object-position: 32% 60%; }
  .shot__ui { position: relative; top: auto; right: auto; width: auto; margin: -170px 12px 0; }
  .shot__toast { left: 12px; top: 16px; bottom: auto; }
  .appwin__tabs span:last-child { display: none; }
  .req2 { grid-template-columns: auto minmax(0, 1fr); }
  .req2__q { grid-column: 1 / -1; }
  .facts { padding-top: 72px; }
  .facts__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .facts__list li { padding-top: 20px; }
  .facts__n { font-size: 76px; margin-bottom: 6px; }
  .problem2__head h2 { font-size: 34px; }
  .problem2__list li { grid-template-columns: 36px minmax(0, 1fr); padding: 20px 0; }
  .problem2__list b { font-size: 16px; }
  .sugx__photo img { height: 340px; border-radius: 18px; }
  .sugcard { margin: -72px 8px 0; padding: 20px; }
  .sugcard .ba__after { font-size: 20px; }
  .sugcard__acts .btn { flex: 1 1 100%; }
  .how__ui { padding: 20px 12px; border-radius: 18px; }
  .apptable { padding: 16px 14px 4px; }
  .kpis2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis2 > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpis2 > div:nth-child(n+3) { border-top: 1px solid var(--site-line); }
  .row2 { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; }
  .row2__co { grid-column: 1 / -1; }
  .cvx__stage { min-height: 0; padding: 28px 12px; border-radius: 18px; }
  .cvmini { --k: 0.52; }
}
@media (max-width: 380px) {
  .cvmini { --k: 0.5; }
  .hx h1 { font-size: 40px; }
}

/* =====================================================================
   Home v3: movimento ("le cose si muovono, succedono cose").
   Regole comuni a tutte le parti animate:
   - il markup statico è lo stato FINALE e coerente (senza JS, con "Riduci
     movimento" e negli screenshot si vede quello);
   - site.js porta allo stato iniziale solo se il movimento è permesso, e
     anima solo mentre la parte è in vista e la scheda è visibile;
   - solo opacity e transform per gli spostamenti: lo spazio è sempre
     riservato, nessun salto di impaginazione (CLS 0);
   - le parti animate sono illustrazioni (role="img" con descrizione).
   ===================================================================== */

/* ---------- Hero: la finestra dell'app "vive" ---------- */
.hx h1 .dot { transform-origin: 50% 100%; }
.js .hx h1 .dot { animation: dot-in 0.7s cubic-bezier(.3, 1.6, .5, 1) 0.55s both; }
@keyframes dot-in { from { transform: scale(0); } to { transform: none; } }

.appwin__body > * { transition: opacity 0.3s ease; }
.appwin.is-fade .appwin__body > :nth-child(n+3) { opacity: 0; }
/* Numero, etichetta e colore cambiano nello stesso istante: nessuna transizione di colore,
   così nemmeno un fotogramma mostra un'etichetta con il colore di un'altra fascia. */

/* Stato del requisito: le due versioni occupano la stessa cella, niente salti */
.req2__st { padding: 0; background: none; display: inline-grid; }
.req2__st > span, .req2__q > span { grid-area: 1 / 1; transition: opacity 0.3s ease, transform 0.3s var(--ease-out); }
.req2__st > span { padding: 3px 8px; border-radius: 999px; text-align: center; }
.st-no { background: var(--lo-bg, #fbe9e7); color: var(--lo, #b3261e); }
.st-ok { background: var(--hi-bg, #e6f3ec); color: var(--hi, #1e7a4c); }
.req2__q { display: inline-grid; justify-items: end; }
.q-ask { display: inline-flex; align-items: center; gap: 6px; }
.q-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--site-ink-2); }
.okic { width: 16px; height: 16px; border-radius: 50%; background: var(--site-cobalt); position: relative; flex: none; }
.okic::after { content: ""; position: absolute; left: 5.5px; top: 3.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.req2 .st-ok, .req2 .q-ok, .req2.is-ok .st-no, .req2.is-ok .q-ask { opacity: 0; visibility: hidden; }
.req2.is-ok .st-ok, .req2.is-ok .q-ok { opacity: 1; visibility: visible; }
.req2.is-ok .q-ok { animation: pop 0.45s var(--ease-out); }
.req2 { transition: background-color 0.5s ease; }
.req2.is-flash { background: var(--hi-bg, #e6f3ec); }
.fakebtn { transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease; }
.fakebtn.is-press { background: var(--site-ink); border-color: var(--site-ink); color: #fff; transform: scale(0.92); }
@keyframes pop { 0% { transform: scale(0.85); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: none; } }
.is-pop { animation: pop 0.45s var(--ease-out); }

/* Cursore finto (decorativo) */
.hcur { position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M4 2.5v15.2l4-3.6 2.6 5.9 2.9-1.3-2.6-5.8 5.4-.4z' fill='%23141413' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
  filter: drop-shadow(0 2px 3px rgba(20, 20, 19, 0.25));
  transition: transform 0.95s cubic-bezier(.45, .05, .25, 1), opacity 0.3s ease; }
.hcur.is-on { opacity: 1; }
.hcur.is-click { animation: cur-click 0.3s ease; }
@keyframes cur-click { 50% { scale: 0.82; } }

/* Avviso che scivola dentro */
.shot__toast { transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
.shot__toast.is-off { opacity: 0; transform: translateY(14px); }

/* ---------- Tre numeri: le cifre scorrono come un contatore ---------- */
/* Il rullo ha la stessa altezza della riga (0.85em): niente salti. Ogni cifra sta in
   una cella più alta (1.3em) e il ritaglio sporge appena, così si vede solo una cifra. */
.facts__roll { display: inline-block; vertical-align: top; height: 0.85em; clip-path: inset(-0.16em -0.1em -0.16em -0.1em); }
.facts__roll > span { display: block; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.facts__roll > span > span { display: block; height: 1.3em; line-height: 0.85; }

/* ---------- Tabella candidature: una riga entra, si riempie, si analizza ---------- */
.rows2 { transition: opacity 0.3s ease; }
.rows2.is-fade { opacity: 0; }
.row2 { transition: transform 0.7s var(--ease-out), opacity 0.5s ease, background-color 0.15s ease; }
.rows2.is-pre .row2:not(.row2--new) { transform: translateY(calc(-1 * var(--nh, 57px))); }
.rows2.is-pre .row2--new { opacity: 0; transform: translateY(-10px); }
.rows2.is-snap .row2 { transition: none; }
.row2__co { position: relative; }
.row2__co > b, .row2__co > small { transition: opacity 0.4s ease; }
.row2__sk { position: absolute; inset: 0; display: grid; align-content: center; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.row2__sk i { font-style: normal; font-size: 12px; font-weight: 600; color: transparent; width: fit-content;
  background: linear-gradient(90deg, var(--site-ink-3) 0%, var(--site-ink-3) 40%, var(--site-line-2) 50%, var(--site-ink-3) 60%, var(--site-ink-3) 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; animation: sk-text 1.4s linear infinite; }
@keyframes sk-text { from { background-position: 100% 0; } to { background-position: 0 0; } }
.row2.is-loading .row2__co > b, .row2.is-loading .row2__co > small { opacity: 0; }
.row2.is-loading .row2__sk { opacity: 1; }
.row2.is-loading .fakebtn { opacity: 0; }
.row2--new { background: linear-gradient(90deg, var(--accent-t, #eef1fd), transparent 70%) no-repeat; background-size: 0 100%; }
.row2--new.is-glow { background-size: 100% 100%; transition: background-size 0.6s ease; }
/* Stato: testo e colore cambiano insieme (niente dissolvenza di colore tra uno stato e l'altro) */
.pill2 { transition: none; }
.kpis2 b.is-pop, .pill2.is-pop, .sc.is-pop { display: inline-block; }
/* Microinterazioni: riga e pulsante rispondono al passaggio */
/* Niente effetti al passaggio del mouse sulle finte righe: non sono cliccabili. */

/* ---------- Prima e dopo: la frase si scrive ---------- */
.ba__after { position: relative; }
.ba__after.is-typing { color: transparent; }
.ba__after.is-typing mark { background: transparent; color: transparent; }
@keyframes caret { 50% { opacity: 0; } }
.ba__after mark { transition: background-color 0.5s ease, box-shadow 0.5s ease; }

/* ---------- Il CV: un CV, tre annunci ---------- */
.cvx__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.cvx__chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--site-surface); box-shadow: 0 1px 2px rgba(20, 20, 19, 0.06), 0 6px 18px rgba(20, 20, 19, 0.08); font-size: 13px; color: var(--site-ink-2); white-space: nowrap; }
.cvx__chip-k { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-t, #eef1fd); color: var(--accent-h, #2238b8); }
.cvx__chip-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.25s ease, transform 0.25s ease; }
.cvx__chip-v b { color: var(--site-ink); font-weight: 600; }
.cvx__dots { display: inline-flex; gap: 4px; flex: none; }
.cvx__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--site-line-2); transition: background-color 0.3s ease, width 0.3s ease; }
.cvx__dots i.on { width: 16px; border-radius: 3px; background: var(--site-cobalt); }
.cvpage [data-cv] { transition: opacity 0.25s ease; }
.cvpage .is-swap, .cvx__chip-v.is-swap { opacity: 0; }
.cvx__chip-v.is-swap { transform: translateY(4px); }

/* ---------- Pulsanti: una risposta al passaggio ---------- */
.btn--primary, .btn--secondary { transition: transform 0.16s var(--ease-out), box-shadow 0.16s ease, background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(34, 56, 184, 0.24); }
.btn--secondary:hover { transform: translateY(-1px); }
.btn--primary:active, .btn--secondary:active { transform: none; box-shadow: none; }
.cta-band .btn--primary:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); }

/* =====================================================================
   Componenti di prodotto riusabili (tutte le pagine)
   Sono finestre dell'app in miniatura (.appwin) con un attributo data-pv che
   site.js anima. Il markup è sempre lo stato finale coerente.
     data-pv="req"    requisiti dell'annuncio: «Sì» → Coperto, l'anello sale
     data-pv="ba"     prima/dopo: la frase si scrive, le parti nuove si accendono
     data-pv="check"  controlli che si spuntano uno alla volta
     data-pv="table"  candidature: gli stati avanzano
     data-pv="meter"  contatori della settimana che si riempiono
     data-pv="cv"     CV A4 in miniatura: le righe adattate si segnano
   ===================================================================== */

/* ---------- Testate interne ---------- */
.hero-s .kicker::before { transform-origin: 50% 50%; }
.js .hero-s .kicker::before, .js .notfound .kicker::before { animation: mark-in 0.7s cubic-bezier(.3, 1.5, .5, 1) 0.2s both; }
@keyframes mark-in { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.hero-s--split .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
.hero-s--split .wrap > .breadcrumb { grid-column: 1 / -1; margin-bottom: 0; }
.hero-s__text { min-width: 0; }
.hero-s__text > .kicker { margin-bottom: 16px; }
.hero-s__visual { min-width: 0; }
.js .hero-s__visual > * { animation: hx-in 0.8s var(--ease-out) 0.25s both; }
@media (max-width: 1100px) {
  .hero-s--split .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-s__visual { max-width: 520px; }
}
/* Tablet: la finestra d'esempio della testata non resta in una colonna da 520px
   appoggiata a sinistra; il palco prende tutta la riga, come i passi sotto. */
@media (min-width: 721px) and (max-width: 1100px) {
  .hero-s__visual { max-width: none; }
  /* Esempi e guide: con tutta la riga a disposizione il CV si legge a 0,85 */
  .hero-s__visual .cvmini--s { --k: 0.85; }
}

/* Palco: il fondo neutro su cui posano le finestre dell'app */
.stage { background: var(--stage, #f0efeb); border-radius: 24px; padding: 40px; display: grid; place-items: center; }
.stage > * { width: 100%; max-width: 440px; }
.stage--photo { position: relative; padding: 0; overflow: hidden; min-height: 380px; place-items: end start; }
.stage--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.stage--photo > .appwin, .stage--photo > .toast2 { position: relative; width: auto; margin: 24px; }
@media (max-width: 720px) { .stage { padding: 20px 12px; border-radius: 18px; } .stage--photo { padding: 0; min-height: 300px; } }

/* Finestra compatta */
.appwin--s .appwin__body { padding: 16px 18px 18px; gap: 14px; }
.appwin--s .score2 { gap: 16px; }
.appwin--s .ring2 { width: 88px; height: 88px; }
.appwin--s .ring2 svg { width: 88px; height: 88px; }
.appwin--s .ring2__n { font-size: 24px; }
.appwin__title { font-size: 15px; font-weight: 700; color: var(--site-ink); }

/* data-pv="ba": prima/dopo in una finestra. Gli esempi stanno nella stessa cella,
   l'altezza è quella del più lungo: cambiare esempio non sposta nulla. */
.pv-ba__items { display: grid; }
.pv-ba__item { grid-area: 1 / 1; display: grid; gap: 8px; align-content: start; transition: opacity 0.35s ease; }
.pv-ba__item[data-off] { opacity: 0; visibility: hidden; }
.pv-ba__meta { font-size: 12px; color: var(--site-ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--site-line); margin-bottom: 4px; }
.pv-ba .ba__label { font-size: 12px; }
.pv-ba .ba__before { font-size: 14px; }
.pv-ba .ba__after { font-size: 19px; }
.pv-acts { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid var(--site-line); }
.fakebtn--pri { background: var(--site-cobalt); border-color: var(--site-cobalt); color: #fff; }
.fakebtn--pri.is-press { background: var(--accent-h, #2238b8); border-color: var(--accent-h, #2238b8); }

/* data-pv="check": controlli */
.pvc { list-style: none; margin: 0; padding: 0; display: grid; }
.pvc li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--site-line); font-size: 13px; color: var(--site-ink); font-weight: 600; }
.pvc li:last-child { border-bottom: 0; }
.pvc li small { display: block; font-weight: 400; color: var(--site-ink-3); font-size: 12px; }
.pvc__ic { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--site-line-2); position: relative; transition: background-color 0.25s ease, border-color 0.25s ease; }
.pvc__ic::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s cubic-bezier(.3, 1.6, .5, 1); }
.pvc li.is-ok .pvc__ic { background: var(--site-cobalt); border-color: var(--site-cobalt); }
.pvc li.is-ok .pvc__ic::after { transform: rotate(45deg) scale(1); }
.pv-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--site-line); font-size: 12px; color: var(--site-ink-3); }
.pv-foot b { color: var(--site-ink); font-variant-numeric: tabular-nums; }

/* data-pv="meter": contatori della settimana */
.pvm { display: grid; gap: 12px; }
.pvm > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; font-size: 13px; color: var(--site-ink); }
.pvm b { font-variant-numeric: tabular-nums; font-size: 13px; }
/* Niente transizione: barra e «x di y» cambiano nello stesso fotogramma (il numero fa il pop) */
.pvm .bar2 > i { background: var(--site-cobalt); transition: none; }

/* data-pv="table": candidature compatte */
.apptable--s { padding: 16px 18px 6px; }
.apptable--s .row2 { grid-template-columns: minmax(0, 1fr) auto; }
.pill2.s-green { background: var(--st-green-bg, #e6f3ec); color: var(--st-green-fg, #1e7a4c); }

/* data-pv="cv": CV A4 in miniatura dentro un palco */
.stage .cvmini { width: calc(595px * var(--k)); max-width: none; }
.stage--cv { padding: 36px 24px; }
.cvmini--s { --k: 0.56; }
.cvstack { position: relative; display: grid; }
.cvstack > .cvmini { grid-area: 1 / 1; transition: opacity 0.45s ease, transform 0.45s var(--ease-out); }
.cvstack > .cvmini[data-off] { opacity: 0; transform: translateY(8px) rotate(1deg); visibility: hidden; }
@media (max-width: 720px) { .cvmini--s { --k: 0.5; } }

/* Il prima/dopo negli articoli si scrive quando entra in vista (stessa tecnica della home) */
.prose .ba { background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 14px; padding: 18px 20px; gap: 8px; }
.prose .ba > * + * { margin-top: 0; }
.prose .ba__label { margin: 0; }

/* Domande frequenti: risposta che si apre con garbo */
.faq details[open] .faq__a { animation: faq-in 0.35s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Riquadri cliccabili: si sollevano appena */
.tile--link { transition: border-color 160ms ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease; }
.tile--link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 20, 19, 0.08); }
.plan { transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease; }
.plan:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 20, 19, 0.08); }

/* Come funziona: passi alternati testo / finestra dell'app */
.flow--alt > li { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; padding-block: 64px; }
.flow--alt > li:nth-child(even) > .flow__vis { order: -1; }
.flow--alt .flow__txt { display: grid; gap: 16px; min-width: 0; }
.flow--alt .flow__txt > div:first-child { margin-bottom: 4px; }
.flow--alt .flow__t { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.flow--alt .flow__n { display: flex; align-items: center; gap: 10px; }
.flow--alt .flow__n::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--site-cobalt); flex: none; }
.flow__vis { min-width: 0; }
@media (max-width: 960px) {
  .flow--alt > li { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 44px; }
  .flow--alt > li:nth-child(even) > .flow__vis { order: 0; }
  .flow--alt .flow__t { font-size: 24px; }
}

/* 404: un requisito che manca */
.notfound__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
@media (max-width: 960px) { .notfound__in { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 720px) {
  .cvx__stage { gap: 14px; }
  .cvx__chip { font-size: 12px; padding: 6px 12px 6px 6px; }
  .cvx__dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hx h1 .dot, .js .hero-s .kicker::before, .js .notfound .kicker::before, .js .hero-s__visual > * { animation: none; }
  .row2__sk i { animation: none; }
  .btn--primary:hover, .btn--secondary:hover { transform: none; }
}
[data-pv].is-fade .appwin__body > :not(:first-child), .apptable[data-pv].is-fade .rows2 { opacity: 0; }
.apptable .rows2 { transition: opacity 0.3s ease; }
.cvstack { justify-items: center; }
.appwin__crumb { min-width: 0; overflow: hidden; }
@media (max-width: 720px) {
  /* Al telefono le righe dei requisiti sono un po' più strette (la domanda sta già sotto il nome, vedi fine file) */
  .req2 { padding: 9px 0; }
}

/* =====================================================================
   Sito v4 (feedback di Alex)
   - prima/dopo come MODIFICA: si parte dalla frase originale, i tagli si
     barrano in rosso tenue e spariscono, le aggiunte si scrivono evidenziate;
   - il CV della home si compone a blocchi e si riadatta agli annunci;
   - i quattro passi avanzano da soli;
   - tre dati veri con la fonte; aree con chip; componenti in Cobalto pieno.
   Markup = stato finale coerente, come sempre.
   ===================================================================== */

/* ---------- Prima/dopo: la modifica ---------- */
/* Nel markup: <mark> = aggiunte, <del hidden> = tagli (invisibili e non letti).
   Stato fermo: «Prima» barrata sopra, frase nuova con le aggiunte evidenziate. */
.ba__after del[hidden] { display: none; }
.ba__before { transition: text-decoration-color 0.6s ease, color 0.6s ease; }
.is-editing .ba__before { text-decoration-color: transparent; color: var(--site-ink-2); transition: none; }
.ba__after.is-editing { color: transparent; }
.ba__after.is-editing mark { background: transparent; color: transparent; transition: none; }
.ba__ed { position: absolute; inset: 0; color: var(--site-ink); pointer-events: none; }
.ba__ed .dd { border-radius: 3px; text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 2px;
  transition: color 0.25s ease, background-color 0.25s ease, text-decoration-color 0.25s ease, opacity 0.3s ease; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ba__ed .dd.is-cut { color: var(--lo, #b3261e); background: var(--lo-bg, #fbe9e7); text-decoration-color: var(--lo, #b3261e); }
.ba__ed .dd.is-gone { opacity: 0; }
.ba__ed .di { background: var(--site-cobalt-tint-2); border-radius: 3px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ba__ed .di:empty { padding: 0; }
.ed-c { position: relative; }
.ed-c::after { content: ""; position: absolute; right: -2px; top: 0.12em; bottom: 0.08em; width: 2px; background: var(--site-cobalt); animation: caret 1s steps(1) infinite; }
/* I pulsanti arrivano alla fine; restano raggiungibili con la tastiera (il focus chiude la scena) */
.sugcard__acts, .pv-acts { transition: opacity 0.4s ease, transform 0.4s var(--ease-out); }
.sugcard.is-writing .sugcard__acts, .pv-ba.is-writing .pv-acts { opacity: 0; transform: translateY(6px); }
.sugcard.is-writing .sugcard__acts:focus-within { opacity: 1; transform: none; }
.ba__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--site-ink-3); }
.ba__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ba__legend i { width: 18px; height: 10px; border-radius: 2px; }
.ba__legend .lg-cut { background: var(--lo-bg, #fbe9e7); border-bottom: 2px solid var(--lo, #b3261e); }
.ba__legend .lg-add { background: var(--site-cobalt-tint-2); }

/* ---------- Tre dati veri ---------- */
.facts__head { margin-bottom: 36px; }
.facts__n { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.facts__n small { font-size: 0.5em; letter-spacing: 0; margin-left: 0.04em; }
.facts__list li > span.facts__txt { font-size: 14px; color: var(--site-ink-2); max-width: 34ch; }
.facts__src { margin-top: 6px; width: fit-content; font-size: 13px; font-weight: 500; color: var(--site-ink-3); text-decoration: underline; text-underline-offset: 3px; }
.facts__src:hover { color: var(--site-ink); }
.facts__fine { margin-top: 28px; }

/* ---------- Per chi è: chip per area (mobile first) ----------
   Telefono: otto schede compatte, tutta la scheda è il link (bersaglio grande),
   solo i ruoli; la freccia sta accanto al nome. Gli strumenti compaiono da 641px. */
.areagrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--site-ink); }
.areagrid > li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 0 18px; border-bottom: 1px solid var(--site-line); min-width: 0; }
.areagrid h3 { font-family: var(--site-serif); font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; padding-right: 48px; }
.areagrid__k { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--site-ink-3); margin-bottom: 6px; }
.areagrid > li > div:has(.chips) .areagrid__k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.areagrid > li > div:has(.chips--tool) { display: none; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; line-height: 18px; padding: 4px 10px; border-radius: 6px; background: var(--surface-3, #efeeea); color: var(--site-ink); max-width: 100%; overflow-wrap: anywhere; }
.chips--tool li { background: transparent; box-shadow: inset 0 0 0 1px var(--site-line-2); color: var(--site-ink-2); }
/* Il link copre la scheda (::before); a vista solo la freccia in un cerchio (::after),
   il testo «Vai a …» resta per i lettori di schermo (font-size 0, non display:none). */
.areagrid .link-arrow { display: block; height: 0; margin-top: -10px; font-size: 0; color: var(--site-ink); }
.areagrid .link-arrow::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 4px; }
.areagrid .link-arrow::after { position: absolute; top: 12px; right: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--site-line-2); background: var(--site-surface); }
.areagrid .link-arrow:focus-visible { outline: none; }
.areagrid .link-arrow:focus-visible::before { outline: 2px solid var(--site-cobalt); outline-offset: 2px; }
.areagrid > li:hover .link-arrow::after { color: var(--site-cobalt); box-shadow: inset 0 0 0 1px var(--site-cobalt); transform: none; }
.areagrid__fine { margin-top: 24px; }
@media (min-width: 641px) {
  .areagrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
  .areagrid > li { gap: 14px; padding: 26px 0 28px; }
  .areagrid h3 { font-size: 26px; line-height: 1.1; padding-right: 0; }
  .areagrid > li > div:has(.chips) .areagrid__k { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .areagrid > li > div:has(.chips--tool) { display: block; }
  .areagrid .link-arrow { display: inline-flex; height: auto; margin-top: auto; padding-top: 4px; font-size: 14px; }
  .areagrid .link-arrow::after { position: static; width: auto; height: auto; display: inline; font-size: inherit; box-shadow: none; background: none; border-radius: 0; }
  .areagrid .link-arrow::before { content: none; }
  .areagrid .link-arrow:focus-visible { outline: 2px solid var(--site-cobalt); }
  .areagrid > li:hover .link-arrow::after { box-shadow: none; }
}
@media (min-width: 1101px) { .areagrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .areagrid h3 { font-size: 28px; } }

/* ---------- Quattro passi che avanzano da soli ---------- */
.how__steps li { position: relative; transition: color 0.35s ease; }
.how__steps li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--site-cobalt); transform: scaleX(0); transform-origin: 0 50%; }
.how__steps li.is-on::after { transform: none; }
.how__steps li.is-on > span { color: var(--site-cobalt); }
.how__steps.is-auto li:not(.is-on) b { color: var(--site-ink-2); }
.how__steps.is-auto li.is-on::after { animation: step-prog var(--d, 5s) linear both; }
@keyframes step-prog { from { transform: scaleX(0); } to { transform: none; } }
.howx { display: grid; align-items: center; }
.howx > .howp { grid-area: 1 / 1; min-width: 0; transition: opacity 0.45s ease, transform 0.45s var(--ease-out), visibility 0s linear 0s; }
.howx > .howp.is-off { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s; }
.howx > .appwin { justify-self: center; width: 100%; max-width: 440px; }
.howx > .howx__toast { grid-area: 1 / 1; justify-self: center; align-self: end; margin-bottom: -22px; z-index: 2; transition: opacity 0.4s ease, transform 0.5s var(--ease-out); }
.howx__toast.is-off { opacity: 0; transform: translateY(10px); }
.how__ui { position: relative; }

/* ---------- Il CV che si compone ---------- */
.cvb { transition: opacity 0.45s ease, transform 0.45s var(--ease-out); border-radius: 2px; }
.cvpage.is-compose .cvb.is-pre { opacity: 0; transform: translateY(6px); }
.cvb.is-lock { animation: cv-lock 1.1s ease-out; }
@keyframes cv-lock {
  0% { box-shadow: 0 0 0 calc(2px / var(--k, 1)) var(--site-cobalt); background-color: rgba(42, 68, 224, 0.07); }
  100% { box-shadow: 0 0 0 calc(2px / var(--k, 1)) rgba(42, 68, 224, 0); background-color: rgba(42, 68, 224, 0); }
}
.cvpage { transition: opacity 0.4s ease; }
.cvpage.is-fade { opacity: 0; }
/* Righe con più versioni: stanno nella stessa cella (altezza riservata, niente salti) */
/* Le pagine generate non hanno la classe .js: le barrette partono nascoste solo dove anima site.js */
.cv-anim .cvpage .adapted::after { transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease-out); }
.cv-anim .cvpage .adapted.is-mk::after { transform: none; }
.cvsl { display: grid; }
.cvsl > .cvv { grid-area: 1 / 1; border-radius: 2px; text-decoration: line-through; text-decoration-color: transparent;
  transition: opacity 0.3s ease, color 0.25s ease, background-color 0.4s ease, text-decoration-color 0.25s ease; }
.cvsl > .cvv:not(.is-on) { visibility: hidden; }
.cvv.is-cut { color: var(--lo, #b3261e); background-color: var(--lo-bg, #fbe9e7); text-decoration-color: var(--lo, #b3261e); }
.cvv.is-out { opacity: 0; }
.cvv.is-ins { background-color: rgba(42, 68, 224, 0.1); }
.cvv.is-typing .ch { opacity: 0; }
.cvv.is-typing .ch.v { opacity: 1; }
.cvx__chip.is-adapting .cvx__chip-k::after { content: " · adatto il CV"; }

/* ---------- Cobalto pieno a metà delle pagine lunghe ---------- */
/* Testo bianco su Cobalto 7:1; fonte in --accent-on-dark 4.6:1. Al massimo uno per pagina
   oltre alla fascia finale, mai attaccato a un'altra fascia Cobalto. */
.blu-card { background: var(--site-cobalt); color: #fff; border-radius: 18px; padding: 28px 32px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; align-items: center; }
.prose .blu-card { margin-block: 2.2em; }
.blu-card .blu-card__n { margin: 0; font-family: var(--site-serif); font-weight: 500; font-size: 76px; line-height: 0.9; letter-spacing: -0.04em; color: #fff; white-space: nowrap; }
.blu-card__t { display: grid; gap: 10px; }
.prose .blu-card__t > * + * { margin-top: 0; }
.blu-card p { margin: 0; color: #fff; font-size: 16px; line-height: 1.55; }
.blu-card b, .prose .blu-card b { color: #fff; font-weight: 600; }
.blu-card .blu-card__src { font-size: 13px; color: var(--accent-on-dark, #c7d0ff); }
.blu-card a, .prose .blu-card a { color: #fff; }
.blu-card :focus-visible { outline-color: #fff; }
@media (max-width: 640px) { .blu-card { grid-template-columns: minmax(0, 1fr); padding: 22px; } .blu-card .blu-card__n { font-size: 60px; } }

.blu-band { background: var(--site-cobalt); color: #fff; padding-block: 104px; }
.blu-band .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: center; }
.blu-band .kicker { color: var(--accent-on-dark, #c7d0ff); font-size: 12px; margin: 0 0 14px; }
.blu-band .kicker::before { background: #fff; }
.blu-band .blu-band__n { margin: 0; font-family: var(--site-serif); font-weight: 500; font-size: 168px; line-height: 0.85; letter-spacing: -0.05em; color: #fff; white-space: nowrap; }
.blu-band .blu-band__n small { font-size: 0.45em; letter-spacing: 0; }
.blu-band h2 { color: #fff; font-size: 34px; line-height: 1.15; max-width: 22ch; }
.blu-band p { color: #fff; font-size: 17px; max-width: 52ch; margin-top: 16px; }
.blu-band .blu-band__src { font-size: 13px; color: var(--accent-on-dark, #c7d0ff); }
.blu-band a { color: #fff; }
.blu-band :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .blu-band { padding-block: 72px; } .blu-band .wrap { grid-template-columns: minmax(0, 1fr); } .blu-band .blu-band__n { font-size: 112px; } .blu-band h2 { font-size: 26px; } }

/* Home: il CV si compone su un palco Cobalto (finestra bianca sopra il blu) */
.cvx__stage--blu { background: var(--site-cobalt); }
.cvx__stage--blu .cvmini { box-shadow: 0 2px 4px rgba(8, 14, 60, 0.18), 0 28px 64px rgba(8, 14, 60, 0.35); }
.cvx__stage--blu .cvx__dots i { background: rgba(255, 255, 255, 0.45); }
.cvx__stage--blu .cvx__dots i.on { background: var(--site-cobalt); }

@media (prefers-reduced-motion: reduce) {
  .how__steps.is-auto li.is-on::after, .cvb.is-lock { animation: none; }
}

/* =====================================================================
   Revisione telefono (30 nov 2026, "mobile first")
   Standard di Alex: al telefono deve sembrare un prodotto pensato per il
   telefono, non un desktop ristretto. Qui le correzioni dei blocchi già
   esistenti; i blocchi riscritti (footer, sezioni, aree, confronto prezzi)
   sono mobile first al loro posto.
   ===================================================================== */

/* Testo: niente parole spezzate, a capo più equilibrati */
p, li, dd, figcaption { text-wrap: pretty; }
body { hyphens: manual; overflow-wrap: break-word; }

/* Visual decorativi delle testate che al telefono spingono giù quello che serve
   (piani, modulo, risposte): nascosti fino a 1100px, dove la testata è in colonna. */
@media (max-width: 1100px) { .hero-s__visual--desk { display: none; } }

/* Il cursore finto ha senso solo con un mouse */
@media (hover: none), (max-width: 720px) { .hcur { display: none; } }

@media (max-width: 720px) {
  /* Hero della home: foto più bassa, la finestra dell'app le si appoggia sopra
     senza lasciare un rettangolo di foto vuoto */
  .hx { padding-top: 20px; }
  .hx h1 { font-size: clamp(36px, 11.2vw, 46px); line-height: 1.02; }
  .hx__top .lead { font-size: 16px; line-height: 1.55; margin-top: 16px; max-width: 34ch; }
  .hx__actions { margin-top: 22px; gap: 4px 24px; flex-direction: column; width: 100%; }
  .hx__actions .btn { width: 100%; max-width: 340px; --btn-h: 52px; }
  .hx__actions .link-arrow { min-height: 44px; }
  .hx__fine { margin-top: 4px; }
  /* La foto resta come una fascia bassa: la finestra dell'app (il prodotto)
     comincia già nel primo schermo, subito sotto i pulsanti */
  .shot { margin-top: 24px; }
  .shot__photo img { height: 190px; object-position: 30% 62%; border-radius: 18px; }
  .shot__ui { margin: -118px 8px 0; }
  .shot__toast { left: 12px; top: 12px; }
  .toast2 { font-size: 12px; padding: 10px 14px; }

  /* Tre dati: numero e testo più vicini, meno altezza */
  .facts { padding-block: 56px 0; }
  .facts__head { margin-bottom: 20px; }
  .facts__list { gap: 20px; }
  .facts__list li { padding-top: 16px; gap: 6px; }
  .facts__n { font-size: 58px; margin-bottom: 2px; }
  .facts__list b { font-size: 17px; }
  .facts__src { display: inline-flex; align-items: center; min-height: 44px; }

  /* Il problema */
  .problem2__head h2 { font-size: 30px; }
  .problem2__list li { padding: 16px 0; }

  /* Prima e dopo: niente ritratto alto quasi uno schermo, la scheda è la protagonista */
  .sugx__photo img { height: 200px; object-position: 50% 28%; }
  .sugcard { margin: -48px 8px 0; padding: 18px; border-radius: 16px; }
  .example__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  .example__tabs::-webkit-scrollbar { display: none; }
  .example__tabs button { min-height: 40px; flex: none; }
  .sugcard__acts { margin-top: 20px; padding-top: 16px; }
  .sugcard__acts .btn { --btn-h: 44px; }
  /* Mentre il suggerimento si scrive i pulsanti restano al loro posto, attenuati:
     al telefono sparire lasciava un riquadro bianco vuoto sotto il testo */
  .sugcard.is-writing .sugcard__acts, .pv-ba.is-writing .pv-acts { opacity: 0.4; transform: none; }
  .sugx__why { margin-top: 32px !important; gap: 16px !important; }

  /* Come funziona (home): titolo → finestra → passi, così la finestra che cambia
     e il passo acceso si vedono insieme */
  .how__text { display: contents; }
  .how__text .section-head { order: 1; margin-bottom: 0; }
  .how__ui { order: 2; }
  .how__steps { order: 3; margin: 0; }
  .how__text > .link-arrow, .how__text > .how__acts { order: 4; }
  .how__in { gap: 20px; }
  .how__steps li { padding: 12px 0; }
  .how__ui { padding: 16px 8px 28px; }
  /* La tabella è il pannello più alto e decide l'altezza del palco: al telefono
     4 righe bastano, così profilo e scheda annuncio non galleggiano nel vuoto */
  .how .rows2 .row2:nth-child(n+4) { display: none; }
  /* Scheda annuncio: il primo requisito già coperto basta mostrarlo nel testo;
     restano quelli che cambiano (Analytics che diventa «Coperto», Inglese che manca).
     Così i tre pannelli hanno altezze vicine e il palco non ha vuoti grigi. */
  .how [data-howreq] .req2:nth-child(-n+2) { display: none; }
  /* Tabella: al telefono contano le righe con lo stato; i quattro totali restano
     da 721px in su. Così i tre pannelli sono alti quasi uguali (390–430px). */
  .how [data-table] .kpis2 { display: none; }
  .how .apptable__h b { font-size: 22px; }

  /* Il CV della home: al telefono un A4 intero è una miniatura illeggibile.
     Si ingrandisce la parte che conta (intestazione, profilo, esperienze con le
     barrette blu) e si taglia il resto con una sfumatura. */
  .cvx__stage { padding: 16px 12px 0; gap: 12px; justify-content: flex-start; }
  /* Si inquadra la colonna principale (nome, profilo, esperienze con le barrette
     blu) a tutta larghezza; la colonna laterale resta fuori campo e nascosta,
     così non spunta tagliata sul bordo. */
  .cvx__stage .cvmini .cvpage { left: calc(-26px * var(--k)); }
  .cvx__stage .cvmini .cvside { visibility: hidden; }
  .cvx__stage .cvmini { --k: 0.85; width: 100%; height: 420px; border-radius: 4px 4px 0 0;
    -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .cvx__chip { align-self: stretch; justify-content: flex-start; }

  /* Esempi e guide: il CV in miniatura occupa tutta la larghezza utile */
  .stage--cv { padding: 16px 8px; }
  .cvmini--s { --k: 0.54; }

  /* Fascia Cobalto e blocchi Cobalto proporzionati al telefono */
  .cta-band { padding-block: 56px calc(56px + env(safe-area-inset-bottom, 0px)); }
  .cta-band h2 { font-size: 34px; line-height: 1.05; }
  .cta-band p { font-size: 16px; }
  .cta-band .btn { width: 100%; --btn-h: 52px; }
  .blu-band { padding-block: 56px; }
  .blu-band .blu-band__n { font-size: 88px; }
  .blu-band h2 { font-size: 26px; }
  .blu-band p { font-size: 16px; }
  .blu-card .blu-card__n { font-size: 56px; }

  /* Piani: card identiche, un po' più compatte */
  .plans--3 .plan { padding: 20px; row-gap: 12px; }
  .plan__price { font-size: 34px; }
  .plan ul { gap: 8px; padding-top: 14px; }
  .plans--3 .plan .btn { width: 100%; --btn-h: 48px; }

  /* Domande frequenti: tutta la riga è il bersaglio */
  .faq summary { padding: 16px 36px 16px 0; min-height: 52px; }
  .faq summary::after { top: 22px; }
  .faq details[open] summary::after { top: 26px; }
  .faq__a { padding-right: 0; }

  /* Come funziona (pagina): passi più compatti */
  .flow--alt > li { padding-block: 36px; gap: 20px; }
  .flow--alt .flow__t { font-size: 24px; }

  /* Contatti e 404 */
  .contact { gap: 40px; }
  .notfound { padding-block: 32px 56px; }
  .notfound li a { min-height: 48px; align-items: center; }

  /* Testi lunghi */
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; margin-top: 1.8em; }
  /* Indice della pagina e link con freccia: bersagli alti 44px per il pollice */
  .toc a, .doc__aside .toc a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  .link-arrow { min-height: 44px; }
  .areagrid .link-arrow { min-height: 0; }
  .doc__aside .toc { padding: 14px 18px; }
}

@media (max-width: 380px) {
  .cvx__stage .cvmini { --k: 0.8; height: 400px; }
  .cvmini--s { --k: 0.5; }
}
@media (min-width: 420px) and (max-width: 720px) { .cvmini--s { --k: 0.6; } .cvx__stage .cvmini { --k: 0.95; height: 460px; } }
@media (min-width: 721px) and (max-width: 1100px) {
  /* Tablet: i tre dati restano su tre colonne senza uscire dalla pagina */
  .facts__n { font-size: clamp(64px, 9vw, 96px); }
  .example__tabs button { min-height: 40px; }
  /* Tablet: niente colonne strette con molta aria intorno */
  .cvx__stage { min-height: 0; padding: 40px 24px; }
  /* Come funziona: anche sul tablet titolo → finestra → passi, così il pannello
     che cambia e il passo acceso stanno nello stesso schermo */
  .how__text { display: contents; }
  .how__text .section-head { order: 1; margin-bottom: 0; }
  .how__ui { order: 2; padding: 28px 24px 40px; }
  .how__steps { order: 3; margin: 0; }
  .how__text > .link-arrow, .how__text > .how__acts { order: 4; }
  .how__in { gap: 28px; }
}

/* Esempi e guide al telefono: come il CV della home, niente A4 intero a mezza
   scala (illeggibile). Si inquadra la colonna principale a tutta larghezza,
   leggibile, e il resto sfuma; il testo completo del CV è nella pagina. */
@media (max-width: 720px) {
  .stage--cv { padding: 16px 12px 0; overflow: hidden; }
  .stage--cv .cvstack { width: 100%; }
  .stage--cv .cvmini { --k: 0.85; width: 100%; height: 420px; border-radius: 4px 4px 0 0;
    -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .stage--cv .cvmini .cvpage { left: calc(-26px * var(--k)); }
  .stage--cv .cvmini .cvside { visibility: hidden; }
  /* Il profilo occupa tutta la pagina A4: lo si stringe alla parte inquadrata,
     così non resta tagliato sul bordo destro (100cqw = larghezza della cornice) */
  .stage--cv .cvmini, .cvx__stage .cvmini { container-type: inline-size; }
  .stage--cv .cvmini .cvpf, .cvx__stage .cvmini .cvpf { max-width: calc(100cqw / var(--k) - 22px); }
}
@media (max-width: 380px) { .stage--cv .cvmini { --k: 0.8; height: 400px; } }
@media (min-width: 420px) and (max-width: 720px) { .stage--cv .cvmini { --k: 0.95; height: 460px; } }

/* Percorso nelle finestre d'esempio: se non c'è spazio si tronca con «…» invece di tagliarsi */
.appwin__crumb { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appwin__crumb img { display: inline-block; vertical-align: -4px; margin-right: 8px; }
.appwin__crumb i { margin: 0 6px; }

/* ---------- Fase 2: pagine mestiere e indice degli esempi raggruppato (dic 2026) ----------
   Tutto a una colonna, mobile first: niente tabelle, niente righe più larghe dello schermo. */
.prose .note ul { margin-top: 6px; }
.prose .dove { font-size: 14px; color: var(--site-ink-3); margin-top: 0.4em; }
.prose .dove strong { color: var(--site-ink-2); }
.prose ul.comp { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.prose ul.comp li { margin: 0; padding: 10px 0 0; border-top: 1px solid var(--site-line); display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.prose ul.comp li span { font-size: 15px; }
.prose .var-profilo { font-family: var(--site-serif); font-size: 18px; line-height: 1.5; color: var(--site-ink);
  padding-left: 16px; border-left: 2px solid var(--site-cobalt); }
.prose .var-profilo span { display: block; font-family: var(--site-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--site-ink-3); margin-bottom: 4px; }
.es-index { max-width: 72ch; }
.es-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.es-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--site-line);
  border-radius: 999px; background: var(--site-surface); color: var(--site-ink); text-decoration: none; font-size: 14px; line-height: 1.2; }
.es-chips a:hover { border-color: var(--site-ink); }
.es-index h2 { font-size: 28px; margin-top: 48px; scroll-margin-top: calc(var(--site-h) + 24px); }
.es-index h3 { font-size: 17px; margin-top: 24px; color: var(--site-ink-2); }
.es-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 0; }
.es-list li { border-top: 1px solid var(--site-line); padding: 14px 0; display: grid; gap: 4px; min-width: 0; }
.es-list a { font-weight: 600; color: var(--site-ink); text-decoration: none; font-size: 17px; overflow-wrap: anywhere; }
.es-list a:hover { text-decoration: underline; }
.es-list span { color: var(--site-ink-2); font-size: 15px; line-height: 1.5; }
.es-fam { font-size: 14px; margin-top: 4px; }
.es-index > p { margin-top: 40px; color: var(--site-ink-2); line-height: 1.7; }
@media (max-width: 640px) { .es-index h2 { font-size: 24px; margin-top: 40px; } }

/* Domanda vera sul requisito (dic 2026): sta sotto il nome a tutte le larghezze, così il nome non si schiaccia;
   Sì e No restano insieme (.q-btns) anche quando la domanda va a capo */
.req2 { row-gap: 6px; }
.req2__q { grid-column: 2 / -1; justify-items: start; white-space: normal; min-width: 0; }
.q-ask { flex-wrap: wrap; justify-content: flex-start; row-gap: 4px; text-align: left; }
.q-btns { display: inline-flex; gap: 6px; }

/* ---------- Inviti a provare (dic 2026) ----------
   .btn--cta       pulsante d'invito: può andare a capo, al telefono non esce mai dallo schermo
   .hero-s__cta-riga  riga accanto al pulsante nella testata
   .cta-in         riquadro a metà pagina, dentro il testo
   .cta-bar        barra fissa in basso, solo al telefono: la mostra site.js dopo la testata
                   e la nasconde quando arriva la chiusura (.cta-band) o il footer */
.btn--cta { white-space: normal; height: auto; min-height: var(--btn-h); padding-block: 10px; text-align: center; line-height: 1.25; max-width: 100%; }
.hero-s__cta-riga { flex: 1 1 240px; max-width: 40ch; margin: 0; font-size: 14px; line-height: 1.45; color: var(--site-ink-2); }
.hero-s__actions .fine { flex-basis: 100%; margin: 0; }
.cta-in { margin: 36px 0; padding: 22px 24px; border-radius: 16px; background: var(--site-cobalt-tint); border: 1px solid var(--site-cobalt-tint-2); display: grid; gap: 10px; justify-items: start; }
.cta-in p { margin: 0; }
.cta-in .cta-in__t { font-family: var(--site-serif); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--site-ink); }
.cta-in .btn { margin-top: 6px; color: var(--on-accent, #fff); text-decoration: none; }
.cta-bar { display: none; }
@media (max-width: 720px) {
  .hero-s__actions .btn--cta { width: 100%; }
  .hero-s__cta-riga { flex-basis: 100%; max-width: none; }
  .cta-in { padding: 18px; margin: 28px 0; }
  .cta-in .cta-in__t { font-size: 20px; }
  .cta-in .btn { width: 100%; }
  .cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(250, 250, 248, 0.96); border-top: 1px solid var(--site-line);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.22s var(--ease-out, ease), visibility 0s linear 0.22s; }
  .cta-bar.is-on { transform: none; visibility: visible; transition: transform 0.22s var(--ease-out, ease), visibility 0s; }
  .cta-bar .btn { width: 100%; --btn-h: 48px; }
  /* La barra sparisce prima del footer; solo senza IntersectionObserver resta sopra il footer:
     in quel caso il footer si allunga, così non copre l'ultima riga */
  body.has-cta-bar .site-f { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  body.menu-open .cta-bar { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .cta-bar, .cta-bar.is-on { transition: none; } }
.how__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.how__acts .link-arrow { margin-top: 0; }
@media (max-width: 720px) { .how__acts .btn { width: 100%; } }
