/* ==========================================================================
   PuntaFacile — foglio di stile del tema
   Indice:
   1. Variabili e reset
   2. Tipografia di base
   3. Struttura (header, colonne, footer)
   4. Navigazione
   5. Articolo (entry-*)
   6. Componenti (classifica, box, tabelle, passaggi, pro/contro, FAQ, autore)
   7. Widget della barra laterale
   8. Moduli
   9. Utilità e preferenze utente
   ========================================================================== */

/* 1. Variabili e reset
   -------------------------------------------------------------------------- */
:root {
  --page: #f4f5f7;
  --paper: #ffffff;
  --text: #334155;
  --heading: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --tint: #f8fafc;
  --green: #16a34a;
  --green-deep: #15803d;
  --green-darker: #166534;
  --green-soft: #f0fdf4;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --amber-text: #78350f;
  --red: #b91c1c;
  --radius: 0.375rem;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 2. Tipografia di base
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--green-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.1875rem solid var(--amber);
  outline-offset: 0.125rem;
  border-radius: 0.125rem;
}

strong {
  color: var(--heading);
  font-weight: 700;
}

small {
  font-size: 0.8125rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.875rem;
  background: var(--heading);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Struttura
   -------------------------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.site-title:hover {
  color: var(--heading);
}

.site-title-mark {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
}

.site-title em {
  color: var(--green-deep);
  font-style: normal;
}

.site-subheader {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

.site-subheader-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration-color: var(--line-strong);
}

.breadcrumbs a:hover {
  color: var(--green-deep);
}

.breadcrumbs [aria-current] {
  color: var(--heading);
}

.age-note {
  margin: 0;
  font-size: 0.8125rem;
}

.age-note a {
  color: var(--muted);
}

.age-badge {
  display: inline-block;
  margin-right: 0.375rem;
  padding: 0.0625rem 0.375rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--heading);
  font-weight: 700;
}

.site-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.content-area {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.5rem 1rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.widget-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 40rem) {
  .site-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .content-area {
    padding: 2rem 2rem 2.5rem;
  }
}

