/* ============================================================
   Privacy and cookie policies (/privacy/, /cookies/ and their /pt/ pages).
   Loaded after main.css, which supplies the tokens, nav, footer and type.
   These pages run no main.js: the nav is drawn already stuck, and the only
   script is the language cookie (inline in each page).
   ============================================================ */

.legal{
  max-width:760px;
  margin:0 auto;
  padding:clamp(120px, 16vh, 168px) var(--gutter) clamp(72px, 10vh, 120px);
}

.legal__title{
  margin:22px 0 14px;
  font-size:clamp(44px, 8vw, 84px);
  padding-bottom:.08em;             /* keeps descenders inside the gradient clip */
}

.legal__meta{
  margin:0 0 48px;
  font-size:13px;
  color:var(--text-faint);
}

/* The short version: the whole policy in a few lines, set apart */
.legal__lede{
  margin:0 0 56px;
  padding:22px 26px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:var(--bg-raise);
  color:var(--text);
  font-size:17px;
  line-height:1.65;
}
.legal__lede p{ margin:0; color:inherit; }
.legal__lede p + p{ margin-top:12px; }

.legal h2{
  margin:52px 0 14px;
  font-size:21px;
  font-weight:500;
  letter-spacing:-.015em;
  line-height:1.3;
  color:var(--text);
}
.legal h3{
  margin:30px 0 8px;
  font-size:16px;
  font-weight:500;
  color:var(--text);
}

.legal p,
.legal li{
  color:var(--text-dim);
}
.legal p{ margin:0 0 14px; }
.legal ul{ margin:0 0 14px; padding-left:20px; }
.legal li{ margin-bottom:6px; }
.legal li::marker{ color:var(--text-faint); }
.legal strong{ font-weight:500; color:var(--text); }
.legal code{
  font-family:ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size:.88em;
  padding:1px 6px;
  border-radius:6px;
  background:rgba(255,255,255,.06);
  color:var(--text);
}

.legal a:not(.btn){
  color:var(--text);
  text-decoration:underline;
  text-decoration-color:var(--line-strong);
  text-underline-offset:3px;
  transition:text-decoration-color var(--t-hover) ease;
}
@media (hover:hover){ .legal a:not(.btn):hover{ text-decoration-color:currentColor; } }

/* What is processed: one row per purpose. Scrolls sideways on its own on a
   phone rather than widening the page. */
.legal__table{
  margin:18px 0 22px;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:var(--r);
}
.legal table{
  width:100%;
  min-width:560px;
  border-collapse:collapse;
  font-size:14px;
  line-height:1.5;
}
.legal th,
.legal td{
  padding:13px 16px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line);
}
.legal tr:last-child td{ border-bottom:0; }
.legal th{
  font-weight:500;
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--text-faint);
  background:rgba(255,255,255,.025);
}
.legal td{ color:var(--text-dim); }
.legal td:first-child{ color:var(--text); white-space:nowrap; }

.legal__back{ margin-top:56px; }
