:root {
  --teal: #1a4d4a;
  --teal-soft: #2f6f6a;
  --gold: #b58d48;
  --sakura: #e8a4b8;
  --sky: #a8c8d8;
  --cream: #f7f3eb;
  --ink: #243332;
  --ink-soft: #5a6b69;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(168, 200, 216, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(232, 164, 184, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(181, 141, 72, 0.12), transparent 60%),
    linear-gradient(165deg, #eef4f1 0%, var(--cream) 45%, #f3e9d8 100%);
}

.stage-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 50% 30%, rgba(26, 77, 74, 0.1), transparent 48%);
  animation: pulse 9s var(--ease) infinite;
}

.stage-wash {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 14px;
  height: 18px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, var(--sakura), #f5d0dc);
  opacity: 0.55;
  animation: drift 14s linear infinite;
}

.p1 { top: 8%; left: 18%; animation-delay: 0s; }
.p2 { top: 22%; right: 16%; width: 11px; height: 14px; animation-delay: -3s; opacity: 0.4; }
.p3 { bottom: 28%; left: 10%; width: 12px; height: 16px; animation-delay: -6s; }
.p4 { bottom: 14%; right: 22%; animation-delay: -9s; opacity: 0.35; }
.p5 { top: 48%; left: 6%; width: 10px; height: 13px; animation-delay: -11s; opacity: 0.45; }

@keyframes drift {
  0% { translate: 0 0; rotate: 0deg; }
  50% { translate: 18px 40px; rotate: 120deg; }
  100% { translate: -8px 80px; rotate: 240deg; opacity: 0.15; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.75; scale: 1; }
  50% { opacity: 1; scale: 1.05; }
}

@keyframes rise {
  from { opacity: 0; translate: 0 20px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes soft-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.landing {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  max-width: 560px;
  margin: 0 auto;
}

.brand-logo {
  width: min(78vw, 360px);
  height: auto;
  margin: 0 0 28px;
  filter: drop-shadow(0 18px 40px rgba(26, 77, 74, 0.18));
  animation: rise 0.9s var(--ease) both, soft-float 6s var(--ease) 1s infinite;
}

.landing h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  animation: rise 0.8s var(--ease) 0.15s both;
}

.lede {
  margin: 0 0 30px;
  font-size: clamp(1.02rem, 2.3vw, 1.15rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 26em;
  animation: rise 0.8s var(--ease) 0.25s both;
}

.notify {
  display: flex;
  width: min(100%, 400px);
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 77, 74, 0.14);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(26, 77, 74, 0.1);
  backdrop-filter: blur(8px);
  animation: rise 0.8s var(--ease) 0.36s both;
}

.notify input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.notify input::placeholder { color: #9aa8a6; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.btn:hover { background: var(--teal-soft); }
.btn:active { transform: scale(0.98); }

.hint {
  margin: 18px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--teal);
  animation: rise 0.5s var(--ease) both;
}

@media (max-width: 640px) {
  .brand-logo { width: min(86vw, 300px); margin-bottom: 22px; }
  .notify {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }
  .btn { width: 100%; }
  .p5 { display: none; }
}
