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

:root {
  --bg: #080808;
  --surface: rgba(255, 255, 255, 0.03);
  --text: #f4efe6;
  --text-muted: rgba(244, 239, 230, 0.62);
  --accent: #c8a96a;
  --accent-soft: rgba(200, 169, 106, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient__orb--one {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.35), transparent 70%);
}

.ambient__orb--two {
  width: 36vw;
  height: 36vw;
  bottom: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(120, 100, 180, 0.22), transparent 70%);
  animation-delay: -6s;
}

.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-3vw, 2vw) scale(1.08);
  }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 6vh, 4rem);
  animation: fade-up 1s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero__copy {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 32rem;
}

.notify {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notify__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.notify__row {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1.25rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
}

.notify__input::placeholder {
  color: rgba(244, 239, 230, 0.35);
}

.notify__button {
  flex-shrink: 0;
  padding: 0.875rem 1.5rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.notify__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 2rem rgba(200, 169, 106, 0.25);
}

.notify__button:active {
  transform: translateY(0);
}

.notify__message {
  min-height: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.notify__message--success {
  color: var(--accent);
}

.notify__message--error {
  color: #d4846a;
}

.footer {
  margin-top: auto;
  padding-top: 2rem;
}

.footer__copy {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 230, 0.35);
}

@media (max-width: 540px) {
  .notify__row {
    flex-direction: column;
    border-radius: 1.25rem;
    padding: 0.5rem;
  }

  .notify__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
