/* /strumenti-gratuiti direzione B — solo classi .th-* (10/11/2026) */
/* ===== Anteprima hub strumenti (solo box) ===== */
.th{--th-b:#E4E4EA;--th-ink:#0B0B12;--th-mut:#4A4E5E;--th-soft:#F7F7FA;--th-ind:#4F46E5;--th-ind50:#F3F4FE}
.th *{box-shadow:none}
.th-tp,.th-ex{display:inline-flex;align-items:center;vertical-align:middle;margin-left:8px;padding:2px 8px;border-radius:999px;border:1px dashed #9333EA;color:#7E22CE;background:#FAF5FF;font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:none;line-height:1.5;white-space:nowrap}
.th-ex{border-color:#B45309;color:#92400E;background:#FFFBEB;position:absolute;right:12px;top:12px;margin:0}
.th-sec{padding-block:clamp(64px,8vw,112px)}
.th-head{text-align:center;max-width:720px;margin:0 auto clamp(32px,4vw,56px)}
.th-head--left{text-align:left;margin-left:0}
.th-head h2,.th h2{font-weight:700;letter-spacing:-.02em}
.th-head .lead{color:var(--th-mut)}
.th h3{font-weight:700;letter-spacing:-.01em;color:var(--th-ink)}
.th p{color:var(--th-mut)}
.th-ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--th-ind50);color:var(--th-ind);margin-bottom:14px}
.th-ico svg{width:22px;height:22px}
.th-small{font-size:13px;color:var(--th-mut);margin:0}
/* hero */
.th-hero{background:linear-gradient(180deg,var(--th-ind50) 0%,#fff 100%);padding-block:clamp(40px,6vw,88px) clamp(56px,7vw,96px)}
.th-hero--a .container{text-align:center;display:flex;flex-direction:column;align-items:center}
.th-hero--a h1{font-size:clamp(2.5rem,5.6vw,4.5rem);font-weight:700;letter-spacing:-.035em;line-height:1.04;max-width:14ch;margin:8px 0 16px}
.th-hero .lead{font-size:clamp(1.05rem,1.6vw,1.3rem);max-width:36ch}
.th-form{display:flex;gap:8px;width:100%;max-width:620px;margin:28px auto 10px;padding:6px;border:1px solid var(--th-b);border-radius:999px;background:#fff}
.th-form .input{flex:1 1 auto;min-width:0;border:0!important;background:transparent!important;padding:0 20px!important;min-height:52px;font-size:16px;outline:0}
.th-form:focus-within{border-color:var(--th-ind);outline:3px solid #E0E7FF}
.th-form .btn{min-height:52px;padding-inline:26px;border-radius:999px;flex:0 0 auto}
.th-form--left{margin-left:0}
.th-note{font-size:13px;margin:0 0 20px}
.th-chips{justify-content:center;margin-top:4px}
/* tool grid A */
.th-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;margin:0;padding:0}
.th-tool,.th-mini,.th-tile{position:relative;border:1px solid var(--th-b);border-radius:24px;background:#fff;overflow:hidden;transition:border-color .2s}
.th-tool:hover,.th-tile:hover{border-color:#C7C9F5}
.th-tool__hit{position:absolute;inset:0;z-index:1}
.th-tool .link,.th-tile .link{position:relative;z-index:2}
.th-tool__body{padding:24px 28px 28px}
.th-tool__body p{margin:8px 0 16px}
.th-vis{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:220px;padding:28px;background:var(--th-soft);border-bottom:1px solid var(--th-b)}
.th-vis--flat{background:#fff;border:0;min-height:0;padding:16px}
.th-ring{--p:0;width:112px;height:112px;border-radius:50%;background:conic-gradient(var(--th-ind) calc(var(--p)*1%),#E4E4EA 0);display:grid;place-items:center;position:relative}
.th-ring::before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}
.th-ring b,.th-ring small{position:relative;grid-area:1/1}
.th-ring b{font-size:36px;font-weight:700;color:var(--th-ink);margin-top:-10px}
.th-ring small{font-size:11px;color:var(--th-mut);margin-top:34px}
.th-ring--lg{width:140px;height:140px}.th-ring--lg b{font-size:46px;margin-top:-12px}.th-ring--lg small{margin-top:44px}
.th-counts{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0;padding:0}
.th-counts li{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600}
.th-counts .f{background:#FDECEC;color:#B91C1C}.th-counts .w{background:#FEF3E2;color:#9A4A00}.th-counts .o{background:#E8F5EC;color:#166534}
.th-serp{display:flex;flex-direction:column;gap:3px;width:100%;max-width:360px;padding:16px;border-radius:14px;background:#fff;border:1px solid var(--th-b);font-family:Arial,sans-serif}
.th-serp .u{font-size:12px;color:#202124}.th-serp .t{font-size:17px;color:#1A0DAB;line-height:1.3}.th-serp .d{font-size:13px;color:#4D5156}
.th-len{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;max-width:360px;font-size:12px;color:var(--th-mut)}
.th-len i,.th-bar i{display:block;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--th-ind) var(--w),#E4E4EA var(--w))}
.th-kb{display:flex;align-items:baseline;gap:10px;font-size:22px;font-weight:700;color:var(--th-mut)}
.th-kb .b{color:var(--th-ink);font-size:30px}.th-kb .pct{font-size:13px;padding:3px 8px;border-radius:999px;background:#E8F5EC;color:#166534}
.th-bar{width:100%;max-width:320px}
.th-seg{display:inline-flex;gap:2px;padding:4px;border-radius:999px;background:#ECECF2;font-size:12px}
.th-seg span{padding:6px 12px;border-radius:999px;color:var(--th-mut);white-space:nowrap}
.th-seg .on{background:#fff;color:var(--th-ink);font-weight:600}
.th-seg--fmt{font-size:14px}.th-seg--fmt span{padding:8px 18px}
.th-fmtline{display:flex;align-items:center;gap:10px;margin:0}
.th-fmtline .file{padding:8px 14px;border-radius:10px;border:1px dashed #C9CBD6;background:#fff;font-size:13px;color:var(--th-ink)}
.th-fmtline .file.on{border-style:solid;border-color:var(--th-ind);color:var(--th-ind);font-weight:600}
.th-sw{display:flex;gap:8px}.th-sw i{width:36px;height:36px;border-radius:10px;border:1px solid var(--th-b)}
.th-aa{margin:0;font-size:13px}.th-aa b{font-size:22px;color:var(--th-ink);margin-right:6px}
.th-duo{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:20px}
.th-mini{display:grid;grid-template-columns:240px 1fr;align-items:stretch}
.th-mini .th-vis{min-height:0;border-bottom:0;border-right:1px solid var(--th-b)}
.th-mini>div:last-child{padding:24px 28px}
.th-mini--soft{grid-template-columns:1fr;background:var(--th-ind50);border-color:#E0E3FB}
.th-mini p{margin:8px 0 14px}
/* steps A */
.th-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none;margin:0;padding:0;counter-reset:s}
.th-steps li{position:relative;padding:28px;border:1px solid var(--th-b);border-radius:24px;background:#fff}
.th-n{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:var(--th-ink);color:#fff;font-weight:700;font-size:14px;margin-bottom:18px;font-variant-numeric:tabular-nums}
.th-steps li p{margin:8px 0 0}
/* cats A */
.th-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--th-b);border:1px solid var(--th-b);border-radius:24px;overflow:hidden;list-style:none;margin:0;padding:0}
.th-cats li{background:#fff;padding:24px}
.th-cats h3{font-size:1.05rem;margin:0 0 6px}.th-cats p{margin:0;font-size:14px}
/* rows A */
.th-rows{display:flex;flex-direction:column;gap:clamp(56px,7vw,96px)}
.th-row{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(32px,5vw,72px);align-items:center}
.th-row--rev>figure{order:2}
.th-frame{margin:0;border:1px solid var(--th-b);border-radius:24px;overflow:hidden;background:#fff}
.th-frame img{display:block;width:100%;height:auto}
.th-row h2{font-size:clamp(1.75rem,3vw,2.5rem);margin:0 0 14px}
.th-row .actions{margin-top:22px}
/* why A */
.th-why{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;list-style:none;margin:0;padding:0}
.th-why h3{font-size:1.05rem;margin:0 0 6px}.th-why p{margin:0;font-size:15px}
.th-cta{border:1px solid var(--th-b);background:linear-gradient(180deg,var(--th-ind50),#fff)}
/* ===== B ===== */
.th-hero--b{padding-block:clamp(32px,5vw,72px) clamp(56px,7vw,96px)}
.th-hero__split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,80px);align-items:center}
.th-hero--b h1{font-size:clamp(2.5rem,5vw,4.25rem);font-weight:700;letter-spacing:-.035em;line-height:1.04;margin:8px 0 16px;max-width:12ch}
.th-hero--b .crumbs{justify-content:flex-start}
.th-dash{position:relative;border:1px solid var(--th-b);border-radius:28px;background:#fff;padding:24px;display:flex;flex-direction:column;gap:16px}
.th-dash__top{display:flex;align-items:center;gap:24px;padding:8px}
.th-dash__top .th-counts{justify-content:flex-start;margin-top:10px}
.th-dash__dom{font-size:22px;font-weight:700;color:var(--th-ink);margin:0 0 2px}
.th-dash__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.th-dash__cell{border:1px solid var(--th-b);border-radius:18px;background:var(--th-soft);overflow:hidden}
.th-dash__cell .th-vis{background:transparent;gap:10px}
.th-dash__cell .th-ex,.th-dash .th-vis .th-ex{display:none}
.th-dash>.th-ex{top:auto;bottom:-12px;right:24px}
.th-dash__cell .th-serp{padding:10px}.th-dash__cell .th-serp .t{font-size:14px}.th-dash__cell .th-kb{font-size:16px}.th-dash__cell .th-kb .b{font-size:22px}
.th-dash__cell .th-seg{display:none}
.th-trust{border-block:1px solid var(--th-b);padding-block:28px;background:#fff}
.th-why--bar{gap:24px}.th-why--bar li{display:flex;gap:14px;align-items:flex-start}.th-why--bar .th-ico{flex:0 0 40px;margin:0}
.th-why--bar p{font-size:14px}
.th-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;gap:20px;list-style:none;margin:0;padding:0}
.th-tile{display:flex;flex-direction:column}
.th-tile .th-vis{order:-1;min-height:180px}
.th-tile__txt{padding:22px 24px 24px}.th-tile__txt p{margin:6px 0 14px;font-size:15px}
.th-tile--big{grid-row:span 2;background:var(--th-ind50);border-color:#E0E3FB}
.th-tile--big .th-vis{background:transparent;border-bottom:0;min-height:240px}
.th-catchips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0 24px 24px}
.th-catchips li{padding:6px 12px;border-radius:999px;background:#fff;border:1px solid #E0E3FB;font-size:13px;color:var(--th-ink)}
.th-tile--wide{grid-column:span 2;flex-direction:row}
.th-tile--wide .th-vis{order:2;flex:0 0 44%;border-bottom:0;border-left:1px solid var(--th-b);min-height:0}
.th-tile--soft{background:var(--th-soft)}
.th-twocol{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,96px);align-items:start}
.th-sticky{position:sticky;top:110px}
.th-tl{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-direction:column}
.th-tl li{display:flex;gap:18px;padding:20px 0;border-top:1px solid var(--th-b)}
.th-tl .th-n{flex:0 0 44px;margin:0}.th-tl p{margin:6px 0 0}
.th-h3{font-size:clamp(1.5rem,2.4vw,2rem);margin:6px 0 20px}
.th-checks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.th-checks li{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid var(--th-b);border-radius:16px;background:#fff}
.th-checks b{color:var(--th-ink)}.th-checks span{font-size:14px;color:var(--th-mut)}
.th-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,40px)}
.th-feat h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:24px 0 10px}.th-feat p{margin:0 0 20px}
/* ===== mobile ===== */
@media (max-width:900px){
 .th-hero__split,.th-twocol{grid-template-columns:1fr}
 .th-sticky{position:static}
 .th-bento{grid-template-columns:1fr 1fr}.th-tile--big{grid-column:span 2;grid-row:auto}
 .th-why{grid-template-columns:1fr 1fr}
 .th-cats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .th-duo{grid-template-columns:1fr}
}
@media (max-width:640px){
 .th-sec{padding-block:56px}
 .th-hero--a h1,.th-hero--b h1{font-size:2.5rem}
 .th-form{flex-direction:column;border-radius:24px;padding:8px}
 .th-form .input{min-height:52px;text-align:center;padding:0 12px!important}
 .th-form .btn{width:100%;justify-content:center}
 .th-hero--b .th-form .input{text-align:left}
 .th-tools,.th-steps,.th-bento,.th-feats,.th-checks{grid-template-columns:1fr}
 .th-tile--big,.th-tile--wide{grid-column:auto}
 .th-tile--wide{flex-direction:column}.th-tile--wide .th-vis{order:-1;border-left:0;border-bottom:1px solid var(--th-b);min-height:160px}
 .th-mini{grid-template-columns:1fr}.th-mini .th-vis{border-right:0;border-bottom:1px solid var(--th-b);min-height:160px}
 .th-vis{min-height:180px;padding:24px 16px}
 .th-row,.th-row--rev{grid-template-columns:1fr}.th-row--rev>figure{order:0}
 .th-why{grid-template-columns:1fr;gap:20px}
 .th-cats{grid-template-columns:1fr}
 .th-dash{padding:16px;border-radius:22px}.th-dash__top{flex-direction:column;text-align:center;gap:14px}.th-dash__top .th-counts{justify-content:center}
 .th-dash__grid{grid-template-columns:1fr}
 .th-seg span{padding:6px 9px}
}
.th-head .eyebrow{margin-inline:auto}.th-head--left .eyebrow{margin-inline:0}
.th-tools .th-vis{min-height:240px}
.th-tile:not(.th-tile--big):not(.th-tile--wide) .th-vis{min-height:200px}
@media (max-width:640px){.th-tools .th-vis{min-height:190px}}
.th .th-ico .ico,.th .th-ico svg{width:22px!important;height:22px!important}
.th-tile--wide{grid-column:1/-1}
.th-tile--wide .th-vis{flex:0 0 40%}
@media (max-width:900px){.th-tile--wide{grid-column:1/-1}}
@media (max-width:640px){.th-tile--wide{grid-column:auto}}

/* 10/11/2026 grafiche nuove: le immagini hanno già le loro card, la cornice non ha più bordo (niente doppio bordo) */
.th-feat .th-frame{border:0;background:#F7F7FA}
