.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.analytics-settings-button {
  min-height: 2.6rem;
  padding: .55rem .9rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}

.analytics-settings-button:hover {
  background: var(--sky);
}

.analytics-consent {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(760px, calc(100% - 2rem));
  margin-left: auto;
  padding: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 55px rgba(8, 25, 53, .2);
}

.analytics-consent h2 {
  margin: 0 0 .25rem;
  font-family: inherit;
  font-size: .95rem;
  letter-spacing: 0;
}

.analytics-consent p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.65;
}

.analytics-consent a {
  color: var(--blue-deep);
  font-weight: 700;
}

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

.analytics-consent button {
  min-height: 2.6rem;
  padding: .55rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.analytics-consent .analytics-accept {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.analytics-consent button:focus-visible,
.analytics-settings-button:focus-visible {
  outline: 3px solid rgba(20, 107, 232, .32);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .analytics-consent {
    grid-template-columns: 1fr;
  }

  .analytics-consent-actions {
    justify-content: stretch;
  }

  .analytics-consent button {
    flex: 1;
  }
}
