/* SDiPEC — foglio di stile del sito (nessuna dipendenza esterna) */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --bg-tint: #eaf2fc;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #44546a;
  --ink-3: #6b7a90;
  --line: #e1e8f1;
  --brand: #0059ab;
  --brand-ink: #00478a;
  --brand-soft: #e7f0fb;
  --accent: #129cb2;
  --accent-soft: #e4f6f8;
  --ok: #16a34a;
  --ok-soft: #e8f7ee;
  --warn: #b45309;
  --warn-soft: #fff4e5;
  --navy: #0b2547;
  --navy-2: #0f3566;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 8px 24px rgba(14, 26, 43, .07);
  --shadow-lg: 0 2px 6px rgba(14, 26, 43, .08), 0 24px 60px rgba(14, 26, 43, .16);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1320; --bg-soft: #0f1a2b; --bg-tint: #12233c; --surface: #111d30;
    --ink: #e8eef7; --ink-2: #b4c1d4; --ink-3: #8a9ab0; --line: #22324a;
    --brand: #5b9cf0; --brand-ink: #8dbcf7; --brand-soft: #14294a; --accent: #3cc3d6; --accent-soft: #0f2d36;
    --ok: #4ade80; --ok-soft: #10301f; --warn: #fbbf24; --warn-soft: #33270f;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1320; --bg-soft: #0f1a2b; --bg-tint: #12233c; --surface: #111d30;
  --ink: #e8eef7; --ink-2: #b4c1d4; --ink-3: #8a9ab0; --line: #22324a;
  --brand: #5b9cf0; --brand-ink: #8dbcf7; --brand-soft: #14294a; --accent: #3cc3d6; --accent-soft: #0f2d36;
  --ok: #4ade80; --ok-soft: #10301f; --warn: #fbbf24; --warn-soft: #33270f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ic-lg { width: 28px; height: 28px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- pulsanti */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .82em 1.35em; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 6px 18px rgba(29, 95, 180, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(29, 95, 180, .4); }
