/* Borsino Agricolo — pagine pubbliche (sito IT/EN). Si carica dopo borsino.css e ne usa SOLO le variabili di :root:
   nessun colore scritto qui (docs/manifesto-grafico.md §2, §7). Mobile prima di tutto: le regole larghe sono in fondo. */

body.pub { font-size: 16px; line-height: 1.6; background: var(--paper); color: var(--navy-ink); overflow-x: hidden; }
.pub h1, .pub h2, .pub h3 { color: var(--navy-ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* una colonna di lettura (circa 72 caratteri) per le pagine di testo */
.pub-col { max-width: 72ch; margin: 0 auto; padding: 0 16px; }
.pub-narrow { max-width: 56ch; }
.pub-main > article.card { max-width: 80ch; margin: 32px 16px; padding: 24px 20px; }

/* ── salto al contenuto, visibile solo con la tastiera */
.pub-skip { position: absolute; left: 16px; top: -48px; background: var(--navy); color: var(--paper); padding: 8px 12px;
  border-radius: var(--radius); z-index: 60; }
.pub-skip:focus { top: 8px; color: var(--paper); }

/* ── testata verde (continua nella fascia d'apertura) */
.pub-header { background: var(--forest-deep); color: var(--on-dark); position: relative; z-index: 5; }
.pub-bar { max-width: 1200px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.pub-bar .logo .ico-logo { color: var(--forest-line); width: 34px; height: 34px; }
.pub-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; }
.pub-nav > a:not(.btn) { color: var(--on-dark-soft); text-decoration: none; font-weight: 500; }
.pub-nav > a:not(.btn):hover { color: var(--paper); }
.pub-nav-how, .pub-nav-cta { display: none; }
.pub-nav .btn-light { box-shadow: none; }
.pub-lang { display: inline-flex; border: 1px solid var(--forest-mid); border-radius: var(--radius); overflow: hidden; }
.pub-lang a { padding: 3px 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--on-dark-soft); text-decoration: none; }
.pub-lang a + a { border-left: 1px solid var(--forest-mid); }
.pub-lang a:hover { color: var(--paper); }
.pub-lang a[aria-current] { background: var(--forest-mid); color: var(--paper); }

/* ── fascia d'apertura */
.hero { position: relative; background: var(--forest-deep); color: var(--on-dark); padding: 20px 0 128px; overflow: hidden; }
.hero-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: grid; gap: 28px; align-items: center; position: relative; z-index: 1; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--scrim); border: 1px solid var(--forest-mid); color: var(--on-dark); font-size: 13px; font-weight: 500; }
.hero-kicker .ico { width: 16px; height: 16px; color: var(--wheat); }
.pub .hero h1 { color: var(--paper); font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 17ch; }
.hero-lead { font-size: 17px; line-height: 1.55; color: var(--on-dark-soft); margin: 0 0 26px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-actions .btn-light .ico { width: 18px; height: 18px; }
.hero-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--scrim); border: 1px solid var(--scrim-strong); color: var(--on-dark); font-size: 13px; font-weight: 500; line-height: 1.3; }
.hero-pills .ico { width: 16px; height: 16px; color: var(--wheat); }
.hero-art { display: none; }
.landscape { width: 100%; height: auto; overflow: visible; }
.landscape .ls-line { fill: none; stroke: var(--forest-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.landscape .ls-soft { fill: none; stroke: var(--forest-mid); stroke-width: 1.5; stroke-linecap: round; }
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--paper); }

