:root {
  --yellow: #ffc900;
  --ink: #11110f;
  --red: #d40912;
  --ivory: #f5f1e9;
  --paper: #fbfaf7;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }

.gate-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px 36px;
  background:
    linear-gradient(135deg, transparent 0 68%, rgba(212, 9, 18, 0.9) 68% 69%, transparent 69%),
    var(--paper);
}
.gate-header,
.gate-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gate-panel {
  width: min(800px, 100%);
  align-self: center;
  padding: clamp(44px, 8vw, 100px) 0;
}
.gate-kicker {
  margin: 0 0 26px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.82;
  letter-spacing: -0.045em;
}
.gate-intro {
  max-width: 420px;
  margin: 40px 0 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}
label {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gate-input-row {
  display: flex;
  max-width: 680px;
  border-bottom: 2px solid var(--ink);
}
input {
  min-width: 0;
  flex: 1;
  padding: 17px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: clamp(22px, 4vw, 38px);
  letter-spacing: 0.03em;
}
input:focus { border-color: var(--red); }
button {
  align-self: stretch;
  padding: 0 22px;
  color: var(--paper);
  background: var(--red);
  border: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
button:hover, button:focus { background: var(--ink); color: var(--paper); }
button:disabled { opacity: 0.55; cursor: wait; }
.gate-error {
  margin: 16px 0 0;
  color: #ff777d;
  font-size: 14px;
}
@media (max-width: 620px) {
  .gate-shell { padding: 22px; }
  .gate-header span:last-child { text-align: right; }
  .gate-input-row { display: block; border-bottom: 0; }
  input { width: 100%; border-bottom: 2px solid var(--ink); }
  button { width: 100%; min-height: 54px; margin-top: 12px; }
}
