/* ============================================================
   PERLA NERA — pages/legal.css
   Pagine legali (privacy, cookie): testo sobrio e leggibile.
   ============================================================ */

.legal__inner {
  max-width: 72ch;
  display: grid; gap: 2.5rem;
}
.legal h2 {
  font-family: var(--font-ui); font-weight: 400;
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--perla);
  margin-bottom: 0.8rem;
}
.legal p, .legal li {
  color: var(--argento);
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.2rem; }
.legal li { position: relative; }
.legal li::before {
  content: "";
  position: absolute; left: -1.2rem; top: 0.8em;
  width: 0.45rem; height: 1px;
  background: var(--argento);
}
.legal a {
  color: var(--perla);
  border-bottom: 1px solid var(--linea);
  transition: border-color var(--dur-fast);
}
.legal a:hover { border-color: var(--argento); }
.legal .btn { justify-self: start; margin-top: 0.6rem; }

/* ============================================================
   Informative legali — tabelle e struttura.
   I documenti arrivano come blocchi HTML dai file di lingua,
   quindi lo stile deve reggere elementi generici (h3, table,
   code) senza classi dedicate.
   ============================================================ */
.legal__inner h3 {
  margin-top: 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--perla);
}
.legal__inner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  color: var(--perla);
  background: var(--nero-surface);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 0.1em 0.4em;
}

/* Le tabelle possono essere larghe: scorrono da sole invece di
   allargare la pagina. */
.legal__table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin-top: 1.4rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.legal__table thead th {
  text-align: left;
  font-family: var(--font-ui); font-weight: 400;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grigio-muto);
  padding: 0 1rem 0.7rem 0;
  border-bottom: 1px solid var(--linea);
  white-space: nowrap;
}
.legal__table td {
  vertical-align: top;
  padding: 0.9rem 1rem 0.9rem 0;
  border-bottom: 1px solid var(--linea);
  color: var(--argento);
  min-width: 11rem;
}
.legal__table tr td:first-child { color: var(--perla); }

.legal__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--grigio-muto);
}

.legal__manage {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--linea);
}
.legal__manage .btn { margin-top: 1.2rem; }
