.terms-gate {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: safe center;
  justify-items: center;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(16px, 5vw, 48px);
  overflow: auto;
  background: #f6f5ef;
  color: #253b36;
  font: 1rem/1.6 DM, Persian, system-ui, sans-serif;
}
.terms-gate > div {
  box-sizing: border-box;
  width: min(100%, 32rem);
  padding: clamp(20px, 5vw, 40px);
  border: 1px solid #d6dacf;
  border-radius: 16px;
  background: white;
}
.terms-gate h1 {
  margin: 0;
  font: 600 clamp(1.45rem, 5vw, 2rem)/1.2 Display, Persian, Georgia, serif;
  letter-spacing: normal;
}
.terms-gate p { margin: 1rem 0 1.5rem; }
.terms-gate a { color: inherit; text-underline-offset: .2em; }
.terms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.terms-actions button {
  min-height: 44px;
  min-width: 5rem;
  padding: .5rem 1.25rem;
  border: 0;
  border-radius: 7px;
  color: white;
  background: #253b36;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.terms-gate :focus-visible { outline: 3px solid #a84432; outline-offset: 4px; }
