.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.5rem;
  padding-block: .65rem 1rem;
  border-top: 1px solid #dce2e1;
  color: #465450;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem 1rem;
  color: #465450;
}
.site-footer .footer-meta .legal-links { gap: .2rem .85rem; padding: 0; border: 0; }
.site-footer .legal-links, .footer-copyright { font-size: .83rem; }
.footer-copyright { color: #065ddb; font-weight: 700; }
.foot-bottom { align-items: center; }
.site-footer .legal-links a { display: inline-block; padding-block: .35rem; font: inherit; }
.legal-links a:hover, .legal-links a[aria-current="page"], .legal-header > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
  color: #065ddb;
}
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  border-bottom: 1px solid var(--line);
}
.legal-header > a:last-child { color: var(--muted); font-size: .9rem; text-align: right; }
.legal-copy {
  width: min(46rem, calc(100% - 2 * var(--gutter)));
  margin: clamp(2.5rem,6vw,5rem) auto;
  overflow-wrap: anywhere;
}
.legal-copy h1 { font-size: clamp(2.25rem,5vw,3.75rem); }
.legal-intro { margin-top: 1.1rem; font-size: 1.1rem; }
.legal-copy section { margin-top: 2rem; }
.legal-copy h2 { margin-bottom: .65rem; font-size: 1.45rem; letter-spacing: -.035em; }
.legal-copy section p, .legal-details dd { color: var(--muted); }
.legal-copy section p + p { margin-top: .75rem; }
.legal-copy a { color: #065ddb; text-decoration: underline; text-underline-offset: .18em; }
.legal-details { margin-top: .85rem; }
.legal-details > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.8fr);
  gap: .25rem 1rem;
  padding: .55rem 0;
  border-top: 1px solid var(--line);
}
.legal-details dt { font-weight: 650; }
@media (max-width: 48rem) {
  .footer-inner .footer-meta { order: 2; }
  .foot-bottom { align-items: flex-start; }
}
@media (max-width: 32rem) {
  .legal-details > div { grid-template-columns: 1fr; }
}

.footer-cookie-settings {
  padding: .35rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.footer-cookie-settings:hover { color: #065ddb; text-decoration: underline; text-underline-offset: .2em; }
.audience-notice {
  box-sizing: border-box;
  position: fixed;
  z-index: 35;
  inset-inline-end: clamp(.75rem,2vw,1.65rem);
  bottom: max(.75rem, env(safe-area-inset-bottom));
  width: min(27rem,calc(100% - 1.5rem));
  padding: .95rem 1rem;
  border: 1px solid #d6e2ec;
  border-radius: .9rem;
  color: #17231f;
  background: #fcfcfa;
  box-shadow: 0 12px 40px #17202724;
  font: 400 .88rem/1.55 Manrope, system-ui, sans-serif;
}
.audience-notice[hidden] { display: none; }
.audience-notice h2 { margin: 0 0 .35rem; font: 720 1rem/1.35 Manrope, system-ui, sans-serif; letter-spacing: normal; }
.audience-notice p { margin: 0; color: #465450; }
.audience-notice a { color: #065ddb; text-decoration: underline; text-underline-offset: .15em; }
.audience-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; margin-top: .8rem; }
.audience-actions button {
  min-height: 2.75rem;
  padding: .35rem .65rem;
  border: 1px solid #aebdcb;
  border-radius: .5rem;
  color: #17231f;
  background: #fff;
  font: 680 .88rem/1.35 Manrope, system-ui, sans-serif;
  cursor: pointer;
}
.audience-actions button:hover { border-color: #065ddb; color: #065ddb; background: #f3f7fd; }

.audience-notice *, .audience-notice *::before, .audience-notice *::after { box-sizing: border-box; }
.audience-actions button:focus-visible { outline: 2px solid #0573fe; outline-offset: 3px; }
@media (max-width: 30rem) {
  .audience-notice {
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 16px;
    border-color: #dfe6e0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 28px #202b251a;
    font-size: 14px;
    line-height: 1.5;
  }
  .audience-notice h2 { margin-bottom: 6px; font-size: 16px; font-weight: 600; }
  .audience-notice p { color: #526158; overflow-wrap: break-word; }
  .audience-actions { gap: 8px; margin-top: 14px; }
  .audience-actions button {
    min-width: 0;
    min-height: 44px;
    border-color: #c4cfc7;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
  }
}
