/* «До / Після» slideshow shared by the home page and the account. */
.example-track { display:grid; }
.example-slide { grid-area:1 / 1; min-width:0; opacity:0; visibility:hidden; transform:translateX(14px); transition:opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.example-slide.is-active { opacity:1; visibility:visible; transform:none; transition:opacity .45s ease, transform .45s ease, visibility 0s; }
.example-slide .example-card, .create-showcase .example-slide .example-card { grid-row:span 2; padding:5px; }
.example-slide .before .example-image img { padding:3%; }
.example-slide .example-copy h3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.example-nav { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:8px; }
.example-arrow { display:grid; place-items:center; width:24px; height:24px; padding:0 0 2px; border:1px solid #e2d6f8; border-radius:50%; background:#fff; color:#6425d0; font:600 16px/1 sans-serif; cursor:pointer; transition:background .15s, border-color .15s; }
.example-arrow:hover { border-color:#7c3aed; background:#f5f0ff; }
.example-dots { display:flex; gap:5px; }
.example-dot { width:6px; height:6px; padding:0; border:0; border-radius:99px; background:#d9cdef; cursor:pointer; transition:width .25s, background .25s; }
.example-dot[aria-current=true] { width:16px; background:#7c3aed; }
.example-arrow:focus-visible, .example-dot:focus-visible { outline:3px solid #bd94ff; outline-offset:2px; }
@media (prefers-reduced-motion: reduce) { .example-slide, .example-slide.is-active, .example-dot { transition:none; transform:none; } }

/* Account: the slideshow fills the empty right side of «Нова картка». */
.create-showcase { position:relative; z-index:1; min-width:0; padding:clamp(20px,2.4vw,32px) clamp(20px,2.4vw,32px) clamp(20px,2.4vw,32px) 0; }
.create-showcase__inner { padding:14px; border:1px solid #ded2f7; border-radius:22px; background:linear-gradient(150deg,#fff 10%,#f1eaff 100%); box-shadow:0 18px 48px #36216617; }
.create-showcase__title { margin:2px 2px 12px; color:#1b182c; font-size:18px; font-weight:850; line-height:1.2; letter-spacing:-.03em; }
.create-showcase__title em { color:#6425d0; font-style:normal; }
.create-showcase .example-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:10px; }
.create-showcase .example-card { display:grid; grid-row:span 3; grid-template-rows:subgrid; min-width:0; padding:6px; border:1px solid #e4e7ee; border-radius:14px; background:#fff; }
.create-showcase .example-card.after { border-color:#bda2f7; background:#fcfaff; box-shadow:0 6px 18px #622dc61a; }
.create-showcase .example-label { display:inline-block; place-self:start; margin:1px 1px 6px; padding:3px 7px; border-radius:7px; background:#edf0f6; color:#445066; font-size:11px; font-weight:750; line-height:1.25; }
.create-showcase .after .example-label { background:#6425d0; color:#fff; }
.create-showcase .example-image { overflow:hidden; aspect-ratio:1; border:1px solid #e8e7ef; border-radius:9px; background:#fff; }
.create-showcase .example-image img { display:block; width:100%; height:100%; object-fit:contain; }
.create-showcase .before .example-image img { padding:8%; }
.create-showcase .example-copy { padding:8px 3px 3px; overflow-wrap:anywhere; }
.create-showcase .example-copy h3 { margin:0; color:#475266; font-size:12px; font-weight:650; line-height:1.4; }
.create-showcase .after .example-copy h3 { color:#141424; font-weight:800; }
.create-showcase .example-copy p { margin:4px 0 0; color:#604587; font-size:11px; font-weight:650; line-height:1.4; }
.create-showcase .example-footer { display:flex; align-items:center; justify-content:center; min-height:38px; margin-top:10px; padding:7px 10px; border:1px solid #d8c6f8; border-radius:11px; background:#fff; color:#6425d0; font-size:13px; font-weight:750; text-decoration:none; }
.create-showcase .example-footer:hover { border-color:#7c3aed; background:#faf7ff; }
.create-card:has(.create-showcase) { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,380px); }
.create-card:has(.create-showcase) .create-card__content { grid-column:1; grid-row:1; }
@media (max-width: 1120px) {
  .create-card:has(.create-showcase) { grid-template-columns:minmax(0,1fr); }
  .create-showcase { grid-row:2; padding:0 clamp(19px,3vw,32px) 24px; }
  .create-showcase__inner { max-width:520px; margin:0 auto; }
}

/* Account first screen: no greeting block, compact «Нова картка», bigger slideshow. */
.welcome { position:absolute; width:1px; height:1px; margin:0; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; scroll-margin-top:105px; }
.page-shell:has(.create-showcase) { padding-top:12px; }
.create-card:has(.create-showcase) { min-height:0; }
@media (min-width:1121px) { .create-card:has(.create-showcase) { grid-template-columns:minmax(0,1fr) minmax(360px,41%); } }
.create-card:has(.create-showcase) .create-card__content { padding:clamp(18px,1.9vw,30px) clamp(20px,2.2vw,32px); }
.create-card:has(.create-showcase) .create-card h2,
.create-card:has(.create-showcase) h2 { margin:8px 0 8px; font-size:clamp(28px,2.7vw,40px); }
.create-card:has(.create-showcase) .create-demo { margin-top:14px; padding:9px 12px; }
.create-card:has(.create-showcase) .url-form { margin-top:14px; }
.create-card:has(.create-showcase) .create-card__footer { margin-top:12px; }
.create-card:has(.create-showcase) .workflow-line { margin-top:8px; }
.create-card:has(.create-showcase) [data-legal-inline] { margin-top:6px; }
@media (min-width:1121px) { .create-showcase { padding:clamp(14px,1.6vw,22px) clamp(14px,1.6vw,22px) clamp(14px,1.6vw,22px) 0; } }
.create-showcase__inner { padding:12px; }
.create-showcase__title { margin:0 2px 10px; font-size:17px; }
.create-showcase .example-footer { min-height:34px; margin-top:8px; padding:5px 10px; font-size:12px; }
.create-showcase .example-copy h3 { -webkit-line-clamp:2; }
.example-nav { gap:6px; margin-top:6px; }
.example-arrow { width:20px; height:20px; font-size:14px; padding-bottom:2px; }
.example-dot { width:5px; height:5px; }
.example-dot[aria-current=true] { width:13px; }
@media (min-width:1121px) and (max-height:760px) {
  .create-card:has(.create-showcase) h2 { font-size:clamp(26px,2.4vw,36px); line-height:1; }
  .create-card:has(.create-showcase) .create-demo { margin-top:10px; }
  .create-card:has(.create-showcase) .url-form { margin-top:10px; }
  .create-card:has(.create-showcase) [data-legal-inline] { line-height:1.45; }
}

/* «Нова картка»: visible steps 1–2–3, small legal line, slideshow as tall as the card. */
.create-card:has(.create-showcase) .workflow-line { gap:10px; margin-top:14px; padding-top:0; color:#3b2f5c; font-family:"RC Logo","Segoe UI","Noto Sans",sans-serif; font-size:14px; font-weight:750; letter-spacing:-.01em; }
.create-card:has(.create-showcase) .workflow-line span { gap:8px; padding:6px 13px 6px 6px; border:1px solid #e6dcfa; border-radius:999px; background:#fff; box-shadow:0 4px 14px -8px #4c1d9540; }
.create-card:has(.create-showcase) .workflow-line span i { width:24px; height:24px; border:0; background:linear-gradient(135deg,#8b5cf6,#6d28d9); color:#fff; font-size:12px; font-weight:800; box-shadow:0 3px 8px -3px #7c3aedaa; }
.create-card:has(.create-showcase) .workflow-line > b { flex:0 1 26px; width:auto; min-width:10px; height:2px; border-radius:2px; background:linear-gradient(90deg,#c9b3f6,#e9e0fb); }
.create-card:has(.create-showcase) [data-legal-inline] .rc-inline-terms { margin-top:10px; color:#8a90a0; font-size:10.5px; line-height:1.45; }
.create-card:has(.create-showcase) [data-legal-inline] .rc-inline-terms :is(p, label) { font-size:inherit; }
@media (min-width:1121px) {
  .create-showcase { display:flex; }
  .create-showcase__inner { display:flex; flex:1; flex-direction:column; }
  .create-showcase .example-carousel { display:flex; flex:1; flex-direction:column; }
  .create-showcase .example-track { flex:1; align-content:center; }
  .create-showcase .example-nav { margin-top:auto; padding-top:8px; }
}

.example-pair-link { display:block; color:inherit; text-decoration:none; border-radius:17px; cursor:pointer; }
.example-pair-link:hover .example-card.after { border-color:#8b5cf6; box-shadow:0 10px 24px #622dc626; }
.example-pair-link:focus-visible { outline:3px solid #bd94ff; outline-offset:3px; }
