/* Pagina Certificazioni */
.cert-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(160deg, #fafbfc 0%, var(--silver) 60%, var(--silver-2) 100%); }
.cert-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 820px; }
.cert-hero .lead { max-width: 760px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.quick { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.quick:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20,24,28,.09); }
.quick strong { color: var(--ink); font-size: 1.05rem; }
.quick span { font-size: .88rem; color: var(--ink-3); }
.quick em { margin-top: .5rem; font-style: normal; font-weight: 600; font-size: .88rem; color: var(--ink); }
.cert-table { margin-bottom: 1.5rem; }
.cert-table td.model { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cert-table td.model img { display: inline-block; height: 44px; width: auto; margin-right: .7rem; vertical-align: middle; }
.cert-table .mono { font-family: Menlo, Consolas, monospace; font-size: .85rem; color: var(--ink-3); }
.cert-table td.ok { font-weight: 600; color: #1d5a33; }
.cert-two { margin-top: .5rem; }
.cert-two .card h3 { margin-bottom: .8rem; }
.cert-two .card h3 + p { font-size: .95rem; }
.cert-two .card ul + h3, .cert-two .card dl + h3 { margin-top: 1.4rem; }
.facts { margin: 0 0 .6rem; display: grid; gap: .6rem; }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: .8rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: .15rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.dl-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.cert-note { font-size: .88rem; color: var(--ink-3); max-width: 900px; margin-top: 1rem; }
.subpage .site-footer { padding: 2rem 0; }
.subpage .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.nav-sub-toggle.is-current { color: var(--ink); font-weight: 600; }
@media (max-width: 1024px) { .quick-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 768px) {
  .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .cert-table td.model { white-space: normal; }
  .cert-table td.model img { display: none; }
}
.cert-table td:nth-child(n+3):not(.mono), .cert-table td.ok { white-space: nowrap; }
.cert-table td.model, .cert-table td:nth-child(2) { white-space: normal; }
#analisi .cert-table td:nth-child(2) { min-width: 260px; }
@media (max-width: 768px) { .cert-table td { white-space: normal !important; } }
.cert-table td:first-child.mono { white-space: nowrap; }

/* Pagine legali */
.legal-meta { font-size: .9rem; color: var(--ink-3); margin-top: 1.4rem; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc ol { counter-reset: toc; display: grid; gap: .1rem; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: .5rem .7rem; border-radius: 8px; font-size: .9rem; color: var(--ink-3); transition: background .2s, color .2s; }
.legal-toc a::before { content: counter(toc) ". "; color: var(--line); font-weight: 600; }
.legal-toc a:hover { background: var(--silver); color: var(--ink); }
.legal-body { max-width: 760px; }
.legal-block { scroll-margin-top: 100px; }
.legal-block + .legal-block { margin-top: 2.6rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.legal-block h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .9rem; }
.legal-block h3 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; }
.legal-block p, .legal-block li { font-size: .98rem; }
.legal-block .facts { margin: 1rem 0 1.2rem; }
.legal-block .checks { margin: .6rem 0 1.1rem; }
.notice { padding: 1rem 1.2rem; border-radius: 12px; background: var(--silver); border-left: 3px solid var(--ink); margin: .4rem 0 1.2rem; font-size: .98rem; }
.notice.ok { background: #e8f5ec; border-left-color: #1d5a33; color: #17432a; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0,1fr); }
  .legal-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: .5rem; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0,1fr)); display: grid; }
}
.legal-meta a, .legal-block p a, .legal-block li a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.legal-meta a:hover, .legal-block a:hover { color: var(--ink-2); }
.legal-block code { font-family: Menlo, Consolas, monospace; font-size: .88em; background: var(--silver); padding: .12em .4em; border-radius: 5px; }
