:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f646d;
  --paper: #f7f3ec;
  --accent: #1f6f68;
  --accent-dark: #164f4a;
  --rule: rgba(23, 23, 23, 0.14);
  --surface: rgba(255, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(31, 111, 104, 0.14), transparent 38%),
    var(--paper);
}

.page {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
}

.intro {
  width: min(100%, 760px);
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}

.gate {
  width: min(100%, 760px);
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.gate h1 {
  max-width: 12ch;
  font-size: clamp(2.75rem, 7vw, 6.25rem);
}

.lede {
  max-width: 34rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.gate-form {
  display: flex;
  width: min(100%, 520px);
  gap: 10px;
  margin-top: 34px;
}

.gate-form input,
.gate-form button {
  min-height: 48px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font: inherit;
}

.gate-form input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface);
}

.gate-form input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(31, 111, 104, 0.18);
}

.gate-form button {
  padding: 0 20px;
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  cursor: pointer;
}

.gate-form button:hover {
  background: var(--accent-dark);
}

.gate-note {
  min-height: 1.5em;
  max-width: 34rem;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.banished {
  display: grid;
  min-height: 100vh;
  padding: 32px;
  place-items: center;
  color: #f7f3ec;
  background: #171717;
}

.banished p {
  width: min(100%, 620px);
  margin: 0;
  border-top: 1px solid rgba(247, 243, 236, 0.24);
  padding-top: 32px;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.96;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .page {
    padding: 24px;
    place-items: end start;
  }

  .intro {
    padding-bottom: 28px;
  }

  .gate {
    padding-bottom: 28px;
  }

  .gate-form {
    flex-direction: column;
  }

  .gate-form button {
    width: 100%;
  }
}
