:root {
  --bg: #0c0d10;
  --ink: #f4efe6;
  --muted: #b7b0a4;
  --gold: #d4b483;
  --gold-soft: rgba(212, 180, 131, 0.18);
  --line: rgba(244, 239, 230, 0.12);
  --card: rgba(255, 255, 255, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  background: #2a3348;
  top: -12%;
  right: -8%;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  min-width: 240px;
  min-height: 240px;
  background: #3a2a1c;
  bottom: -16%;
  left: -10%;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.top,
.stage,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8vw 0;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 180, 131, 0.7);
  animation: pulse 2s ease-out infinite;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 8vw 32px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  margin: 22px 0 0;
  max-width: 34rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
}

.unit {
  min-width: 86px;
  padding: 16px 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.value {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
}

.label {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.sep {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.7;
  padding-bottom: 18px;
}

.notify {
  position: relative;
  display: flex;
  width: min(100%, 480px);
  margin-top: 40px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.55);
}

.notify input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 12px 18px;
}

.notify input::placeholder {
  color: #8a847a;
}

.notify button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.notify button:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -34px;
  margin: 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--gold);
}

.message.error {
  color: #e8a0a0;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 8vw 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  gap: 22px;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

.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;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 180, 131, 0.55);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(212, 180, 131, 0);
  }
}

@media (max-width: 640px) {
  .top {
    padding: 22px 6vw 0;
    gap: 12px;
  }

  .logo {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }

  .status {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .unit {
    min-width: 64px;
    padding: 12px 8px 10px;
  }

  .value {
    font-size: 1.55rem;
  }

  .sep {
    font-size: 1.3rem;
    padding-bottom: 14px;
  }

  .notify {
    border-radius: 20px;
    flex-direction: column;
  }

  .notify button {
    width: 100%;
  }
}
