:root {
  --bg: #050b12;
  --bg-deep: #03070d;
  --panel: rgba(13, 23, 38, 0.86);
  --panel-strong: rgba(7, 17, 28, 0.96);
  --border: rgba(28, 43, 62, 0.9);
  --text: #dce7f2;
  --text-strong: #f0f7ff;
  --muted: #9caec4;
  --accent: #24b8f2;
  --accent-soft: #8bdfff;
  --success: #43d9a3;
  --danger: #ff6b8a;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 184, 242, 0.16), transparent 22rem),
    linear-gradient(180deg, #07111c 0%, var(--bg) 42%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.teaser-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: min(92vh, calc(100vw * 16 / 9));
  max-height: 92vh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  contain: paint;
}

.hero-video,
.hero-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg);
  transform: translateZ(0);
}

.hero-video {
  object-fit: cover;
}

.hero-frame {
  display: none;
}

.hero-signup-cue {
  position: absolute;
  left: 50%;
  bottom: max(38px, calc(env(safe-area-inset-bottom) + 38px));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 48px), 420px);
  min-height: 54px;
  border: 1px solid rgba(139, 223, 255, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, #8bdfff, var(--accent));
  color: #021019;
  cursor: pointer;
  font-weight: 840;
  box-shadow:
    0 18px 42px rgba(36, 184, 242, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.hero-signup-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.content {
  width: min(calc(100% - 32px), 760px);
  margin: 0 auto;
  padding: 34px 0 42px;
}

.intro {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--text-strong);
  font-size: clamp(2.25rem, 10vw, 4rem);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  color: var(--text-strong);
  font-size: clamp(1.45rem, 6vw, 2.2rem);
  line-height: 1.12;
  font-weight: 800;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.signup-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(36, 184, 242, 0.12), transparent 38%),
    linear-gradient(180deg, var(--panel), var(--panel-strong));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(36, 184, 242, 0.22);
  border-radius: 14px;
  background: rgba(3, 11, 19, 0.78);
  color: var(--text-strong);
  outline: none;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
  min-height: 112px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(36, 184, 242, 0.74);
  box-shadow: 0 0 0 3px rgba(36, 184, 242, 0.14);
}

::placeholder {
  color: #70829b;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 0.9rem;
  line-height: 1.55;
}

.button {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #8bdfff, var(--accent));
  color: #021019;
  cursor: pointer;
  font-weight: 820;
  box-shadow: 0 14px 34px rgba(36, 184, 242, 0.25);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 1.4em;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.fine-print {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(28, 43, 62, 0.68);
  border-radius: 18px;
  background: rgba(7, 17, 28, 0.55);
}

.fine-print p {
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .hero {
    aspect-ratio: 16 / 9;
    height: min(78vh, calc(100vw * 9 / 16));
    max-height: 78vh;
  }

  .hero-video {
    display: none;
  }

  .hero-frame {
    display: block;
  }

  .hero-signup-cue {
    display: none;
  }

  .content {
    width: min(calc(100% - 64px), 1040px);
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
    gap: 34px;
    align-items: start;
    padding: 54px 0 62px;
  }

  .intro {
    margin-bottom: 0;
    padding-top: 10px;
  }

  .fine-print {
    grid-column: 1 / -1;
  }
}
