.signup-page {
  --signup-bg: #050505;
  --signup-panel: #0d0d0f;
  --signup-field: #121214;
  --signup-line: #29292d;
  --signup-muted: #929299;
  --signup-accent: #e39000;
  --signup-edge-space: clamp(16px, 3vh, 32px);
  --signup-viewport-space: clamp(32px, 6vh, 64px);
  min-height: 100%;
  color: #f5f5f7;
  background: var(--signup-bg);
}

.signup-page .shell {
  width: 100%;
  min-height: calc(100vh - 65px);
  min-height: calc(100dvh - 65px);
  margin: 0;
  padding: var(--signup-edge-space) clamp(20px, 3.2vw, 48px);
  display: grid;
  place-items: center;
}

.signup-page .card {
  width: min(100%, 1440px);
  min-height: clamp(560px, calc(100vh - 65px - var(--signup-viewport-space)), 900px);
  min-height: clamp(560px, calc(100dvh - 65px - var(--signup-viewport-space)), 900px);
  display: grid;
  grid-template-columns: minmax(480px, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid #242427;
  border-radius: 22px;
  background: var(--signup-panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.signup-page .form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4.5vw, 64px);
  background: var(--signup-panel);
}

.signup-page .form-title {
  margin: 0 0 9px;
  color: #f5f5f7;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.signup-page .form-sub {
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--signup-muted);
  font-size: .98rem;
  line-height: 1.5;
}

.signup-page .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signup-page .field {
  margin: 0 0 17px;
}

.signup-page .label {
  display: block;
  margin: 0 0 8px;
  color: #c7c7cc;
  font-size: .79rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .015em;
}

.signup-page .control {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  border: 1px solid var(--signup-line);
  border-radius: 10px;
  background: var(--signup-field);
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.signup-page .control > i {
  display: none;
}

.signup-page .control:focus-within {
  border-color: var(--signup-accent);
  background: #151517;
  box-shadow: 0 0 0 3px rgba(227, 144, 0, .12);
}

.signup-page .control input,
.signup-page .control select,
.signup-page #phone {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #f5f5f7;
  background: transparent;
  font-family: inherit;
  font-size: .94rem;
  letter-spacing: 0;
}

.signup-page .control input::placeholder {
  color: #68686e;
  opacity: 1;
}

.signup-page select.language-select {
  color: #f5f5f7;
  background: transparent;
}

.signup-page .iti {
  width: 100% !important;
}

.signup-page .iti__country-container {
  color: #f5f5f7;
}

.signup-page .iti__selected-country {
  background: transparent !important;
}

.signup-page .actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 5px 0 0;
}

.signup-page #signup-button {
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  color: #111;
  background: var(--signup-accent);
  box-shadow: none;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.signup-page #signup-button:hover {
  filter: none;
  background: #f0a21b;
  transform: translateY(-1px);
}

.signup-page #signup-button:active {
  transform: none;
}

.signup-page #signup-button:focus-visible {
  outline: 3px solid rgba(227, 144, 0, .28);
  outline-offset: 2px;
}

.signup-page #signup-button[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.signup-page .form-assurance {
  margin: 12px 0 0;
  color: #77777d;
  font-size: .75rem;
  line-height: 1.4;
  text-align: center;
}

.signup-page .spinner {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  margin: 0;
  border-width: 2px;
  border-top-color: #111;
}

.signup-page .side {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border: 0;
  border-left: 1px solid #242427;
  background: linear-gradient(145deg, #0b0b0e 0%, #070708 62%, #090806 100%);
}

.signup-page .side::before {
  content: "";
  position: absolute;
  top: clamp(38px, 5vw, 72px);
  right: 0;
  bottom: clamp(38px, 5vw, 72px);
  width: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(227, 144, 0, .72), transparent);
}

.signup-page .side::after {
  display: none;
}

.signup-page .side-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(44px, 5vw, 72px);
}

