/* Keep illustrations completely inside their cards across public pages. */
.slide .art{bottom:16px}
.tile .art{margin-bottom:8px}
.wcard .art{margin-right:8px}
.pc .art{margin-bottom:8px}
.b2 .art,.b2.small-art .art{bottom:10px}
.tool .art,.facts .art{bottom:10px}
.ask .art{bottom:10px}
.ih .art{width:min(34vw,350px);height:auto;aspect-ratio:1;right:24px;bottom:16px;margin:0}

/* Pricing facts: separate the copy from the illustrations. */
.facts .card{min-height:218px;padding:28px 28px 112px}
.facts .card>b,.facts .card>span{position:relative;z-index:1;max-width:100%}
.facts .card .art{width:80px;height:80px;right:22px;bottom:16px}

/* The onboarding panel has one calm visual surface and a clear action. */
.banner{background:#f1f3f7;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);gap:0}
.banner .txt{padding:48px 48px 48px 52px}
.banner .txt .h2{max-width:540px}
.banner .steps{gap:19px;margin:28px 0 32px}
.banner .steps li::before{background:#fff;color:#ef3124;box-shadow:0 0 0 1px #e3e6ec}
.banner .steps em{background:#e5e8ef;color:#59616d}
.banner .vis{margin:24px;align-self:stretch;border-radius:24px;background:radial-gradient(circle at 50% 42%,#ffffff 0,#ecf0f7 54%,#dfe5ee 100%);box-shadow:inset 0 0 0 1px #d9dee8;display:grid;place-items:center;overflow:hidden}
.banner .vis .big3d{width:min(80%,380px);height:auto;aspect-ratio:1;max-width:100%;margin:0;align-self:center}
.banner .btn-white{background:#ef3124;color:#fff}
.banner .btn-white:hover{background:#d62a1e}

/* A restrained company card replaces the oversized red bank-card render. */
.ih-requisites{background:radial-gradient(circle at 85% 15%,#343465 0,transparent 38%),linear-gradient(135deg,#171a31,#242746)!important}
.art-requisites{display:grid;place-items:center;overflow:visible}
.brand-card{--rx:0deg;--ry:0deg;--shine-x:50%;--shine-y:50%;position:relative;width:min(100%,320px);aspect-ratio:1.58;border-radius:22px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;overflow:hidden;background:radial-gradient(circle at 85% 5%,#4c507f 0,transparent 42%),linear-gradient(145deg,#24294a,#111827 78%);box-shadow:0 24px 42px -18px #090c1caa,inset 0 1px #ffffff50;border:1px solid #ffffff2e;transform:perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));transition:transform .28s ease,box-shadow .28s ease}
.brand-card::before{content:"";position:absolute;inset:0;background:radial-gradient(180px circle at var(--shine-x) var(--shine-y),#ffffff2a,transparent 70%);pointer-events:none}
.brand-card::after{content:"";position:absolute;width:190px;height:190px;border:1px solid #ffffff18;border-radius:50%;right:-54px;bottom:-94px;box-shadow:0 0 0 32px #ffffff08,0 0 0 72px #ffffff05;pointer-events:none}
.brand-card-top,.brand-card-bottom{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand-card-mark{font-size:19px;font-weight:800;letter-spacing:-.05em;white-space:nowrap}
.brand-card-mark span{color:#ff766c}
.brand-card-chip{width:32px;height:26px;border:1px solid #dfdcbb88;border-radius:6px;background:linear-gradient(140deg,#d8d5af,#aaa67f);box-shadow:inset 0 0 0 5px #d5d2ad66}
.brand-card-name{position:relative;z-index:1;font-size:15px;font-weight:600;color:#ffffffd9}
.brand-card-bottom{font-size:12px;color:#ffffffa8;letter-spacing:.02em}
.brand-card-bottom strong{font-weight:600;color:#ffffffd9}
.art-requisites:hover .brand-card{box-shadow:0 34px 56px -20px #090c1ccc,inset 0 1px #ffffff70}

/* Only the SBP icon moves on hover. Other artwork stays still. */
@keyframes bp-spin{to{transform:rotate(360deg)}}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .tile:where(:hover,:focus-visible) .art.sbpb img{animation:bp-spin 1.7s ease-in-out infinite}
}
a.card:hover .art,a.tile:hover .art{transform:none}
.art:not(.sbpb) img{animation:none!important;transition:none!important}
.brand-card{transform:none!important;transition:none!important}
.art-requisites:hover .brand-card{box-shadow:0 24px 42px -18px #090c1caa,inset 0 1px #ffffff50}

@media (max-width:1024px){
  .ih .art{width:300px;height:300px;right:16px;bottom:12px}
  .banner{grid-template-columns:minmax(0,1fr);min-height:0}
  .banner .txt,.banner .vis{min-width:0}
  .banner .vis{min-height:320px;margin:0 32px 32px;padding:0;align-items:center}
}
@media (max-width:768px){
  .slide .art{bottom:24px}
  .tile .art,.wcard .art{right:8px;bottom:8px;margin:0}
  .ask .art{bottom:8px}
  .ih{min-height:0;padding-bottom:24px}
  .ih .art{position:relative;inset:auto;width:min(100%,300px);height:auto;aspect-ratio:1;margin:20px auto 0;flex:none;align-self:center}
  .art-requisites{aspect-ratio:auto!important;height:auto!important;min-height:220px;margin-top:22px!important}
  .brand-card{padding:20px}
  .facts .card{min-height:152px;padding:24px 110px 24px 24px;display:flex;flex-direction:column;justify-content:center}
  .facts .card .art{width:78px;height:78px;right:16px;top:50%;bottom:auto;transform:translateY(-50%)}
  .banner .txt{padding:32px 24px}
  .banner .vis{min-height:240px;margin:0 20px 20px;padding:0;border-radius:20px;max-height:none}
  .banner .vis .big3d{width:min(72%,280px);height:auto;flex:none}
}

