/* Preview / staging password gate */
body.page-gate {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #f8fafc 0%, #e2e8f0 45%, #f1f5f9 100%);
  color: var(--ink, #0c1222);
  font-family: var(--font-body, "DM Sans", system-ui, sans-serif);
}

.gate {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
}

.gate__card {
  width: min(100%, 26rem);
  padding: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(12, 18, 34, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px rgba(12, 18, 34, 0.08);
}

.gate__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(220px, 72vw);
  margin: 0 auto 1.75rem;
}

.gate__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, "Newsreader", Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
}

.gate__lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(12, 18, 34, 0.72);
}

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.gate__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(12, 18, 34, 0.65);
}

.gate__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid rgba(12, 18, 34, 0.15);
  border-radius: 0.65rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gate__input:focus {
  outline: none;
  border-color: var(--logo-red, #e4002b);
  box-shadow: 0 0 0 3px rgba(228, 0, 43, 0.15);
}

.gate__submit {
  margin-top: 0.25rem;
  padding: 0.9rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--logo-red, #e4002b);
  box-shadow: 0 10px 28px rgba(228, 0, 43, 0.28);
  transition: background 0.2s, transform 0.2s;
}

.gate__submit:hover {
  background: var(--logo-red-hover, #c40024);
  transform: translateY(-1px);
}

.gate__error {
  margin: 0;
  font-size: 0.9rem;
  color: #b91c1c;
  min-height: 1.25rem;
}

.gate__error:empty {
  display: none;
}

.gate__footer {
  margin-top: auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #64748b;
}

.gate__footer p {
  margin: 0 auto;
  max-width: 40rem;
}

.gate__footer p + p {
  margin-top: 0.5rem;
}

.gate__footer a {
  color: #475569;
  font-weight: 600;
  text-decoration: none;
}

.gate__footer a:hover {
  color: var(--logo-red, #e4002b);
  text-decoration: underline;
}
