:root {
  --background: #131313;
  --foreground: #fbfffa;
  --divider: rgba(255, 255, 255, 0.92);
  --input-border: rgba(255, 255, 255, 0.94);
  --button-text: #131313;
  --button-surface-start: #fafff9;
  --button-surface-end: #ffffff;
  --shadow-soft: 0 14px 24px rgba(0, 0, 0, 0.18);
  --shadow-outline: 0 14px 28px rgba(0, 0, 0, 0.2);
  --page-gutter: clamp(16px, 4vw, 48px);
  --copy-width: min(100%, 760px);
  --form-width: min(100%, 760px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", sans-serif;
}

.page-shell {
  min-height: 100vh;
  width: 100%;
}

.landing-page {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 100vh;
  padding: 28px var(--page-gutter) 72px;
  row-gap: clamp(72px, 10vh, 136px);
  width: 100%;
}

.hero-header {
  width: 100%;
}

.wordmark {
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.333;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.divider {
  border-top: 1px solid var(--divider);
  margin-top: 10px;
  transform: rotate(0.14deg);
  width: 100%;
}

.content-block {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: var(--copy-width);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-copy p,
.detail-block p {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  text-transform: capitalize;
}

.cta-block {
  width: var(--form-width);
}

.waitlist-form {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 560px;
  justify-content: space-around;
  gap: 14px;
  width: 100%;
}

.waitlist-form > * {
  flex: 0 0 auto;
}

.email-input,
.join-button {
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  height: 40px;
  letter-spacing: 0.1em;
  line-height: 24px;
}

.email-input {
  background: linear-gradient(
    171deg,
    rgba(250, 255, 249, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--foreground);
  outline: none;
  padding: 8px 18px;
  text-align: center;
  flex: 0 1 clamp(220px, 42vw, 330px);
  width: clamp(220px, 42vw, 330px);
}

.email-input::placeholder {
  color: var(--foreground);
  opacity: 1;
  text-transform: uppercase;
}

.email-input:focus {
  border-color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 16px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.join-button {
  background: linear-gradient(
    162deg,
    var(--button-surface-start) 0%,
    var(--button-surface-end) 100%
  );
  border: none;
  box-shadow: var(--shadow-soft);
  color: var(--button-text);
  cursor: pointer;
  flex: 0 0 min(220px, 34%);
  text-transform: uppercase;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
  width: min(220px, 34%);
}

.join-button:hover,
.join-button:focus-visible {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.join-button:disabled,
.email-input:disabled {
  cursor: wait;
  opacity: 0.78;
}

.status-message {
  color: rgba(251, 255, 250, 0.82);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 18px;
  margin: 12px auto 0;
  min-height: 18px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}

.status-message.is-error {
  color: #ffb8b8;
}

.status-message.is-success {
  color: #eef6ea;
}

.detail-block {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 22px;
  width: min(100%, 900px);
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.intro-emphasis {
  font-weight: 600;
}

.drop-block {
  gap: 26px;
}

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

@media (max-width: 720px) {
  .landing-page {
    padding: 28px 4px 64px;
  }

  .content-block {
    width: calc(100% - 8px);
  }

  .waitlist-form {
    gap: 4px;
    max-width: 100%;
  }

  .email-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .join-button {
    flex-basis: 32.9%;
    width: 32.9%;
  }

  .intro-copy {
    width: min(386px, calc(100% - 12px));
  }

  .detail-block {
    width: min(400px, calc(100% - 8px));
  }
}
