:root {
  --paper: #fbfaf6;
  --navy: #17324a;
  --navy-deep: #0e2a43;
  --muted: #7f8180;
  --line: #d8d8d2;
  --focus: rgba(23, 50, 74, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

.entrance-page {
  display: grid;
  place-items: center;
  padding: 8vh 6vw 9vh;
}

.entrance-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-1.2vh);
}

.genesis-mark {
  display: block;
  width: clamp(150px, 15vw, 210px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.wordmark {
  margin: 2.2rem 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.enter-card {
  position: absolute;
  right: clamp(2rem, 7vw, 9rem);
  bottom: clamp(2rem, 7vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  transition: transform 150ms ease;
}

.enter-card:hover {
  transform: translateY(-2px);
}

.enter-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 8px;
  border-radius: 4px;
}

.enter-card img {
  width: clamp(78px, 7.5vw, 108px);
  height: auto;
  image-rendering: auto;
}

.enter-label {
  margin-top: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1vw, 1.15rem);
  font-weight: 700;
}

.enter-note {
  margin-top: 0.25rem;
  color: #6e7477;
  font-size: clamp(0.62rem, 0.67vw, 0.78rem);
  font-weight: 400;
}

.page-label {
  position: absolute;
  left: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  margin: 0;
  color: #999b9a;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.discovery-page {
  padding: clamp(2.75rem, 4vw, 4.5rem) 1.5rem 7rem;
}

.discovery-content {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.discovery-wordmark {
  margin-top: 0;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.tagline {
  margin: 2rem auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.1vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: 0.005em;
}

.open-copy,
.invite-copy {
  color: var(--navy);
  font-weight: 700;
}

.open-copy {
  margin: 1.55rem 0 0;
  font-size: clamp(0.98rem, 1.15vw, 1.24rem);
}

.invite-copy {
  margin: 2.35rem 0 0;
  font-size: clamp(0.98rem, 1.12vw, 1.2rem);
}

.signup-form {
  width: min(100%, 500px);
  margin: 2.65rem auto 0;
  text-align: left;
}

.field {
  margin-bottom: 1.55rem;
}

.field label {
  display: block;
  margin-bottom: -0.15rem;
  color: #34495a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  line-height: 1;
}

.field input {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.15rem;
  color: #1d2f3d;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #d7d7d0;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(23, 50, 74, 0.04);
  outline: none;
}

.field input:focus {
  border-color: #8fa0ad;
  box-shadow: 0 0 0 4px var(--focus);
}

.field input[aria-invalid="true"] {
  border-color: #9f3e3e;
}

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

.signup-form button {
  display: block;
  min-width: 230px;
  height: 54px;
  margin: 0.7rem auto 0;
  padding: 0 1.55rem;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(14, 42, 67, 0.14);
  transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.signup-form button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 42, 67, 0.2);
}

.signup-form button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.8rem 0 0;
  text-align: center;
  color: #5e6d76;
  font-size: 0.82rem;
}

.form-status[data-state="success"] {
  color: #315f48;
}

.form-status[data-state="error"] {
  color: #8b3434;
}

.release-note {
  margin: 1.05rem 0 0;
  color: #777c80;
  font-size: 0.72rem;
}

@media (max-width: 720px) {
  .entrance-page {
    padding-bottom: 11rem;
  }

  .entrance-center {
    transform: translateY(-4vh);
  }

  .enter-card {
    right: 50%;
    bottom: 4.5rem;
    transform: translateX(50%);
  }

  .enter-card:hover {
    transform: translateX(50%) translateY(-2px);
  }

  .enter-card img {
    width: 74px;
  }

  .page-label {
    left: 1rem;
    bottom: 1rem;
  }

  .discovery-page {
    padding-top: 3rem;
  }

  .tagline {
    max-width: 21rem;
  }

  .signup-form {
    margin-top: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