/* ── anteprima del prodotto (numeri di esempio, dichiarati) */
.showcase { position: relative; z-index: 2; margin-top: -96px; }
.showcase-in { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.win { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.win-title { flex: 1; font-size: 12.5px; color: var(--slate-soft); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-sample { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber);
  background: var(--amber-soft); border: 1px solid var(--amber-line); padding: 2px 9px; border-radius: 999px; }
.win-top { display: flex; align-items: center; gap: 18px; padding: 0 16px; background: var(--navy); color: var(--paper); overflow: hidden; }
.win-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 9px 0; white-space: nowrap; }
.win-logo .ico-logo { width: 20px; height: 20px; color: var(--forest-line); }
.win-tab { display: none; font-size: 12.5px; color: var(--line-strong); padding: 10px 0 8px; border-bottom: 2px solid transparent; white-space: nowrap; }
.win-tab.is-on { display: inline-block; color: var(--paper); border-bottom-color: var(--wheat); }
.win-grid { display: grid; gap: 14px; padding: 14px; background: var(--panel); }
.win-main { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.win-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.win-head strong { font-size: 14px; }
.win-chip { font-size: 11.5px; color: var(--slate); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.win-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.win-table th { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-soft); background: var(--panel);
  text-align: left; padding: 7px 10px; white-space: nowrap; }
.win-table th.num { text-align: right; }
.win-table td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.win-table tbody tr:nth-child(even) td { background: var(--zebra); }
.win-table .badge { font-size: 11px; padding: 0 8px 0 7px; }
.win-prod { display: block; font-weight: 500; line-height: 1.3; }
.win-grade { display: block; font-size: 11.5px; color: var(--slate-soft); line-height: 1.3; }
.win-hide-sm, .win-hide-xs { display: none; }
@media (min-width: 420px) { .win-hide-xs { display: table-cell; } }
.win-side { display: none; }
.win-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.win-card-head { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.win-card-head .ico { width: 34px; height: 34px; padding: 8px; border-radius: var(--radius); background: var(--forest-soft); color: var(--forest); }
.win-card-head strong { display: block; font-size: 14px; line-height: 1.3; }
.win-card-head span { display: block; font-size: 12px; color: var(--slate-soft); }
.win-steps { list-style: none; margin: 10px 0 12px; padding: 0; }
.win-steps li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--slate-soft); }
.win-steps li .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--forest); color: var(--paper); stroke-width: 2.5; }
.win-steps li.is-done { color: var(--forest); font-weight: 500; }
.win-steps li.is-now { color: var(--navy-ink); font-weight: 600; }
.win-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; background: var(--paper); }
.win-steps li.is-now .win-dot { border-color: var(--amber-strong); background: var(--amber-soft); box-shadow: 0 0 0 3px var(--amber-soft); }
.win-btn { display: block; text-align: center; background: var(--navy); color: var(--paper); font-size: 13px; font-weight: 600; padding: 9px 10px; border-radius: var(--radius); }

.phone { display: none; }
.phone-screen { height: 100%; border-radius: 22px; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.ph-hero { position: relative; background: var(--forest-deep); color: var(--on-dark); padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ph-logo { display: flex; align-items: center; gap: 6px; }
.ph-logo .ico-logo { width: 18px; height: 18px; color: var(--forest-line); }
.ph-logo b { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.05; }
.ph-title { font-size: 14px; font-weight: 700; line-height: 1.15; color: var(--paper); letter-spacing: -0.01em; }
.ph-btn { align-self: flex-start; background: var(--paper); color: var(--forest-ink); font-size: 10.5px; font-weight: 600; padding: 5px 10px; border-radius: 5px; }
.ph-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; padding: 2px 7px 2px 5px; border-radius: 999px; background: var(--scrim); border: 1px solid var(--scrim-strong); }
.ph-pill .ico { width: 11px; height: 11px; color: var(--wheat); }
.ph-art { width: 100%; height: 44px; }
.ph-art path, .ph-art circle { fill: none; stroke: var(--forest-line); stroke-width: 1.2; stroke-linecap: round; }
.ph-body { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.ph-sample { align-self: flex-start; font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: var(--amber-soft); border: 1px solid var(--amber-line); padding: 1px 6px; border-radius: 999px; }
.ph-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; }
.ph-card b { display: block; font-size: 11px; }
.ph-card i { display: block; font-style: normal; font-size: 10px; color: var(--slate); font-variant-numeric: tabular-nums; }
.ph-card em { display: inline-block; font-style: normal; font-size: 9px; font-weight: 600; color: var(--forest); background: var(--forest-soft); border-radius: 999px; padding: 0 6px; margin-top: 3px; }
.ph-cta { display: block; text-align: center; background: var(--forest); color: var(--paper); font-size: 11px; font-weight: 600; padding: 8px; border-radius: 6px; margin-top: 2px; }
.showcase-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px auto 0; padding: 0 16px; max-width: 1120px;
  font-size: 13px; color: var(--slate-soft); text-align: center; }