.btn-ghost { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-sm { padding: .6em 1.05em; font-size: .92rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; }
.logo { display: block; height: 36px; width: auto; }
.logo-dk { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand:not(.brand-light) .logo-lt { display: none; } :root:not([data-theme="light"]) .brand:not(.brand-light) .logo-dk { display: block; } }
:root[data-theme="dark"] .brand:not(.brand-light) .logo-lt { display: none; }
:root[data-theme="dark"] .brand:not(.brand-light) .logo-dk { display: block; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 560; font-size: .97rem; }
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav a.nav-supporter { color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .site-nav .btn { justify-content: center; }
}

/* ---------- hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 520px at 85% -10%, rgba(18, 156, 178, .55), transparent 60%), radial-gradient(900px 600px at -10% 120%, rgba(0, 89, 171, .7), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 84px 20px 96px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.1rem); }
.hero h1 .hl { background: linear-gradient(90deg, #7fd8e6, #9cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: #d3e1f5; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #b9cbe4; font-size: .95rem; margin: 0; padding: 0; list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { color: #6ee7a8; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; margin-bottom: 22px; }
.badge b { background: #22c55e; color: #052e16; border-radius: 999px; padding: 2px 9px; font-size: .78rem; letter-spacing: .02em; }
.badge:hover { color: #fff; background: rgba(255,255,255,.16); }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; padding: 56px 20px 64px; gap: 36px; } }

/* ---------- sezioni */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(14,26,43,.04); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.card h3, .card h2 { font-size: 1.15rem; margin-bottom: .45em; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-title a:hover { color: var(--brand); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; font-size: .92rem; color: var(--brand); }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feat-ic .ic { width: 24px; height: 24px; }
.feat-ic.alt { background: var(--accent-soft); color: var(--accent); }
.news-card { display: flex; flex-direction: column; }
.news-card p { flex: 1; }

/* numeri */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats > div { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand); line-height: 1.1; }
.stats span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.trust { margin-top: -44px; position: relative; z-index: 2; }


/* liste con spunta */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin: 0 0 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks.x li::before { background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/11px no-repeat; }

/* banda CTA */
.cta-band { border-radius: 22px; padding: 48px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(18,156,178,.6), transparent 60%), linear-gradient(135deg, var(--navy), var(--brand)); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d3e1f5; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- pagine di contenuto */
.page-head { padding: 28px 0 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 18px 0 0; margin: 0; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.page:not(.page-custom) > .wrap:last-child { padding-bottom: 72px; }
.with-side { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; gap: 20px; } }
.content-head { padding: 22px 0 8px; }
.content-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.content-head .lead { font-size: 1.18rem; color: var(--ink-2); }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .92rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.side { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; padding-top: 22px; }
@media (max-width: 960px) { .side { position: static; max-height: none; padding-top: 0; } }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 6px 8px 10px; }
.side-box > summary { cursor: pointer; font-weight: 700; padding: 10px 10px; list-style: none; display: flex; justify-content: space-between; }
.side-box > summary::-webkit-details-marker { display: none; }
.side-box > summary::after { content: "▾"; color: var(--ink-3); }
.side-box:not([open]) > summary::after { content: "▸"; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { padding-left: 12px; border-left: 1px solid var(--line); margin: 2px 0 8px 10px; }
.tree a, .tree-group { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.tree > li > a { font-weight: 700; color: var(--ink); }
.tree a:hover { background: var(--bg-soft); color: var(--ink); }
.tree a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.tree-group { font-weight: 650; color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }

.prose { font-size: 1.04rem; max-width: 74ch; overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin: 1.6em 0 .55em; }
.prose h3 { font-size: 1.22rem; margin: 1.5em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.3em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose img { display: block; margin: 1.4em auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.prose strong { font-weight: 680; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); padding: .1em .35em; border-radius: 5px; }
.prose-sm { font-size: .96rem; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table, table.tbl { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap th, .table-wrap td, table.tbl th, table.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th, table.tbl thead th { background: var(--bg-soft); font-weight: 700; }
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }

.cta-box { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 40px 0; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border: 1px solid var(--line); }
.cta-box > .ic { color: var(--brand); }
.cta-box h2 { font-size: 1.2rem; margin: 0 0 .2em; }
.cta-box p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 720px) { .cta-box { grid-template-columns: 1fr; } }
.related { margin-top: 48px; }
.related h2 { font-size: 1.35rem; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 0; }
.prevnext a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 650; background: var(--surface); }
.prevnext a:hover { border-color: var(--brand); }
.prevnext small { display: block; color: var(--ink-3); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.pn-next { text-align: right; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink-2); font-size: .97rem; }
.link-list a:hover { color: var(--brand); }
.guide-card .ic-lg { color: var(--brand); margin-bottom: 10px; }
.guide-card h2 { font-size: 1.25rem; }
.guide-card h2 a { color: var(--ink); text-decoration: none; }

/* chip, filtri e ricerca */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips a, .chip { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 560; cursor: pointer; font-family: inherit; }
.chips a:hover, .chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.search { position: relative; max-width: 560px; margin: 0 0 22px; }
.search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search input { width: 100%; padding: 14px 16px 14px 46px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.empty { color: var(--ink-3); padding: 20px 0; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; }
.az a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink-2); background: var(--surface); }
.az a:hover { border-color: var(--brand); color: var(--brand); }
.az-group { margin-bottom: 26px; }
.az-group h2 { font-size: 1.3rem; color: var(--brand); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.faq-item > summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative; font-weight: 650; }
.faq-item > summary h3 { display: inline; font-size: 1.04rem; font-weight: 650; letter-spacing: -.01em; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5fb4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .2s; }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }
.faq-a ul, .faq-a ol { padding-left: 1.3em; }
.faq-link { font-size: .85rem; }
.faq-link a { color: var(--ink-3); }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.faq-nav a { padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); text-decoration: none; font-weight: 600; font-size: .93rem; }
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { font-size: 1.45rem; }

