/* Reading styles scoped to the legal pages. Existing site assets remain shared. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #26292f; background: #fffbf2; font-family: 'Libre Franklin', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
picture { display: contents; }
.legal-skip { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 18px; background: #fffbf2; color: #005970; border: 2px solid currentColor; border-radius: 8px; transform: translateY(-180%); }
.legal-skip:focus { transform: translateY(0); }
.legal-document .m-cta { display: none !important; }
.legal-page { padding-top: 46px; padding-bottom: 64px; }
.legal-reading { max-width: 740px; margin-inline: auto; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
.legal-reading a { color: #005970; text-decoration: underline; text-underline-offset: 3px; }
.legal-reading a:hover { color: #9d1645; }
.legal-reading a:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible { outline: 2px solid #005970; outline-offset: 4px; border-radius: 2px; }
.legal-title { margin: 22px 0 22px; font-family: 'Unbounded', system-ui, sans-serif; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.legal-intro { margin: 0 0 26px; font-size: 17px; }
.legal-related { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; line-height: 1.55; }
.legal-related [aria-current='page'] { color: #26292f; font-weight: 600; text-decoration: none; }
.legal-contents { margin: 28px 0 40px; padding: 22px 24px; border: 1px solid #d5dedc; border-radius: 16px; background: #f3f5ed; }
.legal-contents h2 { margin: 0 0 12px; font-family: 'Libre Franklin', system-ui, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.5; }
.legal-contents ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.legal-contents li { font-size: 13px; line-height: 1.55; }
.legal-contents a { display: inline-block; }
.legal-section { margin: 38px 0; scroll-margin-top: 112px; }
.legal-section h2 { margin: 0 0 16px; font-family: 'Unbounded', system-ui, sans-serif; font-size: 21px; line-height: 1.35; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.legal-section p { margin: 0 0 16px; }
.legal-section p:last-child, .legal-section ul:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0 0 18px; padding-left: 24px; }
.legal-section li { margin: 0 0 10px; padding-left: 3px; }
.legal-section li:last-child { margin-bottom: 0; }
.legal-refunds { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 22px 0; text-align: left; font-size: 14px; line-height: 1.55; }
.legal-refunds caption { padding: 0 0 10px; text-align: left; font-size: 14px; font-weight: 600; }
.legal-refunds th, .legal-refunds td { padding: 14px 16px; border: 1px solid #cdd8d5; vertical-align: top; overflow-wrap: break-word; }
.legal-refunds thead th { background: #eaf0ea; font-weight: 600; }
.legal-refunds th:first-child { width: 30%; }
.legal-refunds tbody th { font-weight: 500; }
.legal-contact { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #d5dedc; font-size: 14px; }
@media (max-width: 768px) {
  .legal-page { padding-top: 24px; padding-bottom: 48px; }
  .legal-title { font-size: clamp(28px, 7.2vw, 38px); margin-top: 24px; }
  .legal-reading { font-size: 16px; line-height: 1.65; }
  .legal-intro { font-size: 16px; }
  .legal-contents { padding: 18px; margin-bottom: 32px; }
  .legal-contents ul { grid-template-columns: 1fr; gap: 10px; }
  .legal-section { margin: 32px 0; scroll-margin-top: 98px; }
  .legal-section h2 { font-size: 19px; line-height: 1.4; }
  .legal-refunds { font-size: 13px; }
  .legal-refunds th, .legal-refunds td { padding: 11px 10px; }
  .legal-refunds th:first-child { width: 36%; }
}
@media (max-width: 359px) {
  .legal-title { font-size: 27px; }
  .legal-section h2 { font-size: 18px; }
  .legal-refunds { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .legal-related, .legal-contents, .legal-skip { display: none; }
  .legal-page { padding: 0; }
  .legal-reading { max-width: none; font-size: 11pt; }
  .legal-title { font-size: 24pt; }
  .legal-section h2 { font-size: 13pt; break-after: avoid; }
  .legal-section { margin: 22px 0; }
  .legal-refunds tr { break-inside: avoid; }
  a { color: inherit; }
}