.showcase-note .ico { width: 16px; height: 16px; flex: none; }

/* ── i tre fatti */
.facts { padding: 40px 0 8px; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.fact-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-lg); background: var(--forest-soft); color: var(--forest); }
.fact-ico .ico { width: 24px; height: 24px; stroke-width: 1.6; }
.facts-list h3 { font-size: 16px; margin: 2px 0 4px; }
.facts-list p { margin: 0; font-size: 14.5px; color: var(--slate); }

/* ── sezioni */
.sec { padding: 56px 0; }
.sec-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 32px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); margin: 0 0 10px; }
.pub .sec-head h2 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.sec-lead { font-size: 17px; color: var(--slate); margin: 0; }

/* «Come funziona»: percorso a passi */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.path li { position: relative; padding: 0 0 28px 76px; min-height: 56px; }
.path li:last-child { padding-bottom: 0; }
.path li::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; border-left: 2px dashed var(--line-strong); }
.path li:last-child::after { display: none; }
.path-ico { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--forest); color: var(--paper); box-shadow: 0 0 0 6px var(--forest-soft); }
.path-ico .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.path-n { position: absolute; left: 38px; top: -6px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--wheat); color: var(--forest-ink); font-size: 12px; font-weight: 700; border: 2px solid var(--paper); font-variant-numeric: tabular-nums; }
.pub .path h3 { font-size: 18px; margin: 4px 0 6px; }
.path p { margin: 0; color: var(--slate); font-size: 15px; }
.path-note { margin-top: 36px; }

/* «Per chi vende / Per chi compra» */
.duo { display: grid; gap: 20px; }
.duo-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.duo-art { height: 190px; display: flex; justify-content: center; align-items: flex-end; border-bottom: 1px solid var(--line); background: var(--forest-tint); overflow: hidden; }
.duo-art-table { align-items: center; background: var(--panel); }
.mini-phone { width: 168px; height: 170px; background: var(--paper); border: 7px solid var(--navy-ink); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-md); }
.mp-bar { align-self: center; width: 36px; height: 4px; border-radius: 4px; background: var(--line-strong); margin-bottom: 2px; }
.mp-title { font-size: 13px; font-weight: 700; }
.mp-field { display: block; border: 1px solid var(--line-strong); border-radius: 5px; padding: 4px 8px; }
.mp-field i { display: block; font-style: normal; font-size: 9.5px; color: var(--slate-soft); line-height: 1.3; }
.mp-field b { display: block; font-size: 12px; line-height: 1.3; }
.mp-btn { display: block; text-align: center; background: var(--forest); color: var(--paper); font-size: 12px; font-weight: 600; padding: 8px; border-radius: 5px; }
.mini-table { width: min(82%, 340px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.mt-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.mt-row i { display: block; height: 7px; border-radius: 4px; background: var(--line); }
.mt-row i:nth-child(2), .mt-row i:nth-child(3) { margin-left: 30%; }
.mt-row b { display: block; height: 14px; border-radius: 999px; background: var(--forest-soft); }
.mt-head { background: var(--panel); border-top: 0; }
.mt-head i { background: var(--line-strong); height: 6px; }
.mt-row.is-hi { background: var(--forest-tint); box-shadow: inset 3px 0 0 var(--forest); }
.mt-row.is-hi i { background: var(--forest-line); }
.duo-copy { padding: 22px 22px 24px; }
.pub .duo-copy h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 12px; }
.duo-copy h3 .ico { width: 22px; height: 22px; color: var(--forest); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; padding: 6px 0; color: var(--slate); font-size: 15px; }
.ticks li .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--forest); stroke-width: 2.2; }

