:root {
  --nrs-ink: #13233f;
  --nrs-muted: #60708c;
  --nrs-blue: #2563eb;
  --nrs-blue-dark: #173b82;
  --nrs-blue-soft: #edf4ff;
  --nrs-green: #0f9f6e;
  --nrs-green-soft: #ebfbf5;
  --nrs-line: #dce5f2;
  --nrs-surface: #ffffff;
  --nrs-bg: #f3f7fc;
}

.nrs-onboarding,
.nrs-onboarding * {
  box-sizing: border-box;
}

.nrs-onboarding {
  min-height: calc(100vh - 72px);
  padding: 32px 20px 64px;
  background:
    radial-gradient(circle at 8% 3%, rgba(37, 99, 235, 0.09), transparent 27%),
    radial-gradient(circle at 92% 16%, rgba(15, 159, 110, 0.08), transparent 24%),
    var(--nrs-bg);
  color: var(--nrs-ink);
}

.nrs-onboarding__shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nrs-onboarding__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 40px;
  overflow: hidden;
  padding: 54px;
  border-radius: 30px;
  background: linear-gradient(135deg, #132b5b 0%, #1d4c95 58%, #146d74 100%);
  box-shadow: 0 26px 70px rgba(20, 52, 100, 0.2);
  color: #fff;
}

.nrs-onboarding__hero::before,
.nrs-onboarding__hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

.nrs-onboarding__hero::before {
  width: 300px;
  height: 300px;
  top: -170px;
  right: 25%;
  background: rgba(255, 255, 255, 0.09);
}

.nrs-onboarding__hero::after {
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -130px;
  background: rgba(106, 224, 183, 0.15);
}

.nrs-onboarding__hero-copy {
  align-self: center;
}

.nrs-onboarding__eyebrow,
.nrs-registration-card__kicker,
.nrs-info-card__label,
.nrs-onboarding__section-heading > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nrs-onboarding__eyebrow {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d9e8ff;
}

.nrs-onboarding__hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
}

.nrs-onboarding__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #dbe8fb;
  font-size: 1.08rem;
  line-height: 1.65;
}

.nrs-onboarding__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nrs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nrs-button:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.nrs-button--light {
  background: #fff;
  color: #173b82;
  box-shadow: 0 9px 24px rgba(6, 21, 48, 0.2);
}

.nrs-button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nrs-button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nrs-button--primary {
  min-height: 54px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #1c4fb9);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
  color: #fff;
}

.nrs-onboarding__hero-note {
  margin-top: 16px;
  color: #bcd0eb;
  font-size: 0.88rem;
}

.nrs-onboarding__preview {
  align-self: center;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.nrs-onboarding__preview-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 2px 14px;
  color: #deebff;
  font-size: 0.78rem;
  font-weight: 700;
}

.nrs-onboarding__preview-head strong {
  margin-left: auto;
  color: #9fe4cd;
  font-size: 0.72rem;
}

.nrs-onboarding__status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5de0ad;
  box-shadow: 0 0 0 5px rgba(93, 224, 173, 0.12);
}

.nrs-onboarding__offer-card {
  padding: 23px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7, 24, 52, 0.2);
  color: var(--nrs-ink);
}

.nrs-onboarding__offer-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--nrs-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nrs-onboarding__offer-card h2 {
  margin: 18px 0 8px;
  color: var(--nrs-ink);
  font-size: 1.15rem;
}

.nrs-onboarding__offer-salary {
  color: #214d92;
  font-size: 0.88rem;
  font-weight: 700;
}

.nrs-onboarding__offer-tags,
.nrs-condition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.nrs-onboarding__offer-tags {
  margin-top: 17px;
}

.nrs-onboarding__offer-tags span,
.nrs-condition-list span {
  padding: 7px 9px;
  border-radius: 9px;
  background: var(--nrs-blue-soft);
  color: #30548a;
  font-size: 0.72rem;
  font-weight: 700;
}

.nrs-onboarding__privacy-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(9, 30, 64, 0.34);
  color: #dcecff;
  font-size: 0.77rem;
  line-height: 1.4;
}

.nrs-onboarding__privacy-chip span {
  display: inline-flex;
  flex: 0 0 21px;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #52d6a2;
  color: #0b513a;
  font-weight: 900;
}

.nrs-onboarding__steps {
  padding: 54px 0 40px;
}

.nrs-onboarding__section-heading {
  max-width: 700px;
}

.nrs-onboarding__section-heading > span,
.nrs-registration-card__kicker,
.nrs-info-card__label {
  padding-left: 0;
  color: #3562a6;
}

.nrs-onboarding__section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.nrs-onboarding__step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 25px;
}

