/* YPAY – דפי "סוגי עסקים" במרכז הידע (/knowledge/businesses/...). קובץ משותף לכל הדפים; כל הכללים תחת .yp */
/* --- התאמה לאתר: מאפס סגנונות כלליים של base.css ו-button.css בתוך הדף. הכללים של הדף שבהמשך גוברים עליהם --- */
.yp h1,.yp h2,.yp h3{font-family:inherit;font-weight:800;color:inherit;letter-spacing:normal;text-transform:none}
.yp h3{font-weight:700}
.yp p,.yp ul,.yp figure{margin-top:0}
.yp *+p{margin-top:0}
.yp .lead{font-weight:400}
.yp .btn{letter-spacing:normal;text-transform:none;line-height:1.2;border:0;white-space:normal;text-align:center}
.yp .btn{margin-top:0}
.yp .btn:hover,.yp .btn:focus{color:#fff;text-decoration:none}
.yp .plan .btn.out:hover{color:var(--p)}
.yp .card{flex-direction:column}
.yp .small{font-weight:400}
.yp summary{display:flex}
.yp{--p:#6B39BD;--p2:#9052F6;--g:#31C77F;--ink:#171724;--mute:#5D5D66;--mint:#DFFFF0;--soft:#F7F7F9;--line:#E6E4EE;
  font-family:"Heebo",Arial,sans-serif;color:var(--ink);direction:rtl;text-align:right;line-height:1.6;font-size:17px}
.yp *{box-sizing:border-box;min-width:0}
.yp a{color:inherit}
.yp .wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.yp .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 28px;border-radius:999px;font-weight:700;font-size:18px;text-decoration:none;background:var(--g);color:#fff;box-shadow:0 6px 18px rgba(49,199,127,.35);transition:transform .15s}
.yp .btn:hover{transform:translateY(-2px)}
.yp .btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.7);box-shadow:none}
.yp h1,.yp h2,.yp h3{line-height:1.15;margin:0;text-wrap:balance}
.yp h2{font-size:clamp(28px,4vw,40px);font-weight:800;margin-bottom:12px}
.yp .lead{color:var(--mute);font-size:18px;margin:0 0 32px;max-width:640px}
.yp section{padding:clamp(48px,7vw,88px) 0}

