:root {
  --bg: #02060d;
  --text: #ffffff;
  --muted: #9ca3af;
  --dim: #6b7280;
  --accent: #4debff;
  --accent-2: #3b82f6;
  --line: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(4, 10, 18, 0.72);
  --max-w: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(2, 6, 13, 0.92) 0%, rgba(2, 6, 13, 0.55) 42%, rgba(2, 6, 13, 0.35) 62%, rgba(2, 6, 13, 0.72) 100%),
    url("/reef-bg.jpg") center bottom -56px / cover no-repeat;
  background-color: var(--bg);
}

.page__overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(0, 120, 160, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(2, 6, 13, 0.55) 0%, transparent 38%, rgba(2, 6, 13, 0.25) 100%);
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.header__brand {
  justify-self: center;
}

.header__brand img {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(320px, 78vw);
}

.main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.hero {
  text-align: center;
  padding: 36px 0 120px;
}

.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 5.8vw, 4.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.gradient-text {
  background: linear-gradient(90deg, #4debff 0%, #67e8f9 35%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 auto 40px;
  max-width: none;
  font-size: clamp(0.625rem, 2.4vw, 1.0625rem);
  line-height: 1.55;
  color: var(--muted);
  white-space: nowrap;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 auto 42px;
  max-width: 640px;
}

.countdown__unit {
  flex: 1 1 0;
  min-width: 72px;
  text-align: center;
}

.countdown__val {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.countdown__label {
  display: block;
  margin-top: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.countdown__sep {
  width: 1px;
  align-self: stretch;
  margin: 8px 10px 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.notify {
  max-width: 520px;
  margin: 0 auto;
}

.notify__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(77, 235, 255, 0.45);
  background: var(--input-bg);
  box-shadow: 0 0 0 1px rgba(77, 235, 255, 0.08), 0 0 28px rgba(0, 229, 255, 0.12);
}

.notify__icon {
  flex-shrink: 0;
  color: var(--dim);
}

.notify__field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  outline: none;
}

.notify__field input::placeholder {
  color: #6b7280;
}

.notify__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #4debff 0%, #38bdf8 45%, #3b82f6 100%);
  color: #041014;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.notify__btn:hover {
  opacity: 0.94;
}

.notify__btn:active {
  transform: scale(0.98);
}

.notify__hint {
  margin: 14px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.notify__status {
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--accent);
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 28px;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 28px;
  font-size: 0.8125rem;
  color: var(--dim);
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a:hover,
.footer__social a:hover {
  color: var(--accent);
}

.footer__social {
  display: none;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header {
    padding-top: 20px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 96px;
  }

  .hero__eyebrow {
    letter-spacing: 0.28em;
    font-size: 0.75rem;
  }

  .hero__lead {
    font-size: clamp(0.5625rem, 2.35vw, 0.8125rem);
    letter-spacing: -0.015em;
  }

  .countdown__sep {
    margin-inline: 4px;
  }

  .countdown__unit {
    min-width: 56px;
  }

  .notify__field {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 14px 14px 10px;
  }

  .notify__btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}
