.sw-hero { padding-bottom: 56px; }
.sw-hero .hero__title { margin-top: 16px; max-width: 940px; }
.sw-hero .hero__sub { max-width: 560px; }

.sw { position: relative; z-index: 1; padding-bottom: 112px; }

.sw__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -48px rgb(16 24 40 / .25);
}

.sw__cells {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--border);
}
.sw__cell {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 310px;
  padding: 30px 30px 32px;
}
.sw__cell:nth-child(odd) { border-right: 1px solid var(--border); }
.sw__cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

.sw__ico {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: #eef1ff; color: var(--brand);
}
.sw__ico svg,
.sw__done-ico svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.sw__cell-title {
  margin: 0;
  font: 500 17px/1.35 var(--font-ui); letter-spacing: -.014em;
  color: var(--ink-nav);
}
.sw__cell-text {
  margin: 6px 0 0;
  font: 400 15px/1.55 var(--font-ui); letter-spacing: -.004em;
  color: var(--ink-faint);
}

.sw__form-col {
  display: flex; align-items: center;
  padding: 48px 56px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.sw__form, .sw__done { width: 100%; }
.sw__form { display: grid; gap: 18px; }

.sw__form-title {
  margin: 0 0 4px;
  font: 400 26px/1.2 var(--font-display); letter-spacing: -.014em;
  color: var(--ink);
}

.sw__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sw__pages { display: grid; gap: 18px; }
.sw__field { display: grid; gap: 7px; min-width: 0; }
.sw__label {
  font: 500 13px/1 var(--font-ui); letter-spacing: -.004em;
  color: var(--ink-nav);
}

.sw__input {
  width: 100%; height: 42px; padding: 0 13px;
  font: 400 15px/1 var(--font-ui); letter-spacing: -.006em;
  color: var(--ink-nav);
  background: #fafafb;
  border: 1px solid var(--border); border-radius: 9px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.sw__input::placeholder { color: #9ca3af; }
.sw__input:hover { border-color: #d6d8de; }
.sw__input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(35 71 255 / .14);
}

.sw__select { position: relative; display: block; }
.sw__select select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.sw__select::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.5px solid #5f5f5f; border-bottom: 1.5px solid #5f5f5f;
  transform: rotate(45deg);
  pointer-events: none;
}

.sw__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 6px;
}
.sw__actions .btn--primary { margin-left: auto; }
.sw__add svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round;
}

.sw__fine {
  margin: 0;
  font: 400 13px/1.45 var(--font-ui);
  color: #8b8f9a;
}

.sw__error {
  margin: 0; padding: 11px 14px;
  font: 400 14px/1.45 var(--font-ui);
  color: #b42318;
  background: #fef3f2; border: 1px solid #fecdca; border-radius: 9px;
}

.sw__done { display: grid; justify-items: start; gap: 14px; }
.sw__done-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff;
}
.sw__done-text {
  margin: 0 0 8px; max-width: 44ch;
  font: 400 15.5px/1.6 var(--font-ui);
  color: var(--ink-soft);
}

.sw-steps { position: relative; z-index: 1; padding-bottom: 112px; }
.sw-steps__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 40px; }
.sw-steps__title {
  margin: 0; max-width: 20ch;
  font: 300 44px/1.1 var(--font-display); letter-spacing: -.014em;
  color: var(--ink);
  text-wrap: balance;
}
.sw-steps__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.sw-step {
  padding: 28px 28px 30px;
  border-radius: 20px;
  background: var(--card);
}
.sw-step__n {
  display: block;
  font: 500 12px/1 var(--font-ui); letter-spacing: .09em;
  color: var(--brand);
}
.sw-step__title {
  margin: 44px 0 0;
  font: 400 21px/1.25 var(--font-ui); letter-spacing: -.018em;
  color: var(--ink-nav);
}
.sw-step__text {
  margin: 10px 0 0;
  font: 400 15px/1.55 var(--font-ui);
  color: var(--ink-faint);
}
.sk-steps .sw-step { padding: 0; border-radius: 0; background: none; }
.sk-steps .sw-step__title { margin-top: 12px; }

.faq__a a { color: var(--brand); }
.faq__a a:hover { color: var(--brand-hi); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .sw__panel { grid-template-columns: minmax(0, 1fr); }
  .sw__cells { border-right: 0; border-bottom: 1px solid var(--border); }
  .sw__cell { min-height: 240px; }
  .sw__form-col { padding: 44px 40px; }
}

@media (max-width: 900px) {
  .sw-steps__list { grid-template-columns: minmax(0, 1fr); }
  .sw-step__title { margin-top: 28px; }
  .sk-steps .sw-step__title { margin-top: 12px; }
  .sk-steps .sw-steps__list { gap: 40px; }
  .sw-steps__title { font-size: 38px; }
}

@media (max-width: 760px) {
  .sw-hero { padding-bottom: 36px; }
  .sw, .sw-steps { padding-bottom: 88px; }
  .sw__panel { border-radius: 20px; }
  .sw__cells { grid-template-columns: minmax(0, 1fr); }
  .sw__cell { min-height: 0; gap: 28px; padding: 24px; }
  .sw__cell:nth-child(odd) { border-right: 0; }
  .sw__cell:not(:last-child) { border-bottom: 1px solid var(--border); }
  .sw__form-col { padding: 32px 24px; }
  .sw__row { grid-template-columns: minmax(0, 1fr); }
  .sw-steps__title { font-size: 34px; }
}

@media (max-width: 420px) {
  .sw__actions { flex-direction: column-reverse; align-items: stretch; }
  .sw__actions .btn--primary { margin-left: 0; }
}
