*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body.nuro-access-gateway-page {
  color: #ffffff;
  font-family: "DM Sans", Arial, sans-serif;
  background: #24024e;
  overflow-x: hidden;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nuro-access-gateway {
  --gateway-purple-dark: #24024e;
  --gateway-purple: #5309ad;
  --gateway-purple-bright: #680bd9;
  --gateway-orange: #fe8504;
  --gateway-muted: #777777;
  --gateway-border: #dedede;
  --gateway-card-bg: #ffffff;
  --gateway-tint: #f8f2ff;

  position: relative;
  display: grid;
  grid-template-columns: 760px 585px;
  grid-template-rows: 910px auto;
  column-gap: 162px;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 40px;
  overflow-x: hidden;
  overflow-y: visible;
  background:
    linear-gradient(270deg, rgba(104, 11, 217, 0.88) 0%, rgba(83, 9, 173, 0.92) 34%, rgba(36, 2, 78, 0.98) 100%),
    var(--nuro-gateway-bg) center / cover no-repeat,
    #24024e;
}

.nuro-access-gateway::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 2, 78, 0) 0%, rgba(36, 2, 78, 0.88) 86%);
}

.nuro-access-gateway__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 700px;
  padding-right: 0;
}

.nuro-access-gateway__brand img {
  display: block;
  width: 232px;
  height: auto;
}

.nuro-access-gateway__intro {
  position: relative;
  z-index: 2;
  margin-top: 92px;
}

.nuro-access-gateway__intro h1 {
  max-width: 660px;
  margin: 0;
  color: #ffffff;
  font-family: "Syne", "DM Sans", Arial, sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

.nuro-access-gateway__intro p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.nuro-access-gateway__product {
  position: absolute;
  z-index: 1;
  left: 52px;
  bottom: -252px;
  width: 650px;
  max-width: none;
  opacity: 0.95;
}

.nuro-access-gateway__panel {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.nuro-access-gateway__form {
  width: 100%;
  max-width: 585px;
  min-width: 0;
  margin-left: auto;
  padding: 12px;
  color: var(--gateway-purple-dark);
  background: var(--gateway-card-bg);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(18, 0, 42, 0.28);
}

.nuro-access-gateway__form-header h2 {
  margin: 0;
  color: var(--gateway-purple-dark);
  font-family: "Syne", "DM Sans", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.nuro-access-gateway__form-header p {
  max-width: 514px;
  margin: 10px 0 0;
  color: var(--gateway-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

.nuro-access-gateway__errors {
  margin-top: 28px;
  padding: 16px 18px;
  color: #7a2500;
  background: rgba(254, 133, 4, 0.1);
  border: 1px solid rgba(254, 133, 4, 0.35);
  border-radius: 14px;
}

.nuro-access-gateway__errors p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.nuro-access-gateway__errors p + p {
  margin-top: 8px;
}

.nuro-access-gateway__phone-row {
  display: grid;
  grid-template-columns: 139px minmax(0, 1fr);
  gap: 6px;
  margin-top: 24px;
  padding: 0 8px;
  min-width: 0;
}

.nuro-access-gateway__country-field,
.nuro-access-gateway__phone-field {
  width: 100%;
  min-height: 58px;
  color: var(--gateway-purple-dark);
  background: #fbfbfb;
  border: 1px solid var(--gateway-border);
  border-radius: 999px;
}

.nuro-access-gateway__country-field {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 36px 0 16px;
  position: relative;
}

.nuro-access-gateway__country-field::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #878787;
  transform: translateY(-30%);
  pointer-events: none;
}

.nuro-access-gateway__country-field img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nuro-access-gateway__phone-row select {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--gateway-purple-dark);
  font: 500 16px/1 "DM Sans", Arial, sans-serif;
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
}

.nuro-access-gateway__phone-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.nuro-access-gateway__code-field {
  display: flex;
  align-items: center;
  width: calc(100% - 16px);
  min-height: 58px;
  margin: 24px 8px 0;
  padding: 0 22px;
  color: var(--gateway-purple-dark);
  background: #fbfbfb;
  border: 1px solid var(--gateway-border);
  border-radius: 999px;
}

.nuro-access-gateway__phone-field span {
  display: inline-flex;
  flex: 0 0 auto;
  color: #858585;
}

.nuro-access-gateway__phone-field svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.nuro-access-gateway__phone-field input,
.nuro-access-gateway__code-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--gateway-purple-dark);
  font: 400 16px/1 "DM Sans", Arial, sans-serif;
  background: transparent;
  border: 0;
  outline: 0;
}

.nuro-access-gateway__phone-field input::placeholder,
.nuro-access-gateway__code-field input::placeholder {
  color: #b6b6b6;
}

.nuro-access-gateway__country-field:focus-within,
.nuro-access-gateway__phone-field:focus-within,
.nuro-access-gateway__code-field:focus-within {
  border-color: var(--gateway-purple-bright);
  box-shadow: 0 0 0 4px rgba(104, 11, 217, 0.1);
}

.nuro-access-gateway__confirm {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  min-height: 210px;
  margin: 24px 8px 0;
  padding: 16px;
  color: var(--gateway-purple-dark);
  background: var(--gateway-tint);
  border: 1px solid rgba(104, 11, 217, 0.18);
  border-radius: 8px;
}

.nuro-access-gateway__confirm span {
  min-width: 0;
}

.nuro-access-gateway__confirm input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gateway-purple-bright);
}

