.analytics-consent {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  left: 18px;
  max-width: 760px;
  margin-left: auto;
  padding: 22px;
  border: 1px solid #171714;
  border-radius: 3px;
  background: #fffdf8;
  color: #171714;
  box-shadow: 0 18px 55px rgba(23, 23, 20, 0.22);
  font-family: "Manrope", Arial, sans-serif;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent__eyebrow {
  margin: 0 0 7px;
  color: #686b55;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analytics-consent h2 {
  margin: 0 0 8px;
  color: #171714;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.analytics-consent p:not(.analytics-consent__eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(23, 23, 20, 0.76);
  font-size: 0.76rem;
  line-height: 1.55;
}

.analytics-consent a {
  color: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.analytics-consent__button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #171714;
  border-radius: 2px;
  background: #fffdf8;
  color: #171714;
  font: 750 0.7rem/1 "Manrope", Arial, sans-serif;
  cursor: pointer;
}

.analytics-consent__button--allow {
  background: #d99b2b;
}

.analytics-consent__button:hover {
  background: #171714;
  color: #fffdf8;
}

.analytics-consent__button:focus-visible,
.analytics-choice-button:focus-visible {
  outline: 3px solid #171714;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #d99b2b;
}

.analytics-choice-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 620px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .analytics-consent__actions,
  .analytics-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent,
  .analytics-consent * {
    scroll-behavior: auto;
  }
}
