/* Legal pages (cookie policy, privacy, DPA, terms) + the cookie banner.
   One stylesheet for all four documents — they share a single reading layout. */

.lg-page {
  background: var(--ds-paper);
}

/* ---------------------------------------------------------------- header */
.lg-top {
  border-bottom: 1px solid var(--ds-hairline-2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.lg-top__bar {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lg-top__bar img { height: 26px; width: auto; display: block; }

.lg-top__back {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 13.5px;
  color: var(--ds-primary);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- document */
.lg-doc {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(56px, 8vw, 80px);
}

.lg-doc__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ds-ink-faint);
  margin: 0 0 28px;
}

.lg-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: var(--weight-black);
  color: var(--ds-ink);
  margin: 0 0 12px;
  text-wrap: balance;
}

.lg-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: var(--weight-bold);
  color: var(--ds-ink);
  margin: 44px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ds-hairline-2);
}

.lg-doc h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-semibold);
  color: var(--ds-ink);
  margin: 24px 0 8px;
}

.lg-doc p,
.lg-doc li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ds-ink-muted);
  margin: 0 0 14px;
}

.lg-doc strong { color: var(--ds-ink); font-weight: var(--weight-semibold); }
.lg-doc ul { padding-left: 22px; margin: 0 0 18px; }
.lg-doc li { margin-bottom: 8px; }

.lg-doc__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ds-ink-2);
  margin-bottom: 32px;
}

/* the headline claim, set apart */
.lg-claim {
  background: var(--ds-ok-bg);
  border: 1px solid var(--ds-ok-border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin: 0 0 36px;
}
.lg-claim p { margin: 0; color: var(--ds-ok-ink); font-size: 16.5px; line-height: 1.6; }
.lg-claim strong { color: #08554A; }

/* table of the (few) storage items we do use */
.lg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  font-size: 14.5px;
}
.lg-table th,
.lg-table td {
  border: 1px solid var(--ds-hairline);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}
.lg-table th {
  background: var(--ds-paper-3);
  font-weight: var(--weight-semibold);
  color: var(--ds-ink);
  font-size: 13px;
}
.lg-table td { color: var(--ds-ink-muted); }
.lg-table code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ds-ink);
  background: var(--ds-paper-3);
  padding: 1px 5px;
  border-radius: 4px;
}

.lg-doc__contact {
  background: var(--ds-paper-2);
  border: 1px solid var(--ds-hairline);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-top: 36px;
}
.lg-doc__contact p:last-child { margin-bottom: 0; }

/* Column widths for the cookie table — as classes, since the CSP forbids inline styles. */
.lg-table th:nth-child(1), .lg-table td:nth-child(1) { width: 22%; }
.lg-table th:nth-child(2), .lg-table td:nth-child(2) { width: 20%; }
.lg-table th:nth-child(3), .lg-table td:nth-child(3) { width: 26%; }
.lg-table th:nth-child(4), .lg-table td:nth-child(4) { width: 16%; }
.lg-table th:nth-child(5), .lg-table td:nth-child(5) { width: 16%; }

/* ---------------------------------------------------------------- 404 */
.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 8px;
}
.nf__logo { margin-bottom: 28px; }
.nf__code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ds-accent-dark);
  margin-bottom: 8px;
}
.nf__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