@media (min-width: 64rem) {
  .site-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .content-area {
    flex: 1 1 0;
    max-width: 50rem;
    padding: 2.5rem 2.5rem 3rem;
  }

  .widget-area {
    flex: 0 0 18.5rem;
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.site-footer {
  background: var(--heading);
  color: #cbd5e1;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration-color: #475569;
}

.site-footer a:hover {
  color: #fff;
  text-decoration-color: var(--green);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.footer-column {
  flex: 1 1 12rem;
  min-width: 0;
}

.footer-column--about {
  flex: 2 1 18rem;
}

.footer-title {
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-wordmark em {
  color: #4ade80;
  font-style: normal;
}

.footer-column p {
  margin-bottom: 0.75rem;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.375rem;
}

.footer-legal {
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.footer-legal .age-badge {
  border-color: #475569;
  color: #fff;
}

/* 4. Navigazione
   -------------------------------------------------------------------------- */
.main-navigation {
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.3;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.125rem 0.25rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}

.main-navigation a {
  display: block;
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.main-navigation a:hover {
  background: var(--page);
  color: var(--heading);
}

.main-navigation a[aria-current="page"] {
  color: var(--heading);
  font-weight: 700;
  box-shadow: inset 0 -0.125rem 0 var(--green);
  border-radius: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--page);
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 1.125rem;
  height: 0.125rem;
  background: currentColor;
  border-radius: 1px;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before {
  top: -0.375rem;
}

.menu-toggle-icon::after {
  top: 0.375rem;
}

@media (max-width: 71.9375rem) {
  .main-navigation.is-enhanced {
    position: static;
  }

  .main-navigation.is-enhanced .menu-toggle {
    display: inline-flex;
  }

  .main-navigation.is-enhanced ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.12);
  }

  .main-navigation.is-enhanced.is-open ul {
    display: flex;
  }

  .main-navigation.is-enhanced a {
    padding: 0.75rem 0.75rem;
  }

  .main-navigation.is-enhanced a[aria-current="page"] {
    box-shadow: inset 0.1875rem 0 0 var(--green);
  }
}

/* 5. Articolo
   -------------------------------------------------------------------------- */
.entry-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.entry-kicker {
  margin: 0 0 0.625rem;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-title {
  font-size: 1.625rem;
  line-height: 1.25;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 1.25rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

.entry-meta a {
  color: var(--heading);
  font-weight: 700;
}

.entry-summary {
  margin: 1.25rem 0 0;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.entry-content {
  font-size: 1rem;
}

.entry-content > h2 {
  margin: 2.75rem 0 1rem;
  font-size: 1.3125rem;
}

.entry-content > h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  margin: 1.75rem 0 0.625rem;
  font-size: 1.0625rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.375rem;
}

.entry-content li {
  margin-bottom: 0.375rem;
}

.entry-content li::marker {
  color: var(--green-deep);
}

.entry-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

.entry-footer p {
  margin: 0;
}

@media (min-width: 40rem) {
  .entry-title {
    font-size: 2rem;
  }

  .entry-content {
    font-size: 1.0625rem;
  }

  .entry-content > h2 {
    font-size: 1.5rem;
  }

  .entry-content h3 {
    font-size: 1.125rem;
  }
}

/* 6. Componenti
   -------------------------------------------------------------------------- */

/* Avviso di affiliazione */
.disclosure {
  margin: 0 0 1.5rem;
  padding: 0.75rem 0.875rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.disclosure p {
  margin: 0;
}

.disclosure p + p {
  margin-top: 0.375rem;
}

.disclosure strong {
  color: var(--text);
}

.disclosure a {
  color: var(--text);
}

/* Pulsanti */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.6875rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: inset 0 -0.125rem 0 var(--green-darker);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-darker);
  border-color: var(--green-darker);
  color: #fff;
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--heading);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.button-small {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}

/* Segnaposto logo operatore */
.operator-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 3rem;
  background: var(--tint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.operator-logo--large {
  width: 6.5rem;
  height: 4.25rem;
  font-size: 0.875rem;
}

/* Classifica */
.toplist {
  margin: 1.5rem 0 0.75rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.entry-content .toplist {
  padding-left: 0;
}

.toplist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.875rem;
  margin: 0 0 0.75rem;
  padding: 0.875rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  line-height: 1.4;
  transition: border-color 0.15s ease;
}

.toplist-row:hover {
  border-color: var(--line-strong);
}

.toplist-row--first {
  border-color: var(--green);
  box-shadow: inset 0.1875rem 0 0 var(--green);
}

.toplist-row--first:hover {
  border-color: var(--green);
}

.toplist-rank {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.toplist-row--first .toplist-rank {
  background: var(--heading);
  border-color: var(--heading);
  color: #fff;
}

.toplist-main {
  order: 3;
  flex: 1 1 100%;
  min-width: 0;
}

.entry-content .toplist-name {
  margin: 0 0 0.125rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  letter-spacing: 0;
}

.toplist-bonus {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
}

.toplist-bonus b {
  color: var(--heading);
}

.toplist-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  margin: 0.625rem 0 0;
  padding-top: 0.625rem;
  border-top: 1px solid var(--line);
}

.toplist-facts div {
  flex: 1 1 7rem;
  min-width: 0;
}

.toplist-facts dt {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toplist-facts dd {
  margin: 0;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 500;
}

.toplist-score {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: center;
}

.score-value {
  display: block;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.score-value small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.score-label {
  display: block;
  margin-top: 0.1875rem;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toplist-actions {
  order: 4;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4375rem;
  text-align: center;
}

.toplist-review {
  color: var(--text);
  font-size: 0.875rem;
}

.toplist-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (min-width: 40rem) {
  .toplist-row {
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 1rem 1.125rem;
  }

  .toplist-main {
    order: 0;
    flex: 1 1 0;
  }

  .toplist-score {
    order: 0;
    margin-left: 0;
    padding: 0 0.25rem;
  }

  .toplist-actions {
    order: 0;
    flex: 0 0 9.5rem;
  }
}

/* Box informativi */
.info-box {
  margin: 1.75rem 0;
  padding: 1rem 1.125rem;
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  border-left: 0.25rem solid var(--amber);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.info-box-title {
  margin: 0 0 0.375rem;
  color: var(--amber-text);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-box p {
  margin: 0 0 0.5rem;
}

.info-box > :last-child {
  margin-bottom: 0;
}

.entry-content .info-box ul {
  margin: 0 0 0.5rem;
  padding-left: 1.125rem;
}

.entry-content .info-box li::marker {
  color: var(--amber);
}

.info-box--warning {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: var(--red);
}

.info-box--warning .info-box-title {
  color: var(--red);
}

.info-box--note {
  background: var(--tint);
  border-color: var(--line);
  border-left-color: var(--line-strong);
}

.info-box--note .info-box-title {
  color: var(--text);
}

.info-box--tip {
  background: var(--green-soft);
  border-color: #bbf7d0;
  border-left-color: var(--green);
}

.info-box--tip .info-box-title {
  color: var(--green-darker);
}

/* CTA in linea */
.inline-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
  margin: 2rem 0;
  padding: 1.125rem;
  border: 1px solid var(--line);
  border-top: 0.1875rem solid var(--green);
  border-radius: var(--radius);
  font-family: var(--sans);
  line-height: 1.5;
}

.inline-cta-text {
  flex: 1 1 auto;
  min-width: 0;
}

.inline-cta-title {
  margin: 0 0 0.125rem;
  color: var(--heading);
  font-size: 1.0625rem;
  font-weight: 700;
}

.inline-cta p {
  margin: 0;
  font-size: 0.9375rem;
}

@media (min-width: 40rem) {
  .inline-cta {
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1.375rem;
  }

  .inline-cta .button {
    flex: 0 0 auto;
  }
}

/* Tabelle */
.table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.table-scroll--narrow table {
  min-width: 0;
}

.table-scroll caption {
  padding: 0.625rem 0.875rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: left;
}

.table-scroll th,
.table-scroll td {
  padding: 0.6875rem 0.875rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-scroll thead th {
  background: var(--tint);
  color: var(--heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-scroll tbody th {
  color: var(--heading);
  font-weight: 700;
}

.table-scroll tbody tr:last-child th,
.table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.table-scroll tbody tr:hover {
  background: var(--tint);
}

.table-hint {
  margin: -1rem 0 1.5rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
}

/* Etichette testuali */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.entry-content .chip-list {
  padding-left: 0;
}

.chip-list li {
  margin: 0;
  padding: 0.1875rem 0.625rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Passaggi numerati */
.steps {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.entry-content .steps {
  padding-left: 0;
}

.steps > li {
  position: relative;
  margin: 0;
  padding: 0 0 1.5rem 3rem;
  counter-increment: step;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--heading);
  border-radius: 50%;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
}

.steps > li::after {
  content: "";
  position: absolute;
  left: 0.96875rem;
  top: 2.375rem;
  bottom: 0.375rem;
  width: 1px;
  background: var(--line-strong);
}

.steps > li:last-child {
  padding-bottom: 0;
}

.steps > li:last-child::after {
  display: none;
}

.entry-content .steps h3 {
  margin: 0 0 0.25rem;
  padding-top: 0.1875rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  letter-spacing: 0;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Pro e contro */
.pros-cons {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 1.5rem 0;
}

.pros-cons-column {
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-top: 0.1875rem solid var(--green);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pros-cons-column--cons {
  border-top-color: var(--line-strong);
}

.entry-content .pros-cons h3 {
  margin: 0 0 0.625rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content .pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-content .pros-cons li {
  position: relative;
  margin: 0 0 0.5rem;
  padding-left: 1.375rem;
}

.pros-cons li:last-child {
  margin-bottom: 0;
}

.pros-cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.pros-cons-column--pros li::before {
  content: "+";
  color: var(--green-deep);
}

.pros-cons-column--cons li::before {
  content: "\2212";
  color: var(--muted);
}

@media (min-width: 40rem) {
  .pros-cons {
    flex-direction: row;
  }
}

/* FAQ */
.faq-item {
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.entry-content .faq-item h3 {
  margin: 0 0 0.375rem;
}

.faq-item p {
  margin: 0;
}

/* Box autore */
.author-box {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 2.75rem 0 0;
  padding: 1.125rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.author-avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.author-body {
  flex: 1 1 0;
  min-width: 0;
}

.author-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-name {
  margin: 0 0 0.375rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
}

.author-box p:last-child {
  margin: 0;
}

.author-box .author-bio {
  margin: 0 0 0.375rem;
}

@media (min-width: 40rem) {
  .author-box {
    flex-direction: row;
    padding: 1.375rem;
  }
}

/* Riepilogo recensione */
.review-summary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 1.125rem;
  border: 1px solid var(--line);
  border-top: 0.1875rem solid var(--green);
  border-radius: var(--radius);
  font-family: var(--sans);
  line-height: 1.5;
}

.review-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1rem;
}

.review-summary-name {
  margin: 0;
  color: var(--heading);
  font-size: 1.1875rem;
  font-weight: 700;
}

.review-summary-head > div:not(.review-score) {
  order: 3;
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 40rem) {
  .review-summary-head > div:not(.review-score) {
    order: 0;
    flex: 1 1 0;
  }
}

.review-summary-bonus {
  margin: 0;
  font-size: 0.9375rem;
}

.review-score {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.5rem 0.75rem;
  background: var(--green-soft);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  text-align: center;
}

.review-score .score-value {
  font-size: 2rem;
}

.review-bars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-content .review-bars {
  padding-left: 0;
}

.review-bars li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem 0.75rem;
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}

.review-bars-label {
  flex: 1 1 8rem;
  color: var(--text);
}

.review-bars-value {
  flex: 0 0 auto;
  color: var(--heading);
  font-weight: 700;
}

.review-bars-track {
  flex: 1 1 100%;
  height: 0.375rem;
  background: var(--line);
  border-radius: 0.1875rem;
  overflow: hidden;
}

.review-bars-fill {
  display: block;
  height: 100%;
  background: var(--green);
}

.review-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-summary-actions small {
  color: var(--muted);
  text-align: center;
}

@media (min-width: 40rem) {
  .review-summary {
    padding: 1.375rem;
  }

  .review-summary-actions {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .review-summary-actions small {
    text-align: left;
  }
}

/* Schede (chi siamo, risorse di aiuto) */
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.entry-content .card-list {
  padding-left: 0;
}

.card {
  flex: 1 1 15rem;
  min-width: 0;
  margin: 0;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.entry-content .card h3 {
  margin: 0 0 0.375rem;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
}

.card p {
  margin: 0;
}

.card-figure {
  display: block;
  margin: 0.25rem 0;
  color: var(--heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* Lista di autovalutazione */
.checklist {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.entry-content .checklist {
  padding-left: 0;
}

.checklist li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8125rem 1rem;
  cursor: pointer;
}

.checklist label:hover {
  background: var(--tint);
}

.checklist input {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.125rem 0 0;
  accent-color: var(--green-deep);
}

/* Pagina 404 */
.error-code {
  margin: 0 0 0.5rem;
  color: var(--line-strong);
  font-family: var(--sans);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

/* 7. Widget
   -------------------------------------------------------------------------- */
.widget {
  padding: 1.125rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.widget-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--line);
  color: var(--heading);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget p {
  margin: 0 0 0.625rem;
}

.widget > :last-child {
  margin-bottom: 0;
}

.widget-top5 ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-top5 li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.widget-top5 li:first-child {
  padding-top: 0;
}

.widget-top5-rank {
  flex: 0 0 1.125rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.widget-top5-name {
  flex: 1 1 0;
  min-width: 0;
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}

.widget-top5-name:hover {
  text-decoration: underline;
  text-decoration-color: var(--green);
}

.widget-top5-score {
  flex: 0 0 auto;
  color: var(--green-deep);
  font-weight: 700;
}

.widget-top5-note {
  margin: 0.625rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.widget-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.widget-toc li {
  position: relative;
  margin: 0 0 0.4375rem;
  padding-left: 1.5rem;
  counter-increment: toc;
  font-size: 0.875rem;
  line-height: 1.4;
}

.widget-toc li:last-child {
  margin-bottom: 0;
}

.widget-toc li::before {
  content: counter(toc);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.widget-toc a {
  color: var(--text);
  text-decoration: none;
}

.widget-toc a:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

.widget-responsible {
  background: var(--amber-soft);
  border-color: #fde68a;
  font-size: 0.875rem;
}

.widget-responsible .widget-title {
  border-bottom-color: #fde68a;
  color: var(--amber-text);
}

.widget-phone {
  display: block;
  color: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.widget-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-links li {
  margin-bottom: 0.4375rem;
  font-size: 0.875rem;
}

.widget-links li:last-child {
  margin-bottom: 0;
}

.widget-links a {
  color: var(--text);
}

/* Indice dentro l'articolo (solo guida) */
.entry-toc {
  margin: 0 0 2rem;
  padding: 1rem 1.125rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.entry-toc-title {
  margin: 0 0 0.5rem;
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-content .entry-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.entry-content .entry-toc li {
  margin-bottom: 0.25rem;
}

.entry-toc a {
  color: var(--text);
  text-decoration-color: var(--line-strong);
}

/* 8. Moduli
   -------------------------------------------------------------------------- */
.contact-form {
  margin: 1.5rem 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  flex: 1 1 0;
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 0.3125rem;
  color: var(--heading);
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--heading);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--muted);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
  color: var(--text);
}

.form-consent input {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.1875rem 0 0;
  accent-color: var(--green-deep);
}

@media (min-width: 40rem) {
  .form-row {
    flex-direction: row;
  }
}

/* 9. Utilità e preferenze utente
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .site-subheader,
  .widget-area,
  .site-footer {
    display: none;
  }

  .content-area {
    border: 0;
  }
}

/* 10. Fase 2 — recensioni, profili, fonti
   -------------------------------------------------------------------------- */
.review-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.review-metric {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 0.1875rem solid var(--green);
  border-radius: var(--radius);
}

.review-metric dt {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-metric dd {
  margin: 0.1875rem 0 0;
  color: var(--heading);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}

.review-metric dd small {
  display: block;
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.test-box {
  margin: 1.75rem 0;
  padding: 1rem 1.125rem;
  background: var(--tint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.test-box-title {
  margin: 0 0 0.375rem;
  color: var(--heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.test-box p {
  margin: 0;
  color: var(--muted);
}

.test-box dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.875rem 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid var(--line);
}

.test-box dl div {
  flex: 1 1 12rem;
  min-width: 0;
}

.test-box dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.test-box dd {
  margin: 0;
  color: var(--heading);
  font-weight: 500;
}

.toplist-verdict {
  margin: 0.375rem 0 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.55;
}

.entry-content .sources {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.button-linkedin svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--text);
}

.button-linkedin:hover svg {
  color: var(--green-deep);
}

.author-box .author-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  margin: 0.625rem 0 0;
}

.entry-content .author-box {
  margin: 1.5rem 0;
}

.author-box--profile {
  margin-top: 0;
}

.author-avatar--large {
  width: 5.5rem;
  height: 5.5rem;
  font-size: 1.5rem;
}

/* ==========================================================================
   puntafacile.com: aggiunte al segnaposto
   Contatore soglia documenti: un modulo da blog, carta bianca, bordo sottile, stato con puntini colorati
   (verde «non ancora», ambra «possono», rosso «richiesti», grigio «non verificabile»).
   ========================================================================== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }

html { -webkit-tap-highlight-color: transparent; }
a, button, label, input { touch-action: manipulation; }
.button, .kyc-switch label { -webkit-user-select: none; user-select: none; }
.button { transition: transform 140ms var(--ease-out), background-color 140ms ease; }
.button:active { transform: scale(0.97); }
main:focus { outline: none; }

/* loghi reali */
.operator-logo--img { padding: 4px; background: #fff; overflow: hidden; }
.operator-logo--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.operator-logo--big { width: 5rem; height: 5rem; }

/* ritratti */
.author-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.profile-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; display: block; margin: 0 0 1rem; }

/* sezioni dell'articolo */
.entry-section { scroll-margin-top: 1rem; }
.entry-section + .entry-section { margin-top: 2.25rem; }
.table-scroll { position: relative; }

/* ---------- contatore ---------- */
.kyc-tool { margin: 1.25rem 0 0.5rem; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18); overflow: hidden; }
.kyc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .9rem 1.1rem; background: var(--heading); color: #fff; }
.kyc-title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.kyc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.kyc-tags li { margin: 0; padding: .15rem .55rem; border-radius: 999px; background: rgba(74, 222, 128, .16); color: #bbf7d0; font: 700 .75rem/1.5 var(--sans); }
.kyc-fields { display: grid; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .kyc-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.kyc-fields label { display: flex; flex-direction: column; gap: .35rem; font: 700 .9rem/1.3 var(--sans); color: var(--heading); }
.kyc-unit { position: relative; display: block; }
.kyc-unit input { width: 100%; font: 700 1.25rem/1.2 var(--sans); padding: .6rem 2.2rem .6rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--heading); background: var(--tint); font-variant-numeric: tabular-nums; }
.kyc-unit input:focus { outline: 3px solid rgba(22, 163, 74, .35); outline-offset: 1px; border-color: var(--green-deep); background: #fff; }
.kyc-unit span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.kyc-switch { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.kyc-switch legend { width: 100%; padding: 0; margin: 0 0 .35rem; font: 700 .9rem/1.3 var(--sans); color: var(--heading); }
.kyc-switch label { flex-direction: row; align-items: center; gap: .45rem; padding: .55rem .8rem; min-height: 2.75rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease; }
.kyc-switch label:has(input:checked) { background: var(--green-soft); border-color: var(--green-deep); color: var(--green-darker); font-weight: 700; }
.kyc-switch input { accent-color: var(--green-deep); width: 1.05rem; height: 1.05rem; margin: 0; }
.kyc-tool output { display: block; padding: .9rem 1.1rem 0; }
.kyc-sum { margin: 0 0 .75rem; font: 500 .95rem/1.5 var(--sans); color: var(--text); }
.kyc-sum strong { font-size: 1.15rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.kyc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: k; }
.kyc-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .25rem 1rem; align-items: baseline; padding: .55rem 0; margin: 0; border-bottom: 1px solid var(--line); font: 400 .92rem/1.45 var(--sans); }
.kyc-name { font-weight: 700; color: var(--heading); }
.kyc-state { display: flex; gap: .5rem; align-items: baseline; }
.kyc-state::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--muted); transform: translateY(-.05rem); transition: background-color 160ms ease; }
.kyc-row[data-k="si"] .kyc-state::before { background: var(--red); }
.kyc-row[data-k="forse"] .kyc-state::before { background: var(--amber); }
.kyc-row[data-k="no"] .kyc-state::before { background: var(--green); }
.kyc-row[data-k="nv"] .kyc-state { color: var(--muted); }
@media (max-width: 30rem) { .kyc-row { grid-template-columns: 1fr; } }
.kyc-foot { margin: 0; padding: .8rem 1.1rem 1rem; font: 400 .82rem/1.5 var(--sans); color: var(--muted); }

/* ---------- box della recensione ---------- */
.review-box { margin: 1.25rem 0 0; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--tint); }
.review-box-top { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.review-box-top > div { flex: 1 1 auto; min-width: 0; }
.review-box-name { margin: 0; font: 700 1.2rem/1.2 var(--serif); color: var(--heading); }
.review-box-sub { margin: .2rem 0 0; font: 500 .85rem/1.3 var(--sans); color: var(--muted); }
.review-box-score { margin: 0; font: 700 1.9rem/1 var(--sans); color: var(--green-darker); font-variant-numeric: tabular-nums; }
.review-box-score small { font-size: .9rem; color: var(--muted); }
.review-box .button { margin-top: .75rem; }
.review-box-note { margin: .6rem 0 0; font-size: .8rem; color: var(--muted); }
.sources { font-size: .92rem; }

/* Avviso di affiliazione fuori dal contenuto principale */
.site-disclosure { padding-top: 1.25rem; }
.site-disclosure .disclosure { margin: 0; }
.site-disclosure + .site-content { padding-top: 1rem; }
@media (min-width: 64rem) {
  .site-disclosure + .site-content { padding-top: 1.25rem; }
}
