.analytics-consent {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 100;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  padding: 0.75rem 0.75rem 0.75rem 1rem;
  border: 1px solid rgba(15, 13, 10, 0.14);
  border-radius: 8px;
  background: color-mix(in oklab, #FAFAFA 92%, transparent);
  box-shadow: 0 18px 45px rgba(15, 13, 10, 0.12);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  color: #1D1A17;
  font-family: "Newsreader", "Iowan Old Style", "Charter", Georgia, serif;
}

.analytics-consent p {
  margin: 0;
  color: rgba(29, 26, 23, 0.76);
  font-size: 0.95rem;
  line-height: 1.25;
}

.analytics-consent h2 {
  margin: 0 0 0.35rem;
  color: #1D1A17;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.analytics-consent a {
  color: #002292;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, #002292 28%, transparent);
}

.analytics-consent__actions {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  margin: 0;
  flex: 0 0 auto;
}

.analytics-consent button {
  appearance: none;
  border: 1px solid rgba(15, 13, 10, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #1D1A17;
  cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}

.analytics-consent button:hover {
  border-color: #002292;
  color: #002292;
}

.analytics-consent .analytics-consent__accept {
  background: #002292;
  border-color: #002292;
  color: #fff;
}

.analytics-consent .analytics-consent__accept:hover {
  background: #001a72;
  border-color: #001a72;
  color: #fff;
}

@media (max-width: 600px) {
  .analytics-consent {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
    display: grid;
    gap: 0.85rem;
  }

  .analytics-consent__actions {
    justify-content: stretch;
  }

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