/* Prima il Cedolino — foglio di stile unico
   Palette: Inchiostro #12181D · Evidenziatore #FFDD33 · Carta #F4F5F3 · Grigio #5A6570 · Ocra #A87A00 */

@font-face{font-family:"Fraunces";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:italic;font-weight:400;font-display:swap;src:url("assets/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");}

:root{
  --ink:#12181D; --yellow:#FFDD33; --paper:#F4F5F3; --white:#FFFFFF;
  --grey:#5A6570; --ocra:#A87A00; --line:#DCDFDB; --line-strong:#BFC5C0;
  --paper-dim:rgba(244,245,243,.72); --ink-line:#2A3439;
  --max:1040px; --prose:44rem;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased;}
img,svg{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0}
h1,h2,h3{margin:0;font-family:"Fraunces",Georgia,"Times New Roman",serif;font-weight:600;letter-spacing:-.015em;text-wrap:balance;}
h1{font-size:clamp(2.2rem,6.2vw,3.6rem);line-height:1.06}
h2{font-size:clamp(1.55rem,3.6vw,2.2rem);line-height:1.15}
h3{font-size:1.2rem;line-height:1.3;letter-spacing:-.01em}
strong{font-weight:600}
.hl{background-image:linear-gradient(to bottom,transparent 8%,var(--yellow) 8%,var(--yellow) 93%,transparent 93%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .08em;color:var(--ink);}
.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.prose{max-width:var(--prose)}
.stack{display:flex;flex-direction:column;gap:18px}
.eyebrow{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ocra);font-weight:600}
.muted{color:var(--grey)}
.small{font-size:.9rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- icone (sprite inline) ---------- */
.ic{width:24px;height:24px;flex:none;color:currentColor}
.ic-box{width:52px;height:52px;border-radius:6px;background:var(--yellow);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;flex:none}
.ic-box .ic{width:28px;height:28px}
.ic-box.ink{background:var(--ink);color:var(--yellow)}
.ic-box.ghost{background:var(--white);border:1px solid var(--line);color:var(--ink)}
.sec.ink .ic-box.ghost{background:transparent;border-color:var(--ink-line);color:var(--yellow)}

/* ---------- header ---------- */
.site-head{background:var(--paper);border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px}
.site-head .logo{display:flex;flex-direction:column;gap:5px;text-decoration:none}
.site-head .logo img{width:min(230px,58vw)}
.site-head .logo .tag{font-size:.72rem;color:var(--grey);letter-spacing:.01em}
.site-nav{display:flex;gap:4px 22px;flex-wrap:wrap;font-size:.95rem;font-weight:600}
.site-nav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a[aria-current="page"]{border-bottom-color:var(--yellow)}

/* ---------- pulsanti ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--yellow);color:var(--ink);text-decoration:none;font-weight:600;padding:15px 24px;border-radius:4px;line-height:1.25;font-size:1.02rem;border:2px solid var(--yellow);transition:filter .15s ease;}
.btn:hover{filter:brightness(.95)}
.btn .ic{width:22px;height:22px}
.btn.ink{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.btn.ink:hover{filter:brightness(1.15)}
.btn.ghost{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn.ghost:hover{background:var(--white)}
.btn-note{margin-top:10px;font-size:.86rem;color:var(--grey)}

/* ---------- hero ---------- */
.hero{padding:clamp(48px,8vw,96px) 0 clamp(40px,6vw,72px);overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:34px;align-items:center}
.hero.with-illo .wrap{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.hero .lede{font-size:clamp(1.12rem,2.2vw,1.35rem);color:var(--grey);max-width:38rem;line-height:1.5}
.hero .cta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hero .who{font-size:.95rem;color:var(--grey);display:flex;align-items:center;gap:12px}
.hero .who .rule{width:28px;height:2px;background:var(--yellow);flex:none}
.hero .copy{display:flex;flex-direction:column;gap:26px}
.illo{width:100%;max-width:400px;justify-self:end}
.illo svg{width:100%;height:auto}
.illo text{font-family:"IBM Plex Sans",sans-serif}
@media (max-width:820px){
  .hero.with-illo .wrap{grid-template-columns:minmax(0,1fr)}
  .illo{max-width:260px;justify-self:center}
}

/* ---------- sezioni ---------- */
.sec{padding:clamp(48px,7vw,84px) 0}
.sec.white{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec.ink{background:var(--ink);color:var(--paper)}
.sec.ink .muted{color:var(--paper-dim)}
.sec.ink .eyebrow{color:var(--yellow)}
.sec-head{display:flex;flex-direction:column;gap:12px;margin-bottom:30px;max-width:var(--prose)}

/* passi */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;position:relative}
.step{background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:24px 22px 26px;display:flex;flex-direction:column;gap:12px;position:relative}
.sec.white .step{background:var(--paper)}
.step .top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.step .num{font-family:"Fraunces",Georgia,serif;font-size:1.05rem;color:var(--grey)}
.step p{color:var(--grey);font-size:.98rem}
@media (min-width:900px){
  .steps.linked .step:not(:last-child)::after{content:"";position:absolute;top:50px;right:-20px;width:20px;height:2px;background:var(--line-strong)}
}

/* impegni */
.pledges{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.pledge{border:1px solid var(--ink-line);border-radius:6px;padding:22px 20px;display:flex;flex-direction:column;gap:12px;background:rgba(255,255,255,.02)}
.pledge h3{font-family:"IBM Plex Sans",sans-serif;font-size:1.06rem;font-weight:600;letter-spacing:0}
.pledge p{color:var(--paper-dim);font-size:.97rem}

/* due colonne + foto */
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:34px;align-items:start}
.photo{aspect-ratio:4/5;background:var(--white);border:1px dashed var(--line-strong);border-radius:6px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--grey);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;padding:20px;max-width:360px;}
.photo.has-img{border:none;background:none;padding:0;position:relative;overflow:visible}
.photo.has-img::before{content:"";position:absolute;inset:16px -16px -16px 16px;background:var(--yellow);border-radius:6px}
.photo.has-img img{position:relative;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:6px;border:1px solid var(--line);background:var(--white)}

/* a colpo d'occhio */
.glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.gl{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:16px 16px 18px;display:flex;align-items:center;gap:14px}
.gl .t{display:flex;flex-direction:column;gap:2px}
.gl .k{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--grey);font-weight:600}
.gl .v{font-weight:600;font-size:1rem;line-height:1.25}

