.legal-trust {
  padding: 72px 0;
  background: #0b0a0b;
  color: #fff;
}

.legal-trust__inner {
  width: min(1370px, calc(100% - 72px));
  margin: 0 auto;
}

.legal-trust__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.legal-trust__eyebrow {
  margin: 0 0 12px;
  color: #ff7caf;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.legal-trust h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1;
}

.legal-trust__head > p {
  max-width: 430px;
  margin: 0;
  color: #aaa4a7;
  font-size: 14px;
  line-height: 1.55;
}

.legal-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.legal-trust__card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,61,130,.14), transparent 42%),
    rgba(255,255,255,.035);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.legal-trust__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,124,175,.38);
  background-color: rgba(255,255,255,.055);
}

.legal-trust__number {
  display: block;
  margin-bottom: 36px;
  color: #ff7caf;
  font-size: 11px;
}

.legal-trust__card strong {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
}

.legal-trust__card p {
  margin: 0 0 18px;
  color: #aaa4a7;
  font-size: 12px;
  line-height: 1.55;
}

.legal-trust__card a {
  color: #fff;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(430px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(13,12,13,.96);
  color: #fff;
  box-shadow: 0 26px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner[hidden],
.cookie-panel[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
  color: #b7b1b4;
  font-size: 11px;
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.cookie-button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b0a0b;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
}

.cookie-button--link {
  padding: 0;
  background: transparent;
  color: #d9d4d6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-panel {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.54);
}

.cookie-panel__dialog {
  width: min(580px, 100%);
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  color: #0b0a0b;
  box-shadow: 0 34px 100px rgba(0,0,0,.25);
}

.cookie-panel__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.cookie-panel h2 {
  margin: 0;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.045em;
}

.cookie-panel__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0edef;
  cursor: pointer;
  font-size: 18px;
}

.cookie-panel__copy {
  margin: 14px 0 24px;
  color: #736d71;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid #ebe7e9;
}

.cookie-panel__row strong,
.cookie-panel__row span {
  display: block;
}

.cookie-panel__row span {
  margin-top: 5px;
  color: #8b8588;
  font-size: 11px;
  line-height: 1.45;
}

.cookie-panel__status {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f5f1f3;
  color: #5d565a;
  font-size: 10px;
  font-weight: 600;
}

.cookie-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.cookie-panel__footer a {
  color: #5d565a;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .legal-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-trust__head {
    display: block;
  }

  .legal-trust__head > p {
    margin-top: 20px;
  }
}

@media (max-width: 620px) {
  .legal-trust {
    padding: 58px 0;
  }

  .legal-trust__inner {
    width: min(100% - 36px, 1370px);
  }

  .legal-trust__grid {
    grid-template-columns: 1fr;
  }

  .legal-trust__card {
    min-height: 0;
  }

  .cookie-panel__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100% - 20px);
    padding: 15px 16px;
    border-radius: 16px;
  }

  .cookie-banner strong { margin-bottom: 5px; font-size: 12px; }
  .cookie-banner p { font-size: 10px; line-height: 1.4; }
  .cookie-banner__actions { margin-top: 11px; }
  .cookie-button { min-height: 34px; font-size: 10px; }
}
