/* Contextual notices on the product page. */
.download-section .download-legal-note {
  max-width: 540px;
  margin: 12px auto 0;
  color: #b6c3d5;
  font-size: 12px;
  line-height: 1.7;
  text-wrap: pretty;
}
.download-legal-note a {
  color: #d5e7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-legal-note a:hover { color: #fff; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom > div { flex-wrap: wrap; }
.footer-bottom a[href="/legal"] { text-decoration: underline; text-underline-offset: 3px; }

/* The legal page is static and readable without scripts. */
.legal-page { background: #f5f5f7; }
.legal-header { padding: 0 24px; }
.legal-nav {
  max-width: 1000px;
  min-height: 68px;
  margin: 0 auto;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: #080808;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 12px 30px #0000000b;
}
.legal-nav .brand { color: #fff; font-size: 21px; }
.legal-back { color: #d2d2d7; font-size: 13px; }
.legal-back:hover { color: #fff; }
.legal-main { width: min(800px, calc(100% - 48px)); margin: 0 auto; padding: 85px 0 72px; }
.legal-heading { padding-bottom: 48px; }
.legal-heading .eyebrow { color: #63636c; }
.legal-heading h1 { margin: 0 0 20px; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.055em; line-height: 1.08; }
.legal-heading > p { color: #686872; font-size: 19px; line-height: 1.5; }
.legal-heading .legal-updated { font-size: 12px; margin-top: 16px; }
.legal-content { padding: 12px 44px; background: #fff; border: 1px solid #e8e8ed; border-radius: 28px; }
.legal-content section { padding: 32px 0; scroll-margin-top: 24px; }
.legal-content section + section { border-top: 1px solid #e8e8ed; }
.legal-content h2 { font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 15px; }
.legal-content h3 { font-size: 17px; font-weight: 600; margin: 26px 0 10px; }
.legal-content p { color: #595962; font-size: 15px; line-height: 1.8; }
.legal-content p + p { margin-top: 18px; }
.legal-content a { color: #0066cc; text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: #004b99; }
.legal-inline-link { display: inline-block; margin-top: 15px; font-size: 14px; line-height: 1.6; }
.legal-content .legal-source-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 19px;
  margin: 22px 0;
  background: #f1f6fd;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.legal-content .legal-source-button:hover { background: #e6f0fc; }
.legal-footer { background: #ededf0; padding: 26px 24px; }
.legal-footer-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; font-size: 12px; line-height: 1.6; }
.legal-footer a { color: #4f4f57; }
.legal-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:focus-visible, .download-legal-note a:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; border-radius: 3px; }
@media (max-width: 600px) {
  .legal-header { padding: 0 16px; }
  .legal-nav { padding: 16px 20px; gap: 16px; border-radius: 0 0 22px 22px; }
  .legal-nav .brand { font-size: 18px; gap: 8px; }
  .legal-back { font-size: 11px; }
  .legal-main { width: calc(100% - 32px); padding: 54px 0 48px; }
  .legal-heading { padding: 0 8px 32px; }
  .legal-heading > p { font-size: 16px; }
  .legal-content { padding: 4px 22px; border-radius: 22px; }
  .legal-content section { padding: 26px 0; }
  .legal-content h2 { font-size: 21px; }
  .legal-content p { font-size: 14px; line-height: 1.75; }
  .legal-footer-inner { align-items: flex-start; }
  .legal-footer-inner > span { order: 3; flex-basis: 100%; }
  .download-section .download-legal-note { font-size: 11px; }
}
