.footer a { color: inherit; text-decoration: none; }
.footer a:hover, .footer a:focus-visible { color: var(--ink); text-decoration: underline; }

.tracking-consent {
  position: fixed;
  z-index: 20;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(470px, calc(100% - 32px));
  margin-left: auto;
  padding: 14px 15px;
  border: 1px solid rgba(37, 35, 31, .15);
  border-radius: 14px;
  background: rgba(245, 236, 220, .97);
  box-shadow: 0 16px 38px rgba(47, 39, 28, .18);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}
.tracking-consent p { margin: 0; }
.tracking-consent a { color: inherit; }
.tracking-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tracking-consent button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(37, 35, 31, .25);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 500 10px/1 "DM Mono", monospace;
}
.tracking-consent button[data-tracking-choice="granted"] { border-color: #3976a0; background: #3976a0; color: #fff; }
.tracking-consent button:hover, .tracking-consent button:focus-visible { transform: translateY(-1px); outline: 2px solid rgba(57, 118, 160, .45); outline-offset: 2px; }

@media (min-width: 521px) {
  .tracking-consent { top: 16px; bottom: auto; }
}

@media (max-width: 520px) {
  .tracking-consent { width: calc(100% - 32px); padding: 13px; font-size: 11px; }
}
