/* ==========================================================
   Privacy & cookie policy
   ========================================================== */

.legal-hero { padding-bottom: 48px; }
.legal-hero .svc-lead { max-width: 640px; margin-bottom: 14px; }
.legal__updated { color: var(--muted); font-size: 14px; }

.legal { padding: 0 0 110px; }
/* minmax(0, 1fr): without it the cookie table stretches the cards past a phone's edge */
.legal__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

.legal__card { max-width: 860px; padding: 32px 34px; border-radius: var(--radius); }
.legal__card h2 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 14px; }
.legal__card p,
.legal__card li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal__card > * + * { margin-top: 12px; }
.legal__card ul { display: grid; gap: 10px; padding-left: 20px; }
.legal__card li::marker { color: var(--jade); }
.legal__card b { color: var(--text); font-weight: 600; }
.legal__card a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal__card .btn { margin-top: 18px; }

/* Wide enough on desktop; on narrow phones the table scrolls inside the card, not the page */
.legal__table { overflow-x: auto; margin-top: 18px; }
.legal__table table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; }
.legal__table th,
.legal__table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal__table th { font-family: var(--font-head); font-weight: 600; color: var(--text); }
.legal__table td { color: var(--muted); line-height: 1.5; }
.legal__table td small { display: block; margin-top: 2px; font-size: 12.5px; opacity: .8; }
.legal__table code { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 13px; color: var(--text); white-space: nowrap; }
.legal__table tr:last-child td { border-bottom: 0; }

@media (max-width: 640px) {
  .legal { padding-bottom: 80px; }
  .legal__card { padding: 24px 20px; }
  .legal__card p,
  .legal__card li { font-size: 15px; }
}
