:root {
  --bg: #edf3ff;
  --ink: #0f172a;
  --muted: #42526b;
  --primary: #1f6fff;
  --primary-deep: #1244b0;
  --accent: #3c64d0;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(18, 68, 176, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

.page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero-wrap {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  isolation: isolate;
}

.hero-brand {
  position: relative;
  z-index: 5;
}

.hero {
  position: relative;
  z-index: 5;
  width: min(760px, 92%);
  padding: clamp(1.6rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 52px rgba(18, 68, 176, 0.16);
}

.hero-logo {
  display: block;
  width: clamp(108px, 14vw, 154px);
  height: auto;
  margin: 0 auto;
}

.lottie {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 3;
}

.lottie > svg {
  width: 100% !important;
  height: 100% !important;
}

.lottie-top {
  top: 250px;
  left: 0;
  right: 0;
  width: 100vw;
  height: 386px;
  overflow: hidden;
  opacity: 0.9;
  z-index: 1;
}

.lottie-left {
  left: 0;
  bottom: 0;
  min-width: 500px;
  width: 95vw;
  opacity: 0.94;
}

.lottie-right {
  right: 0;
  bottom: 0;
  min-width: 500px;
  width: 95vw;
  opacity: 0.94;
}

.lottie-top > svg {
  width: 100% !important;
  height: 100% !important;
  will-change: transform;
  backface-visibility: hidden;
}

.lottie-left > svg,
.lottie-right > svg {
  width: 100% !important;
  height: 100% !important;
  will-change: transform;
  backface-visibility: hidden;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.12);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  margin: 0;
  font-size: clamp(1.42rem, 3.9vw, 2.32rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
}

.notify {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.notify input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--ink);
}

.notify input:focus {
  outline: 2px solid rgba(31, 111, 255, 0.36);
  border-color: var(--primary);
}

.notify button {
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.notify button:hover {
  filter: brightness(1.05);
}

.notify button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-message {
  min-height: 1.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-message.is-success {
  color: #0f766e;
}

.form-message.is-error {
  color: #c2410c;
}

.footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footnote a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.footnote a:hover {
  text-decoration: underline;
}

.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: 640px) {
  .lottie-top {
    top: 250px;
    width: 100vw;
    height: 386px;
    opacity: 0.85;
  }

  .hero {
    border-radius: 22px;
    width: 100%;
  }

  .hero-logo {
    width: 112px;
  }

  .notify {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) {
  .lottie-top {
    top: 100px;
    width: 100vw;
    height: 563px;
  }

  .lottie-left {
    min-width: 990px;
    width: 990px;
  }

  .lottie-right {
    min-width: 990px;
    width: 990px;
  }
}

@media (min-width: 900px) {
  .lottie-top {
    top: -40px;
    width: 100vw;
    height: 771px;
  }

  .lottie-left {
    min-width: 1115px;
    width: 1115px;
  }

  .lottie-right {
    min-width: 1215px;
    width: 1215px;
  }
}

@media (min-width: 1200px) {
  .lottie-top {
    top: -130px;
    width: 100vw;
    height: 1029px;
  }

  .lottie-left {
    min-width: 1400px;
    width: 1440px;
  }

  .lottie-right {
    min-width: 1440px;
    width: 1440px;
  }
}

@media (min-width: 1536px) {
  .lottie-top {
    top: -50px;
  }

  .lottie-left {
    min-width: 1640px;
    width: 95vw;
  }

  .lottie-right {
    min-width: 1640px;
    width: 95vw;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .lottie-top {
    top: 200px;
  }
}

