/* Pagine di contenuto (comuni, regioni, operatori, prezzi, come funziona).
   Autonomo e leggero: niente Pico, niente JavaScript. Stessi colori della PWA. */
:root {
  --bg: #F4F6F8; --surface: #FFFFFF; --text: #0F172A; --muted: #64748B;
  --line: #E3E8EE; --accent: #059669; --accent-strong: #047857; --accent-soft: #E7F7F0;
  --radius: 14px; color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0B1220; --surface: #111A2B; --text: #E2E8F0; --muted: #94A3B8;
          --line: #1F2A3D; --accent: #34D399; --accent-strong: #6EE7B7; --accent-soft: #0F2A22; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent-strong); text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; margin: .4rem 0 .8rem; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
h3 small { color: var(--muted); font-weight: 400; font-size: .85rem; }
small, .muted { color: var(--muted); }
.small { font-size: .85rem; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
       padding: .7rem max(1rem, calc((100vw - 980px) / 2)); background: var(--surface);
       border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--text); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; font-size: .95rem; }
.top nav a:not(.btn) { color: var(--text); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--accent-strong); }

main { max-width: 980px; margin: 0 auto; padding: 1rem 1rem 2rem; }
.lead { font-size: 1.08rem; max-width: 70ch; }
.note { color: var(--muted); font-size: .9rem; max-width: 75ch; }

.btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none;
       padding: .7rem 1.1rem; border-radius: 999px; }
.btn:hover { background: var(--accent-strong); }
@media (prefers-color-scheme: dark) { .btn { color: #052e22; } }
.btn--small { padding: .4rem .9rem; font-size: .9rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; padding: 0; margin: .4rem 0 0;
             font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 .35rem 0 .15rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin: 1.2rem 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; }
.stats dt { font-size: .8rem; color: var(--muted); }
.stats dd { margin: .1rem 0 0; font-size: 1.25rem; font-weight: 700; }

.table { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
td small { display: block; font-size: .82rem; }
.num { text-align: right; white-space: nowrap; }
a.map { font-size: .85rem; white-space: nowrap; }

.cols { columns: 3 220px; column-gap: 1.5rem; padding-left: 1.1rem; }
.cols li { break-inside: avoid; margin: .15rem 0; }
.cols small { margin-left: .2rem; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
               padding: .7rem 1rem; margin: .5rem 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.hero { padding: 1.2rem 0 .4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; margin: 1rem 0; }
.cards > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.cards h3 { margin-top: 0; }

.foot { max-width: 980px; margin: 0 auto; padding: 1.2rem 1rem 2.5rem; border-top: 1px solid var(--line);
        color: var(--muted); font-size: .88rem; }
