/* ==========================================================================
   FinanceFlow — Landing · Pagine di testo (privacy, termini, supporto)
   Solo tipografia: i token e i font arrivano da base.css.
   Le pagine che usano questo foglio sono GENERATE da scripts/genera-legale.mjs.
   ========================================================================== */

.doc-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--nav-surface);
  border-bottom: 1px solid var(--nav-border);
}

.doc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.doc-nav a {
  color: var(--text-2);
  text-decoration: none;
}

.doc-nav a:hover { color: var(--text-1); }

.doc {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.doc h1 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  color: var(--text-1);
  margin: 0 0 0.75rem;
}

.doc .doc-data {
  color: var(--text-3);
  font-size: 0.95rem;
  margin: 0 0 2.5rem;
}

.doc h2 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  line-height: 1.25;
  color: var(--text-1);
  margin: 2.75rem 0 0.9rem;
}

.doc p,
.doc li {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-2);
}

.doc p { margin: 0 0 1.1rem; }

.doc ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.doc li { margin: 0 0 0.7rem; }

.doc a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.doc a:hover { color: var(--cyan); }

/* L'avviso che il generatore stampa quando la lista DATI_MANCANTI non è vuota. */
.doc-avviso {
  border: 1px solid var(--outline);
  border-radius: 0.75rem;
  background: var(--surface-low);
  padding: 1rem 1.15rem;
  margin: 0 0 2rem;
}

.doc-torna {
  display: inline-block;
  margin-top: 3rem;
  color: var(--text-2);
  text-decoration: none;
}

.doc-torna:hover { color: var(--text-1); }
