/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #12111a;
  --bg2:          #1c1b28;
  --cream:        #e8e4d8;
  --cream-dim:    #a09c92;
  --purple:       #9a8fc0;
  --purple-deep:  #4a3f78;
  --rule:         #2e2c3e;
  --rule-mid:     #3e3c52;

  --font-display: 'Cinzel', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Crimson Pro', 'Garamond', Georgia, serif;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ─── Noise texture overlay ─────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 3rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Logo block ────────────────────────────────────────────── */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.symbol {
  width: 116px;
  height: 60px;
  flex-shrink: 0;
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.wordmark-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.rule {
  width: 100%;
  height: 0.5px;
  background: var(--rule);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--cream);
  text-align: center;
  line-height: 1;
}

.tagline {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--purple-deep);
  text-align: center;
  text-transform: uppercase;
}

/* ─── Coming soon block ─────────────────────────────────────── */
.coming-soon-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.coming-label {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
}

.coming-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ─── Notify form ───────────────────────────────────────────── */
.notify-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.field-group {
  display: flex;
  gap: 0;
  width: 100%;
  border: 0.5px solid var(--rule-mid);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.field-group:focus-within {
  border-color: var(--purple);
}

input[type="email"] {
  flex: 1;
  background: var(--bg2);
  border: none;
  outline: none;
  padding: 0.8rem 1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  min-width: 0;
}

input[type="email"]::placeholder {
  color: var(--cream-dim);
  opacity: 0.5;
}

button[type="submit"] {
  background: transparent;
  border: none;
  border-left: 0.5px solid var(--rule-mid);
  padding: 0.8rem 1.2rem;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

button[type="submit"]:hover {
  background: var(--purple-deep);
  color: var(--cream);
}

.hidden {
  display: none;
}

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  border-top: 0.5px solid var(--rule);
  padding-top: 1.5rem;
  width: 100%;
  text-align: center;
  animation: fadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.footer p {
  font-size: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  color: var(--rule-mid);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 2.5rem 1.5rem 2rem;
    gap: 2.25rem;
  }

  .field-group {
    flex-direction: column;
    border-radius: 3px;
  }

  button[type="submit"] {
    border-left: none;
    border-top: 0.5px solid var(--rule-mid);
    padding: 0.75rem;
    text-align: center;
  }
}
