.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff21; padding-block: 22px 28px; font-size: .875rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-legal button { border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffffff40; }
.footer-legal a:hover, .footer-legal button:hover { color: white; }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: var(--navy-light); }
.privacy-notice { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: min(365px, calc(100% - 48px)); background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 12px 55px #09172b30; }
.privacy-notice h2 { font: 800 1.125rem/1.4 var(--body-font); letter-spacing: -.025em; text-transform: none; }
.privacy-notice p { color: var(--muted); font-size: .875rem; line-height: 1.55; margin-top: 9px; }
.privacy-notice-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; font-size: .875rem; }
.privacy-notice-actions a { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: flex; align-items: center; }
.privacy-notice-actions .button { min-height: 44px; padding: 10px 24px; font-size: .875rem; }
.notice-caption { display: block; font-size: .75rem; color: var(--muted); margin-top: 10px; }
.dialog-open { overflow: hidden; }
.exit-dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow-y: auto; border: 1px solid #526e8f80; border-radius: 16px; background: var(--navy); color: white; box-shadow: 0 30px 100px #0006; }
.exit-dialog::backdrop { background: #061224bd; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 13px; top: 12px; height: 44px; width: 44px; border: 1px solid #526e8f80; border-radius: 8px; background: #172b43; color: white; font-size: 1.65rem; line-height: 1; }
.dialog-close:hover { background: #29435f; }
.exit-content { padding: 40px; }
.exit-content > .section-label { padding-right: 30px; margin-bottom: 17px; font-size: .75rem; color: #aebed4; }
.exit-content h2 { font-size: 3rem; line-height: 1.02; }
.exit-content > p:not(.section-label):not(.exit-fine-print) { font-size: 1rem; color: var(--on-dark); margin-top: 18px; }
.exit-offer { margin-block: 23px; padding: 19px 21px; background: #142a43; border: 1px solid #304964; border-radius: 10px; color: white; }
.exit-offer > span { display: block; font-size: .875rem; color: var(--on-dark); }
.exit-offer strong { display: block; font: 750 2.55rem/1.35 var(--body-font); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.exit-offer small { font-size: 1rem; margin-left: 5px; color: var(--on-dark); font-weight: 400; letter-spacing: 0; }
.exit-offer p { display: grid; gap: 4px; font-size: .875rem; color: #d9e4f0; line-height: 1.55; margin-top: 7px; }
.exit-content > .button { width: 100%; }
.dialog-secondary { min-height: 46px; width: 100%; background: none; border: 0; color: var(--on-dark); font-size: .9375rem; margin-top: 9px; text-decoration: underline; text-underline-offset: 4px; }
.exit-content .exit-fine-print { margin-top: 17px; color: #a4b5cc; font-size: .75rem; line-height: 1.65; }
.exit-dialog :focus-visible { outline-color: var(--lime); }
.exit-fine-print a { text-decoration: underline; }
.legal-page .header-inner { min-height: 80px; }
.legal-back { font-size: .9375rem; color: var(--on-dark); padding-block: 12px; }
.legal-back:hover { color: white; }
.legal-hero { padding-block: 56px 38px; background: var(--soft); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-top: 12px; font: 800 clamp(1.9rem, 3.5vw, 3rem)/1.2 var(--body-font); text-transform: none; letter-spacing: -.035em; max-width: 850px; }
.legal-hero p:last-child { margin-top: 18px; color: var(--muted); font-size: .875rem; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; padding-block: 48px 72px; align-items: start; }
.legal-nav { display: grid; gap: 9px; position: sticky; top: 25px; font-size: .9375rem; }
.legal-nav a { padding: 12px 16px; border: 1px solid transparent; border-radius: 7px; }
.legal-nav a[aria-current="page"] { background: var(--navy); color: white; }
.legal-nav a:not([aria-current]):hover { background: var(--soft); }
.legal-body { max-width: 790px; min-width: 0; }
.legal-body section + section { margin-top: 34px; }
.legal-body h2 { font: 800 1.4rem/1.4 var(--body-font); letter-spacing: -.025em; text-transform: none; margin-bottom: 12px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.legal-body p + p, .legal-body ul { margin-top: 13px; }
.legal-body ul { padding-left: 24px; margin-bottom: 0; }
.legal-body li + li { margin-top: 7px; }
.legal-body a:not(.button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body strong { color: var(--ink); font-weight: 650; }
.review-note { padding: 19px 22px; border-left: 3px solid #b58129; background: #fff8eb; border-radius: 0 8px 8px 0; margin-bottom: 30px; }
.review-note p { font-size: .9375rem; line-height: 1.65; color: #5a4828; }
.storage-list { display: grid; gap: 16px; padding: 0; margin: 22px 0; }
.storage-list > div { padding: 19px 21px; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; }
.storage-list dt { font-weight: 700; margin-bottom: 7px; }.storage-list dd { margin: 0; color: var(--muted); line-height: 1.7; }.storage-list code { font-size: .8125rem; overflow-wrap: anywhere; color: var(--ink); }
.legal-contact { margin-top: 34px; padding: 25px; background: var(--soft); border-radius: 10px; }
.legal-contact .button { margin-top: 16px; }
@media (max-width: 800px) {
  .footer-legal { align-items: flex-start; flex-direction: column; }.footer-legal nav { gap: 14px 20px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 28px 48px; }.legal-nav { position: static; grid-template-columns: repeat(3, 1fr); gap: 7px; font-size: .875rem; }.legal-nav a { padding: 11px 8px; text-align: center; border-color: var(--line); }
  .legal-page .site-footer { padding-bottom: 0; }
}
@media (max-width: 520px) {
  .privacy-notice { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }.privacy-notice h2 { font-size: 1.125rem; }.privacy-notice p { font-size: .875rem; }.privacy-notice-actions { margin-top: 11px; }.notice-caption { margin-top: 8px; }
  .privacy-notice-visible .mobile-contact { display: none; }
  .exit-content { padding: 30px 23px 23px; }.exit-content h2 { font-size: 1.95rem; }.exit-content > .section-label { font-size: .75rem; }.exit-offer { padding: 17px; margin-block: 18px; }.exit-offer strong { font-size: 2.35rem; }.exit-content > .button { font-size: .875rem; padding-inline: 10px; }.exit-fine-print { margin-top: 12px; }
  .legal-hero { padding-block: 36px 27px; }.legal-body h2 { font-size: 1.35rem; }.legal-contact, .review-note { padding: 18px; }.legal-back { font-size: .875rem; }.legal-page .brand-subtitle { display: none; }
}
@media (max-width: 520px) and (max-height: 700px) {
  .privacy-notice { padding: 10px 14px; }
  .privacy-notice h2, .privacy-notice > p { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .privacy-notice-actions { margin-top: 0; gap: 10px; }
  .privacy-notice-actions .button { padding-inline: 16px; }
}
