/* Public legal documents: readable on screen, navigable by section, printable. */
.legal-hero { padding-block: 34px 44px; }
.legal-breadcrumb { display: inline-flex; gap: 12px; margin-bottom: 34px; color: var(--muted); font-size: 13px; }
.legal-hero .eyebrow { color: var(--green); }
.legal-hero h1 { margin: 14px 0 20px; font-size: clamp(40px, 5.8vw, 72px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; }
.legal-effective { color: var(--muted); font-size: 14px; line-height: 1.8; }
.legal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 25px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 48px; padding-bottom: 90px; }
.legal-sidebar { position: sticky; top: 24px; min-width: 0; }
.legal-contents { border: 1px solid var(--line); border-radius: 12px; background: #edf1e7; overflow: hidden; }
.legal-contents summary { padding: 20px; cursor: pointer; font-size: 14px; font-weight: 650; }
.legal-contents nav { max-height: min(60vh, 620px); overflow-y: auto; padding: 0 12px 16px; scrollbar-width: thin; }
.legal-contents ol { list-style: none; margin: 0; padding: 0; }
.legal-contents a { display: block; padding: 9px 8px; border-radius: 5px; font-size: 12px; line-height: 1.5; }
.legal-contents a:hover, .legal-contents a:focus-visible { background: white; color: var(--green); }
.legal-contents a:focus-visible { outline-offset: -2px; }
.legal-contents a span { color: var(--muted); }
.legal-contact { font-size: 12px; line-height: 1.9; padding-inline: 4px; color: var(--muted); }
.legal-contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-document { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 56px); box-shadow: 0 12px 40px #183e3505; }
.legal-document p { margin: 0 0 22px; font-size: 16px; line-height: 1.85; color: #334c43; overflow-wrap: anywhere; }
.legal-document a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-section { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 34px; scroll-margin-top: 28px; }
.legal-section h2 { font-size: 24px; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 22px; font-weight: 600; }
.legal-section:target h2 { text-decoration: underline; text-decoration-color: #b2cd96; text-underline-offset: 6px; }
.legal-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 680px) {
  .legal-hero { padding-block: 26px 30px; }
  .legal-breadcrumb { margin-bottom: 28px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 48px; }
  .legal-sidebar { position: static; }
  .legal-contents nav { max-height: 210px; }
  .legal-contact { margin-bottom: 0; }
  .legal-document { padding: 24px 20px; border-radius: 12px; }
  .legal-document p { font-size: 15px; line-height: 1.8; }
  .legal-section h2 { font-size: 21px; }
}
@media print {
  .announcement, .header-shell, .footer-shell, .skip-link, .legal-breadcrumb, .legal-actions, .legal-sidebar, .legal-end { display: none !important; }
  body { background: white; color: black; }
  .wrap { width: 100%; }
  .legal-hero { padding: 0 0 18pt; }
  .legal-hero h1 { font-size: 30pt; }
  .legal-layout { display: block; padding: 0; }
  .legal-document { border: 0; padding: 0; box-shadow: none; }
  .legal-document p { font-size: 10pt; line-height: 1.5; color: black; orphans: 3; widows: 3; }
  .legal-section { margin-top: 18pt; padding-top: 12pt; }
  .legal-section h2 { font-size: 14pt; break-after: avoid; }
  .legal-document a { color: black; }
}