.nrs-onboarding__step {
  display: flex;
  gap: 15px;
  min-height: 150px;
  padding: 23px;
  border: 1px solid var(--nrs-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.8);
}

.nrs-onboarding__step-number {
  display: inline-flex;
  flex: 0 0 39px;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--nrs-blue);
  box-shadow: 0 7px 16px rgba(37, 99, 235, 0.18);
  color: #fff;
  font-weight: 900;
}

.nrs-onboarding__step h3 {
  margin: 2px 0 8px;
  font-size: 1.02rem;
}

.nrs-onboarding__step p,
.nrs-info-card p,
.nrs-registration-card__header p,
.nrs-form__section-note,
.nrs-form__submit-row p {
  margin: 0;
  color: var(--nrs-muted);
  line-height: 1.55;
}

.nrs-onboarding__step p {
  font-size: 0.88rem;
}

.nrs-onboarding__content-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.36fr) minmax(0, 0.64fr);
  gap: 22px;
  align-items: start;
}

.nrs-onboarding__aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 18px;
}

.nrs-info-card,
.nrs-registration-card {
  border: 1px solid var(--nrs-line);
  background: var(--nrs-surface);
  box-shadow: 0 16px 40px rgba(29, 52, 87, 0.07);
}

.nrs-info-card {
  padding: 23px;
  border-radius: 19px;
}

.nrs-info-card--privacy {
  border-color: #c5eadc;
  background: linear-gradient(180deg, #f9fffc, #f0fbf7);
}

.nrs-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: #dff7ee;
  color: #0a7a55;
  font-size: 1.45rem;
  font-weight: 900;
}

.nrs-info-card h2 {
  margin: 0 0 11px;
  font-size: 1.13rem;
  line-height: 1.35;
}

.nrs-info-card p {
  font-size: 0.88rem;
}

.nrs-check-list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.nrs-check-list li {
  position: relative;
  padding-left: 24px;
  color: #34516f;
  font-size: 0.84rem;
  line-height: 1.45;
}

.nrs-check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--nrs-green);
  content: "✓";
  font-weight: 900;
}

.nrs-condition-list {
  margin-top: 13px;
}

.nrs-info-card--guide {
  display: grid;
  gap: 16px;
  background: linear-gradient(145deg, #f3f7ff, #fff);
}

.nrs-info-card--guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid #c8d7ef;
  border-radius: 11px;
  color: #1e56b2;
  font-weight: 800;
  text-decoration: none;
}

.nrs-registration-card {
  overflow: hidden;
  border-radius: 23px;
}

.nrs-registration-card__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px 25px;
  border-bottom: 1px solid var(--nrs-line);
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.nrs-registration-card__header h2 {
  margin: 7px 0 7px;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.nrs-registration-card__header p {
  font-size: 0.88rem;
}

.nrs-registration-card__free {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--nrs-green-soft);
  color: #08734f;
  font-size: 0.76rem;
  font-weight: 900;
}

.nrs-alert {
  display: flex;
  gap: 12px;
  margin: 22px 32px 0;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.nrs-alert--success,
.nrs-alert--invite {
  border-color: #bce3d5;
  background: #f0fbf7;
  color: #135f47;
}

.nrs-alert--error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.nrs-alert__mark {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1aa673;
  color: #fff;
  font-weight: 900;
}

.nrs-alert strong,
.nrs-alert span {
  display: block;
}

.nrs-alert span {
  margin-top: 2px;
  color: #4f7669;
}

.nrs-form {
  display: grid;
  gap: 0;
  padding: 0 32px 32px;
}

.nrs-form__section {
  min-width: 0;
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--nrs-line);
}

.nrs-form__section legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--nrs-ink);
  font-size: 1.04rem;
  font-weight: 900;
}

.nrs-form__section legend > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--nrs-blue-soft);
  color: var(--nrs-blue);
  font-size: 0.8rem;
}

