:root{
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #5b6474;
  --border: rgba(15,23,42,0.12);

  --washA: rgba(255,179,107,0.18);
  --washB: rgba(184,107,255,0.14);
  --washC: rgba(79,212,255,0.14);

  --radius: 22px;
  --max: 1120px;
}

*{ box-sizing: border-box; }

/* Hide scrollbars (still scrollable) + prevent horizontal overflow */
html, body{
  height: 100%;
  overflow-x: hidden;

  scrollbar-width: none;     /* Firefox */
  -ms-overflow-style: none;  /* legacy Edge/IE */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* IMPORTANT:
   - We DO NOT disable overscroll bounce.
   - Instead, we paint the background on a fixed layer that extends beyond the viewport.
*/
html{
  background: var(--bg);
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: transparent;
  position: relative; /* for stacking context */
}

/* Extended fixed background layer (prevents ugly blank on overscroll) */
body::before{
  content: "";
  position: fixed;
  /* Extend beyond viewport so scroll-bounce still shows background */
  inset: -400px;
  z-index: -1;

  background:
    radial-gradient(900px 500px at 12% 10%, var(--washA), transparent 60%),
    radial-gradient(900px 500px at 88% 16%, var(--washB), transparent 60%),
    radial-gradient(900px 500px at 55% 95%, var(--washC), transparent 55%),
    var(--bg);

  background-repeat: no-repeat;
  background-size: cover;
}

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 40px;

  min-height: 100%;
  display: flex;
  flex-direction: column;

  background: transparent;
}

/* Header */
.header{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0 18px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  padding: 8px;
}

.brandText{
  font-weight: 700;
  letter-spacing: -0.2px;
  font-size: 16px;
}

/* Hero */
.hero{
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  padding-top: 10px;
}

.claim{
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -1.6px;
}

.sub{
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.waitlist{
  margin-top: 18px;
}

/* Honeypot hidden field */
.hp{
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Input + button in one row */
.field{
  display: flex;
  align-items: center;
  gap: 10px;

  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 10px;

  background: rgba(255,255,255,0.85);
  width: min(560px, 100%);
}

.icon{
  opacity: 0.7;
  padding-left: 4px;
}

.field input{
  border: none;
  outline: none;
  background: transparent;

  flex: 1 1 auto;
  min-width: 0;

  font-size: 14px;
  color: var(--text);
  padding: 8px 6px;
}

.btn{
  flex: 0 0 auto;
  flex-shrink: 0;

  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 12px;
  padding: 10px 12px;

  font-weight: 700;
  font-size: 14px;
  line-height: 1;

  color: var(--text);
  background: rgba(255,255,255,0.95);

  cursor: pointer;
  white-space: nowrap;

  -webkit-appearance: none;
  appearance: none;

  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.98);
}

.status{
  min-height: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Phone + video placeholder */
.heroRight{
  display: grid;
  place-items: center;
}

.phone{
  width: min(360px, 100%);
  aspect-ratio: 9 / 19.5;

  border-radius: 36px;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.75);
  box-shadow: 0 28px 80px rgba(15,23,42,0.14);
  padding: 14px;
}

.videoPlaceholder{
  height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(15,23,42,0.10);

  background:
    radial-gradient(380px 240px at 25% 12%, rgba(255,179,107,0.28), transparent 55%),
    radial-gradient(420px 260px at 85% 18%, rgba(184,107,255,0.22), transparent 55%),
    radial-gradient(420px 300px at 55% 95%, rgba(79,212,255,0.18), transparent 55%),
    rgba(255,255,255,0.75);

  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.play{
  width: 66px;
  height: 66px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.75);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}

.triangle{
  width: 0;
  height: 0;
  border-left: 14px solid rgba(11,18,32,0.75);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

.videoLabel{
  position: absolute;
  bottom: 14px;
  left: 14px;
  margin: 0;
  font-size: 13px;
  color: rgba(11,18,32,0.62);
}

/* Footer */
.footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer a:hover{ color: var(--text); }

/* Responsive */
@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .phone{
    width: min(420px, 100%);
  }
}

/* On small phones, stack the button under input for comfort + prevents squeeze */
@media (max-width: 520px){
  .claim{ letter-spacing: -1.2px; }

  .field{
    flex-wrap: wrap;
  }

  .btn{
    width: 100%;
    justify-content: center;
  }
}