/* hero */
.yp .hero{background:linear-gradient(160deg,var(--p) 0%,#4E2A93 100%);color:#fff;overflow:hidden;position:relative}
.yp .hero:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.06);left:-160px;top:-200px}
.yp .hero .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:center;position:relative}
.yp .tag{display:inline-block;background:rgba(255,255,255,.14);border-radius:999px;padding:6px 16px;font-size:15px;font-weight:500;margin-bottom:18px}
.yp .hero h1{font-size:clamp(34px,5.2vw,56px);font-weight:800}
.yp .hero h1 span{color:var(--g)}
.yp .hero p.answer{font-size:clamp(17px,2vw,20px);margin:20px 0 28px;color:#EDE6FB;max-width:560px}
.yp .cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.yp .small{font-size:14px;color:#D9CCF5;margin-top:14px}
.yp .byline{font-size:14px;color:#CFC2F0;margin-top:22px}

/* phone picture */
.yp .phone{width:min(300px,80%);margin:0 auto;aspect-ratio:9/18;background:#1E1240;border-radius:42px;padding:14px;box-shadow:0 30px 60px rgba(10,0,40,.45),inset 0 0 0 2px rgba(255,255,255,.12);position:relative}
.yp .screen{background:#fff;border-radius:30px;height:100%;padding:22px 18px;display:flex;flex-direction:column;gap:12px;color:var(--ink)}
.yp .screen .top{display:flex;justify-content:space-between;font-size:12px;color:var(--mute)}
.yp .rcpt{background:var(--soft);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:9px}
.yp .rcpt b{font-size:15px}
.yp .bar{height:9px;border-radius:5px;background:#DCD6EA}
.yp .bar.s{width:60%}.yp .bar.m{width:80%}
.yp .sum{display:flex;justify-content:space-between;font-weight:800;font-size:20px;margin-top:6px}
.yp .sent{margin-top:auto;background:var(--mint);color:#13784A;border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center;font-weight:700;font-size:14px}
.yp .sent i{width:28px;height:28px;border-radius:50%;background:var(--g);display:grid;place-items:center;flex:none}
@media (prefers-reduced-motion:no-preference){.yp .sent{animation:ypIn .8s .6s both}@keyframes ypIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}

/* why */
.yp .grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.yp .card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}
.yp .ic{width:48px;height:48px;border-radius:14px;background:#F0EAFB;display:grid;place-items:center;margin-bottom:14px}
.yp .card h3{font-size:20px;margin-bottom:6px}
.yp .card p{margin:0;color:var(--mute);font-size:16px}

/* plans */
.yp .plans{background:var(--soft)}
.yp .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:880px}
.yp .plan{background:#fff;border-radius:22px;padding:28px;border:1px solid var(--line);display:flex;flex-direction:column}
.yp .plan.hl{border:2px solid var(--p);box-shadow:0 12px 30px rgba(107,57,189,.12)}
.yp .plan .nm{font-weight:700;color:var(--p);font-size:18px}
.yp .plan .pr{font-size:40px;font-weight:800;margin:6px 0 2px;white-space:nowrap}
.yp .plan .pr small{font-size:16px;font-weight:500;color:var(--mute)}
.yp .plan ul{list-style:none;padding:0;margin:16px 0 22px;display:flex;flex-direction:column;gap:8px}
.yp .plan li{padding-right:28px;position:relative;font-size:16px}
.yp .plan li:before{content:"";position:absolute;right:0;top:5px;width:18px;height:18px;border-radius:50%;background:var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat}
.yp .plan .btn{margin-top:auto;align-self:flex-start}
.yp .plan .btn.out{background:#fff;color:var(--p);border:2px solid var(--p);box-shadow:none}
.yp .note{font-size:14px;color:var(--mute);margin-top:18px}
.yp .more{margin-top:10px;font-size:16px}
.yp .more a{color:var(--p);font-weight:700}

/* steps */
.yp .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:s}
.yp .step{position:relative;padding:24px 24px 24px 24px;border-radius:20px;background:#fff;border:1px solid var(--line)}
.yp .step:before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--p);color:#fff;font-weight:800;font-size:20px;margin-bottom:12px}
.yp .step h3{font-size:19px;margin-bottom:4px}
.yp .step p{margin:0;color:var(--mute);font-size:16px}

/* faq */
.yp .faq{max-width:860px}
.yp details{border-bottom:1px solid var(--line);padding:18px 0}
.yp summary{cursor:pointer;font-weight:700;font-size:19px;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center}
.yp summary::-webkit-details-marker{display:none}
.yp summary:after{content:"+";font-size:26px;color:var(--p);flex:none;line-height:1}
.yp details[open] summary:after{content:"–"}
.yp details p{margin:10px 0 0;color:#3A3A46;font-size:16.5px}
.yp summary:focus-visible,.yp .btn:focus-visible{outline:3px solid var(--g);outline-offset:3px}

/* closing */
.yp .end{background:var(--ink);color:#fff;text-align:center}
.yp .end h2{color:#fff}
.yp .end p{color:#C9C7D6;margin:0 auto 28px;max-width:560px}
.yp .end .cta-row{justify-content:center}

@media (max-width:900px){.yp .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .yp .hero .wrap{grid-template-columns:minmax(0,1fr)}
  .yp .phone{width:min(240px,70%)}
  .yp .grid2,.yp .steps,.yp .grid4{grid-template-columns:minmax(0,1fr)}
  .yp .btn{width:100%}
  .yp .plan .btn{align-self:stretch}
}

/* --- עמוד הרשימה /knowledge/businesses --- */
.yp .biz-head{padding-bottom:clamp(36px,5vw,56px)}
.yp .biz-head h1{font-size:clamp(32px,4.6vw,48px)}
.yp .biz-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.yp .biz-grid li{margin:0}
.yp .biz-grid a{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 22px 18px;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s,border-color .15s}
.yp .biz-grid a:hover,.yp .biz-grid a:focus-visible{transform:translateY(-3px);box-shadow:0 12px 30px rgba(107,57,189,.12);border-color:var(--p);color:var(--ink);text-decoration:none}
.yp .biz-grid a:focus-visible{outline:3px solid var(--g);outline-offset:3px}
.yp .biz-grid .biz-tag{align-self:flex-start;font-size:13px;font-weight:700;color:var(--p);background:#F0EAFB;border-radius:999px;padding:4px 12px;margin-bottom:12px}
.yp .biz-grid h2{font-size:20px;font-weight:700;margin:0 0 8px;line-height:1.3}
.yp .biz-grid p{margin:0 0 14px;color:var(--mute);font-size:15.5px;flex:1}
.yp .biz-grid .biz-go{font-weight:700;color:var(--p);font-size:15px}
@media (max-width:900px){.yp .biz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.yp .biz-grid{grid-template-columns:minmax(0,1fr)}}
