/* Inner pages top bar = the home page's (Tal 9.11): solid cream «לשיחת היכרות» on the dark hero; ☰ menu on phones. */
html:has(#hero-a) .top nav .cta{background:rgba(241,241,239,.06)!important;color:#fff!important;border-color:transparent!important;box-shadow:inset 0 0 0 1px rgba(241,241,239,.55);font-weight:400}
html:has(#hero-a) .top nav .cta:hover{background:rgba(241,241,239,.16)!important}
.mnav-btn{display:none}
.mnav{display:none}
@media (max-width:760px){
 .top nav .l>*:not(.logo),.top nav .cta{display:none!important}
 .mnav-btn{display:grid;gap:5px;place-content:center;width:44px;height:44px;margin-inline-start:auto;border:0;border-radius:12px;background:rgba(17,18,20,.06);box-shadow:inset 0 0 0 1px rgba(17,18,20,.22);cursor:pointer}
 .mnav-btn span{display:block;width:20px;height:2px;border-radius:2px;background:#111214}
 html:has(#hero-a) .mnav-btn{background:rgba(241,241,239,.10);box-shadow:inset 0 0 0 1px rgba(241,241,239,.28)}
 html:has(#hero-a) .mnav-btn span{background:#fff}
 .mnav{display:block;position:fixed;inset:0;z-index:50;background:rgba(10,8,6,0);pointer-events:none;transition:background .25s;visibility:hidden}
 .mnav.open{background:rgba(10,8,6,.5);pointer-events:auto;visibility:visible}
 .mnav-in{position:absolute;top:0;bottom:0;left:0;width:min(82vw,340px);background:#16130f;color:#fff;padding:max(20px,env(safe-area-inset-top,0px)) 24px max(28px,env(safe-area-inset-bottom,0px)) max(24px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:6px;transform:translateX(-100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);box-shadow:0 0 40px rgba(0,0,0,.4)}
 .mnav.open .mnav-in{transform:none}
 .mnav-x{align-self:flex-end;width:44px;height:44px;border:0;background:none;color:#fff;font-size:28px;cursor:pointer}
 .mnav nav{display:flex;flex-direction:column;margin-top:8px}
 .mnav nav a,.mnav nav span{display:flex;align-items:center;min-height:52px;font:400 18px Discovery,"Discovery Fallback",Arial,sans-serif;color:#fff;text-decoration:none;border-bottom:1px solid rgba(241,241,239,.10)}
 .mnav nav span{color:rgba(241,241,239,.55)}
 .mnav-cta{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:12px;background:#fff;color:#111214;font:500 16px Discovery,"Discovery Fallback",Arial,sans-serif;text-decoration:none}
 html.mnav-lock,html.mnav-lock body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){.mnav,.mnav-in{transition:none}}
/* Tal 9.11: the cabinet edge lines meet the top menu; a dark band behind the menu keeps it calm (like the home hero). */
html:has(#hero-a) .top::before{content:"";position:absolute;inset:0 0 auto 0;height:180px;background:linear-gradient(180deg,rgba(17,18,20,.82) 0%,rgba(17,18,20,.55) 55%,rgba(17,18,20,0) 100%);z-index:1;pointer-events:none}
html:has(#hero-a) .top .wrap{z-index:2}
/* Light inner pages: the same filled button as the home page, in the dark ink (Tal 9.11). */
html:not(:has(#hero-a)) .top nav .cta{background:#111214!important;color:#fff!important;border-color:#111214!important;font-weight:500}

/* Tal 10.11: the top bar sits exactly where the home page's does on every page (1264px wide, the frame width: the
   same edges as the form and the footer that close the page, 84px tall from the very top,
   brand 23px with a 28px logo, links 17px 36px apart, 44px CTA). Desktop only; phones keep the ☰ bar above. */
@media (min-width:761px){
 nav:has(>.l){box-sizing:border-box;width:min(1264px,100vw - 48px);margin-inline:calc((100% - min(1264px,100vw - 48px))/2);height:84px;margin-top:-28px;margin-bottom:28px;align-items:center;font-size:16px}
 nav:has(>.l)>.l{gap:36px}
 nav:has(>.l)>.l>.logo{font-size:22px;margin-inline-end:4px}
 nav:has(>.l)>.l>.logo img{width:28px;height:28px}
 nav:has(>.l) .dd-t{font-size:16px}
 nav:has(>.l)>.cta{box-sizing:border-box;display:inline-flex;align-items:center;min-height:44px;padding:0 17px;font-size:16px}
}

/* Tal 10.11: the current page is marked the same way on every page and never changes the text width (a bolder weight pushed the
   whole bar sideways): same weight, full-strength colour and a thin underline. */
nav:has(>.l) [aria-current="page"]{font-weight:400!important;text-decoration:none}
/* no underline (it read as a marked link): on a dark hero the other items step back, on a light page the current one is ink */
html:has(#hero-a) .top nav:has(>.l) .l>:not(.logo){opacity:.78;transition:opacity .2s}
html:has(#hero-a) .top nav:has(>.l) .l>:not(.logo):hover,html:has(#hero-a) .top nav:has(>.l) .l>:not(.logo):focus-within,html:has(#hero-a) .top nav:has(>.l) .l>:has([aria-current="page"]){opacity:1}
html:not(:has(#hero-a)) nav:has(>.l) [aria-current="page"]{color:#111214}
nav:has(>.l) .l>span>a{font-weight:400}

/* desk scenes: the dark band under the menu thins out towards the lamp, as the home page's veil does */
@media (min-width:1001px){html:has(#hero-a) .top:has(>.top-bg)::before,.top-bg::before{-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,.2) 15%,#000 34%);mask-image:linear-gradient(90deg,rgba(0,0,0,.1) 0%,rgba(0,0,0,.2) 15%,#000 34%)}}

/* tap target (audit 21.11): the logo link is 44px tall on phones, on the pages that do not load system.css as well */
@media (max-width:820px){nav .logo{min-height:44px}}
