.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 68rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  color: #f8f3eb;
  background: rgba(24, 20, 17, 0.98);
  border: 1px solid rgba(248, 243, 235, 0.2);
  box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.3);
  font-family: Arial, sans-serif;
}

.analytics-consent__copy {
  max-width: 47rem;
}

.analytics-consent h2 {
  margin: 0 0 0.35rem;
  color: inherit;
  font: 600 0.78rem/1.2 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analytics-consent p {
  margin: 0;
  color: rgba(248, 243, 235, 0.82);
  font: 400 0.9rem/1.5 Arial, sans-serif;
}

.analytics-consent a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.analytics-consent__button {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  color: #201b17;
  background: #f8f3eb;
  border: 1px solid #f8f3eb;
  border-radius: 999px;
  cursor: pointer;
  font: 600 0.76rem/1 Arial, sans-serif;
  letter-spacing: 0.04em;
}

.analytics-consent__button--quiet {
  color: #f8f3eb;
  background: transparent;
  border-color: rgba(248, 243, 235, 0.45);
}

.analytics-consent__button:focus-visible,
.analytics-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.analytics-settings {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 720px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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