.signup-page .side-bottom {
  width: 100%;
  max-width: 650px;
}

.signup-page .visual-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  color: #d59427;
  font-size: .7rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.signup-page .visual-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: #d59427;
}

.signup-page .hero-title {
  max-width: 570px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 2.8vw, 2.85rem);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-shadow: none;
}

.signup-page .hero-text {
  max-width: 52ch;
  margin: 0;
  color: #a7a7ad;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.6;
  text-shadow: none;
}

.signup-page .workflow-strip {
  margin-top: clamp(34px, 4vw, 48px);
  padding: 19px 0 21px;
  border-top: 1px solid #2a2a2e;
  border-bottom: 1px solid #2a2a2e;
}

.signup-page .workflow-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #d2d2d6;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .02em;
}

.signup-page .workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #77777e;
  font-weight: 500;
}

.signup-page .workflow-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d59427;
}

.signup-page .workflow-strip ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.signup-page .workflow-strip li {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0 15px;
  border-left: 1px solid #2a2a2e;
}

.signup-page .workflow-strip li:first-child {
  padding-left: 0;
  border-left: 0;
}

.signup-page .workflow-strip li:last-child {
  padding-right: 0;
}

.signup-page .workflow-index {
  color: #a06614;
  font-size: .64rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}

.signup-page .workflow-strip strong {
  overflow: hidden;
  color: #f2f2f4;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signup-page .visual-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
}

.signup-page .visual-facts span {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid #2a2a2e;
}

.signup-page .visual-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.signup-page .visual-facts span:last-child {
  padding-right: 0;
}

.signup-page .visual-facts strong {
  color: #e4e4e7;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
}

.signup-page .visual-facts small {
  color: #727279;
  font-size: .69rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 1040px) {
  .signup-page .card {
    grid-template-columns: minmax(430px, .95fr) minmax(0, 1.05fr);
  }

  .signup-page .form-wrap {
    padding: 38px;
  }

  .signup-page .side-content {
    padding: 38px;
  }

  .signup-page .workflow-strip li {
    padding-right: 10px;
    padding-left: 10px;
  }

  .signup-page .visual-facts span {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (min-width: 881px) and (max-height: 820px) {
  .signup-page {
    --signup-edge-space: 12px;
    --signup-viewport-space: 24px;
  }

  .signup-page .form-wrap,
  .signup-page .side-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .signup-page .form-sub {
    margin-bottom: 20px;
  }

  .signup-page .field {
    margin-bottom: 12px;
  }

  .signup-page .label {
    margin-bottom: 6px;
  }

  .signup-page .control,
  .signup-page #signup-button {
    min-height: 46px;
  }

  .signup-page .actions {
    margin-top: 2px;
  }

  .signup-page .form-assurance {
    margin-top: 8px;
  }

  .signup-page .workflow-strip {
    margin-top: 28px;
    padding-top: 16px;
    padding-bottom: 17px;
  }

  .signup-page .workflow-strip ol {
    margin-top: 18px;
  }

  .signup-page .visual-facts {
    margin-top: 22px;
  }
}

@media (max-width: 880px) {
  .signup-page .shell {
    padding: 20px;
  }

  .signup-page .card {
    width: min(100%, 640px);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .signup-page .form-wrap {
    padding: clamp(28px, 7vw, 44px);
  }

  .signup-page .side {
    display: none;
  }
}

@media (max-width: 560px) {
  .signup-page .shell {
    align-items: start;
    padding: 14px;
  }

  .signup-page .card {
    border-radius: 16px;
  }

  .signup-page .form-wrap {
    padding: 25px 20px;
  }

  .signup-page .form-title {
    font-size: 1.65rem;
  }

  .signup-page .form-sub {
    margin-bottom: 24px;
    font-size: .9rem;
  }

  .signup-page .grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .signup-page .field {
    margin-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup-page .control,
  .signup-page #signup-button {
    transition: none;
  }
}