/* «Cosa non facciamo»: riquadro di fiducia */
.trust { background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: 26px 20px; box-shadow: var(--shadow-md); }
.trust-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.trust-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-lg); background: var(--navy-hover); color: var(--wheat); }
.trust-ico .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.pub .trust h2 { color: var(--paper); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.trust-head p { margin: 0; color: var(--line-strong); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust-list li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--navy-line); border-radius: var(--radius); background: var(--navy-deep); }
.trust-list .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--wheat); }
.trust-list strong { display: block; color: var(--paper); font-weight: 600; margin-bottom: 2px; }
.trust-list span { display: block; color: var(--line-strong); font-size: 14.5px; }

/* ── richiesta d'accesso: scheda + colonna laterale */
.apply { display: grid; gap: 20px; align-items: start; }
.apply-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 20px 16px; min-width: 0; }
.apply .pub-form > fieldset { border: 0; border-radius: 0; padding: 18px 0 0; border-top: 1px solid var(--line); background: none; }
.apply .pub-form > fieldset:first-of-type { border-top: 0; padding-top: 0; }
.apply .pub-form > fieldset > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; color: var(--forest); }
.apply .pub-form > fieldset > legend + * { clear: both; }
.apply .pub-btn { width: 100%; }
.apply-aside { background: var(--forest-deep); color: var(--on-dark); border-radius: var(--radius-lg); padding: 22px 20px; }
.pub .apply-aside h3 { color: var(--paper); font-size: 17px; margin: 0 0 12px; }
.apply-steps { list-style: none; margin: 0 0 8px; padding: 0; }
.apply-steps li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--forest-hover); }
.apply-steps li:last-child { border-bottom: 0; }
.apply-steps span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--wheat); color: var(--forest-ink);
  font-size: 13px; font-weight: 700; }
.apply-steps p { margin: 0; color: var(--on-dark); font-size: 14.5px; }
.apply-note { display: flex; gap: 10px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--forest-hover); font-size: 13.5px; color: var(--on-dark-soft); }
.apply-note .ico { width: 18px; height: 18px; color: var(--wheat); margin-top: 1px; }

/* ── modulo compatto (17/10/2026: «troppo ampio»): griglia di campi, ruolo a segmenti, prodotti a pastiglie */
.pub-form-compact { gap: 14px; }
.pub-form-compact fieldset { gap: 10px; }
.apply .pub-form-compact > fieldset { padding-top: 12px; }
.apply .pub-form-compact > fieldset > legend { margin-bottom: 8px; }
.pub-form-compact .field label, .pub-form-compact .label { font-size: 13px; margin-bottom: 3px; }
.pub-form-compact input[type=text], .pub-form-compact input[type=email], .pub-form-compact input[type=tel] { min-height: 40px; font-size: 15px; }
.pub-form-compact .help { margin-top: 2px; }
.fgrid { display: grid; gap: 10px 12px; grid-template-columns: 1fr; }
.fgrid > .field { min-width: 0; }
.upper { text-transform: uppercase; }
.seg { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; font-size: 14px; color: var(--navy-ink); background: var(--paper); }
.seg label + label { border-top: 1px solid var(--line); }
.seg label:has(input:checked) { background: var(--forest-tint); color: var(--forest-ink); font-weight: 600; }
.seg input { accent-color: var(--forest); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13.5px; color: var(--navy-ink); background: var(--paper); cursor: pointer; }
.chip:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); color: var(--forest-ink); }
.chip input { accent-color: var(--forest); margin: 0; width: 15px; height: 15px; }
.pub-form-end { display: grid; gap: 12px; align-items: center; padding-top: 4px; }
.pub-form-end .field { margin: 0; }

