.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  color: #121827;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.analytics-consent__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(18, 24, 39, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(18, 24, 39, 0.24);
}

.analytics-consent__copy {
  max-width: 680px;
}

.analytics-consent__eyebrow {
  margin: 0 0 6px;
  color: #76614f;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-consent h2 {
  margin: 0 0 8px;
  color: #121827;
  font-size: 1.22rem;
  line-height: 1.25;
}

.analytics-consent p {
  margin: 0 0 8px;
  color: #495363;
  line-height: 1.55;
}

.analytics-consent a {
  color: #3f51c5;
  font-weight: 800;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
}

.analytics-consent button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #121827;
  border-radius: 8px;
  background: #121827;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.analytics-consent button:hover {
  background: #2a3344;
}

.analytics-consent button:focus-visible {
  outline: 3px solid #8391ef;
  outline-offset: 2px;
}

.analytics-consent .analytics-consent__close {
  grid-column: 1 / -1;
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  color: #495363;
}

.analytics-consent .analytics-consent__close:hover {
  background: #f4f1ed;
}

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

  .analytics-consent__content {
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 18px;
  }

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

  .analytics-consent .analytics-consent__close {
    grid-column: auto;
  }
}
