.polaris-footer {
  background: #0f2137;
  color: #e1e5e6;
  padding: 64px 0 0;
  font: 400 16px/1.6 'DM Sans', Arial, sans-serif;
}
.polaris-footer-inner { width: min(1280px, 86%); margin-inline: auto; }
.polaris-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e1e5e633;
}
.polaris-footer a { color: inherit; text-decoration: none; }
.polaris-footer-brand { font: 300 clamp(36px, 3.5vw, 52px)/1.2 'Cormorant Garamond', Georgia, serif; letter-spacing: .17em; }
.polaris-footer-top p { margin: 0; font-size: 14px; }
.polaris-footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 14px; }
.polaris-footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; }
.polaris-footer-policies { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; font-size: 12px; text-align: left; }
.polaris-footer-links a:hover, .polaris-footer-policies a:hover { color: #f4cd59; }
.polaris-copyright { margin: 0; text-align: right; font-size: 12px; flex: none; }
.polaris-footer a:focus-visible, .policy-dialog :focus-visible, .policy-page a:focus-visible, .policy-page button:focus-visible {
  outline: 3px solid #c9a84c;
  outline-offset: 4px;
}
body.policy-open { overflow: hidden; }
body.contact-open { overflow: hidden; }
.contact-dialog {
  --navy: #0f2137; --gold: #e5c76b;
  box-sizing: border-box;
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #bdc4c9;
  border-radius: 16px;
  background: #fff;
  color: #0f2137;
  font: 400 16px/1.65 'DM Sans', Arial, sans-serif;
  overflow: hidden;
}
.contact-dialog[open] { display: flex; flex-direction: column; }
.contact-dialog::backdrop { background: #0f2137b8; }
.contact-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; border-bottom: 1px solid #e1e5e6; flex: none; }
.contact-dialog-header h2 { margin: 0; font: 500 20px/1.2 'DM Sans', Arial, sans-serif; letter-spacing: -.02em; }
.contact-close { width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid #bdc4c9; border-radius: 50%; background: #fff; color: #0f2137; font: 400 28px/1 Arial, sans-serif; cursor: pointer; }
.contact-close:hover { background: #e1e5e6; }
.contact-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px; }
.contact-dialog .referral-intro { margin: 0 0 28px; }
.contact-dialog .eyebrow { margin: 0 0 12px; font: 400 11px/1.5 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.contact-dialog .referral-intro h1 { margin: 0 0 12px; font: 500 36px/1.15 'DM Sans', Arial, sans-serif; letter-spacing: -.04em; }
.contact-dialog .referral-intro p { margin: 0; }
.contact-dialog .button { display: inline-flex; justify-content: center; padding: 12px 22px; border: 0; border-radius: 24px; background: #0f2137; color: #fff; font: 600 14px/1.4 'DM Sans', Arial, sans-serif; cursor: pointer; }
.contact-dialog :focus-visible { outline: 3px solid #e5c76b; outline-offset: 3px; }
@media (max-width: 700px) {
  .contact-dialog-header { padding: 16px 20px; }
  .contact-dialog-content { padding: 22px 20px; }
}
.policy-dialog {
  box-sizing: border-box;
  width: min(820px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #bdc4c9;
  border-radius: 16px;
  background: #fff;
  color: #0f2137;
  overflow: hidden;
  font: 400 16px/1.7 'DM Sans', Arial, sans-serif;
}
.policy-dialog[open] { display: flex; flex-direction: column; }
.policy-dialog::backdrop { background: #0f2137b8; }
.policy-dialog-header { display: flex; flex: 0 0 auto; align-items: center; gap: 20px; padding: 24px 32px; border-bottom: 1px solid #e1e5e6; }
.policy-dialog-header h1 { margin: 0; flex: 1; font: 500 28px/1.2 'DM Sans', Arial, sans-serif; letter-spacing: -.035em; text-transform: none; }
.policy-close { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #bdc4c9; border-radius: 50%; background: #fff; color: #0f2137; font: 400 28px/1 Arial, sans-serif; cursor: pointer; }
.policy-close:hover { background: #e1e5e6; }
.policy-dialog-content { overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px 36px; min-height: 0; }
.policy-dialog-content, .policy-document { overflow-wrap: anywhere; }
.policy-dialog-content h2, .policy-document h2 { margin: 32px 0 12px; font: 600 21px/1.35 'DM Sans', Arial, sans-serif; letter-spacing: -.02em; text-transform: none; }
.policy-dialog-content p, .policy-document p { margin: 0 0 16px; }
.policy-dialog-content ul, .policy-dialog-content ol, .policy-document ul, .policy-document ol { margin: 0 0 20px; padding-left: 24px; }
.policy-dialog-content li, .policy-document li { margin: 0 0 12px; }
.policy-dialog-content a, .policy-document a { color: #0f2137; text-decoration: underline; text-underline-offset: 3px; }
.policy-updated { color: #526070; font-size: 13px; }
.policy-privacy-choice { border: 1px solid #bdc4c9; border-radius: 8px; padding: 20px; margin: 24px 0; }
.policy-privacy-choice label { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.policy-privacy-choice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #0f2137; }
.policy-privacy-choice p { font-size: 14px; margin: 12px 0; }
.policy-privacy-choice button { border: 0; border-radius: 24px; padding: 10px 18px; background: #0f2137; color: #fff; font: inherit; cursor: pointer; }
.policy-privacy-choice [role="status"]:empty { display: none; }
.policy-page { margin: 0; background: #fff; color: #0f2137; font: 400 16px/1.7 'DM Sans', Arial, sans-serif; }
.policy-page-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: min(1280px, 86%); margin: 32px auto; }
.policy-page-header a { color: inherit; }
.policy-page-header a:first-child { font: 300 32px/1.2 'Cormorant Garamond', Georgia, serif; letter-spacing: .17em; text-decoration: none; }
.policy-page-header a:last-child { font-size: 14px; }
.policy-document { width: min(760px, 86%); margin: 64px auto 80px; }
.policy-document h1 { margin: 0 0 24px; font: 500 clamp(32px, 5vw, 48px)/1.15 'DM Sans', Arial, sans-serif; letter-spacing: -.04em; }
.policy-skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); background: #0f2137; color: #fff; padding: 10px; z-index: 2; }
.policy-skip-link:focus { transform: none; }
@media (max-width: 760px) {
  .polaris-footer { padding-top: 44px; }
  .polaris-footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .polaris-footer-bottom { flex-direction: column; align-items: stretch; padding: 22px 0; gap: 20px; }
  .polaris-copyright { line-height: 1.8; }
  .policy-dialog-header { padding: 20px; gap: 12px; }
  .policy-dialog-header h1 { font-size: 23px; }
  .policy-dialog-content { padding: 24px 20px; }
  .policy-page-header { align-items: flex-start; }
  .policy-document { margin-top: 44px; }
}