.nrs-form__section legend small {
  color: var(--nrs-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.nrs-form__section-note {
  margin-top: 8px;
  font-size: 0.81rem;
}

.nrs-form__grid,
.nrs-form__direction-grid {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.nrs-form__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nrs-form__grid--two,
.nrs-form__direction-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nrs-field {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #243a57;
  font-size: 0.8rem;
  font-weight: 800;
}

.nrs-field > span:first-child {
  min-height: 19px;
}

.nrs-field b {
  color: #dc2626;
}

.nrs-field em {
  color: var(--nrs-muted);
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 600;
}

.nrs-field input {
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid #cdd8e7;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #14243e;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 500;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.nrs-field input:hover {
  border-color: #9fb4d0;
}

.nrs-field input:focus {
  border-color: var(--nrs-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.nrs-field input:invalid:not(:placeholder-shown) {
  border-color: #f59e0b;
}

.nrs-password-field {
  position: relative;
  display: block;
}

.nrs-password-field input {
  padding-right: 76px;
}

.nrs-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 6px 7px;
  border: 0;
  border-radius: 7px;
  transform: translateY(-50%);
  background: #eff4fb;
  color: #3c5d89;
  font-size: 0.69rem;
  font-weight: 800;
  cursor: pointer;
}

.nrs-direction-card {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid #dce5f2;
  border-radius: 15px;
  background: #f8fbff;
}

.nrs-direction-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.nrs-direction-card__head strong {
  color: #1d3658;
  font-size: 0.86rem;
}

.nrs-direction-card__head span {
  padding: 5px 8px;
  border-radius: 8px;
  background: #e7effd;
  color: #315c9e;
  font-size: 0.64rem;
  font-weight: 900;
}

.nrs-form__optional {
  border-bottom: 1px solid var(--nrs-line);
}

.nrs-form__optional summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.nrs-form__optional summary::-webkit-details-marker {
  display: none;
}

.nrs-form__optional summary span:first-child {
  display: grid;
  gap: 3px;
}

.nrs-form__optional summary strong {
  color: var(--nrs-ink);
  font-size: 1rem;
}

.nrs-form__optional summary small {
  color: var(--nrs-muted);
  font-size: 0.76rem;
}

.nrs-form__optional-action {
  color: var(--nrs-blue);
  font-size: 0.76rem;
  font-weight: 800;
}

.nrs-form__optional[open] .nrs-form__optional-action {
  font-size: 0;
}

.nrs-form__optional[open] .nrs-form__optional-action::after {
  content: "Скрыть поля";
  font-size: 0.76rem;
}

.nrs-form__optional .nrs-form__grid {
  margin: 0 0 24px;
}

.nrs-form__section--documents {
  border-bottom: 0;
  padding-bottom: 20px;
}

.nrs-upload {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 17px;
  padding: 18px;
  border: 1px dashed #9cb3d2;
  border-radius: 14px;
  background: #f7faff;
  cursor: pointer;
}

.nrs-upload:hover {
  border-color: var(--nrs-blue);
  background: #f1f6ff;
}

.nrs-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.nrs-upload__icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e4edfd;
  color: #2159b6;
  font-size: 1.2rem;
  font-weight: 900;
}

.nrs-upload > span:last-child {
  display: grid;
  gap: 3px;
}

.nrs-upload strong {
  color: #254364;
  font-size: 0.85rem;
}

.nrs-upload small {
  color: var(--nrs-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.nrs-form__submit-row {
  display: grid;
  gap: 13px;
  padding-top: 8px;
}

.nrs-form__submit-row p {
  font-size: 0.74rem;
  text-align: center;
}

.nrs-form__submit-row a {
  color: #2259b1;
}

@media (max-width: 980px) {
  .nrs-onboarding__hero {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .nrs-onboarding__preview {
    max-width: 620px;
  }

  .nrs-onboarding__content-grid {
    grid-template-columns: 1fr;
  }

  .nrs-onboarding__aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nrs-info-card--privacy {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .nrs-onboarding {
    padding: 15px 12px 40px;
  }

  .nrs-onboarding__hero {
    gap: 28px;
    padding: 29px 22px;
    border-radius: 22px;
  }

  .nrs-onboarding__hero h1 {
    font-size: 2.25rem;
  }

  .nrs-onboarding__lead {
    font-size: 0.98rem;
  }

  .nrs-onboarding__hero-actions,
  .nrs-onboarding__hero-actions .nrs-button {
    width: 100%;
  }

  .nrs-onboarding__preview {
    padding: 12px;
    border-radius: 18px;
  }

  .nrs-onboarding__offer-card {
    padding: 18px;
  }

  .nrs-onboarding__steps {
    padding: 42px 0 30px;
  }

  .nrs-onboarding__step-grid,
  .nrs-onboarding__aside,
  .nrs-form__grid--three,
  .nrs-form__grid--two,
  .nrs-form__direction-grid {
    grid-template-columns: 1fr;
  }

  .nrs-onboarding__step {
    min-height: auto;
  }

  .nrs-registration-card__header {
    padding: 24px 20px 20px;
  }

  .nrs-registration-card__header h2 {
    font-size: 1.5rem;
  }

  .nrs-registration-card__free {
    display: none;
  }

  .nrs-alert {
    margin: 18px 20px 0;
  }

  .nrs-form {
    padding: 0 20px 24px;
  }

  .nrs-form__section {
    padding: 24px 0;
  }

  .nrs-form__optional summary {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nrs-button,
  .nrs-field input {
    transition: none;
  }
}
