/* =========================================================================
   Presenza · Stili condivisi delle pagine informative
   Usato da: privacy.html, privacy-en.html, cookie.html, cookie-en.html
   ========================================================================= */

:root{
  --bg:#ffffff;
  --bg-soft:#f6f7f6;
  --ink:#1c211f;
  --ink-soft:#525a56;
  --muted:#8b938e;
  --sage:#4f857a;
  --sage-deep:#3a6a60;
  --sage-tint:#eaf2ef;
  --line:#e7eae8;
  --line-soft:#eef1ef;
  --sans:"Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --read:720px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--sage-deep); text-decoration:underline; text-underline-offset:2px}
a:hover{color:var(--sage)}
::selection{background:rgba(79,133,122,0.18)}
:focus-visible{outline:2px solid var(--sage); outline-offset:3px; border-radius:3px}

.wrap{max-width:var(--read); margin:0 auto; padding:0 24px}

/* ---------- intestazione ---------- */
header.pol-nav{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line-soft);
}
.pol-nav-in{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; min-height:66px; padding-top:10px; padding-bottom:10px;
}
.pol-back{
  font-size:15px; font-weight:600; color:var(--ink-soft);
  text-decoration:none; display:inline-flex; align-items:center; gap:8px;
}
.pol-back:hover{color:var(--ink)}
.lang{
  display:inline-flex; flex:none;
  border:1px solid var(--line); border-radius:999px; overflow:hidden;
  font-size:13px; font-weight:600;
}
.lang a{padding:7px 11px; color:var(--muted); line-height:1; text-decoration:none}
.lang a.on{background:var(--sage); color:#fff}
.lang a:hover:not(.on){color:var(--ink)}

/* ---------- corpo del documento ---------- */
main{padding:52px 0 76px}

.pol-eyebrow{
  display:block;
  font-size:13px; font-weight:600;
  letter-spacing:0.14em; line-height:1.35;
  text-transform:uppercase; color:var(--sage);
  margin-bottom:14px;
}
h1{
  font-family:var(--disp); font-weight:500;
  font-size:clamp(32px,5.2vw,44px); line-height:1.1;
  letter-spacing:-0.02em; margin:0 0 14px;
}
.pol-updated{
  font-size:14px; color:var(--muted); margin:0 0 34px;
  padding-bottom:26px; border-bottom:1px solid var(--line);
}
h2{
  font-family:var(--disp); font-weight:500;
  font-size:clamp(22px,3vw,27px); line-height:1.22;
  letter-spacing:-0.02em; margin:46px 0 14px;
}
h3{
  font-family:var(--sans); font-weight:700;
  font-size:17px; line-height:1.4; margin:28px 0 8px;
}
p{margin:0 0 16px}
p:last-child{margin-bottom:0}
ul,ol{margin:0 0 16px; padding-left:22px}
li{margin-bottom:9px}
li:last-child{margin-bottom:0}
strong{font-weight:700; color:var(--ink)}

.pol-note{
  background:var(--sage-tint);
  border-radius:16px;
  padding:22px 24px;
  margin:30px 0;
}
.pol-note h3{margin-top:0; color:var(--sage-deep)}
.pol-note p:last-child{margin-bottom:0}

/* ---------- tabella cookie ---------- */
.pol-table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:22px 0 26px;
  border:1px solid var(--line);
  border-radius:14px;
}
table{
  border-collapse:collapse;
  width:100%;
  min-width:560px;
  font-size:15px;
  line-height:1.55;
}
caption{
  text-align:left; font-size:14px; color:var(--muted);
  padding:14px 16px 0;
}
th,td{
  text-align:left; vertical-align:top;
  padding:12px 16px;
  border-bottom:1px solid var(--line-soft);
}
thead th{
  background:var(--bg-soft);
  font-size:13px; font-weight:700;
  letter-spacing:0.04em; text-transform:uppercase;
  color:var(--ink-soft);
  white-space:nowrap;
}
tbody tr:last-child td{border-bottom:none}
td code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:13.5px;
  background:var(--bg-soft);
  border-radius:5px;
  padding:2px 6px;
  white-space:nowrap;
}

/* ---------- footer minimo ---------- */
footer.pol-foot{
  background:var(--ink);
  color:#cdd4d0;
  padding:38px 0 34px;
  font-size:14.5px;
}
footer.pol-foot a{color:#cdd4d0; text-decoration:none}
footer.pol-foot a:hover{color:#fff; text-decoration:underline; text-underline-offset:3px}
.pol-foot-links{
  display:flex; flex-wrap:wrap; gap:14px 22px;
  margin-bottom:16px;
}
.pol-foot-legal{color:#7d857f; font-size:13px; line-height:1.6}

@media (max-width:560px){
  body{font-size:16.5px}
  main{padding:40px 0 60px}
  .pol-nav-in{min-height:60px}
  .pol-back{font-size:14px}
}
