.analytics-consent[hidden] {
  display: none;
}
.analytics-consent {
  position: fixed;
  z-index: 20;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 1160px;
  margin-inline: auto;
  padding: 24px 28px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 28px #18382d18;
  display: flex;
  gap: 32px;
  align-items: center;
}
.analytics-consent-copy {
  flex: 1;
}
.analytics-consent h2 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.analytics-consent p {
  font-size: 15px;
  line-height: 1.5;
}
.analytics-consent a {
  display: inline-block;
  text-decoration: underline;
  font-size: 14px;
  margin-top: 8px;
}
.analytics-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.analytics-consent button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
}
.analytics-consent button:hover {
  background: #e6efe9;
}
.analytics-consent button:focus-visible,
.analytics-preferences:focus-visible {
  outline: 3px solid #719d86;
  outline-offset: 4px;
}
.analytics-preferences {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  cursor: pointer;
}
.analytics-preferences:hover {
  text-decoration: underline;
}
.footer-inner nav {
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .analytics-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .analytics-consent-actions button {
    flex: 1;
  }
}
