@charset "UTF-8";

:root {
  --psb-ink: #3e3e59;
  --psb-text-secondary: #5c5c73;
  --psb-muted: #8d8da6;
  --psb-orange: #e86630;
  --psb-orange-hover: #ed885e;
  --psb-violet: #585892;
  --psb-violet-hover: #2c2d84;
  --psb-surface: #ffffff;
  --psb-background: #f8f8fc;
  --psb-border: #e6e6ef;
  --psb-border-strong: #c7c7d9;
  --psb-error: #bb3e45;
  --psb-success: #37ae35;
  --psb-shadow: 0 16px 44px rgba(46, 46, 77, 0.08);
  --font-main: Gilroy, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--psb-background);
  color: var(--psb-ink);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--psb-background);
}

button,
input {
  font: inherit;
}

a {
  color: var(--psb-violet);
}

a:hover {
  color: var(--psb-orange);
}

[hidden] {
  display: none !important;
}

.site-header {
  flex: 0 0 auto;
  background: var(--psb-surface);
  border-bottom: 1px solid var(--psb-border);
}

.site-header__inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 138px;
  height: auto;
}

.site-header__label {
  max-width: 220px;
  color: var(--psb-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: right;
}

.progress {
  flex: 0 0 auto;
  background: var(--psb-surface);
  border-bottom: 1px solid var(--psb-border);
}

.progress__list {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.progress__list--two {
  width: min(520px, calc(100% - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.progress__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--psb-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.progress__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 14px;
  left: 38px;
  width: calc(100% - 48px);
  height: 1px;
  background: var(--psb-border);
}

.progress__number {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--psb-border-strong);
  border-radius: 50%;
  background: var(--psb-surface);
  font-size: 12px;
}

.progress__step--active {
  color: var(--psb-violet);
}

.progress__step--active .progress__number {
  border-color: var(--psb-orange);
  background: var(--psb-orange);
  color: #ffffff;
}

.progress__step--done {
  color: var(--psb-ink);
}

.progress__step--done .progress__number {
  border-color: var(--psb-violet);
  background: var(--psb-violet);
  color: #ffffff;
}

.page-main {
  width: 100%;
  flex: 1 0 auto;
  padding: 48px 24px 56px;
}

.card {
  width: min(100%, 570px);
  margin: 0 auto;
  padding: 40px;
  background: var(--psb-surface);
  border: 1px solid var(--psb-border);
  border-radius: 16px;
  box-shadow: var(--psb-shadow);
}

.card--wide {
  width: min(100%, 640px);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(232, 102, 48, 0.1);
  color: var(--psb-orange);
}

.card__icon svg {
  width: 25px;
  height: 25px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--psb-violet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  color: var(--psb-ink);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 28px;
  color: var(--psb-text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.notice {
  margin: 0 0 28px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 12px;
  background: var(--psb-background);
  color: var(--psb-text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.notice svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  color: var(--psb-violet);
}

.captcha-box {
  min-height: 98px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-placeholder {
  width: 100%;
  min-height: 98px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--psb-border-strong);
  border-radius: 8px;
  background: #fdfdfe;
}

.captcha-placeholder__mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--psb-border-strong);
  border-radius: 4px;
  color: var(--psb-muted);
  font-weight: 700;
}

.captcha-placeholder__title {
  display: block;
  margin-bottom: 2px;
  color: var(--psb-ink);
  font-size: 14px;
  font-weight: 600;
}

.captcha-placeholder__text {
  display: block;
  color: var(--psb-muted);
  font-size: 12px;
}

.form {
  margin-top: 4px;
}

.form__fields {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  color: var(--psb-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.field__control {
  width: 100%;
  height: 48px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--psb-border-strong);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--psb-ink);
  font-size: 16px;
  caret-color: var(--psb-orange);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__control::placeholder {
  color: var(--psb-muted);
  opacity: 1;
}

.field__control:focus {
  border-bottom-color: var(--psb-orange);
  box-shadow: 0 1px 0 var(--psb-orange);
}

.field__control:disabled {
  color: var(--psb-muted);
}

.button {
  min-height: 48px;
  padding: 14px 28px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button--primary {
  background: var(--psb-orange);
  color: #ffffff;
}

.button--primary:hover:not(:disabled):not(.is-disabled) {
  background: var(--psb-orange-hover);
  color: #ffffff;
}

.button--secondary {
  border-color: var(--psb-border-strong);
  background: transparent;
  color: var(--psb-violet);
}

.button--secondary:hover {
  border-color: var(--psb-violet);
  color: var(--psb-violet-hover);
}

.button--block {
  width: 100%;
}

.button:disabled,
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.form-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--psb-error);
  background: rgba(187, 62, 69, 0.06);
  color: var(--psb-error);
  font-size: 13px;
}

.form-note {
  margin: 20px 0 0;
  color: var(--psb-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.site-footer {
  flex: 0 0 auto;
  padding: 0 24px 28px;
  color: var(--psb-muted);
  font-size: 12px;
}

.site-footer__inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--psb-border);
}

.noscript {
  width: min(100% - 48px, 640px);
  margin: 24px auto 0;
  padding: 12px 16px;
  border-left: 3px solid var(--psb-error);
  background: #ffffff;
  color: var(--psb-error);
}

@media (max-width: 640px) {
  .site-header__inner {
    width: calc(100% - 40px);
    min-height: 68px;
  }

  .brand img {
    width: 112px;
  }

  .site-header__label {
    max-width: 140px;
    font-size: 10px;
  }

  .progress__list {
    width: calc(100% - 40px);
    padding: 16px 0;
  }

  .progress__step {
    gap: 6px;
    font-size: 10px;
  }

  .progress__number {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .progress__step:not(:last-child)::after {
    top: 12px;
    left: 30px;
    width: calc(100% - 36px);
  }

  .progress__label {
    max-width: 72px;
    white-space: normal;
    line-height: 1.25;
  }

  .page-main {
    padding: 28px 16px 40px;
  }

  .card {
    padding: 28px 24px;
    border-radius: 14px;
  }

  .card__icon {
    margin-bottom: 20px;
  }

  .lead {
    font-size: 15px;
  }

  .site-footer {
    padding: 0 20px 24px;
  }

  .site-footer__inner {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
