.footer-privacy {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-inline-start: .6rem;
}

.footer-privacy,
.privacy-notice a {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.privacy-notice {
  max-width: 68ch;
  padding-block: clamp(2rem, 6vw, 5rem);
  overflow-wrap: anywhere;
}

.privacy-notice h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-top: 1.5rem;
}

.privacy-notice h2 {
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  margin-top: 2rem;
}

.privacy-home {
  font-size: .875rem;
}

.analytics-consent {
  position: fixed;
  inset-inline-end: 1rem;
  inset-block-end: 1rem;
  z-index: 10;
  width: min(25rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: .25rem;
  background: var(--slate);
  color: var(--paper);
  font-size: .875rem;
}

.analytics-consent h2 {
  margin: 0 0 .4rem;
  font: inherit;
  font-weight: 700;
  text-transform: none;
}

.analytics-consent p {
  margin: 0 0 .75rem;
  color: var(--stone);
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.analytics-consent-actions button,
.privacy-preferences {
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid var(--stone);
  border-radius: .2rem;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.analytics-consent-actions button {
  flex: 1 1 8rem;
}

.analytics-consent-actions button:hover,
.privacy-preferences:hover {
  border-color: var(--amber);
}

.analytics-consent-actions button:focus-visible,
.privacy-preferences:focus-visible,
.footer-privacy:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
