:root {
  --bg-900: #070a0f;
  --bg-800: #0d131d;
  --bg-700: #121b28;
  --surface: rgba(13, 21, 33, 0.88);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text-main: #e7edf7;
  --text-soft: #b7c2d3;
  --accent: #62c8b8;
  --accent-strong: #43b8a5;
  --danger: #ff6f6f;
  --ok: #59d48e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 50% 12%, #1a2433 0%, var(--bg-800) 42%, var(--bg-900) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -35vmax;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(98, 200, 184, 0.28) 0%, rgba(98, 200, 184, 0.04) 34%, rgba(98, 200, 184, 0) 56%),
    repeating-radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0) 0 48px, rgba(214, 226, 246, 0.12) 49px 51px);
  opacity: 0.45;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent 97%, rgba(255, 255, 255, 0.06) 100%);
  background-size: 100% 4px;
  opacity: 0.06;
  z-index: -1;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(54px);
  pointer-events: none;
  z-index: -3;
}

.ambient-a {
  width: 34rem;
  height: 34rem;
  right: -12rem;
  top: -8rem;
  background: rgba(98, 200, 184, 0.22);
}

.ambient-b {
  width: 24rem;
  height: 24rem;
  left: -8rem;
  bottom: -6rem;
  background: rgba(57, 114, 178, 0.18);
}

.site-header,
.site-footer,
.hero-wrap {
  width: min(1080px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-main);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #d5deeb;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.hero-wrap {
  min-height: calc(100vh - 7.2rem);
  display: grid;
  gap: 2.1rem;
  grid-template-columns: 1.1fr minmax(320px, 420px);
  align-items: center;
  padding: 2.2rem 0 2.4rem;
}

.hero-copy {
  animation: rise 600ms ease both;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: #9fc0dc;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.06;
  max-width: 16ch;
}

.lead {
  margin: 1.2rem 0 0;
  color: var(--text-soft);
  max-width: 54ch;
  line-height: 1.65;
}

.feature-row {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.feature-row span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.45rem 0.68rem;
  border-radius: 9px;
  font-size: 0.85rem;
  color: #d2dcea;
  background: rgba(12, 19, 29, 0.62);
}

.waitlist-card {
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 70px rgba(1, 8, 20, 0.48);
  padding: 1.3rem 1.1rem;
  animation: rise 700ms ease 70ms both;
}

.waitlist-card h2 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.3rem;
}

.muted,
.note {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.note {
  font-size: 0.82rem;
  color: #92a2b8;
  margin-top: 0.95rem;
}

form {
  margin-top: 1rem;
}

label {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.86rem;
  color: #dbe5f4;
}

input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 9, 16, 0.6);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.8rem 0.86rem;
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 200, 184, 0.2);
}

button {
  width: 100%;
  margin-top: 0.72rem;
  border: none;
  border-radius: 10px;
  padding: 0.82rem 1rem;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  color: #052018;
  background: linear-gradient(130deg, var(--accent), #9cdfd4);
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

button.secondary {
  color: #d8e4f3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status {
  min-height: 1.35rem;
  margin-top: 0.78rem;
  font-size: 0.9rem;
}

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

.status.success {
  color: var(--ok);
}

.status.info {
  color: #b8c7db;
}

.hidden {
  display: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  color: #8d9bb0;
  font-size: 0.84rem;
  padding-bottom: 1.2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: unset;
    padding-top: 1.4rem;
    padding-bottom: 1.7rem;
  }

  .hero-copy {
    order: 1;
  }

  .waitlist-card {
    order: 2;
  }
}
