/* Next Day Sciences — coming soon hero */

:root {
  --text: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.82);
  --accent: #d9e2ec;
  --field-bg: rgba(255, 255, 255, 0.94);
  --field-text: #1f2933;
  --button: #243b53;
  --button-hover: #102a43;
  --font: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #0b121a;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 14, 22, 0.55) 0%, rgba(8, 14, 22, 0.72) 55%, rgba(8, 14, 22, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 34rem);
  text-align: center;
}

.brand {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 auto 1.6rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.notify-form {
  display: flex;
  gap: 0.5rem;
  width: min(100%, 28rem);
  margin: 0 auto 1.25rem;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 0;
  border-radius: 2px;
  background: var(--field-bg);
  color: var(--field-text);
  font: inherit;
  font-size: 0.98rem;
}

.notify-form input[type="email"]::placeholder {
  color: #829ab1;
}

.notify-form input[type="email"]:focus {
  outline: 2px solid #9fb3c8;
  outline-offset: 1px;
}

.notify-form button {
  flex-shrink: 0;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 2px;
  background: var(--button);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.notify-form button:hover {
  background: var(--button-hover);
}

.honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  overflow: hidden;
}

.contact {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact a:hover {
  color: var(--accent);
}

.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;
}

@media (max-width: 560px) {
  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }
}
