.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 25, 33, .78);
}

body.is-gate-open {
  overflow: hidden;
}

.gate-overlay[hidden] {
  display: none;
}

.gate-box {
  width: min(460px, 100%);
  padding: 43px 36px 44px;
  border-radius: 6px;
  background: #fff;
  color: #1f2d3d;
  text-align: center;
}

.gate-box__eyebrow {
  margin: 0 0 10px;
  color: #a5843f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 19px;
}

.gate-box h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
}

.gate-box__text {
  margin: 0;
  color: #6b6d75;
  font-size: 13px;
  line-height: 1.7;
}

.gate-box__actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.gate-box__button {
  min-height: 50px;
  padding: 14px 18px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  transition: filter .2s ease;
}

.gate-box__button:hover,
.gate-box__button:focus-visible {
  filter: brightness(1.1);
}

.gate-box__button--yes { background: #274472; }
.gate-box__button--no { background: #2f8f6f; }

.gate-box__note {
  margin: 10px 0 0;
  color: #aeb0b6;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .gate-box {
    padding: 32px 20px 34px;
  }

  .gate-box h2 {
    font-size: 17px;
  }

  .gate-box__text {
    font-size: 12px;
  }
}
