.psub-page {
  --ps-ink: #17211d;
  --ps-muted: #65716c;
  --ps-line: #dce3df;
  --ps-soft: #f4f6f4;
  --ps-green: #163f35;
  --ps-red: #b33f2e;
  color: var(--ps-ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  padding-bottom: 110px;
}
.psub-page *, .psub-page *::before, .psub-page *::after { box-sizing: border-box; }
.psub-page h1, .psub-page h2, .psub-page p { color: inherit; }
.psub-header { padding: 30px 0 48px; background: var(--ps-soft); border-bottom: 1px solid var(--ps-line); }
.psub-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; color: var(--ps-muted); font-size: 13px; }
.psub-crumbs a { color: inherit; text-decoration: none; }
.psub-crumbs a:hover { color: var(--ps-red); }
.psub-kicker, .psub-aside__eyebrow { margin: 0 0 12px; color: var(--ps-red) !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.psub-header h1 { max-width: 780px; margin: 0 0 18px; font-size: clamp(40px, 5.5vw, 68px); line-height: 1; letter-spacing: -.05em; font-weight: 780; }
.psub-header > .container > p:not(.psub-kicker) { max-width: 720px; margin: 0; color: var(--ps-muted) !important; font-size: 18px; line-height: 1.55; }
.psub-progress { display: flex; max-width: 660px; margin: 42px 0 0; padding: 0; list-style: none; }
.psub-progress li { position: relative; display: flex; flex: 1; gap: 9px; align-items: center; padding-top: 17px; border-top: 2px solid #cbd3ce; color: var(--ps-muted); font-size: 13px; font-weight: 700; }
.psub-progress li.is-current { border-color: var(--ps-red); color: var(--ps-ink); }
.psub-progress span { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #dfe5e1; font-size: 11px; }
.psub-progress .is-current span { background: var(--ps-red); color: #fff; }
.psub-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(50px, 8vw, 112px); align-items: start; padding-top: 72px; }
.psub-aside__sticky { position: sticky; top: 96px; }
.psub-aside h2 { margin: 0 0 24px; font-size: 26px; line-height: 1.15; letter-spacing: -.025em; }
.psub-aside ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ps-line); }
.psub-aside li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--ps-line); color: var(--ps-muted); line-height: 1.45; }
.psub-aside li::before { content: "✓"; position: absolute; left: 0; color: var(--ps-red); font-weight: 900; }
.psub-aside__privacy { margin: 24px 0 18px; color: var(--ps-muted) !important; font-size: 13px; line-height: 1.55; }
.psub-aside__privacy strong { color: var(--ps-ink); }
.psub-aside a { color: var(--ps-green); font-weight: 750; text-decoration: none; }
.psub-content { min-width: 0; }
.psub-alert { margin-bottom: 28px; padding: 17px 19px; border-left: 4px solid var(--ps-red); background: #fff1ed; color: #7f271d; }
.psub-alert strong { display: block; margin-bottom: 3px; }
.psub-alert p { margin: 0; font-size: 14px; }
.psub-form { border-top: 3px solid var(--ps-ink); }
.psub-section { padding: 42px 0 48px; border-bottom: 1px solid var(--ps-line); }
.psub-section__title { display: grid; grid-template-columns: 42px 1fr; gap: 14px; margin-bottom: 34px; }
.psub-section__title > span { padding-top: 4px; color: var(--ps-red); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.psub-section__title h2 { margin: 0 0 6px; font-size: 27px; letter-spacing: -.025em; }
.psub-section__title p { margin: 0; color: var(--ps-muted) !important; }
.psub-grid { display: grid; gap: 20px; }
.psub-grid--2 { grid-template-columns: 1fr 1fr; }
.psub-field { margin-bottom: 23px; }
.psub-grid .psub-field { min-width: 0; }
.psub-field label, .psub-label-row label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 730; }
.psub-field label span, .psub-agree b { color: var(--ps-red); }
.psub-label-row { display: flex; justify-content: space-between; gap: 20px; }
.psub-label-row > span { color: var(--ps-muted); font-size: 12px; }
.psub-field input, .psub-field select, .psub-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #bdc8c2; border-radius: 5px; outline: 0; background: #fff; color: var(--ps-ink); font: inherit; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease; }
.psub-field textarea { min-height: 110px; resize: vertical; }
.psub-field input::placeholder, .psub-field textarea::placeholder { color: #929c97; }
.psub-field input:focus, .psub-field select:focus, .psub-field textarea:focus { border-color: var(--ps-green); box-shadow: 0 0 0 3px rgba(22,63,53,.12); }
.psub-field.has-error input, .psub-field.has-error select, .psub-field.has-error textarea { border-color: var(--ps-red); }
.psub-hint, .psub-error { margin: 7px 0 0; font-size: 12px; line-height: 1.45; }
.psub-hint { color: var(--ps-muted) !important; }
.psub-error { color: #9d2f22 !important; font-weight: 650; }
.psub-upload { position: relative; border: 1.5px dashed #9ea9a3; border-radius: 7px; background: var(--ps-soft); transition: border-color .15s ease, background .15s ease; }
.psub-upload.is-dragging { border-color: var(--ps-red); background: #fff3ef; }
.psub-upload.has-error { border-color: var(--ps-red); }
.psub-upload > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.psub-upload__label { min-height: 225px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; cursor: pointer; }
.psub-upload__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 15px; border-radius: 50%; background: #fff; color: var(--ps-red); box-shadow: 0 3px 14px rgba(22,33,29,.08); }
.psub-upload__label strong { margin-bottom: 4px; font-size: 17px; }
.psub-upload__label > span:not(.psub-upload__icon) { color: var(--ps-muted); }
.psub-upload__label small { margin-top: 13px; color: var(--ps-muted); }
.psub-upload__status { min-height: 0; margin: -12px 20px 20px; color: var(--ps-muted) !important; text-align: center; font-size: 13px; }
.psub-upload__status:empty { display: none; }
.psub-upload__status.is-error { color: #9d2f22 !important; }
.psub-previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 14px 14px; }
.psub-preview { position: relative; aspect-ratio: 1 / .78; overflow: hidden; border-radius: 4px; background: #dfe5e1; }
.psub-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.psub-preview:first-child::after { content: "Обложка"; position: absolute; left: 6px; bottom: 6px; padding: 3px 6px; border-radius: 3px; background: rgba(22,63,53,.9); color: #fff; font-size: 10px; font-weight: 800; }
.psub-preview button { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(20,25,23,.82); color: #fff; cursor: pointer; font-size: 18px; }
.psub-preview button:hover { background: #000; }
.psub-agree { display: flex; gap: 12px; align-items: flex-start; padding: 17px; background: var(--ps-soft); cursor: pointer; font-size: 14px; line-height: 1.5; }
.psub-agree input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ps-red); }
.psub-submit { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-top: 32px; }
.psub-submit p { max-width: 420px; margin: 0; color: var(--ps-muted) !important; font-size: 13px; line-height: 1.5; }
.psub-button { flex: 0 0 auto; min-height: 52px; display: inline-flex; align-items: center; gap: 28px; padding: 0 22px; border: 0; border-radius: 5px; background: var(--ps-red); color: #fff; font: inherit; font-weight: 780; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.psub-button:hover { background: #8f2f21; transform: translateY(-1px); }
.psub-button:disabled { opacity: .65; cursor: wait; transform: none; }
.psub-thanks { max-width: 650px; padding-top: 110px; text-align: left; }
.psub-thanks__card { padding-top: 32px; border-top: 3px solid var(--ps-green); }
.psub-thanks__icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 0 24px; border-radius: 50%; background: #dfece6; color: var(--ps-green); font-size: 22px; font-weight: 850; }
.psub-thanks h1 { margin: 0 0 18px; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.045em; }
.psub-thanks p { font-size: 18px; }
.psub-thanks__muted { color: var(--ps-muted) !important; line-height: 1.55; }
.psub-actions { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.psub-btn { min-height: 50px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 5px; background: var(--ps-red); color: #fff !important; font-weight: 750; text-decoration: none; }
.psub-link { color: var(--ps-green); font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
  .psub-layout { grid-template-columns: 1fr; gap: 45px; }
  .psub-aside__sticky { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 45px; }
  .psub-aside__sticky > * { grid-column: 1; }
  .psub-aside ul { grid-column: 2; grid-row: 1 / span 5; }
}
@media (max-width: 640px) {
  .psub-page { padding-bottom: 70px; }
  .psub-header { padding-top: 22px; }
  .psub-crumbs { margin-bottom: 36px; }
  .psub-progress li { font-size: 11px; }
  .psub-layout { padding-top: 52px; }
  .psub-aside__sticky, .psub-grid--2 { grid-template-columns: 1fr; }
  .psub-aside ul { grid-column: 1; grid-row: auto; }
  .psub-section__title { grid-template-columns: 32px 1fr; }
  .psub-section__title h2 { font-size: 24px; }
  .psub-previews { grid-template-columns: 1fr 1fr; }
  .psub-submit { align-items: stretch; flex-direction: column; }
  .psub-button { justify-content: space-between; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .psub-button, .psub-field input, .psub-field select, .psub-field textarea { transition: none; } }