.nuro-access-gateway__confirm strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.31;
  letter-spacing: 0;
}

.nuro-access-gateway__confirm ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

.nuro-access-gateway__confirm li {
  color: #3b1270;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.31;
  letter-spacing: 0;
}

.nuro-access-gateway__confirm li + li {
  margin-top: 6px;
}

.nuro-access-gateway__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 16px 8px 0;
  width: calc(100% - 16px);
  color: #ffffff;
  font: 500 16px/1 "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(220.24deg, #680bd9 12.9%, #5309ad 99.84%);
  border: 0;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.nuro-access-gateway__button:hover,
.nuro-access-gateway__button:focus {
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(83, 9, 173, 0.24);
  transform: translateY(-1px);
}

.nuro-access-gateway__button:focus-visible {
  outline: 3px solid rgba(254, 133, 4, 0.55);
  outline-offset: 4px;
}

.nuro-access-gateway__note {
  margin: 10px 8px 0;
  color: var(--gateway-muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

.nuro-access-gateway__footer {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100vw;
  justify-self: center;
  margin-top: 0;
  padding: 49px 0 72px;
  background: #34066b;
  color: rgba(255, 255, 255, 0.72);
}

.nuro-access-gateway__footer-inner {
  width: min(1503px, calc(100vw - 400px));
  margin: 0 auto;
}

.nuro-access-gateway__copyright {
  margin: 0;
  color: var(--gateway-orange);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.nuro-access-gateway__legal {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nuro-access-gateway__legal p + p {
  margin-top: 18px;
}

.nuro-access-gateway__legal p {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 1500px) {
  .nuro-access-gateway {
    grid-template-columns: 560px 560px;
    column-gap: 72px;
    padding-right: 56px;
    padding-left: 56px;
  }

  .nuro-access-gateway__content {
    min-height: 560px;
  }

  .nuro-access-gateway__brand img {
    width: 170px;
  }

  .nuro-access-gateway__intro {
    margin-top: 66px;
  }

  .nuro-access-gateway__intro h1 {
    font-size: 74px;
  }

  .nuro-access-gateway__intro p {
    font-size: 32px;
  }

  .nuro-access-gateway__product {
    left: 24px;
    bottom: -220px;
    width: 560px;
  }

  .nuro-access-gateway__phone-field input {
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .nuro-access-gateway {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 100svh;
    padding: 36px 24px 0;
  }

  .nuro-access-gateway__content {
    min-height: auto;
    padding-right: 0;
  }

  .nuro-access-gateway__intro {
    margin-top: 56px;
  }

  .nuro-access-gateway__intro h1 {
    font-size: clamp(52px, 11vw, 96px);
  }

  .nuro-access-gateway__intro p {
    margin-top: 22px;
    font-size: clamp(26px, 5vw, 46px);
  }

  .nuro-access-gateway__product {
    display: none;
  }

  .nuro-access-gateway__panel {
    margin-top: 42px;
  }

  .nuro-access-gateway__form {
    width: 100%;
    margin: 0 auto;
  }

  .nuro-access-gateway__footer {
    margin-top: 80px;
  }

  .nuro-access-gateway__footer-inner {
    width: calc(100vw - 48px);
  }
}

@media (max-width: 720px) {
  .nuro-access-gateway {
    display: block;
    padding: 24px 16px 0;
  }

  .nuro-access-gateway__brand img {
    width: 150px;
  }

  .nuro-access-gateway__intro {
    margin-top: 44px;
  }

  .nuro-access-gateway__form {
    max-width: 358px;
    margin-right: 0;
    margin-left: 0;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .nuro-access-gateway__phone-row {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .nuro-access-gateway__country-field,
  .nuro-access-gateway__phone-field,
  .nuro-access-gateway__code-field {
    min-height: 62px;
  }

  .nuro-access-gateway__phone-field {
    gap: 12px;
    padding: 0 22px;
  }

  .nuro-access-gateway__phone-field input,
  .nuro-access-gateway__code-field input {
    font-size: 19px;
  }

  .nuro-access-gateway__confirm {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }

  .nuro-access-gateway__confirm ul {
    padding-left: 18px;
  }

  .nuro-access-gateway__button {
    min-height: 64px;
    font-size: 21px;
  }

  .nuro-access-gateway__footer {
    width: 100vw;
    max-width: 100vw;
    margin: 72px calc(50% - 50vw) 0;
    padding: 40px 0 56px;
    overflow: hidden;
  }

  .nuro-access-gateway__footer-inner {
    width: calc(100vw - 64px);
    max-width: 100%;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .nuro-access-gateway__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(280px, 100%);
    min-width: 0;
    margin-top: 28px;
    padding-top: 24px;
  }

  .nuro-access-gateway__legal p {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 14px;
    line-height: 1.55;
    hyphens: auto;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: break-word;
  }
}
