/* Pagine legali: stessa identità della home, solo tipografia. */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  background: linear-gradient(var(--bg) 60%, transparent);
}
.legal-brand { width: 104px; color: var(--ink); }
.legal-brand svg { width: 100%; height: auto; }

.legal-page { padding: clamp(32px, 6vh, 80px) var(--gutter) var(--section-y); }
.legal-page .container { max-width: 760px; margin: 0 auto; }
.legal-eyebrow { font-size: var(--fs-small); color: var(--accent); }
.legal-page h1 { font-size: clamp(44px, 6vw, 88px); font-weight: 500; letter-spacing: var(--track-tight); line-height: .95; margin: 14px 0 18px; }
.legal-page h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; margin: 56px 0 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
.legal-page h3 { font-size: 17px; font-weight: 500; margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-left: 1.2em; }
.legal-page strong { color: var(--ink); font-weight: 500; }
.legal-page .updated { font-size: var(--fs-small); }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 500; }
.legal-table td { color: var(--muted); }

/* campo da completare (togliere quando i dati sono inseriti) */
.todo { background: rgba(250, 204, 21, .16); color: #fde68a; padding: 0 .35em; border-radius: .3em; }

.legal-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 24px var(--gutter); border-top: 1px solid var(--rule); font-size: var(--fs-small); color: var(--muted);
}
.legal-foot .ul { position: relative; }
.ul { position: relative; padding-bottom: 2px; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ul:hover::after, .ul:focus-visible::after { transform: scaleX(1); }
