/* Stile condiviso delle pagine di contenuto (privacy, guide).
   Nessuna risorsa esterna: solo font di sistema. */
:root {
    --bg: #090d16;
    --card: #0f172a;
    --line: #1e293b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #818cf8;
    --accent-strong: #6366f1;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.7 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}
a { color: var(--accent); }

/* Intestazione */
.site-header { border-bottom: 1px solid var(--line); background: rgba(9, 13, 22, .9); }
.site-header .inner { max-width: 760px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #6366f1, #7c3aed); display: grid; place-items: center; }
.brand-logo svg { width: 18px; height: 18px; }
.header-cta { font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; background: var(--accent-strong); padding: 7px 14px; border-radius: 10px; white-space: nowrap; }
.header-cta:hover { background: #4f46e5; }

/* Contenuto */
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.back { display: inline-block; margin-bottom: 24px; font-size: 14px; text-decoration: none; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; color: #fff; }
h2 { font-size: 21px; line-height: 1.35; margin: 36px 0 10px; color: #fff; }
h3 { font-size: 17px; margin: 24px 0 6px; color: #fff; }
p, li { color: var(--text); }
.updated, .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.lead { font-size: 18px; color: #cbd5e1; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 20px 0; }
.box.tip { border-color: rgba(99, 102, 241, .45); }
.box.warn { border-color: rgba(245, 158, 11, .45); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 14px; }
.todo { background: #422006; color: #fde68a; padding: 0 4px; border-radius: 4px; }

/* Tabelle (scorrono in orizzontale su schermi stretti) */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--card); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Invito all'azione */
.cta { margin: 36px 0 0; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(99, 102, 241, .18), rgba(124, 58, 237, .12)); border: 1px solid rgba(99, 102, 241, .4); text-align: center; }
.cta p { margin: 0 0 12px; }
.cta a { display: inline-block; font-weight: 600; color: #fff; text-decoration: none; background: var(--accent-strong); padding: 10px 18px; border-radius: 12px; }

/* Altre guide */
.related { margin-top: 40px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related a { display: block; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.related a:hover { border-color: var(--accent-strong); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner { max-width: 760px; margin: 0 auto; padding: 20px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