/* il foglio (mock) */
.sheet{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:24px 22px;max-width:420px;box-shadow:0 14px 34px -24px rgba(18,24,29,.35);display:flex;flex-direction:column;gap:0}
.sheet .sh{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:2px solid var(--ink);margin-bottom:6px}
.sheet .sh b{font-family:"Fraunces",Georgia,serif;font-size:1.1rem}
.sheet .sh span{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--grey)}
.sheet .row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.96rem}
.sheet .row .dash{font-family:"IBM Plex Sans",sans-serif;letter-spacing:.2em;color:var(--line-strong)}
.sheet .row.hl-row{background:var(--yellow);margin:0 -22px;padding-left:22px;padding-right:22px;border-bottom:none;font-weight:600}
.sheet .row.hl-row .dash{color:var(--ink)}
.sheet .foot{padding-top:12px;font-size:.78rem;color:var(--grey)}

/* liste */
ul.clean{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
ul.clean li{padding-left:22px;position:relative}
ul.clean li::before{content:"";position:absolute;left:0;top:.7em;width:10px;height:3px;background:var(--yellow)}
ul.clean.dim li::before{background:var(--line-strong)}
ul.icons{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}
ul.icons li{display:flex;gap:14px;align-items:flex-start}
ul.icons .ic{margin-top:.2em;color:var(--ocra)}
ul.icons.no .ic{color:var(--grey)}

/* card e blocchi */
.card{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:24px 22px;display:flex;flex-direction:column;gap:12px}
.card.paper{background:var(--paper)}
.card h3{font-family:"IBM Plex Sans",sans-serif;font-size:1.02rem;letter-spacing:0;display:flex;align-items:center;gap:10px}
.card h3 .ic{color:var(--ocra)}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.contact-grid .big{font-family:"Fraunces",Georgia,serif;font-size:1.3rem;line-height:1.25;word-break:break-word}
.contact-grid a.big{text-decoration:none;border-bottom:2px solid var(--yellow)}
.kv{display:flex;flex-direction:column;gap:14px;margin:0}
.kv div{display:flex;flex-direction:column;gap:2px}
.kv dt{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--grey);font-weight:600}
.kv dd{margin:0}
.ident{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:22px 24px;font-size:.95rem;line-height:1.7}
.ident b{font-weight:600}
.notice{border:1px solid var(--line);border-left:4px solid var(--ocra);background:var(--white);padding:16px 18px;border-radius:6px;font-size:.93rem;color:var(--grey);display:flex;gap:14px;align-items:flex-start}
.notice .ic{color:var(--ocra);margin-top:.15em}

/* chiusura */
.closing{padding:clamp(56px,9vw,100px) 0}
.closing .wrap{display:flex;flex-direction:column;gap:22px}
.closing h2,.closing p{max-width:var(--prose)}

/* ---------- footer ---------- */
.site-foot{background:var(--ink);color:var(--paper);padding:clamp(40px,6vw,64px) 0 30px}
.site-foot .wrap{display:flex;flex-direction:column;gap:30px}
.site-foot .logo{display:flex;flex-direction:column;gap:6px;text-decoration:none}
.site-foot .logo img{width:min(230px,64vw)}
.site-foot .logo .tag{font-size:.8rem;color:var(--paper-dim)}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px;font-size:.92rem;line-height:1.65}
.foot-grid a{color:var(--paper)}
.foot-grid .k{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--yellow);font-weight:600;display:block;margin-bottom:8px}
.foot-grid p,.foot-grid li{color:var(--paper-dim)}
.foot-grid ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.foot-legal{border-top:1px solid var(--ink-line);padding-top:20px;font-size:.82rem;line-height:1.6;color:var(--paper-dim);display:flex;flex-direction:column;gap:10px}
.foot-legal a{color:var(--paper)}
.iubenda-embed{color:var(--paper)!important}

.mt-1{margin-top:12px}.mt-2{margin-top:22px}.mt-3{margin-top:34px}
:focus-visible{outline:3px solid var(--ocra);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
@media (max-width:640px){
  body{font-size:16.5px}
  .btn{padding:15px 20px;width:100%}
  .hero .cta{align-items:stretch}
  .ic-box{width:46px;height:46px}
  .photo{max-width:260px}
}
