.privacy-consent,
.privacy-settings {
  font-family: var(--sans, "Funnel Sans", Arial, sans-serif);
}

.privacy-consent[hidden],
.privacy-settings[hidden] {
  display: none;
}

.privacy-consent {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(700px, calc(100% - 40px));
  padding: 20px 22px;
  border: 2px solid var(--ink, #10242d);
  border-radius: 18px;
  color: var(--white, #fff);
  background: var(--ink, #10242d);
  box-shadow: 8px 8px 0 var(--brand, #01a9e0), 0 18px 42px rgba(16, 36, 45, 0.22);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 26px;
}

.privacy-consent__copy {
  min-width: 0;
}

.privacy-consent__eyebrow {
  margin: 0 0 5px;
  color: var(--brand, #01a9e0);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-consent h2 {
  margin: 0 0 7px;
  color: var(--white, #fff);
  font-family: var(--display, "Funnel Display", Arial, sans-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.privacy-consent__copy > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.5;
}

.privacy-consent a {
  color: var(--white, #fff);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand, #01a9e0);
  text-underline-offset: 3px;
}

.privacy-consent__actions {
  display: grid;
  min-width: 178px;
  gap: 8px;
}

.privacy-consent__button,
.privacy-settings {
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.privacy-consent__button {
  padding: 10px 15px;
  white-space: nowrap;
}

.privacy-consent__button:hover,
.privacy-settings:hover {
  transform: translateY(-2px);
}

.privacy-consent__button--secondary {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--white, #fff);
  background: transparent;
}

.privacy-consent__button--secondary:hover {
  border-color: var(--white, #fff);
  background: rgba(255, 255, 255, 0.12);
}

.privacy-consent__button--primary {
  color: var(--ink, #10242d);
  background: var(--brand, #01a9e0);
}

.privacy-consent__button--primary:hover {
  background: var(--white, #fff);
}

.privacy-settings {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: flex-start;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.privacy-settings:hover {
  color: var(--brand, #01a9e0);
  background: transparent;
  text-decoration-color: currentColor;
  transform: none;
}

@media (max-width: 640px) {
  .privacy-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 17px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .privacy-consent__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-consent__button {
    padding-inline: 8px;
    white-space: normal;
  }

}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent__button,
  .privacy-settings {
    transition: none;
  }

  .privacy-consent__button:hover,
  .privacy-settings:hover {
    transform: none;
  }
}
