.partner-page {
  background: #ffffff;
}

.pp-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .94);
}

.pp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - var(--gutter) * 2));
  height: 68px;
  margin: 0 auto;
}

.pp-brand {
  display: inline-flex;
  align-items: center;
}

.pp-brand img {
  display: block;
  width: 148px;
  height: auto;
}

.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.pp-back:hover {
  color: var(--brand);
}

.pp-main {
  padding: clamp(48px, 7vw, 86px) 0 0;
}

.pp-shell {
  width: min(760px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.pp-title-block {
  text-align: center;
}

.pp-title-block h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 52px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.055em !important;
  line-height: 1.1 !important;
}

.pp-intro {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}

.pp-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px !important;
  line-height: 1.85 !important;
  text-align: left;
}

.pp-intro p + p {
  margin-top: 10px;
}

.pp-form {
  margin-top: 34px;
  padding-bottom: 12px;
}

.pp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.pp-field {
  display: block;
  min-width: 0;
}

.pp-field--full {
  grid-column: 1 / -1;
}

.pp-field > span {
  display: block;
  margin-bottom: 8px;
  color: #3f4a59;
  font-size: 12.5px;
  font-weight: 500;
}

.pp-field > span i {
  margin-left: 3px;
  color: #d94b4b;
  font-style: normal;
}

.pp-field > span em {
  margin-left: 4px;
  color: var(--faint);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}

.pp-input,
.pp-select,
.pp-textarea {
  display: block;
  width: 100%;
  border: 1px solid #d8dfe8;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.pp-input,
.pp-select {
  height: 46px;
  padding: 0 13px;
}

.pp-textarea {
  min-height: 118px;
  padding: 12px 13px;
  line-height: 1.6;
  resize: vertical;
}

.pp-input::placeholder,
.pp-textarea::placeholder {
  color: #a7b0bc;
}

.pp-input:focus,
.pp-select:focus,
.pp-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 82, 240, .09);
}

.pp-input[aria-invalid="true"],
.pp-select[aria-invalid="true"],
.pp-textarea[aria-invalid="true"] {
  border-color: #d94b4b;
}

.pp-select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23708091' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.pp-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: #c43f3f;
  font-size: 11px;
  line-height: 1.45;
}

.pp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 24px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  transition: background .16s ease;
}

.pp-submit:hover {
  background: #0b47d4;
}

.pp-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.pp-form-error {
  min-height: 18px;
  margin: 10px 0 0;
  color: #c43f3f;
  font-size: 12px;
  text-align: center;
}

.pp-note {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.6;
  text-align: center;
}

.pp-success {
  padding: 70px 0 80px;
  text-align: center;
}

.pp-success__mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eaf7ef;
  color: #267b4d;
}

.pp-success__mark svg {
  width: 22px;
  height: 22px;
}

.pp-success h2 {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 28px !important;
  font-weight: 600 !important;
}

.pp-success p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.pp-footer {
  margin-top: 72px;
  border-top: 1px solid var(--hairline);
  padding: 22px 0 28px;
}

.pp-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  color: var(--faint);
  font-size: 10px;
}

.pp-footer a {
  color: var(--faint);
  text-decoration: none;
}

@media (max-width: 700px) {
  .pp-header__inner { height: 60px; }
  .pp-brand img { width: 126px; }
  .pp-main { padding-top: 36px; }
  .pp-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .pp-intro p { font-size: 13px !important; }
  .pp-title-block h1 { font-size: 38px !important; }
  .pp-footer__inner { display: block; }
  .pp-footer__inner span + span { display: block; margin-top: 6px; }
}
