/* Privacy */

.priv-hero__in { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 80px); }
.priv-hero .display { color: var(--navy); font-size: var(--fs-h1); }
.priv-hero__date { margin: 20px 0 0; font: 600 12px/1.5 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

.priv__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) { .priv__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; } }
.priv__body { max-width: 780px; min-width: 0; }

/* Indice: in cima su telefono, a lato e fisso su desktop */
.priv-toc h2 { margin: 0 0 12px; font: 600 12px/1.5 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.priv-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-top: 1px solid var(--line); }
.priv-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.priv-toc a { display: flex; gap: 12px; padding: 10px 0; font: 500 15px/1.4 var(--ui); color: var(--ink); text-decoration: none; }
.priv-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 2ch; color: var(--brass); font-variant-numeric: tabular-nums; }
.priv-toc a:hover, .priv-toc a:focus-visible { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass); }
@media (min-width: 1024px) { .priv-toc { position: sticky; top: 104px; align-self: start; max-height: calc(100vh - 128px); overflow-y: auto; } }

/* In breve */
.priv-brief { margin: 0 0 48px; padding: clamp(20px, 3vw, 32px); background: var(--ivory); border: 1px solid var(--line); border-inline-start: 2px solid var(--brass); border-radius: var(--radius); }
.priv-brief h2 { margin: 0 0 14px; font-family: var(--brand); font-weight: 400; font-size: var(--fs-h3); color: var(--navy); }
.priv-brief ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.priv-brief li { position: relative; padding-inline-start: 20px; font-size: 16px; line-height: 1.6; }
.priv-brief li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }

/* Testo */
.priv__text { font-size: 17px; }
.priv__text h2 { scroll-margin-top: 96px; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-family: var(--brand); font-weight: 400; font-size: var(--fs-h3); color: var(--navy); }
.priv__text h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.priv__text h3 { margin: 1.6em 0 .5em; font: 600 13px/1.4 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.priv__text ul { margin: 0 0 1.1em; padding-inline-start: 1.2em; list-style: disc; }
.priv__text li { margin-bottom: .4em; }
.priv__text li::marker { color: var(--brass); }
.priv__text a { color: var(--navy); text-decoration-color: var(--brass); overflow-wrap: anywhere; }
.priv-card { margin: 0 0 1.1em; padding: 18px 22px; font-style: normal; font-family: var(--ui); font-size: 15px; line-height: 1.7; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); }
.priv-card strong { font-weight: 600; }
.priv__updated { margin-top: 2.4em; font: 600 12px/1.5 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Tabelle: righe a schede su telefono, tabella vera da 720 px */
.priv-table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-family: var(--ui); font-size: 15px; line-height: 1.55; }
.priv-table th { font: 600 11px/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); text-align: start; }
.priv-table code { font: 600 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy); overflow-wrap: anywhere; }
.priv-table__by { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.priv-tag { display: inline-block; margin-inline-end: 6px; padding: 1px 7px; font: 600 10px/1.6 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: rgba(168, 135, 90, .16); border-radius: 2px; vertical-align: 1px; }

@media (max-width: 719px) {
  .priv-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .priv-table, .priv-table tbody, .priv-table tr, .priv-table td { display: block; }
  .priv-table tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .priv-table tr:last-child { border-bottom: 1px solid var(--line); }
  .priv-table td { padding: 3px 0; }
  .priv-table td::before { content: attr(data-label); display: block; font: 600 10px/1.6 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
}
@media (min-width: 720px) {
  .priv-table th, .priv-table td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
  .priv-table th { border-bottom-color: var(--brass); }
  .priv-table th:first-child, .priv-table td:first-child { padding-inline-start: 0; }
  .priv-table th:last-child, .priv-table td:last-child { padding-inline-end: 0; }
  .priv-table--2 td:first-child { width: 48%; }
  .priv-table--cookies td:first-child { width: 26%; }
  .priv-table--cookies td:last-child { width: 18%; white-space: nowrap; }
  .priv-table--3 td:first-child { width: 28%; }
  .priv-table--3 td:last-child { width: 24%; }
}
