/* Shared document layout for Privacy and Terms. Homepage styles stay unchanged. */
.legal-page { background: #fff; }
.legal-content {
  width: min(752px, calc(100% - 48px));
  margin: 62px auto 90px;
}
.legal-label { color: #78787e; font-size: 19px; margin-bottom: 12px; }
.legal-heading h1 { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.1; letter-spacing: -.045em; }
.legal-date { color: #78787e; font-size: 16px; margin-top: 16px; }
.legal-content p, .legal-content li { color: #38383c; font-size: 18px; line-height: 1.55; }
.legal-content .legal-label { color: #78787e; font-size: 19px; }
.legal-content .legal-date { color: #78787e; font-size: 16px; }
.legal-intro { margin: 38px 0 46px; }
.legal-intro p { font-size: 21px; line-height: 1.55; }
.legal-content section { padding: 25px 0 30px; border-bottom: 1px solid #dcdce0; }
.legal-content section:first-of-type { padding-top: 0; }
.legal-content section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-content h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 12px; }
.legal-content section p + p { margin-top: 16px; }
.legal-content ul { padding-left: 29px; margin: 10px 0 0; }
.legal-content li + li { margin-top: 3px; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; color: #151515; }
.legal-content a:hover { color: #666; }
.legal-page .footer { border-top: 1px solid #e5e5e8; }
.legal-page .footer [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .legal-content { width: calc(100% - 40px); margin-top: 40px; margin-bottom: 56px; }
  .legal-heading h1 { font-size: 40px; }
  .legal-content .legal-label { font-size: 16px; margin-bottom: 10px; }
  .legal-content .legal-date { font-size: 14px; margin-top: 14px; }
  .legal-intro { margin: 28px 0 34px; }
  .legal-intro p { font-size: 18px; }
  .legal-content h2 { font-size: 24px; }
  .legal-content p, .legal-content li { font-size: 16px; line-height: 1.6; }
  .legal-content section { padding: 24px 0; }
}
@media print {
  .legal-page .header, .legal-page .footer, .skip { display: none; }
  .legal-content { width: 100%; max-width: none; margin: 0; }
  .legal-content h2 { break-after: avoid; }
  .legal-content p, .legal-content li { orphans: 3; widows: 3; }
  .legal-content section { break-inside: auto; }
}
