/* ===== השקעות לאורך זמן – "פרימיום חם", 28.11.2026 =====
   יער #0B3D2E, זהב #D4A64B, שמנת #F7F1E4, חול #E5D6B6. Rubik לכותרות, Heebo לטקסט. */
:root{
 --display:"Rubik","Heebo","Segoe UI",Arial,sans-serif;
 --text:"Heebo","Segoe UI",Arial,sans-serif;
 --serif:var(--display);--sans:var(--text);
 --paper:#F7F1E4;--sheet:#FFFDF7;--pine:#124B39;--pine-2:#1F6B4B;--green:#1F6B4B;--pos:#1F6B4B;
 --ink:#1E2B24;--ink2:#3D453E;--muted:#5F5545;--faint:#5F5545;
 --rule:#E5D6B6;--rule-2:#EFE5CF;--tint:#E8EEDF;--sunk:#F3EBDA;--line:var(--rule);--surface:var(--sheet);
 --brass:#D4A64B;--brass-2:#C29338;--brass-tint:#F6EBD2;--brass-line:#E2C98E;
 --forest:#0B3D2E;--forest-2:#124B39;--gold:#D4A64B;--gold-hi:#E9C978;--gold-lo:#A97E2A;--gold-ink:#8A6420;
 --gold-grad:linear-gradient(180deg,#EFD388 0%,#DDB357 52%,#CB9C40 100%);
 --sh-1:0 1px 2px rgba(74,55,40,.07),0 16px 34px -24px rgba(74,55,40,.42);
 --sh-2:0 2px 6px rgba(74,55,40,.07),0 30px 60px -34px rgba(52,38,16,.55);
 --ease:cubic-bezier(.16,1,.3,1);
 interpolate-size:allow-keywords;
}
html{scrollbar-color:#CDB98E #F3EBDA}
body{background:#F7F1E4 radial-gradient(1200px 560px at 92% -160px,rgba(212,166,75,.16),rgba(212,166,75,0) 70%) no-repeat;color:var(--ink)}
::selection{background:#F1DDA6;color:#0B3D2E}
a{text-decoration-color:rgba(169,126,42,.6);text-underline-offset:4px}
a:hover{text-decoration-color:currentColor}
:focus-visible{outline:2px solid #A97E2A;outline-offset:3px}
h1,h2,h3{font-family:var(--display)}
input,select,textarea,button{font-family:inherit}

/* ----- כותרת עליונה ----- */
body .sn,body .sn.sn-sc{background:linear-gradient(180deg,#0E4434 0%,#0B3D2E 100%);box-shadow:0 1px 0 rgba(212,166,75,.42),0 12px 28px -20px rgba(0,0,0,.6);view-transition-name:site-head}
body .sn-brand{font-family:var(--display);font-weight:700;letter-spacing:-.01em}
body .sn-btn{font-family:var(--text)}
body .sn-btn::after{transform:scaleX(0);transform-origin:50% 100%;transition:transform .28s var(--ease),background-color .15s;border-radius:3px 3px 0 0}
body .sn-btn:hover::after,body .sn-btn[aria-expanded="true"]::after,body .sn .sn-on::after{transform:none}
body .sn .sn-on::after{background:#E9C978!important;height:3px}
body .sn-pan{background:#FFFDF7;border-color:#E5D6B6;border-top:2px solid #D4A64B;border-radius:0 0 12px 12px;box-shadow:0 30px 60px -28px rgba(52,38,16,.5)}
body .sn-it:hover{background:#F6EBD2}
body .sn-dr{background:#FFFDF7}
body .sn-acc .sn-it{background:#FFFDF7}

/* כפתורי זהב: ההטבה, פתיחת חשבון */
body .sn-cta,body .ixc .btn:not(.alt),body .ib-go,body .ib-go2,body .ib-in-go,body .btn.offer,body .promo .btn:not(.alt),body .btn[href*="is.gd"],
body .btn[href^="/trading-account"]:not(.alt),body .btn[href$="#psagot"]:not(.alt),body a.btn[data-ibi],body a.btn[data-psg],body .hm-next-a,body .ta-go{
 background:linear-gradient(105deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 60%) 130% 0/260% 100% no-repeat,var(--gold-grad);
 color:#1E1A0E;border:1px solid #B98B33;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 12px 24px -14px rgba(140,95,20,.8);
 transition:background-position .8s var(--ease),box-shadow .25s,transform .12s,filter .2s}
body .sn-cta:hover,body .ixc .btn:not(.alt):hover,body .ib-go:hover,body .ib-go2:hover,body .ib-in-go:hover,body .btn.offer:hover,body .promo .btn:not(.alt):hover,body .btn[href*="is.gd"]:hover,
body .btn[href^="/trading-account"]:not(.alt):hover,body .btn[href$="#psagot"]:not(.alt):hover,body a.btn[data-ibi]:hover,body a.btn[data-psg]:hover,body .hm-next-a:hover,body .ta-go:hover{
 background-position:-30% 0,0 0;color:#1E1A0E;filter:saturate(1.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 16px 28px -14px rgba(140,95,20,.85)}
body .sn-cta:active,body .ib-go:active,body .ib-go2:active,body .ib-in-go:active,body .btn:active,body .hm-next-a:active,body .ta-go:active{transform:translateY(1px)}

/* כפתור ירוק רגיל */
body .btn:where(:not(.alt,.offer,[data-ibi],[data-psg],[href*="is.gd"],[href^="/trading-account"],[href$="#psagot"])){
 background:linear-gradient(180deg,#17583F,#124B39);border-color:#0E3F30;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 22px -16px rgba(11,61,46,.9);transition:filter .2s,transform .12s,box-shadow .2s}
body .btn:where(:not(.alt,.offer,[data-ibi],[data-psg],[href*="is.gd"],[href^="/trading-account"],[href$="#psagot"])):hover{filter:brightness(1.12)}
body .btn.alt{background:#FFFDF7;border-color:#CDB98E;color:#124B39}
body .btn.alt:hover{border-color:#A97E2A;background:#FBF4E4}
body .btn{border-radius:9px}

/* שדות */
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),body select,body textarea{background-color:#FFFDF7}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):focus,body select:focus,body textarea:focus{border-color:#A97E2A;box-shadow:0 0 0 3px rgba(212,166,75,.3);outline:0}
body input[type=checkbox],body input[type=radio]{accent-color:#124B39}
body input[type=range]{accent-color:#A97E2A}

/* פס ההטבה הזהוב */
body #ibBar{background:linear-gradient(90deg,#D9AE52,#EDCF84 50%,#D9AE52);box-shadow:inset 0 -1px 0 rgba(140,95,20,.25)}

/* ----- ראש עמוד במדריכים: רצועה נפרדת עם קו זהב מצויר ----- */
body .ph{background:linear-gradient(180deg,rgba(234,219,185,.62) 0%,rgba(247,241,228,0) 100%);border-bottom:1px solid #E5D6B6}
body .ph h1{font-family:var(--display);font-weight:800;color:#0B3D2E;letter-spacing:-.015em}
.ph h1::after,.hm-hero h1::after{content:"";display:block;width:min(260px,62%);height:16px;margin-top:12px;
 background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 16'%3E%3Cpath d='M249 7.2C186 1.8 104 1.4 3 10.6c-1.6.2-1.4 1.6.2 1.5C106 4.6 187 5.6 247.6 11.6c2.6.3 3.6-4.2 1.4-4.4z' fill='%23D4A64B'/%3E%3Cpath d='M226 12.8C162 9.2 96 9.4 40 13.2' fill='none' stroke='%23E9C978' stroke-width='1.2' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") right center/100% 100% no-repeat;
 animation:th-ink 1s var(--ease) .25s both}
@keyframes th-ink{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
body .ph .lead{color:#3D453E}
body .tr{--tr-c:#124B39;--tr-f:#D4A64B}
body .tr-dot{background:#D4A64B;box-shadow:0 0 0 3px #F7F1E4,0 0 0 7px rgba(212,166,75,.22)}

/* ----- גוף המדריכים: חלוקה ברורה לפרקים ----- */
body .doc>section{margin-bottom:60px}
body .doc>section+section{border-top:1px solid #E5D6B6;padding-top:46px}
body .doc h2{font-family:var(--display);font-weight:700;color:#0B3D2E;letter-spacing:-.01em;position:relative;padding-bottom:14px;margin-bottom:18px}
body .doc h2::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:46px;height:3px;border-radius:3px;background:linear-gradient(270deg,#A97E2A,#E9C978);transform-origin:right center;transition:transform .8s var(--ease) .1s}
body .doc h3{font-family:var(--display);font-weight:600;color:#124B39}
body .doc li::marker{color:#A97E2A}
body .doc>section.tool,body .doc>section.kk,body .doc>section+section.tool,body .doc>section+section.kk{background:#FFFDF7;border:1px solid #E2C98E;border-radius:12px;box-shadow:var(--sh-1)}
body .doc>section.tool h2::after,body .doc>section.kk h2::after,body .doc>section.promo h2::after{display:none}
body .doc>section.promo{background:#FBF4E4;border:1px solid #E8D3A3;border-radius:12px}
body .doc table{border-collapse:collapse}
body .doc th{background:#F3EBDA;color:#1E2B24}
body .doc td,body .doc th{border-color:#E5D6B6}
body .doc tbody tr{transition:background-color .15s}
body .doc tbody tr:hover{background:rgba(246,235,210,.55)}

/* כרטיס המדד הכהה בראש עמודי המדדים */
body .ixc{background:linear-gradient(160deg,#0F4535 0%,#0B3D2E 55%,#082F23 100%);border:1px solid rgba(212,166,75,.5);border-radius:14px;box-shadow:inset 0 1px 0 rgba(233,201,120,.16),var(--sh-2)}
body .ixc h2::after{display:none}

/* תוכן העניינים: סמן זהב שזז עם הקריאה */
body .toc{border-inline-start-color:#E5D6B6}
body .toc a{position:relative}
body .toc a::before{content:"";position:absolute;inset-inline-start:-23.5px;top:9px;bottom:9px;width:3px;border-radius:3px;background:#D4A64B;transform:scaleY(0);transition:transform .3s var(--ease)}
body .toc a.on{color:#0B3D2E;font-weight:600}
body .toc a.on::before{transform:none}
body .toc a.toc-fb::before{display:none}

/* פס התקדמות הקריאה */
.rp{position:fixed;top:var(--sn-h,66px);inset-inline:0;height:3px;z-index:999;pointer-events:none;background:linear-gradient(270deg,#A97E2A,#E9C978);transform-origin:right center;transform:scaleX(0)}
@supports (animation-timeline:scroll()){.rp{animation:rp-go linear both;animation-timeline:scroll(root)}}
@keyframes rp-go{to{transform:scaleX(1)}}

/* הודעת "לידיעתכם" */
body p.dsc-in{background:#FBF4E4;border:1px solid #E8D3A3;border-radius:10px}

/* שאלות ותשובות וכל רכיב נפתח: פתיחה רכה */
details>summary{transition:background-color .2s,color .2s}
@supports selector(::details-content){
 details::details-content{block-size:0;overflow-y:clip;opacity:0;transition:block-size .4s var(--ease),opacity .3s ease,content-visibility .4s allow-discrete}
 details[open]::details-content{block-size:auto;opacity:1}
}

/* כותרת תחתונה */
body footer.sf,body .sf{background:#0B3D2E radial-gradient(900px 300px at 10% 0,rgba(212,166,75,.09),rgba(212,166,75,0) 70%);border-top:1px solid rgba(212,166,75,.45)}
body .sf h2{color:#E9C978;font-family:var(--display);font-weight:600}
body .sf-brand a{font-family:var(--display)}
body .sf a:hover{color:#F1DDA6}

/* כפתור ההערות הצף */
body #fbBtn{display:inline-flex;align-items:center;gap:7px;background:#FFFDF7;border-color:#D9C08A;color:#124B39;border-radius:999px;box-shadow:0 14px 28px -16px rgba(52,38,16,.55)}
body #fbBtn svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
body #fbBtn:hover{border-color:#A97E2A}
@media(min-width:1024px){
 body #fbBtn{width:44px;height:44px;padding:0;justify-content:center;overflow:hidden;white-space:nowrap;transition:width .3s var(--ease),border-color .15s}
 body #fbBtn span{display:none}
 body #fbBtn:hover,body #fbBtn:focus-visible{width:auto;padding:0 16px 0 14px}
 body #fbBtn:hover span,body #fbBtn:focus-visible span{display:inline}
 body #fbDock{left:6px;bottom:14px}
 body #fbHide{position:absolute;top:-9px;left:-3px;margin:0}
}
@media(min-width:1024px) and (max-width:1199px){body #fbBtn{width:36px;height:36px}body #fbBtn svg{width:17px;height:17px}body #fbDock{left:3px}}

/* ----- הופעה בגלילה (רק לתוכן שמתחת למסך הראשון; בלי JS הכול גלוי) ----- */
.mo-js .rv{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--i,0) * 70ms)}
.mo-js .rv.in{opacity:1;transform:none}
.mo-js .rv h2::after{transform:scaleX(0)}
.mo-js .rv.in h2::after{transform:none}
.mo-js .rv-draw svg{clip-path:inset(0 100% 0 0);transition:clip-path 1.4s cubic-bezier(.45,.05,.2,1) .1s}
.mo-js .rv-draw.in svg{clip-path:inset(0 0 0 0)}

/* מעבר רך בין עמודים, הכותרת העליונה נשארת במקומה */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vt-out .14s ease-in both}
::view-transition-new(root){animation:vt-in .34s var(--ease) both}
@keyframes vt-out{to{opacity:0}}
@keyframes vt-in{from{opacity:0;transform:translateY(10px)}}

@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 .ph h1::after,.hm-hero h1::after{animation:none}
 .mo-js .rv{opacity:1;transform:none;transition:none}
 .mo-js .rv-draw svg{clip-path:none;transition:none}
 .mo-js .rv h2::after{transform:none}
 details::details-content{transition:none}
 body .sn-btn::after,body .toc a::before{transition:none}
}
@media print{.rp{display:none}.ph h1::after,.hm-hero h1::after{animation:none}.mo-js .rv{opacity:1;transform:none}}

/* חץ במקום סימני ▲▼ בטבלאות שנפתחות */
details.tbl summary span::after{content:""!important;display:inline-block;width:13px;height:13px;margin-inline-start:7px;vertical-align:-1px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .25s var(--ease)}
details.tbl[open] summary span::after{transform:rotate(180deg)}
/* יותר אוויר במדריכים */
body .doc>section{margin-bottom:76px}
body .doc>section+section{padding-top:60px}
body .doc p{line-height:1.85}
body .ph{padding-bottom:28px}
@media(max-width:700px){body .doc>section{margin-bottom:56px}body .doc>section+section{padding-top:44px}}