/* prezzi / confronto */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--surface); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.3rem; }
.plan .price { font-size: 2.6rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; margin: 6px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan .plan-sub { color: var(--ink-2); margin-bottom: 20px; }
.plan .checks { flex: 1; }
.plan-hot { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--brand), var(--accent)) border-box; box-shadow: var(--shadow-lg); position: relative; }
.plan-tag { position: absolute; top: -13px; left: 32px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: .78rem; font-weight: 750; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--ink-3); }

/* note */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); margin: 1.4em 0; }
.note .ic { color: var(--brand); margin-top: 3px; }
.note p:last-child { margin: 0; }
.note-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.note-warn .ic { color: var(--warn); }

/* download */
.dl-card { border-radius: 22px; padding: 36px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.dl-card .btn { margin: 18px 0 10px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: .92rem; margin: 0; padding: 0; list-style: none; }
.dl-meta li { display: inline-flex; gap: 6px; align-items: center; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 54px; min-height: 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.versions { display: grid; gap: 8px; }
.version { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.version > summary { cursor: pointer; padding: 12px 16px; font-weight: 650; }
.version .prose { padding: 0 18px 8px; }
.os-warn { display: none; }
.is-not-windows .os-warn { display: flex; }

/* moduli */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brand); }
.form-status { padding: 12px 14px; border-radius: 10px; }
.form-status.ok { background: var(--ok-soft); color: var(--ok); }
.form-status.err { background: var(--warn-soft); color: var(--warn); }
.hp { position: absolute; left: -9999px; }

/* recensioni */
.quote { margin: 0; }
.quote p { font-size: 1.06rem; color: var(--ink); }
.quote footer { color: var(--ink-3); font-size: .92rem; }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* pubblicità: segnaposto invisibili finché non si riattiva AdSense in site.js */
.ad-slot { display: none; }
.ads-on .ad-slot { display: block; margin: 28px 0; min-height: 100px; }

/* ---------- footer */
.site-footer { background: #08182f; color: #a9b8cd; padding: 64px 0 0; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #d4deeb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.f-brand p { max-width: 34em; }
.f-title { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.f-social { display: flex; flex-wrap: wrap; gap: 18px; }
.f-social a { display: inline-flex; align-items: center; gap: 7px; }
.f-legal { border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 20px; padding-bottom: 24px; font-size: .86rem; }
.f-legal p { margin: 0; }
.f-legal .linklike { color: #d4deeb; text-decoration: none; }

/* cookie */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
.cookie-in { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 980px; }
.cookie-in p { margin: 0; font-size: .93rem; color: var(--ink-2); flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* utilità */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 32px; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.hidden-mobile { }
@media (max-width: 640px) { .hidden-mobile { display: none; } }
.kicker-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.img-frame { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }

.section-head .eyebrow { color: var(--accent); font-size: .8rem; }
@media (max-width: 520px) { .table-wrap th, .table-wrap td { padding: 9px 10px; font-size: .9rem; } .compare th:not(:first-child), .compare td:not(:first-child) { width: auto; } .plan { padding: 26px 22px; } .cta-box { padding: 20px; } }

/* ---------- schermate vere del programma */
.shot { margin: 0; background: #fff; border: 1px solid #d5dde8; border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .88rem; color: #44546a; background: #f6f8fb; border-top: 1px solid #e1e8f1; }
.hero-shots { position: relative; padding: 0 0 22% 0; margin-right: -40px; }
.hero-shots .shot-back { width: 70%; transform: rotate(-2.5deg); }
.hero-shots .shot-front { position: absolute; right: 0; bottom: 0; width: 74%; transform: rotate(1.5deg); }
.hero-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0e1a2b; font-size: .86rem; font-weight: 650; box-shadow: var(--shadow-lg); }
.hero-chip .ic { width: 18px; height: 18px; color: #16a34a; }
.hero-chip.c1 { left: -4%; bottom: 8%; }
.hero-chip.c2 { right: 2%; top: -14px; }
.hero-chip.c2 .ic { color: #0059ab; }
@media (max-width: 1100px) { .hero-shots { margin-right: 0; } }
@media (max-width: 900px) { .hero-chip.c1 { left: 0; } }
@media (max-width: 520px) { .hero-chip { font-size: .78rem; padding: 6px 10px; } .hero-chip.c2 { display: none; } }

/* ---------- infografica: con l'intermediario / con SDiPEC */
.routes { display: grid; gap: 22px; }
.route { border-radius: 18px; padding: 24px 24px 22px; border: 1px solid var(--line); background: var(--surface); }
.route-good { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--surface)), color-mix(in srgb, var(--ok) 9%, var(--surface))); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--shadow); }
.route-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 22px; }
.route-head h3 { margin: 0; font-size: 1.12rem; display: inline-flex; align-items: center; gap: 10px; }
.route-head h3 img { width: 28px; height: 28px; border-radius: 4px; }
.route-cost { font-size: .86rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.route-good .route-cost { background: var(--ok-soft); color: var(--ok); }
.route-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-steps li { position: relative; text-align: center; padding: 0 6px; }
.route-steps li:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 36px); right: calc(-50% + 40px); height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 6px, transparent 6px 11px); opacity: .55; }
.route-steps li:not(:last-child)::before { content: ""; position: absolute; top: 24px; right: calc(-50% + 30px); border: 6.5px solid transparent; border-left: 10px solid var(--ink-3); border-right: 0; opacity: .7; }
.route-good .route-steps li:not(:last-child)::after { background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 1; }
.route-good .route-steps li:not(:last-child)::before { border-left-color: var(--accent); opacity: 1; }
.node { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg-soft); color: var(--ink-3); border: 2px solid var(--line); margin-bottom: 10px; }
.node .ic { width: 26px; height: 26px; }
.node img { width: 60px; height: 60px; border-radius: 50%; }
.route-good .node { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 35%, transparent); }
.route-good .node.app-node { background: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 35%, transparent); overflow: hidden; }
.route-good li:last-child .node { background: var(--ok); box-shadow: 0 6px 16px color-mix(in srgb, var(--ok) 35%, transparent); }
.node.pay { background: var(--warn-soft); color: var(--warn); border: 2px dashed var(--warn); }
.node .coin { position: absolute; top: -6px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #f59e0b; color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; border: 2px solid var(--surface); }
.route-steps b { display: block; font-size: .95rem; }
.route-steps small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.route-back { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); font-size: .92rem; color: var(--ink-2); }
.route-back .ic { flex: none; color: var(--brand); width: 20px; height: 20px; }
@media (max-width: 640px) {
  .route-steps { grid-template-columns: 1fr; gap: 18px; }
  .route-steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 0; }
  .route-steps li .node { grid-row: 1 / span 2; margin: 0; }
  .route-steps li b { align-self: end; } .route-steps li small { align-self: start; }
  .route-steps li:not(:last-child)::after { top: 64px; left: 28px; right: auto; width: 3px; height: 14px; background: var(--ink-3); }
  .route-good .route-steps li:not(:last-child)::after { background: var(--brand); }
  .route-steps li:not(:last-child)::before { display: none; }
}

