/* Shared visual language for both teaser variants.
   Palette sampled from the logo: #5A46ED -> #15B8FE, coral #F77685 as accent. */

@property --beam-angle{syntax:'<angle>';inherits:false;initial-value:0deg}

:root{
  --ink:#05060b;
  --ink-2:#0b0d18;
  --text:#f2f4fb;
  --muted:#9aa3bf;
  --violet:#5A46ED;
  --blue:#4A84F6;
  --cyan:#15B8FE;
  --coral:#F77685;
  --edge:rgba(255,255,255,.10);
  --shell:min(1080px,100%);
  --gut:clamp(20px,5vw,48px);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--ink);
  color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
  min-height:100svh;
  overflow-x:hidden;
}
img{max-width:100%;display:block}

.page{
  position:relative;z-index:2;
  min-height:100svh;
  display:flex;flex-direction:column;
  padding:calc(env(safe-area-inset-top,0px) + 28px) var(--gut)
          calc(env(safe-area-inset-bottom,0px) + 28px);
}
.shell{width:var(--shell);margin:0 auto}

/* ---- masthead ---- */
.mast{display:flex;align-items:center;gap:11px}
.mast img{width:30px;height:30px}
.mast b{
  font-size:19px;font-weight:600;letter-spacing:-.026em;
}

/* ---- hero ---- */
main{flex:1;display:flex;align-items:center;padding:clamp(48px,10vh,104px) 0}
h1{
  font-size:clamp(3.1rem,9.2vw,5.2rem);
  line-height:1.02;letter-spacing:-.045em;font-weight:600;
  margin:0 0 22px;max-width:18ch;
}
h1 .grad{
  background:linear-gradient(104deg,var(--violet),var(--blue) 46%,var(--cyan));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.sub{
  font-size:clamp(1.02rem,2.1vw,1.235rem);
  line-height:1.58;color:var(--muted);letter-spacing:-.011em;
  margin:0 0 14px;max-width:46ch;font-weight:400;
}
.sub-meta{
  font-size:clamp(.8rem,1.38vw,.925rem);
  /* true italic — the font request carries the ital axis, so this is not a
     synthesised slant */
  font-style:italic;
  line-height:1.55;letter-spacing:-.006em;
  color:#6d7590;
  margin:0 0 36px;max-width:50ch;font-weight:400;
}
.sub-meta strong{color:#98a1ba;font-weight:600}
.sub strong{color:#d7dcee;font-weight:600}

/* ---- waitlist ---- */
form{display:flex;gap:10px;flex-wrap:wrap;max-width:490px}
.field{
  flex:1 1 236px;min-width:0;
  background:rgba(255,255,255,.045);
  border:1px solid var(--edge);border-radius:12px;
  padding:14px 16px;color:var(--text);font:inherit;font-size:15px;
  transition:border-color .18s,background .18s;
}
.field::placeholder{color:#6d7593}
.field:focus{
  outline:none;border-color:rgba(74,132,246,.75);
  background:rgba(255,255,255,.07);
  box-shadow:0 0 0 3px rgba(74,132,246,.17);
}
.btn{
  position:relative;
  flex:0 0 auto;border:0;border-radius:12px;cursor:pointer;
  padding:14px 24px;font:inherit;font-size:15px;font-weight:600;letter-spacing:-.008em;color:#fff;
  background:linear-gradient(101deg,var(--violet),var(--blue) 55%,var(--cyan));
  background-size:150% 100%;
  transition:background-position .45s ease,top .12s ease,box-shadow .25s ease;
  box-shadow:0 5px 20px -7px rgba(74,132,246,.75);
  top:0;
}
/* Light beam tracking the border: an inset:-1.5px layer behind the button
   carrying a conic gradient whose start angle animates. The button's own
   background covers everything but the 1.5px overhang, so only a bright arc
   riding the edge shows. z-index -1 keeps it off the label — which is also
   why :active nudges `top` rather than `transform` (a transform would open a
   stacking context and pull the beam in front).
   Needs @property for the angle to be interpolable; without it the ring is
   simply static, which still looks deliberate. */
.btn::before{
  content:"";position:absolute;z-index:-1;
  inset:-2px;border-radius:inherit;
  background:conic-gradient(from var(--beam-angle),
    transparent 0 58%,
    rgba(120,190,255,.5) 72%,
    rgba(255,255,255,.95) 84%,
    #ffffff 88%,
    rgba(21,184,254,.8) 93%,
    transparent 99%);
  animation:beam 5s linear infinite;
}
.btn:hover{background-position:100% 0;box-shadow:0 8px 28px -8px rgba(74,132,246,.9)}
.btn:active{top:1px}
.btn:disabled{opacity:.6;cursor:default}
/* second, blurred copy of the same arc — gives the beam a halo so it reads
   against the button's own bright gradient instead of disappearing into it */
.btn::after{
  content:"";position:absolute;z-index:-2;
  inset:-7px;border-radius:16px;
  background:conic-gradient(from var(--beam-angle),
    transparent 0 60%,
    rgba(120,190,255,.45) 76%,
    rgba(255,255,255,.75) 87%,
    rgba(21,184,254,.6) 94%,
    transparent 99%);
  filter:blur(7px);
  opacity:.9;
  animation:beam 5s linear infinite;
}
.btn:disabled::before,.btn:disabled::after{animation-play-state:paused;opacity:.35}
@keyframes beam{to{--beam-angle:360deg}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.note{font-size:13.5px;color:#6d7593;margin:15px 0 0}
.note:empty{display:none}
.note.err{color:var(--coral)}
.done{
  font-size:15px;color:var(--text);margin:0;
  display:flex;align-items:center;gap:10px;min-height:50px;
}
.done svg{flex:0 0 auto}

/* ---- footer ---- */
footer{
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-size:13px;color:#5d6482;
  border-top:1px solid rgba(255,255,255,.06);padding-top:22px;
}
footer a{color:#7d86a6;text-decoration:none}
footer a:hover{color:var(--text)}

@media (prefers-reduced-motion:reduce){
  .btn::before,.btn::after{display:none}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
