.legal-content { padding: 40px 0 56px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.2; margin: 28px 0 18px; letter-spacing: -.04em; }
.legal-content h2 { font-size: 21px; margin: 32px 0 10px; line-height: 1.4; }
.legal-content p + p { margin-top: 14px; }
.legal-content a, .legal-header > a:last-child, .legal-footer a { text-decoration: underline; text-underline-offset: 4px; }
.legal-draft { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.legal-footer { justify-content: flex-start; border-top: 1px solid var(--line); }
.legal-content dt { font-weight: 600; margin-top: 18px; }
.legal-content dd { margin: 4px 0 0; }

.legal-shell {
  width: min(100% - 2 * var(--gutter, 24px), 76ch);
  margin-inline: auto;
}
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 20px;
}
.legal-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-content [id] { scroll-margin-top: 100px; }
.contact-page-feature, .legal-footer {
  position: relative;
  border-top: 1px solid var(--divider);
}
.contact-page-feature::before, .legal-footer::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.contact-page-form, .legal-draft {
  background: var(--dark-box, #fff);
  border-color: var(--dark-box-line, var(--line));
}
.contact-page-form a { text-decoration: underline; text-underline-offset: 3px; }
.contact-page-form button:disabled { cursor: default; opacity: .68; }