/* ---------- visita guidata con schermate */
.tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.tour-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: tour; }
.tour-tab { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.tour-tab::before { counter-increment: tour; content: counter(tour); grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand); }
.tour-tab strong { font-size: 1.02rem; }
.tour-tab span { color: var(--ink-2); font-size: .92rem; }
.tour-tab:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.tour-tab[aria-selected="true"] { border-color: var(--brand); box-shadow: var(--shadow); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.tour-tab[aria-selected="true"]::before { background: var(--brand); color: #fff; }
.tour-panels { position: sticky; top: 96px; }
.tour-panel + .tour-panel { margin-top: 22px; }
.js .tour-panel[hidden] { display: none; }
.js .tour-panel + .tour-panel { margin-top: 0; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour-panels { position: static; } }

/* schermate dentro le pagine */
.shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 760px) { .shots-2 { grid-template-columns: 1fr; } }
.badge-img { width: 150px; height: 150px; border-radius: 50%; box-shadow: var(--shadow-lg); }
.novita-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .novita-card { grid-template-columns: 1fr; } }

/* ---------- recensioni Google */
.reviews { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.reviews-score { display: flex; align-items: center; gap: 14px; }
.g-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #e3e8ef; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.g-logo b { font-size: 1.7rem; font-weight: 800; background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-line { margin: 0; display: flex; align-items: center; gap: 10px; }
.rv-avg { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.rv-sub { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 1.1rem; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* flex e non grid: le recensioni dell'ultima riga si allargano, così non restano buchi qualunque sia il numero */
.reviews-list { display: flex; flex-wrap: wrap; gap: 16px; }
.reviews-list > .review { flex: 1 1 calc((100% - 32px) / 3); min-width: 0; }
.reviews.is-loaded .reviews-list { margin-top: 22px; }
.review { margin: 0; padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head img, .rv-initial { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.rv-initial { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.review-head strong { display: block; font-size: .95rem; line-height: 1.25; }
.review-head strong a { color: var(--ink); text-decoration: none; }
.review-head small { color: var(--ink-3); font-size: .8rem; }
.review .stars { font-size: .95rem; }
.review-text { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.review-text p { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.reviews-src { margin: 16px 0 0; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 980px) { .reviews-list > .review { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .reviews-list > .review { flex-basis: 100%; } .reviews { padding: 18px; } }
/* schermate e schemi dentro gli articoli: niente stile «foto» sulle immagini interne */
.prose .shot img, .prose .route img { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.prose .route-head h3 img { border-radius: 4px; }
.prose .node img { border-radius: 50%; }
.prose .route-steps { margin: 0; padding: 0; }
.prose .route-steps li { margin: 0; }
.prose .routes { margin: 1.4em 0; }
.route-good li:last-child .node.app-node { background: none; }

/* ---------- conto alla rovescia al rilascio della 2.0 */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0 14px; max-width: 420px; }
.countdown > div { text-align: center; padding: 12px 6px 10px; border-radius: 12px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line)); }
.countdown strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 4px; font-size: .76rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.countdown-done { font-weight: 650; }
.hero-countdown { margin-top: 26px; padding: 16px 18px 6px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); max-width: 470px; }
.hero-countdown > p { margin: 0; color: #d3e1f5; font-weight: 600; }
.hero-countdown .countdown > div { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.hero-countdown .countdown strong { color: #fff; }
.hero-countdown .countdown span { color: #b9cbe4; }
.hero-countdown .countdown-done { color: #fff; }
.launch-box { margin: 0 0 1.6em; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); }
.launch-box > p:first-child { margin: 0; }
@media (max-width: 420px) { .countdown { gap: 6px; } .countdown strong { font-size: 1.5rem; } .countdown span { font-size: .66rem; letter-spacing: .03em; } }

/* ---------- finestra di download (email e newsletter) */
.dl-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.dl-dialog::backdrop { background: rgba(8, 20, 40, .55); backdrop-filter: blur(3px); }
.dl-dialog .form { position: relative; padding: 28px 26px 22px; gap: 14px; }
.dl-dialog h2 { font-size: 1.4rem; margin-bottom: 0; }
.dl-dialog p { margin: 0; }
.dl-dialog .feat-ic { margin-bottom: 0; }
.dl-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dl-close:hover { background: var(--bg-soft); color: var(--ink); }
.dl-done { display: grid; gap: 10px; text-align: center; }