/* ── pagine pubbliche di servizio (demo, conferme, segnalazione) */
.pub-hero { background: var(--forest-deep); color: var(--on-dark); padding: 32px 0 40px; }
.pub-kicker { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--wheat); margin: 0 0 10px; }
.pub .pub-hero h1 { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--paper); }
.pub-lead { font-size: 17px; color: var(--on-dark-soft); margin-bottom: 0; }
.pub .pub-btn { min-height: 48px; font-size: 16px; padding: 0 20px; }
.pub-section { padding: 32px 0 48px; }
.pub-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pub-sub { color: var(--slate); margin-bottom: 20px; }
.pub-section h1 { font-size: 28px; letter-spacing: -0.02em; }

/* passi numerati (pagine di conferma) */
.pub-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: passo; }
.pub-steps > li { counter-increment: passo; position: relative; padding: 0 0 16px 44px; }
.pub-steps > li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 28px; height: 28px;
  display: grid; place-items: center; background: var(--forest); color: var(--paper); border-radius: 50%;
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pub-steps > li + li { border-top: 1px solid var(--line); padding-top: 16px; }
.pub-steps > li + li::before { top: 16px; }
.pub-steps h3 { margin: 2px 0 4px; }
.pub-steps p { margin: 0; color: var(--slate); }
.pub-steps-compact > li { padding-bottom: 10px; }
.pub-steps-compact > li + li { padding-top: 10px; }
.pub-steps-compact > li + li::before { top: 10px; }
.pub-steps-compact p { color: var(--navy-ink); padding-top: 2px; }
.pub-note { margin: 0; }

.pub-split { display: grid; gap: 16px; }
.pub-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.pub-panel h3 { padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.pub-list { margin: 0; padding: 0 0 0 18px; color: var(--slate); }
.pub-list li + li { margin-top: 6px; }
.pub-list li::marker { color: var(--forest); }
.pub-nots { list-style: none; margin: 0; padding: 0; }
.pub-nots li { border-left: 3px solid var(--navy); padding: 4px 0 4px 14px; }
.pub-nots li + li { margin-top: 16px; }
.pub-nots strong { display: block; color: var(--navy); font-weight: 600; }
.pub-nots span { display: block; color: var(--slate); }

/* ── moduli pubblici */
.pub-form { display: grid; gap: 20px; }
.pub-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.pub-form > fieldset { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.pub-form > fieldset > legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--slate-soft); padding: 0 6px; margin-left: -6px; }
.pub-form .field label, .pub-form .label { font-size: 14px; color: var(--navy-ink); }
.pub-form input[type=text], .pub-form input[type=email], .pub-form input[type=tel], .pub-form select, .pub-form textarea {
  min-height: 44px; font-size: 16px; }
.pub-form [aria-invalid=true] { border-color: var(--oxide); }
.pub-form .check { display: flex; font-size: 15px; color: var(--navy-ink); font-weight: 400; cursor: pointer; }
.pub-form .check input { width: 18px; height: 18px; flex: none; accent-color: var(--forest); }
.pub-radios { display: grid; gap: 8px; }
.pub-radios .check { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; background: var(--paper); transition: border-color .12s ease, background-color .12s ease; }
.pub-radios .check:hover { border-color: var(--forest-line); }
.pub-radios .check:has(input:checked) { border-color: var(--forest); background: var(--forest-tint); box-shadow: inset 0 0 0 1px var(--forest); }
.num-input { font-variant-numeric: tabular-nums; }
.pub-unit { display: flex; align-items: center; gap: 8px; }
.pub-unit span { color: var(--slate); }
.pub-form-alert { margin-bottom: 16px; }
.pub-grid-2 { grid-template-columns: 1fr; }

