/* Privacy Policy and Terms of Service — reading layout on top of site.css.
   Same header, footer, fonts and blue as the home page; the legal text
   itself sits in one comfortable column. Everything is scoped to
   body.legal so the home page is untouched. */

.legal .page {
  width: 100%;
  max-width: calc(68ch + 48px);
  margin-inline: auto;
  padding: 40px 24px 72px;
  font-size: 17px;
  line-height: 1.7;
}

.legal .page h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
}
.legal .page .effective-date {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cobalt);
}
.legal .rule {
  margin: 28px 0 32px;
  border: 0;
  border-top: 1.5px solid var(--line);
}

.legal .page h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: 16px;
}
.legal .page p { margin: 0 0 18px; color: var(--muted); }
.legal .page strong { color: var(--ink); font-weight: 600; }

.legal .policy-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}
.legal .policy-list li + li { margin-top: 8px; }
.legal .policy-list li::marker { color: var(--cobalt); }

.legal .policy-address { margin: 0 0 18px; font-style: normal; color: var(--muted); }

/* Two-column tables with row headers; on a phone each row stacks. */
.legal .policy-table {
  width: 100%;
  margin: 4px 0 22px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.6;
}
.legal .policy-table th,
.legal .policy-table td {
  padding: 14px 0;
  border-top: 1.5px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal .policy-table thead th {
  padding-top: 0;
  border-top: 0;
  color: var(--cobalt);
  font-size: 15px;
  font-weight: 600;
}
.legal .policy-table tbody th {
  width: 40%;
  padding-right: 20px;
  color: var(--navy);
  font-weight: 600;
}
.legal .policy-table td { color: var(--muted); }

.legal .contact-card {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1.5px solid var(--line);
}
.legal .contact-card p { margin: 0; }
.legal .contact-card p.contact-card__company { color: var(--navy); font-weight: 700; }
.legal .contact-card p.contact-card__label {
  margin-top: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

/* Same loud marker as before for an unconfirmed legal value (see README). */
.legal .pending {
  padding: 1px 6px;
  border: 1px dashed #a16207;
  border-radius: 6px;
  background: #fef3c7;
  color: #713f12;
  font-weight: 600;
}

.legal .site-footer { border-top: 1.5px solid var(--line); }

@media (max-width: 640px) {
  .legal .page { padding: 24px 18px 56px; }
  .legal .page h2 { margin-top: 40px; }
  .legal .policy-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .legal .policy-table tr,
  .legal .policy-table th,
  .legal .policy-table td { display: block; }
  .legal .policy-table tbody th { width: auto; padding: 14px 0 4px; }
  .legal .policy-table td { padding-top: 0; border-top: 0; }
  .legal .contact-card { padding: 20px; }
}
