@font-face {
  font-family: "IM Fell";
  src: url("/fonts/IMFellEnglish.ttf?v=2") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  min-height: 100dvh;
  background: #fff;
  color: #111;
  font-family: "Segoe UI", -apple-system, system-ui, sans-serif;
}

body {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}

.gate {
  display: grid;
  gap: 0.75rem;
  width: min(280px, calc(100% - 2rem));
}

.gate h1 {
  font-size: calc(2.4rem * 1.3);
  font-weight: 400;
  text-align: center;
}
.gate h1.wordmark {
  position: relative;
  display: inline-block;
  justify-self: center;
  font-family: "IM Fell", Palatino, "Palatino Linotype", serif;
  color: transparent;
  -webkit-text-stroke: 1.4px #160e08;
}
.gate h1.wordmark::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  font: inherit;
  letter-spacing: inherit;
  background-image: linear-gradient(180deg, #f0deb4 0%, #d2ae74 34%, #1a1612 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  pointer-events: none;
}

.gate-lead {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.gate input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #111;
}

.gate input:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.gate button {
  padding: 0.7rem 0.8rem;
  border: 1px solid #111;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
}

.gate button:hover { filter: brightness(1.15); }

.gate-error {
  color: #b00020;
  font-size: 0.88rem;
  text-align: center;
  min-height: 1.2em;
}