/* ── conferme */
.pub-done { margin-bottom: 24px; }
.pub .pub-done h1 { font-size: 20px; color: var(--forest); margin-bottom: 4px; }
.pub-done p { margin: 0; }
.pub-kv { margin-bottom: 8px; }
.pub-ref { text-align: left; font-size: 20px; font-weight: 600; color: var(--navy); }

/* ── piè di pagina scuro */
.pub-footer { background: var(--navy-ink); color: var(--line-strong); padding: 44px 0 24px; font-size: 14px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand .logo .ico-logo { color: var(--forest-line); }
.foot-brand p { margin: 14px 0 0; max-width: 40ch; }
.foot-brand .foot-role { font-size: 13px; color: var(--line-strong); opacity: .85; margin-top: 8px; }
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.pub .foot-col h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--paper); margin: 0 0 10px; }
.foot-col a { color: var(--line-strong); text-decoration: none; padding: 3px 0; }
.foot-col a:hover { color: var(--paper); text-decoration: underline; }
.foot-col a[aria-current] { color: var(--paper); font-weight: 600; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px;
  border-top: 1px solid var(--navy-line); font-size: 13px; color: var(--line-strong); }

/* ── schermi più larghi */
@media (min-width: 640px) {
  .wrap, .hero-in, .pub-bar, .showcase-in { padding-left: 24px; padding-right: 24px; }
  .pub-nav-how { display: inline; }
  .hero-actions .btn { flex: 0 0 auto; }
  .pub .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 19px; }
  .win-hide-sm { display: table-cell; }
  .win-tab { display: inline-block; }
  .facts-list { grid-template-columns: repeat(3, 1fr); }
  .sec { padding: 80px 0; }
  .pub .sec-head h2 { font-size: 34px; }
  .duo { grid-template-columns: 1fr 1fr; }
  .trust { padding: 36px; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .apply-form { padding: 22px 24px; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid .span-2 { grid-column: span 2; }
  .pub-form > fieldset { padding: 20px; }
  .pub-grid-2 { grid-template-columns: max-content 1fr; }
  .pub .pub-hero h1 { font-size: 38px; }
  .pub-hero { padding: 48px 0 56px; }
  .pub-split { grid-template-columns: 1fr 1fr; }
  .pub-main > article.card { margin: 40px auto; padding: 36px 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .pub-nav-cta { display: inline-flex; }
  .hero { padding: 36px 0 190px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .hero-art { display: block; }
  .pub .hero h1 { font-size: 52px; }
  .hero-curve { height: 90px; }
  .showcase { margin-top: -150px; }
  .showcase-in { padding-right: 200px; }
  .win-grid { grid-template-columns: minmax(0, 1fr) 264px; padding: 16px; gap: 16px; }
  .win-side { display: block; }
  .phone { display: block; position: absolute; right: 16px; bottom: -64px; width: 214px; height: 430px; padding: 8px; border-radius: 32px;
    background: var(--navy-ink); box-shadow: var(--shadow-lg); }
  .showcase-note { margin-top: 28px; padding-right: 260px; }
  .facts { padding-top: 72px; }
  /* percorso orizzontale */
  .path { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .path li { padding: 76px 0 0; }
  .path li::after { left: 72px; right: -20px; top: 27px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line-strong); }
  .apply { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fgrid .span-2 { grid-column: span 2; }
  .fgrid .f-xs input { max-width: 90px; }
  .seg { grid-template-columns: repeat(3, 1fr); }
  .seg label + label { border-top: 0; border-left: 1px solid var(--line); }
  .pub-form-end { grid-template-columns: 1fr auto; }
  .apply-aside { position: sticky; top: 24px; padding: 26px 24px; }
  .apply .pub-btn { width: auto; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}

@media print {
  .pub-header, .pub-footer, .hero-actions, .pub-skip, .showcase { display: none !important; }
}
