/* Страница Pirate Ship alternative. Макет: Figma 4qVJ7QnTsA73o5hztR6yro (Desktop 2:2, Mobile 4:60).
   Ширина контента как у хедера (1198px), узкие блоки 820px. Стили ограничены .ps */
.ps {
  --ink: #1a1a1a; --muted: #6b7080; --line: #e4e7ee; --surface: #fff; --soft: #f7f8fb; --bg: #f1f3f7;
  --accent: #eaa30a; --accent-soft: #fdf4e1;
  color: var(--ink); -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
.ps :where(h1, h2, h3) { text-wrap: balance; }
.ps :where(h1, h2, h3, p, ul, ol, table) { margin: 0; padding: 0; }
.ps :where(ul, ol) { list-style: none; }
.ps img { display: block; max-width: 100%; }
.ps .bw { width: 1198px; max-width: calc(100% - 48px); margin: 0 auto; }
.ps .ps-narrow { width: 820px; max-width: calc(100% - 48px); margin: 0 auto; }

.ps-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lr-color-brand-accent-text, #9a6200); }
.ps h2 { font-size: 36px; line-height: 1.15; font-weight: 800; }
.ps-head { display: flex; flex-direction: column; gap: 14px; }
.ps-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 10px; background: var(--accent); color: var(--lr-color-text-primary, #1a1a1a); font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ps-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(234, 163, 10, .3); }
.ps-card { background: var(--surface); border-radius: 32px; }

/* Hero */
.ps-hero { padding: 72px 0 88px; }
.ps-hero__grid { display: grid; grid-template-columns: 540px 524px; justify-content: space-between; align-items: center; }
.ps-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ps h1 { font-size: 48px; line-height: 1.1; font-weight: 800; }
.ps-lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.ps-cta { padding-top: 12px; }
.ps-micro { font-size: 14px; color: var(--muted); }
.ps-carriers { display: flex; align-items: center; gap: 22px; width: 100%; padding-top: 24px; border-top: 1px solid var(--line); }
.ps-carriers > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ps-logos { display: flex; align-items: center; gap: 22px; }
.ps-logo-usps { width: 31px; height: 26px; object-fit: contain; }
.ps-logo-ups { width: 21.94px; height: 26px; }
.ps-logo-fedex { display: block; width: 48px; height: 21.85px; }
.ps-logo-fedex img { width: 96.6%; height: 65%; }
.ps-hero__visual { position: relative; padding-top: 20px; padding-bottom: 11px; }
.ps-shot { background: var(--surface); padding: 10px; border-radius: 16px; box-shadow: 0 12px 32px rgba(26, 31, 51, .08); }
.ps-shot img { width: 504px; height: 419px; object-fit: cover; border-radius: 8px; }
.ps-badge { position: absolute; left: -28px; top: 400px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* In short */
.ps-short { padding: 96px 0; }
.ps-short .ps-narrow { display: flex; flex-direction: column; gap: 14px; }
.ps-answer { font-size: 20px; line-height: 1.55; }

/* Side by side */
.ps-compare { padding: 96px 0; }
.ps-table { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ps-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ps-table th, .ps-table td { text-align: left; vertical-align: top; font-size: 16px; line-height: 1.5; padding: 20px 28px; }
.ps-table thead th, .ps-table thead td { padding: 22px 28px; font-size: 17px; font-weight: 800; background: var(--soft); }
.ps-table .ps-col-feature { width: 300px; }
.ps-table thead .ps-lr { background: var(--accent-soft); }
.ps-table tbody tr { border-top: 1px solid var(--line); }
.ps-table tbody th { font-weight: 700; }
.ps-table tbody td { color: var(--muted); }
.ps-table tbody td.ps-lr { background: var(--soft); color: var(--ink); }
.ps-table tbody td.ps-strong { font-weight: 700; }
.ps-note { margin-top: 40px; font-size: 13px; color: var(--muted); }

/* When to choose */
.ps-choose { padding: 24px 0 96px; }
.ps-choose__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ps-fit { display: flex; flex-direction: column; gap: 18px; padding: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.ps-fit--lr { border: 2px solid var(--accent); padding: 39px; }
.ps-fit h2 { font-size: 28px; line-height: 1.2; }
.ps-ticks { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.ps-ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.35; font-weight: 600; }
.ps-ticks img { flex: none; margin-top: 2px; }
.ps-points { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.ps-points li { display: flex; align-items: flex-start; gap: 12px; }
.ps-points img { flex: none; margin-top: 3px; }
.ps-points div { display: flex; flex-direction: column; gap: 4px; }
.ps-points b { font-size: 16px; line-height: 1.4; font-weight: 700; }
.ps-points span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* How to compare */
.ps-how { padding: 96px 0; }
.ps-how h2 { max-width: 820px; }
.ps-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ps-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; background: var(--bg); border-radius: 20px; }
.ps-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; background: var(--accent); color: var(--lr-color-text-primary, #1a1a1a); font-size: 17px; font-weight: 800; }
.ps-steps h3 { font-size: 20px; line-height: 1.3; font-weight: 800; }
.ps-steps p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Switching */
.ps-switch { padding: 96px 0; }
.ps-switch__grid { display: grid; grid-template-columns: 618px 1fr; gap: 64px; align-items: center; }
.ps-switch__visual { padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.ps-switch__visual img { width: 560px; height: 392px; object-fit: cover; border-radius: 8px; }
.ps-switch__copy { display: flex; flex-direction: column; gap: 14px; }
.ps-switch__copy h2 { font-size: 28px; line-height: 1.2; }
.ps-switch__steps { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.ps-switch__steps li { display: flex; align-items: flex-start; gap: 14px; }
.ps-switch__steps span { flex: none; font-size: 16px; font-weight: 800; color: var(--lr-color-brand-accent-text, #9a6200); line-height: 25.5px; }
.ps-switch__steps p { font-size: 17px; line-height: 1.5; }

/* FAQ */
.ps-faq { padding: 96px 0; }
.ps-faq__list { display: flex; flex-direction: column; gap: 10px; margin-top: 56px; }
.ps-faq details { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ps-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.35; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: normal; color: var(--muted); }
.ps-faq details[open] summary::after { content: "×"; }
.ps-faq details p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Final CTA */
.ps-final { padding: 0 0 96px; }
.ps-final__block { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 48px; background: var(--ink); border-radius: 28px; text-align: center; }
.ps-final__block h2 { color: #fff; line-height: normal; }
.ps-final__cta { padding-top: 18px; }

/* Планшет: колонки складываются раньше, чем помещаются фиксированные ширины */
@media (max-width: 1180px) {
  .ps-hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .ps-shot img { width: 100%; height: auto; aspect-ratio: 504 / 419; }
  .ps-switch__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .ps-switch__visual img { width: 100%; height: auto; aspect-ratio: 560 / 392; }
}

/* Мобильный (макет 390) */
@media (max-width: 980px) {
  .ps .bw, .ps .ps-narrow { max-width: calc(100% - 32px); }
  .ps-eyebrow, .ps-carriers > span:first-child { font-size: 11px; }
  .ps h2 { font-size: 28px; line-height: 1.18; }
  .ps-head { gap: 12px; }
  .ps-card { border-radius: 24px; }

  .ps-hero { padding: 32px 0 56px; }
  .ps-hero__grid { grid-template-columns: 1fr; gap: 16px; }
  .ps-hero__copy { gap: 16px; }
  .ps h1 { font-size: 34px; line-height: 1.12; }
  .ps-lead { font-size: 16px; }
  .ps-cta { padding-top: 8px; width: 100%; }
  .ps-cta .ps-btn { width: 100%; }
  .ps-carriers { gap: 18px; padding: 16px 0 8px; }
  .ps-logos { gap: 18px; }
  .ps-logo-usps { width: 29px; height: 24px; }
  .ps-logo-ups { width: 20.25px; height: 24px; }
  .ps-logo-fedex { width: 44px; height: 20.03px; }
  .ps-hero__visual { padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .ps-shot { width: 100%; padding: 8px; border-radius: 14px; box-shadow: none; }
  .ps-shot img { border-radius: 6px; }
  .ps-badge { position: static; padding: 12px 16px; border-radius: 12px; }

  .ps-short { padding: 64px 0; }
  .ps-short .ps-narrow { gap: 12px; }
  .ps-answer { margin-top: 12px; font-size: 17px; }

  .ps-compare { padding: 64px 0; }
  .ps-table { margin-top: 24px; border-radius: 16px; }
  .ps-table table, .ps-table thead, .ps-table tbody { display: block; }
  .ps-table tr { display: grid; grid-template-columns: 1fr 1fr; }
  .ps-table thead .ps-th-blank { display: none; }
  .ps-table colgroup { display: none; }
  .ps-table thead th { padding: 14px 16px; font-size: 15px; }
  .ps-table tbody th { grid-column: 1 / -1; padding: 12px 16px 0; font-size: 14px; line-height: normal; }
  .ps-table tbody td { padding: 6px 16px 12px; font-size: 14px; line-height: 1.45; }
  .ps-note { margin-top: 24px; }

  .ps-choose { padding: 0 0 64px; }
  .ps-choose__cols { grid-template-columns: 1fr; gap: 16px; }
  .ps-fit { gap: 16px; padding: 28px 24px; border-radius: 16px; }
  .ps-fit--lr { padding: 27px 23px; }
  .ps-fit h2 { font-size: 22px; line-height: 1.22; }
  .ps-ticks { gap: 12px; padding-top: 0; }
  .ps-ticks li { line-height: 1.4; }
  .ps-points { gap: 14px; padding-top: 0; }
  .ps-points img { margin-top: 2px; }
  .ps-points b { font-size: 15px; }
  .ps-points span { font-size: 14px; }

  .ps-how { padding: 64px 0; }
  .ps-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
  .ps-steps li { gap: 10px; padding: 22px; border-radius: 16px; }
  .ps-num { width: 32px; height: 32px; border-radius: 16px; font-size: 15px; }
  .ps-steps h3 { font-size: 18px; }
  .ps-steps p { font-size: 15px; }

  .ps-switch { padding: 64px 0; }
  .ps-switch__grid { grid-template-columns: 1fr; gap: 24px; }
  .ps-switch__visual { order: 2; padding: 12px; border-radius: 16px; }
  .ps-switch__visual img { border-radius: 6px; }
  .ps-switch__copy { gap: 12px; }
  .ps-switch__copy h2 { font-size: 28px; line-height: 1.18; margin-bottom: 12px; }
  .ps-switch__steps { gap: 12px; padding-top: 0; }
  .ps-switch__steps li { gap: 12px; }
  .ps-switch__steps span { font-size: 15px; line-height: 24px; }
  .ps-switch__steps p { font-size: 16px; }

  .ps-faq { padding: 0 0 64px; }
  .ps-faq__list { gap: 8px; margin-top: 24px; }
  .ps-faq details { padding: 18px; }

  .ps-final { padding: 0 0 64px; }
  .ps-final__block { align-items: flex-start; gap: 12px; padding: 48px 24px; border-radius: 24px; text-align: left; }
  .ps-final__block h2 { font-size: 28px; line-height: 1.18; }
  .ps-final__cta { padding-top: 12px; width: 100%; }
  .ps-final__cta .ps-btn { width: 100%; }
}

/* Эффекты */
@keyframes ps-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ps-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, .45); } 100% { box-shadow: 0 0 0 8px rgba(46, 158, 91, 0); } }
.lr-motion .ps .ps-badge{ animation: ps-float 4.5s ease-in-out 1s infinite; }
.lr-motion .ps .ps-badge img{ border-radius: 50%; animation: ps-pulse 2s ease-out 1.2s infinite; }
.ps-shot { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.ps-hero__visual:hover .ps-shot { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(26, 31, 51, .12); }
.ps-table tbody tr { transition: background-color .2s; }
.ps-table tbody tr:hover { background: #fbfbfd; }
.ps-fit, .ps-steps li, .ps-faq details { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.ps-fit:hover, .ps-steps li:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26, 31, 51, .07); }
.ps-faq details:hover { border-color: #d9dde6; }
.ps-faq summary::after { transition: transform .25s var(--ease-out); }
.ps-switch__visual img { transition: transform .5s var(--ease-out); }
.ps-switch__visual:hover img { transform: scale(1.015); }
@media (max-width: 980px) { .lr-motion .ps .ps-badge{ animation: none; } }

/* Финальный блок с фото: текст слева, фото справа во всю высоту блока */
.ps-final__block--photo { display: grid; grid-template-columns: 1fr 44%; align-items: stretch; gap: 0; padding: 0; overflow: hidden; text-align: left; }
.ps-final__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 72px 56px; }
.ps-final__block--photo h2 { line-height: 1.15; }
.ps-final__photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 60% 35%; }
@media (max-width: 980px) {
  .ps-final__block--photo { grid-template-columns: 1fr; padding: 0; }
  .ps-final__photo { order: -1; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .ps-final__copy { padding: 32px 24px 40px; gap: 12px; }
  .ps-final__copy .ps-final__cta { width: 100%; }
}

/* ===== Версия 2 (пилот): белый фон, фирменная лента, куски интерфейса, крупная типографика, меньше рамок ===== */
.ps { --slate: #50586a; --soft-bg: #f6f6f7; overflow-x: clip; }
.ps h2 { letter-spacing: -.02em; }

/* Первый экран */
.ps-hero { position: relative; padding: 72px 0 120px; }
.ps-hero__grid { position: relative; z-index: 1; }
.ps h1 { font-size: 64px; line-height: 1.03; letter-spacing: -.035em; }
.ps-lead { font-size: 20px; color: var(--slate); }
.ps-carriers { border-top-color: #ececf0; }
.ps-hero__visual { position: relative; padding: 0; height: 520px; }
.ps .ps-ribbon { position: absolute; z-index: 0; width: 1180px; max-width: none; height: auto; right: -330px; top: -300px; mix-blend-mode: multiply; pointer-events: none; }
.ps-offers { position: relative; z-index: 1; height: 100%; }
.ps-offer { position: absolute; display: block; height: auto; filter: drop-shadow(0 18px 30px rgba(60, 30, 0, .16)); }
.ps-offer--usps { width: 470px; left: 54px; top: 34px; opacity: .92; }
.ps-offer--ups { width: 490px; left: 22px; top: 162px; }
.ps-offer--fedex { width: 530px; left: -6px; top: 300px; border-radius: 12px; box-shadow: 0 0 0 3px var(--accent), 0 28px 56px rgba(60, 30, 0, .22); filter: none; }
.ps-offer--fedex img { display: block; width: 100%; height: auto; }
.ps-hero .ps-badge { left: auto; right: -12px; top: 268px; z-index: 2; }
.ps-hero__visual:hover .ps-shot { transform: none; }

/* Большое утверждение в стиле Stripe: заголовок тёмный, ответ серым, одним абзацем */
.ps-short { padding: 120px 0; }
.ps-statement h2, .ps-statement .ps-answer { display: inline; font-size: 34px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.ps-statement h2 { color: var(--ink); }
.ps-statement .ps-answer { color: #8a90a0; }
.ps-short .ps-narrow { gap: 20px; }

/* Таблица без коробки: только линии, колонка LogiRates выделена тёплым */
.ps-compare { padding: 40px 0 120px; }
.ps-table { border: 0; border-radius: 0; background: transparent; overflow: visible; box-shadow: none; }
.ps-table thead th, .ps-table thead td { background: transparent; border-bottom: 2px solid var(--ink); }
.ps-table thead .ps-lr { background: #fff6e6; border-radius: 14px 14px 0 0; border-bottom-color: var(--accent); }
.ps-table tbody tr { border-top: 1px solid #ececf0; }
.ps-table tbody td.ps-lr { background: #fffaf1; }
.ps-table tbody tr:last-child td.ps-lr { border-radius: 0 0 14px 14px; }

/* Карточки выбора как у Notion: мягкий серый без рамки, у LogiRates свечение ленты */
.ps-choose { padding: 0 0 120px; }
.ps-fit { background: var(--soft-bg); border: 0; padding: 44px; position: relative; isolation: isolate; }
.ps-fit--lr { background: #fff; border: 0; padding: 44px; box-shadow: 0 30px 70px rgba(60, 30, 0, .10); }
.ps-fit--lr::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px; background: linear-gradient(135deg, #eaa30a, #ff7a1a 50%, #ff6b8b); }
.ps-fit--lr::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 20px; background: #fff; }
.ps-fit:not(.ps-fit--lr) .ps-ticks img { filter: grayscale(1) opacity(.6); }
.ps-points li { gap: 16px; }
.ps-points .ps-ico, .ps-steps .ps-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; }
.ps-ico--truck { background: linear-gradient(135deg, #f2b632, #eaa30a); }
.ps-ico--templates { background: linear-gradient(135deg, #ff9a4d, #ff7a1a); }
.ps-ico--csv { background: linear-gradient(135deg, #ff8a8a, #ff6b8b); }
.ps-ico--account { background: linear-gradient(135deg, #3a3d48, #1a1a1a); }
.ps-ico--route { background: linear-gradient(135deg, #f2b632, #eaa30a); }
.ps-ico--compare { background: linear-gradient(135deg, #ff9a4d, #ff7a1a); }
.ps-ico--print { background: linear-gradient(135deg, #ff8a8a, #ff6b8b); }

/* Шаги: мягкий серый, крупная цифра */
.ps-how { padding: 0 0 120px; }
.ps-steps li { background: var(--soft-bg); border: 0; padding: 36px; }
.ps-step-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 6px; }
.ps-steps .ps-num { background: transparent; color: #d4d6dc; font-size: 44px; font-weight: 800; width: auto; height: auto; border-radius: 0; line-height: 1; letter-spacing: -.03em; }

/* Переезд: скриншот на свечении ленты вместо серой рамки */
.ps-switch { padding: 0 0 120px; }
.ps-switch__visual { position: relative; background: transparent; border: 0; padding: 40px; isolation: isolate; }
.ps-switch__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 28px; background: radial-gradient(70% 70% at 70% 30%, rgba(255, 122, 26, .28), transparent 70%), radial-gradient(60% 60% at 25% 80%, rgba(255, 107, 139, .22), transparent 70%), radial-gradient(60% 60% at 30% 20%, rgba(234, 163, 10, .25), transparent 70%); filter: blur(10px); }
.ps-switch__visual img { box-shadow: 0 24px 60px rgba(60, 30, 0, .16); border-radius: 12px; }
.ps-switch__steps span { color: var(--lr-color-brand-accent-text, #9a6200); }

/* FAQ: только линии */
.ps-faq { padding: 0 0 120px; }
.ps-faq__list { gap: 0; border-top: 1px solid #ececf0; }
.ps-faq details { background: transparent; border: 0; border-bottom: 1px solid #ececf0; border-radius: 0; padding: 24px 4px; }
.ps-faq details:hover { border-color: #ececf0; }

@media (max-width: 1180px) {
  .ps-hero__visual { height: 480px; }
  .ps-offer--usps { width: 86%; left: 8%; }
  .ps-offer--ups { width: 90%; left: 3%; }
  .ps-offer--fedex { width: 96%; left: 0; }
}
@media (max-width: 980px) {
  .ps h1 { font-size: 38px; line-height: 1.08; }
  .ps-lead { font-size: 17px; }
  .ps-hero { padding: 32px 0 64px; }
  .ps-hero__visual { height: 380px; margin-top: 8px; }
  .ps-ribbon { width: 760px; right: -300px; top: -140px; }
  .ps-offer--usps { width: 88%; left: 6%; top: 10px; }
  .ps-offer--ups { width: 94%; left: 3%; top: 104px; }
  .ps-offer--fedex { width: 100%; left: 0; top: 206px; border-radius: 8px; }
  .ps-hero .ps-badge { position: absolute; right: 8px; top: auto; bottom: 0; }
  .ps-short { padding: 64px 0; }
  .ps-statement h2, .ps-statement .ps-answer { font-size: 22px; }
  .ps-compare { padding: 16px 0 64px; }
  .ps-table thead .ps-lr { border-radius: 10px 10px 0 0; }
  .ps-fit, .ps-fit--lr { padding: 28px 24px; }
  .ps-choose, .ps-how, .ps-switch, .ps-faq { padding-bottom: 64px; }
  .ps-steps li { padding: 24px; }
  .ps-steps .ps-num { font-size: 34px; }
  .ps-switch__visual { padding: 16px; }
  .ps-points .ps-ico, .ps-steps .ps-ico { width: 40px; height: 40px; border-radius: 12px; }
}
/* лента: крупнее, уходит за край, низ растворяется, без жёсткого среза */
.ps-hero { overflow: clip; overflow-clip-margin: 0; padding-bottom: 72px; }
.ps .ps-ribbon { width: 1500px; right: -560px; top: -330px; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); mask-image: linear-gradient(to bottom, #000 62%, transparent 96%); }
.ps-hero .ps-badge { right: auto; left: 28px; top: auto; bottom: -6px; }
.ps-short { padding-top: 72px; }
@media (max-width: 980px) {
  .ps .ps-ribbon { width: 900px; right: -420px; top: -160px; }
  .ps-hero .ps-badge { left: 8px; bottom: -4px; }
  .ps-short { padding-top: 48px; }
}
.ps-hero { overflow: visible; }
.ps .ps-ribbon { width: 1500px; right: -260px; top: -280px; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); }
@media (max-width: 980px) { .ps .ps-ribbon { width: 860px; right: -300px; top: -150px; } }
.ps-choose__cols { align-items: start; }
.ps-offers { width: 100%; }
@media (max-width: 980px) {
  .ps-hero__visual { display: block; }
  .ps .ps-ribbon { width: 760px; right: -330px; top: -60px; }
}
@media (max-width: 980px) { .ps .ps-ribbon { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 65%, transparent 95%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 65%, transparent 95%); } }
/* «Coming soon» вместо плюсов конкурента: спокойная карточка, пункты с маленькой меткой Soon */
.ps-fit--soon .ps-ticks li::after { content: attr(data-soon); margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #fff; color: #9a8f7a; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ps-fit--soon .ps-ticks li { align-items: center; }
.ps-fit--soon .ps-ticks img { margin-top: 0; }
.ps-fit--lr { order: 1; }
.ps-fit--soon { order: 2; }
/* T-VT-391: строка «API уже работает» со ссылкой на документацию */
.ps-soon__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.ps-soon__note a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Строки, где LogiRates сильнее (FedEx): по ячейке LogiRates проходит свет ленты */
.ps-table td.ps-strong { position: relative; overflow: hidden; }
.ps-table td.ps-strong::after { content: ""; position: absolute; inset: 0; width: 45%; left: -50%; background: linear-gradient(100deg, transparent, rgba(242, 182, 50, .38) 45%, rgba(255, 122, 26, .3) 55%, transparent); pointer-events: none; opacity: 0; }
.lr-motion .ps .ps-table.play td.ps-strong::after{ animation: ps-sweep 5.5s ease-in-out .6s infinite; }
.lr-motion .ps .ps-table.play tr:nth-child(2) td.ps-strong::after{ animation-delay: .9s; }
@keyframes ps-sweep { 0% { left: -50%; opacity: 1; } 28% { left: 110%; opacity: 1; } 29%, 100% { left: 110%; opacity: 0; } }

/* ===== Карточки тарифов в первом экране на HTML (были PNG) ===== */
.ps-o { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-radius: 14px; font-size: 12px; color: var(--ink); filter: none; box-shadow: 0 18px 40px rgba(60, 30, 0, .16); }
.ps-offer.ps-offer--fedex { box-shadow: 0 0 0 3px var(--accent), 0 28px 56px rgba(60, 30, 0, .22); }
.ps-o__tag { position: absolute; top: -10px; left: 14px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--lr-color-text-primary, #1a1a1a); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.ps-o__tag--fast { background: #6ea8ff; }
.ps-o__left { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.ps-o__left div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ps-o__left b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.ps-o__left small { color: var(--muted); font-size: 11px; }
.ps-o__left a { margin-top: 4px; color: #2329a6; font-weight: 700; font-size: 11px; }
.ps .ps-o__logo { flex: none; width: auto; margin-top: 2px; }
.ps .ps-o__logo--usps { height: 20px; } .ps .ps-o__logo--ups { height: 22px; } .ps .ps-o__logo--fedex { height: 12px; margin-top: 5px; }
.ps-o__mid { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 1px solid #ececf0; min-width: 0; }
.ps-o__drop { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-o__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ps-o__chips span { padding: 1px 7px; border-radius: 6px; background: #f6f6f7; color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.ps-o__right { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.ps-o__right strong { font-size: 18px; font-weight: 800; }
.ps-o__book { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 22px; border-radius: 9px; background: #e3a93a; color: #fff; font-size: 12px; font-weight: 700; }
.ps-offer--usps { opacity: 1; }
@media (max-width: 980px) {
  .ps-o { grid-template-columns: 1fr auto; padding: 12px 14px; gap: 10px; }
  .ps-o__mid { display: none; }
  .ps-o__left b { font-size: 13px; }
  .ps-o__right strong { font-size: 16px; }
  .ps-o__book { height: 28px; padding: 0 16px; }
  .ps-offer--usps { top: 14px; } .ps-offer--ups { top: 112px; } .ps-offer--fedex { top: 212px; }
}
@keyframes ps-o-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lr-motion .ps .ps-o{ animation: ps-o-in .6s var(--ease-out) both; }
.lr-motion .ps .ps-offer--usps{ animation-delay: .5s; } .lr-motion .ps .ps-offer--ups{ animation-delay: .65s; } .lr-motion .ps .ps-offer--fedex{ animation-delay: .8s; }

/* ===== Mass shipping на HTML (был скриншот) ===== */
.ps-mass { position: relative; padding: 20px; background: #fff; border-radius: 16px; font-size: 14px; box-shadow: 0 24px 60px rgba(60, 30, 0, .16); }
.ps-mass__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ps-mass__head b { font-size: 18px; font-weight: 800; }
.ps-mass__pick { padding: 6px 12px; border-radius: 10px; background: #f6f6f7; font-weight: 700; }
.ps-mass__pick small { color: var(--muted); font-weight: 600; font-size: 12px; }
.ps-mass__file { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #ececf0; }
.ps-mass__file div { display: flex; flex-direction: column; gap: 2px; }
.ps-mass__file small { color: var(--muted); font-size: 12px; }
.ps-mass__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #ff8a8a, #ff6b8b); color: #fff; font-size: 11px; font-weight: 800; }
.ps-mass li { display: grid; grid-template-columns: 1fr 64px 72px; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #ececf0; font-weight: 600; }
.ps .ps-m__logo { justify-self: center; width: auto; }
.ps .ps-m__logo--usps { height: 18px; } .ps .ps-m__logo--ups { height: 20px; } .ps .ps-m__logo--fedex { height: 12px; }
.ps-mass li b { text-align: right; font-variant-numeric: tabular-nums; }
.ps-mass__pay { display: flex; align-items: center; gap: 12px; padding-top: 12px; }
.ps-mass__pay span:first-child { color: var(--muted); font-weight: 600; }
.ps-mass__pay b { margin-left: auto; font-size: 18px; font-weight: 800; }
.ps-switch__visual:hover img { transform: none; }
.lr-motion .ps .ps-mass:not(.play) li .ps-m__logo, .lr-motion .ps .ps-mass:not(.play) li b, .lr-motion .ps .ps-mass:not(.play) .ps-mass__pay{ opacity: 0; }
.lr-motion .ps .ps-mass.play li .ps-m__logo, .lr-motion .ps .ps-mass.play li b{ animation: ps-pop .45s var(--ease-out) both; animation-delay: calc(.4s + var(--r, 0) * .35s); }
.lr-motion .ps .ps-mass.play .ps-mass__pay{ animation: ps-o-in .5s var(--ease-out) 2.3s both; }
@keyframes ps-pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
.ps-o { grid-template-columns: 1.05fr 1.2fr auto; }
.ps-o__drop { white-space: normal; line-height: 1.3; }
@media (max-width: 980px) { .ps-o { grid-template-columns: 1fr auto; } .ps-hero__visual { height: 330px; } }
.ps-o__left b { white-space: normal; line-height: 1.25; }
@media (max-width: 980px) {
  .ps-hero__visual { margin-top: 0; height: 400px; }
  .ps-offers { padding-top: 70px; }
  .ps-offer--usps { top: 84px; } .ps-offer--ups { top: 182px; } .ps-offer--fedex { top: 282px; }
  .ps .ps-ribbon { width: 640px; right: -250px; top: -60px; transform: rotate(-8deg); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 92%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 92%); }
}
