/* Use the landing page's light footer palette on every route. */
.site-footer { background: #f6f8fc; color: #17191e; border-top: 1px solid #e5e9ef; font-family: var(--font-navigation); }
.footer-shell { padding: 25px var(--discovery-inset) 15px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand .brand-logo { width: 170px; }
.footer-brand .brand-logo img { filter: brightness(0); }
.footer-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin: 30px 0 36px; }
.footer-columns h2 { margin-bottom: 2px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-columns a, .footer-columns button { display: block; width: fit-content; padding: 6px 0; font-size: 14px; color: #667085; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid #dfe3eb; color: #667085; font-size: 12px; line-height: 1.6; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a, .footer-bottom button { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a:hover, .site-footer button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; box-shadow: none; }
body:has(#compare-bar:not([hidden])) .footer-shell { padding-bottom: 100px; }
body:has(#contact-dialog[open]) { overflow: hidden; }
/* Match the shared information pages and privacy dialog. */
#contact-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 30px; border: 1px solid #dbe2ec; border-radius: 20px; background: #fff; color: #1b2844; box-shadow: 0 24px 90px #15233b30; overscroll-behavior: contain; font-family: var(--font-navigation); }
#contact-dialog::backdrop { background: #15233b66; backdrop-filter: blur(5px); }
#contact-title { display: flex; align-items: center; min-height: 44px; padding-right: 56px; font-size: 30px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
#contact-close { position: absolute; top: 30px; right: 30px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f4f8; color: #1b2844; font-size: 26px; line-height: 1; }
#contact-close:hover { background: #eaf0f8; color: var(--accent); }
#contact-description { margin: 12px 0 24px; color: #52627a; font-size: 14px; line-height: 1.7; }
.contact-email-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #dfe7f2; border-radius: 14px; background: #f6f8fc; }
#contact-email { min-width: 0; overflow-wrap: anywhere; font-size: 15px; line-height: 1.5; }
#contact-email:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
#contact-copy { flex-shrink: 0; font-size: 14px; }
#contact-copy:disabled { cursor: wait; opacity: .7; }
#contact-status { color: #52627a; font-size: 13px; line-height: 1.6; }
#contact-status:not(:empty) { margin-top: 12px; }
#contact-dialog :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; box-shadow: none; }
@media(max-width:600px) { #contact-dialog { padding: 22px; } #contact-close { top: 22px; right: 22px; } .contact-email-row { flex-wrap: wrap; } }
.info-page { background: #f8fafc; color: #1b2844; font-family: var(--font-navigation); }
.info-shell { max-width: 1280px; margin: 0 auto; padding: 80px 32px 100px; }
.info-heading { max-width: 920px; margin-bottom: 64px; }
.info-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; color: #526784; }
.info-heading h1 { font-size: clamp(42px,5.5vw,76px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; margin: 24px 0; }
.info-heading h1 span { color: #3759bb; }
.info-heading h1:focus { outline: none; }
.info-heading > p:last-child { max-width: 630px; color: #5a6b83; font-size: 18px; line-height: 1.7; }
.privacy-shell { max-width: 1184px; padding-top: 64px; }
.privacy-shell .info-heading { max-width: none; margin-bottom: 48px; padding-bottom: 36px; border-bottom: 1px solid #dbe2ec; }
.privacy-shell .info-heading h1 { font-size: clamp(38px, 4.5vw, 60px); margin: 18px 0; }
.privacy-shell .info-heading > p:last-child { max-width: 680px; }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: clamp(36px, 5vw, 72px); }
.privacy-summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-height) + 24px); display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 26px; background: #eaf0f8; border: 1px solid #dfe7f2; border-radius: 14px; line-height: 1.7; }
.privacy-summary h2 { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.privacy-summary > p { color: #52627a; font-size: 14px; }
.privacy-summary .info-button { gap: 10px; padding-inline: 14px; font-size: 13px; }
.info-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 46px; padding: 12px 22px; border-radius: 99px; background: #3759bb; color: #fff; font-size: 14px; font-weight: 600; }
.info-button:hover { background: #29459a; color: #fff; }
.privacy-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.privacy-copy section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid #dbe2ec; }
.privacy-copy h2 { font-size: 23px; line-height: 1.35; font-weight: 500; margin-bottom: 14px; letter-spacing: -.02em; }
.privacy-copy p { color: #52627a; font-size: 16px; line-height: 1.8; margin-top: 12px; }
#privacy-dialog { width: min(580px,calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 30px; border: 1px solid #dbe2ec; border-radius: 20px; background: #fff; color: #1b2844; box-shadow: 0 24px 90px #15233b30; overscroll-behavior: contain; font-family: var(--font-navigation); }
#privacy-dialog::backdrop { background: #15233b66; backdrop-filter: blur(5px); }
body:has(#privacy-dialog[open]) { overflow: hidden; }
.privacy-dialog-top { display: flex; justify-content: space-between; align-items: center; margin: -8px -8px 10px 0; }
#privacy-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f4f8; font-size: 26px; }
#privacy-settings-title { font-size: 30px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 12px; }
#privacy-settings-description { color: #52627a; font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.privacy-option { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0; border-top: 1px solid #e4eaf2; }
.privacy-option h3, .privacy-option label { font-size: 15px; font-weight: 600; line-height: 1.5; }
.privacy-option p { color: #52627a; font-size: 13px; line-height: 1.7; margin-top: 6px; }
.privacy-status { flex-shrink: 0; color: #526784; font-size: 11px; padding: 5px 8px; border-radius: 5px; background: #f1f4f8; }
#privacy-remember { flex-shrink: 0; width: 24px; height: 24px; margin: 0; accent-color: #3759bb; cursor: pointer; }
.privacy-dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 18px; }
#privacy-done { min-height: 44px; font-size: 14px; }
#privacy-save-status { padding: 14px; border-radius: 8px; background: #eff4ff; color: #304a83; font-size: 13px; line-height: 1.6; }
.privacy-option input[type="checkbox"] { flex-shrink: 0; width: 24px; height: 24px; margin: 0; accent-color: #3759bb; cursor: pointer; }
.privacy-copy a, .privacy-policy-link a, #privacy-banner a { text-decoration: underline; text-underline-offset: 3px; color: #29459a; }
.privacy-copy code { overflow-wrap: anywhere; font-size: .88em; }
.privacy-secondary { min-height: 44px; padding: 10px 18px; border: 1px solid #9aaac2; border-radius: 24px; background: #fff; color: #1b2844; font-size: 14px; font-weight: 600; text-align: center; }
.privacy-secondary:hover { background: #eaf0f8; }
.privacy-secondary:disabled { cursor: not-allowed; opacity: .55; }
#privacy-enable-push { margin-top: 12px; }
.privacy-bulk-actions { display: flex; gap: 12px; margin-top: 20px; }
.privacy-bulk-actions > button { flex: 1; }
.privacy-policy-link { font-size: 14px; line-height: 1.6; margin: 12px 0; }
#privacy-banner { position: fixed; z-index: 150; inset: auto 24px 24px; max-width: 1100px; margin-inline: auto; display: flex; align-items: center; gap: 28px; padding: 24px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #c9d4e4; border-radius: 16px; background: #fff; color: #1b2844; box-shadow: 0 12px 64px #15233b30; font-family: var(--font-navigation); }
#privacy-banner[hidden] { display: none; }
#privacy-banner h2 { font-size: 21px; line-height: 1.3; font-weight: 600; margin-bottom: 8px; }
#privacy-banner p { font-size: 14px; line-height: 1.7; color: #52627a; }
.privacy-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 0 0 280px; }
.privacy-banner-actions [data-privacy-settings] { grid-column: 1 / -1; }
#privacy-banner :focus-visible, #privacy-dialog :focus-visible { outline: 2px solid #3759bb; outline-offset: 3px; }
@media(max-width:700px) {
  #privacy-banner { inset: auto 12px 12px; flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .privacy-banner-actions { flex-basis: auto; }
  .privacy-dialog-actions { gap: 16px; flex-wrap: wrap; }
}
@media(max-width:900px) {
  .privacy-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .privacy-summary, .privacy-copy { grid-column: auto; grid-row: auto; }
  .privacy-summary { position: static; }
  .privacy-summary .info-button { align-self: flex-start; }
}
@media(max-width:600px) {
  .footer-shell { padding: 28px max(20px, var(--discovery-inset)) calc(20px + env(safe-area-inset-bottom, 0px)); }
  .footer-brand .brand-logo { width: 150px; }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
  .footer-columns > div { min-width: 0; }
  .footer-columns > div:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
  .footer-columns > div:first-child h2 { grid-column: 1 / -1; }
  .footer-columns h2 { margin-bottom: 6px; }
  .footer-columns a, .footer-columns button { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
  .footer-bottom > div { gap: 4px 24px; }
  .footer-bottom a, .footer-bottom button { min-height: 44px; }
  .info-shell { padding: 48px 22px 64px; }
  .info-heading { margin-bottom: 40px; }
  .info-heading > p:last-child { font-size: 16px; }
  .privacy-shell .info-heading { margin-bottom: 28px; padding-bottom: 28px; }
  .privacy-summary { gap: 16px; padding: 22px; }
  .privacy-summary .info-button { align-self: stretch; }
  #privacy-dialog { padding: 22px; }
  .privacy-option { gap: 14px; }
}
