:root{
  --bg-0:#070B14;
  --bg-1:#0B1220;

  --card:#FFFFFF;
  --text:#0B0F1A;
  --muted:#5B6475;

  --blue:#1D9BF0;
  --blue-deep:#1678E6;
  --blue-bright:#6EC7FF;

  --border-light:rgba(10,20,35,.10);
  --shadow: 0 14px 30px rgba(0,0,0,.18);

  --radius:16px;
  --maxw:1280px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,system-ui,sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 22% 18%, rgba(110,199,255,.18), rgba(110,199,255,0) 60%),
    radial-gradient(700px 500px at 78% 30%, rgba(29,155,240,.10), rgba(29,155,240,0) 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.wrap{
  min-height:100vh;
  padding: 22px 18px;
  display:flex;
  justify-content:center;
}

.shell{
  width:100%;
  max-width: var(--maxw);
  display:flex;
  flex-direction:column;
  /* key: keep everything within the viewport */
  min-height: calc(100vh - 64px);
}

.topbar{
  display:flex;
  align-items:center;
  margin-bottom: 18px;
  color: rgba(255,255,255,.9);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:36px;
  height:36px;
  object-fit:contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

.brandName{
  font-size:14px;
  font-weight:600;
  letter-spacing:.2px;
}

/* GRID now fills remaining height */
.grid{
  flex:1;
  display:grid;
  grid-template-columns: 1.6fr 0.9fr; /* left enlarged so right column sits further right */
  gap:18px;
  min-height: 0;
}

.left{
  display:flex;
  flex-direction:column;
  justify-content:center; /* keep vertical centering */
  align-items:flex-start;  /* align content to the left */
  min-height:0;
}
.right{
  display:grid;
  grid-template-rows: auto 1fr; /* let slider size to content and give form remaining space so CTA fits */
  gap:18px;
  min-height:0;
}


.heroBlock{
  padding: 8px 6px 0 48px; /* keep a larger left inset so left-aligned headline sits nicely */
  margin-top: 6px;
  width:100%;
  text-align:left; /* align hero text left as requested */
}

.heroBlock h1{
  margin:0;
  font-size: clamp(48px, 9vw, 120px); /* keep dominant size but allow proportional mobile scaling */
  line-height: 0.95;
  letter-spacing: -1.4px;
  color: rgba(255,255,255,.96);
  text-shadow: 0 18px 48px rgba(0,0,0,.38);
  max-width: 44ch;
}

.heroBlock .accent{
  background: linear-gradient(90deg, rgba(110,199,255,1), rgba(29,155,240,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroBlock .sub{
  margin: 18px 0 0 0;
  font-size: 24px;      /* slightly larger */
  color: rgba(255,255,255,.78);
}

.heroBlock .hint{
  margin: 10px 0 0 0;
  font-size: 16px;
  color: rgba(255,255,255,.68);
  max-width: 42ch;
}

/* CARDS */
.card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* SLIDER card */
.slider{
  padding: 12px 18px 10px 18px; /* tighter */
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
  min-height: 84px; /* compact on desktop */
  max-height: 120px; /* prevent it from pushing the form down */
}

.sliderLabel{
  font-size:12px;
  color: rgba(11,15,26,.58);
  margin-bottom: 12px;
}

.slideStage{
  position:relative;
  min-height: 60px;
}

.slideText{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing:-0.2px;
  opacity:0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.slideText.active{
  opacity:1;
  transform: translateY(0);
}

.dots{
  margin-top: 14px;
  display:flex;
  gap:7px;
  align-items:center;
}

.dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(10,20,35,.18);
  border: 1px solid rgba(10,20,35,.12);
}

.dot.active{
  background: rgba(29,155,240,.65);
  border-color: rgba(29,155,240,.35);
}

/* RIGHT form card (full height) */
.formCard{
  padding: 20px 22px;
  display:flex;
  flex-direction:column;
  min-height:0;
}

.formHeader{
  padding-bottom: 12px;
}

.formTitle{
  font-size:14px;
  font-weight:700;
  margin:0;
}

.formSubtitle{
  margin-top:6px;
  font-size:12px;
  color: rgba(11,15,26,.58);
}

/* form content area */
.formBody{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}

form{
  margin:0;
  display:flex;
  flex-direction:column;
  gap: 12px;
  flex:1;
}

.field{ margin-top: 0; }

label{
  display:block;
  font-size:12px;
  color: rgba(11,15,26,.62);
  margin-bottom: 8px;
}

input[type="email"], input[type="text"], textarea{
  width:100%;
  border: 1px solid rgba(10,20,35,.14);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  outline:none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

textarea{
  min-height: 84px;
  resize: vertical;
}

input:focus, textarea:focus{
  border-color: rgba(29,155,240,.55);
  box-shadow: 0 0 0 4px rgba(110,199,255,.28);
}

/* Chips */
.chipRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(10,20,35,.14);
  background:#fff;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  cursor:pointer;
  user-select:none;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chip:hover{ transform: translateY(-1px); }

.chip[aria-pressed="true"]{
  background: rgba(29,155,240,.10);
  border-color: rgba(29,155,240,.45);
  box-shadow: 0 0 0 3px rgba(110,199,255,.20);
}

/* Make textarea + handle share a row on desktop to save height */
.row2{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 12px;
}

/* CTA button only */
.primaryBtn{
  margin-top: auto;    /* NEW: pushes button to bottom */
  width:100%;
  border: none;
  background: var(--blue);
  color:#fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor:pointer;
  transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 24px rgba(29,155,240,.22);
}

.primaryBtn:hover{ background: var(--blue-deep); }
.primaryBtn:active{ transform: translateY(1px); }

.microcopy{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(11,15,26,.58);
}

/* Success inline (inside the same right card) */
.successInline{
  display:none;
  padding-top: 18px;
}
.successInline h3{
  margin:0 0 6px 0;
  font-size:18px;
}
.successInline p{
  margin:0;
  color: var(--muted);
  font-size:14px;
  line-height:1.5;
}

/* Mobile stacking */
@media (max-width: 900px){
  .shell{ min-height: unset; }
  .grid{ grid-template-columns: 1fr; }
  .right{ grid-template-rows: auto; }
  .heroBlock{
    padding: 8px 12px 0 12px; /* reduce left inset on small screens */
    text-align:center; /* center on mobile for better balance */
  }
  .heroBlock h1{ line-height:1.02; }
  .heroBlock .sub,
  .heroBlock .hint{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .row2{ grid-template-columns: 1fr; }
}