.interest input,.interest button {font:inherit;}
.interest {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  color: var(--text);
  background: rgba(15,15,20,.98);
  box-shadow: 0 36px 120px rgba(0,0,0,.72), 0 0 80px rgba(91,37,210,.10);
  overflow: auto;
}

.interest::backdrop {
  background: rgba(2,2,4,.74);
  backdrop-filter: blur(12px);
}

.interest[open] { animation: dialog-in .24s cubic-bezier(.2,.8,.2,1); }

.interest__surface {
  position: relative;
  padding: clamp(30px, 5vw, 52px);
}

.interest__surface::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 120% at 50% -10%, rgba(119,62,255,.14), transparent 72%);
}

.interest__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #aaa8b1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.interest__close:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}

.interest__close svg { width: 18px; height: 18px; }

.interest__intro { position: relative; z-index: 1; padding-right: 40px; }

.interest__eyebrow {
  margin: 0 0 14px;
  color: #a77fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.interest h2 {
  margin: 0;
  max-width: 500px;
  color: #f7f6f9;
  font-size: clamp(29px, 5vw, 40px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 590;
}

.interest__intro > p:last-child {
  margin: 18px 0 0;
  max-width: 535px;
  color: #9e9ba5;
  font-size: 15px;
  line-height: 1.6;
}

.interest__form {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#interest-dialog .field { min-width: 0; }

#interest-dialog .field--wide { grid-column: 1 / -1; }

#interest-dialog .field label {
  display: block;
  margin-bottom: 9px;
  color: #c8c5cd;
  font-size: 12px;
  font-weight: 560;
}

#interest-dialog .field__optional {
  color: #77747e;
  font-weight: 450;
}

#interest-dialog .field input {
  width: 100%;
  min-height: 51px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  color: #f5f4f7;
  background: rgba(255,255,255,.035);
  box-shadow: 0 1px 0 rgba(255,255,255,.025) inset;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

#interest-dialog .field input:hover { border-color: rgba(255,255,255,.17); }

#interest-dialog .field input:focus {
  border-color: rgba(155,111,255,.72);
  background: rgba(255,255,255,.048);
  box-shadow: 0 0 0 3px rgba(123,66,255,.11);
}

#interest-dialog .field.is-invalid input { border-color: rgba(244, 113, 122, .72); }

#interest-dialog .field__error {
  display: block;
  min-height: 14px;
  margin-top: 6px;
  color: #e88f98;
  font-size: 11px;
  line-height: 1.25;
}

#interest-dialog .field--trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.interest__actions {
  grid-column: 1 / -1;
  margin-top: 3px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.interest__privacy {
  margin: 0;
  max-width: 370px;
  color: #76737d;
  font-size: 11px;
  line-height: 1.55;
}

#interest-dialog .submit {
  flex: 0 0 auto;
  min-height: 48px;
  min-width: 154px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  color: #09090c;
  background: #f5f5f7;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

#interest-dialog .submit:hover { transform: translateY(-1px); background: #fff; }
#interest-dialog .submit:disabled { cursor: wait; opacity: .72; transform: none; }

#interest-dialog .submit__spinner {
  display: none;
  width: 15px;
  height: 15px;
  margin: auto;
  border: 2px solid rgba(10,10,13,.24);
  border-top-color: #0a0a0d;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

#interest-dialog .submit.is-loading .submit__label { display: none; }
#interest-dialog .submit.is-loading .submit__spinner { display: block; }

#interest-dialog .form-status {
  grid-column: 1 / -1;
  margin: -5px 0 0;
  min-height: 18px;
  color: #a7a4ae;
  font-size: 12px;
  line-height: 1.5;
}

#interest-dialog .form-status.is-success { color: #bba4ef; }
#interest-dialog .form-status.is-error { color: #eb9ba3; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.988); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin { to { transform: rotate(360deg); } }


.interest {--text:#f7f7f9;--focus:#a882ff;font-family:"Avenir Next",Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;}

#interest-dialog .interest__privacy a {color:#c0a4ff;text-decoration:underline;}

@media (max-width:700px) {.interest{border-radius:22px}.interest__surface{padding:34px 22px 28px}.interest__close{top:15px;right:15px}.interest__intro{padding-right:34px}.interest__form{grid-template-columns:1fr;gap:14px;margin-top:30px}.interest__actions{flex-direction:column;align-items:stretch;gap:17px;padding-top:20px}#interest-dialog .submit{width:100%}}
