.rgrlk-lead-capture {
  --lead-cyan: #43e4ff;
  --lead-blue: #2879ff;
  --lead-line: rgba(83, 211, 255, .28);
  position: relative;
  z-index: 4;
  width: min(1080px, calc(100% - 32px));
  margin: 42px auto 54px;
  padding: clamp(24px, 4vw, 38px);
  overflow: visible;
  border: 1px solid var(--lead-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(67, 228, 255, .2), transparent 34%),
    linear-gradient(145deg, rgba(8, 28, 51, .98), rgba(2, 11, 24, .98));
  box-shadow: 0 26px 68px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .1);
  color: #f5fbff;
}

.rgrlk-lead-capture::after {
  content: "PROJECT DASH";
  position: absolute;
  right: 3%;
  bottom: -12px;
  z-index: -1;
  color: rgba(255, 255, 255, .035);
  font: 950 clamp(38px, 8vw, 92px)/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.06em;
  pointer-events: none;
}

.rgrlk-lead-capture *,
.rgrlk-lead-dialog * {
  box-sizing: border-box;
}

.rgrlk-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 38px);
  align-items: center;
}

.rgrlk-lead-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #a8f3ff;
  font: 900 11px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rgrlk-lead-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lead-cyan);
  box-shadow: 0 0 18px rgba(50, 219, 255, .75);
}

.rgrlk-lead-capture h2 {
  max-width: 720px;
  margin: 0 0 12px;
  color: #fff;
  font: 950 clamp(29px, 4vw, 48px)/1.04 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.045em;
}

.rgrlk-lead-capture h2 strong {
  color: transparent;
  background: linear-gradient(90deg, #fff, var(--lead-cyan) 52%, #83a8ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.rgrlk-lead-capture p {
  max-width: 680px;
  margin: 0;
  color: #bdccda;
  font: 520 15px/1.58 Inter, ui-sans-serif, system-ui, sans-serif;
}

.rgrlk-lead-open {
  min-width: 250px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(118, 239, 255, .6);
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, #49e3f2, #2879ff);
  color: #03111e;
  font: 950 12px/1.1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(40, 121, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rgrlk-lead-open:hover,
.rgrlk-lead-open:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(40, 121, 255, .36), 0 0 28px rgba(67, 228, 255, .18);
}

.rgrlk-lead-dialog {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 5, 13, .82);
}

.rgrlk-lead-dialog.is-open {
  display: grid;
}

.rgrlk-lead-dialog__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(83, 211, 255, .3);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(50, 219, 255, .14), transparent 34%),
    #061527;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
}

.rgrlk-lead-dialog__panel h2 {
  margin: 0 42px 8px 0;
  color: #fff;
  font: 950 clamp(26px, 5vw, 38px)/1.05 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.04em;
}

.rgrlk-lead-dialog__panel > p {
  margin: 0 0 22px;
  color: #afc0d1;
  font: 520 14px/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

.rgrlk-lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.rgrlk-uen-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.rgrlk-uen-form input,
.rgrlk-uen-form select,
.rgrlk-uen-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  outline: 0;
  background: rgba(0, 0, 0, .24);
  color: #fff;
  font: 650 14px/1 Inter, ui-sans-serif, system-ui, sans-serif;
}

.rgrlk-uen-form input::placeholder {
  color: #8296aa;
}

.rgrlk-uen-form input:focus,
.rgrlk-uen-form select:focus,
.rgrlk-uen-form textarea:focus {
  border-color: var(--lead-cyan);
  box-shadow: 0 0 0 3px rgba(50, 219, 255, .1);
}

.rgrlk-uen-form button {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 1px solid rgba(72, 225, 255, .46);
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #32dff2, #2879ff);
  color: #03111e;
  font: 950 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(40, 121, 255, .2);
}

.rgrlk-form-note {
  grid-column: 1 / -1;
  color: #8195a9;
  font: 500 11px/1.45 Inter, ui-sans-serif, system-ui, sans-serif;
}

body.rgrlk-lead-dialog-open {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .rgrlk-lead-capture {
    width: min(100% - 24px, 1080px);
    margin: 30px auto 40px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .rgrlk-lead-grid,
  .rgrlk-uen-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .rgrlk-lead-grid {
    gap: 20px;
  }

  .rgrlk-lead-open {
    width: 100%;
    min-width: 0;
  }

  .rgrlk-uen-form button,
  .rgrlk-form-note {
    grid-column: 1;
  }
}

@media (max-width: 920px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body::before,
  body::after {
    animation: none !important;
    filter: none !important;
  }

  main > section:not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: auto 680px;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .aurora,
  .orb,
  .particles,
  .particle-field,
  .background-glow {
    animation: none !important;
    filter: none !important;
  }
}
