/* GoldenHour OS — pagine legali (privacy e termini del prodotto).
   Estende /privacy/styles.css, che a sua volta sta sopra /shared.css.
   Qui c'e' solo cio' che la pagina privacy del sito non aveva bisogno di avere:
   liste, tabelle e il riquadro di bozza. */

/* ── Liste ──────────────────────────────────────────────────────────────── */

.legal ul,
.legal ol {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal li {
  margin-bottom: 8px;
}

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

.legal li::marker { color: var(--primary); }

/* ── Tabelle ────────────────────────────────────────────────────────────── */

/* Il testo legale sta in una colonna stretta; una tabella a tre colonne su
   telefono non ci sta. Scorre dentro al proprio contenitore invece di far
   scorrere la pagina di lato. */
.legal table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
}

.legal table th,
.legal table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.legal table thead th {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

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

.legal table tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Riquadro di bozza ──────────────────────────────────────────────────── */

/* Deliberatamente vistoso: e' un blocco che DEVE sparire prima della
   pubblicazione, quindi non deve poter passare inosservato in anteprima. */
.nota-bozza {
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 2px dashed var(--primary);
  border-radius: var(--r-sm, 8px);
  background: var(--bg-alt);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.nota-bozza strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nota-bozza ol {
  margin: 0;
  padding-left: 20px;
}

.nota-bozza b { color: var(--text); }

.nota-bozza code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg, transparent);
  color: var(--text);
}
