/* ============================================
   Drougas Skiasi — Legal Pages
   Privacy, cookies and terms: long-form prose
   ============================================ */

.legal {
  max-width: 68ch;
}

.legal-updated {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  margin: 2.5rem 0 0.75rem;
  scroll-margin-top: 6rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.legal p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-soft);
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal a {
  color: var(--accent);
}

.legal strong {
  color: var(--text);
}

.legal code {
  background: var(--bg-alt);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.88em;
  word-break: break-word;
}

/* Tables carry the processing and recipient inventories, so they must stay
   readable on a phone: the table scrolls inside its own box instead of pushing
   the page sideways. */
.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}

.legal-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.legal-table thead th {
  background: var(--bg-alt);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
}

.legal-table tbody td {
  color: var(--text-soft);
}

.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
