/* Service page: bookkeeping (sherutim/hanhalat-cheshbonot/). On top of yeda-v5.css, sections-v5.css and pages-v5.css.
   Motion (motion library), all off under reduced motion and shown in the final state without JS:
   site/hero-chat (a receipt is sent and gets a tick), site/scr-timeline (the month rail fills as you scroll),
   site/btn-toggle (a ball slides between WhatsApp, mail and app), site/sec-checklist ("what's included" ticks itself),
   word/marker (short answer and the FAQ answers), the facts stamp and the video that opens through a diamond. */
.pg-sherutim-hanhalat-cheshbonot{--hc-pad:clamp(20px,4.2vw,80px);--hc-max:1240px;--hc-folder:#e1e4dc;--hc-folder-2:#d8ddd6;--hc-chat:#e9ede4;--hc-out:#d4ecd9}
.hc-hero,.hc-section{max-width:var(--hc-max);margin-inline:auto;padding-inline:var(--hc-pad);box-sizing:content-box}
.hc-hero{padding-top:30px}
.hc-section{margin-top:clamp(56px,7vw,96px)}
.hc-section h2{margin:0;font-size:clamp(28px,3vw,44px);font-weight:600;letter-spacing:-.02em;line-height:1.2}
.hc-sub{margin:10px 0 0;font-size:18px;line-height:1.6;color:var(--yd-muted)}
.hc-nw{white-space:nowrap}

/* Hero */
.hc-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(30px,5vw,80px);align-items:center;margin-top:10px}
.hc-hero h1{margin:0;font-size:clamp(38px,5.2vw,78px);line-height:1.05;font-weight:600;letter-spacing:-.035em}
.hc-hero h1 span{display:block;font-family:var(--yd-serif);font-weight:400;color:var(--yd-gdark)}
.hc-answer{margin:26px 0 0;max-width:62ch}
.hc-answer p{font-size:clamp(18px,1.45vw,20px)}
.hc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:24px}
.hc-tel{font-weight:600;border-bottom:2px solid var(--green);padding-bottom:2px;min-height:24px}
.hc-tel:hover{color:var(--yd-gdark)}
.hc-meta{display:flex;flex-wrap:wrap;gap:6px 0;margin:18px 0 0;font-size:14px;color:var(--yd-muted)}
.hc-meta span+span:before{content:'·';margin-inline:10px}
.pg .hc-hero .yd-review{margin-top:28px}

/* The phone: a paper card with tape, like the hero stage on the home page */
.hc-stage{margin:0;position:relative;justify-self:center;width:min(100%,360px)}
.hc-phone{position:relative;background:var(--navy);padding:12px;border-radius:30px;transform:rotate(-1.5deg);box-shadow:10px 14px 0 #e1e3d9}
.hc-phone:before{content:'';position:absolute;z-index:2;width:86px;height:24px;background:#cdd2c5c4;left:40%;top:-12px;transform:rotate(5deg)}
.hc-phone-top{display:flex;align-items:center;gap:10px;padding:12px 12px 10px;color:var(--paper);font-size:14px;line-height:1.25}
.hc-phone-top small{display:block;font-size:11.5px;color:#b8c4c1}
.hc-phone-avatar{flex:none;width:34px;height:34px;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:700;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.hc-chat{display:flex;flex-direction:column;gap:10px;min-height:390px;padding:16px 12px 18px;background:var(--hc-chat);border-radius:20px}
.hc-msg{max-width:82%;padding:9px 11px 6px;border-radius:12px;background:#fff;box-shadow:0 1px 0 #10284818;font-size:14px;line-height:1.45}
.hc-msg p{margin:0}
.hc-msg.is-out{align-self:flex-start;background:var(--hc-out);border-start-start-radius:3px}
.hc-msg.is-in{align-self:flex-end;border-start-end-radius:3px}
.hc-time{margin-top:3px!important;font-size:11px;color:#5b6670;text-align:end;font-variant-numeric:tabular-nums}
.hc-ticks{color:#3a8fd6;letter-spacing:-.3em;margin-inline-start:4px}
.hc-ok{display:inline-grid;place-items:center;width:18px;height:18px;margin-inline-end:4px;border-radius:50%;background:var(--green);color:#fff;font-size:11px}
.hc-file{display:flex;align-items:center;gap:6px;font-weight:500}
.hc-file:before{content:'';flex:none;width:14px;height:17px;background:var(--navy);clip-path:polygon(0 0,70% 0,100% 28%,100% 100%,0 100%);opacity:.75}
.hc-file.is-pdf:before{background:#b8442f}
.hc-receipt{position:relative;width:132px;margin:2px 0 8px;padding:10px 12px 18px;background:#fff;display:grid;gap:6px;font-size:12px;box-shadow:0 1px 3px #10284822;transform:rotate(2deg)}
.hc-receipt:after{content:'';position:absolute;inset:auto 0 -6px;height:7px;background:linear-gradient(-45deg,transparent 4px,#fff 0) 0 0/8px 8px repeat-x,linear-gradient(45deg,transparent 4px,#fff 0) 0 0/8px 8px repeat-x}
.hc-receipt b{font-family:var(--yd-serif);font-size:15px}
.hc-line{display:block;height:5px;background:#10284822}
.hc-line.is-short{width:60%}
.hc-receipt-sum{justify-self:end;font-weight:600;color:var(--yd-gdark)}
.hc-typing{align-self:flex-end;display:none;gap:4px;padding:10px 12px;background:#fff;border-radius:12px}
.hc-typing span{width:7px;height:7px;border-radius:50%;background:#5b6670}
.hc-stage figcaption{margin-top:16px;font-size:13px;line-height:1.5;color:var(--yd-muted);text-align:center}

@media(prefers-reduced-motion:no-preference){
  .hc-phone.is-armed .hc-s1,.hc-phone.is-armed .hc-s3,.hc-phone.is-armed .hc-s4,.hc-phone.is-armed .hc-s5{opacity:0;transform:translateY(10px) scale(.97)}
  .hc-phone .hc-s1,.hc-phone .hc-s3,.hc-phone .hc-s4,.hc-phone .hc-s5{transition:opacity .4s var(--ease),transform .5s var(--ease)}
  .hc-phone.is-armed .hc-ticks{color:#8b969e;transition:color .3s}
  .hc-phone.is-s1 .hc-s1,.hc-phone.is-s3 .hc-s3,.hc-phone.is-s4 .hc-s4,.hc-phone.is-s5 .hc-s5{opacity:1;transform:none}
  .hc-phone.is-s3 .hc-s1 .hc-ticks,.hc-phone.is-s5 .hc-s4 .hc-ticks{color:#3a8fd6}
  .hc-phone.is-typing .hc-typing{display:flex}
  .hc-phone.is-typing .hc-typing span{animation:hc-dot 1s ease-in-out infinite}
  .hc-phone.is-typing .hc-typing span:nth-child(2){animation-delay:.15s}
  .hc-phone.is-typing .hc-typing span:nth-child(3){animation-delay:.3s}
  .hc-ok{transition:transform .35s cubic-bezier(.34,1.6,.64,1)}
  .hc-phone.is-armed .hc-msg.is-in .hc-ok{transform:scale(0)}
  .hc-phone.is-s3 .hc-s3 .hc-ok,.hc-phone.is-s5 .hc-s5 .hc-ok{transform:scale(1)}
}
@keyframes hc-dot{0%,100%{opacity:.35;transform:none}50%{opacity:1;transform:translateY(-3px)}}

/* The month: five stops on a rail that fills as you scroll (vertical on phones, across on wide screens) */
.hc-rail{list-style:none;margin:30px 0 0;padding:0 34px 0 0;position:relative;max-width:760px;--hc-p:0}
.hc-rail:before,.hc-rail:after{content:'';position:absolute;right:9px;top:8px;bottom:8px;width:2px;background:var(--line)}
.hc-rail:after{background:var(--green);transform-origin:top;transform:scaleY(var(--hc-p))}
.hc-rail>li{position:relative;padding:0 0 28px}
.hc-rail>li:before{content:'';position:absolute;right:-31px;top:6px;width:14px;height:14px;background:var(--paper);border:2px solid #10284855;transform:rotate(45deg);z-index:1;transition:background .3s,border-color .3s}
.hc-rail>li.is-on:before{background:var(--green);border-color:var(--green)}
.hc-rail>li.is-key:before{width:18px;height:18px;right:-33px;top:4px}
.hc-day{display:inline-block;padding:2px 10px;background:var(--navy);color:var(--paper);font-size:13px;font-weight:600}
.hc-rail>li.is-key .hc-day{background:var(--yd-gdark);color:#fff}
.hc-rail h3{margin:8px 0 6px;font-size:21px;font-weight:600;line-height:1.3}
.hc-rail p{margin:0;font-size:17px;line-height:1.75;max-width:60ch}

/* Three ways: a switch with a sliding ball, the panels, the rule and the income note */
.hc-ways-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,56px);margin-top:28px;align-items:start}
.hc-ways-box{background:var(--hc-folder);padding:clamp(20px,3vw,34px)}
.hc-switch{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:5px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);margin-bottom:22px;max-width:100%}
.hc-switch[hidden]{display:none}
.hc-switch button{position:relative;z-index:1;min-height:44px;padding:8px 18px;border:0;background:none;font-size:16px;font-weight:500;color:var(--navy);transition:color .25s;white-space:nowrap}
.hc-switch button[aria-selected="true"]{color:var(--paper)}
.hc-switch-ball{position:absolute;top:5px;bottom:5px;right:0;width:var(--hc-w,0);background:var(--navy);transform:translateX(var(--hc-x,0));transition:transform .45s var(--ease),width .45s var(--ease)}
.hc-way h3{margin:0 0 8px;font-size:22px;font-weight:600}
.hc-way p{margin:0 0 10px;font-size:17px;line-height:1.75}
.hc-way+.hc-way{margin-top:22px;padding-top:20px;border-top:1px solid #10284822}
.hc-ways-box.is-tabs .hc-way+.hc-way{margin-top:0;padding-top:0;border-top:0}
.hc-way[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){.hc-ways-box.is-tabs .hc-way:not([hidden]){animation:hc-in .4s var(--ease) both}}
@keyframes hc-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hc-quote{margin:22px 0 0;padding:4px 20px 2px 0;border-right:3px solid var(--green)}
.hc-quote p{margin:0;font-family:var(--yd-serif);font-size:21px;line-height:1.55}
.hc-quote footer{margin-top:6px;font-size:14px;color:var(--yd-muted)}
.hc-ways-side{display:grid;gap:22px}
.hc-rule{padding:22px 24px;background:var(--navy);color:var(--paper)}
.hc-rule h3{margin:0 0 10px;font-size:22px;font-weight:600;line-height:1.35}
.hc-rule h3 span{display:block;font-size:14px;font-weight:500;color:#9fe0bb;margin-bottom:4px}
.hc-rule p{margin:0;font-size:16.5px;line-height:1.7;color:#d6dee6}
.hc-income{padding:20px 22px;border:1px solid var(--line);background:var(--yd-white)}
.hc-income h3{margin:0 0 8px;font-size:20px;font-weight:600}
.hc-income p{margin:0 0 8px;font-size:16.5px;line-height:1.7}
.hc-income p:last-child{margin:0}

/* What's included: each line gets its tick in turn */
.hc-check{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;max-width:1100px}
.hc-check li{position:relative;padding:14px 38px 14px 0;border-top:1px solid var(--line);font-size:17px;line-height:1.65}
.hc-check li:before{content:'';position:absolute;right:0;top:16px;width:22px;height:22px;background:var(--green);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.hc-check li:after{content:'';position:absolute;right:7px;top:21px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.hc-check b{font-weight:600}
.hc-not{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:16px;color:var(--yd-muted);max-width:1100px}
.hc-not b{color:var(--navy);font-weight:600}
.hc-not a,.hc-answer a,.hc-check a,.hc-fit a,.hc-steps a,.hc-start-more a,.hc-move a,.hc-qa .v5-answer a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:2px;text-underline-offset:4px}
.hc-answer a:hover,.hc-check a:hover,.hc-steps a:hover,.hc-start-more a:hover,.hc-qa .v5-answer a:hover{color:var(--yd-gdark)}
@media(prefers-reduced-motion:no-preference){
  .xr-armed .hc-check:not(.is-in) li:before,.xr-armed .hc-check:not(.is-in) li:after{transform:scale(0)}
  .xr-armed .hc-check:not(.is-in) li:after{transform:rotate(45deg) scale(0)}
  .hc-check li{transition:opacity .5s var(--ease) calc(var(--i,0) * 130ms)}
  .hc-check li:before{transition:transform .4s cubic-bezier(.34,1.6,.64,1) calc(var(--i,0) * 130ms)}
  .hc-check li:after{transition:transform .3s var(--ease) calc(var(--i,0) * 130ms + 180ms)}
}

/* Who it suits: folder cards, like the service folders on the home page */
.hc-fit-grid{list-style:none;margin:34px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 18px}
.hc-fit-grid li{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 18px;background:var(--hc-folder)}
.hc-fit-grid li:nth-child(even){background:var(--hc-folder-2)}
.hc-fit-grid li:before{content:'';position:absolute;bottom:100%;right:0;width:46%;height:13px;background:inherit;clip-path:polygon(0 100%,7% 0,93% 0,100% 100%)}
.hc-fit-grid h3{margin:0;font-size:21px;font-weight:600}
.hc-fit-grid p{margin:0;flex:1;font-size:16px;line-height:1.7}
.hc-fit-grid a{align-self:flex-start;font-size:15px;font-weight:600;color:var(--navy);text-decoration:none;border-bottom:2px solid var(--green);padding-bottom:1px}
.hc-fit-grid a:hover{color:var(--yd-gdark)}
.hc-fit-note{margin:24px 0 0;font-size:17px;line-height:1.7;max-width:70ch}

/* Team: the diamond avatars from the about page */
.hc-team-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:22px}
.hc-member{display:grid;gap:14px;align-content:start;padding:22px;background:var(--yd-white);box-shadow:0 1px 0 var(--line)}
.hc-member.is-lead{grid-template-columns:auto 1fr;align-items:start;background:var(--hc-folder)}
.hc-member .od-avatar{width:96px;height:96px;margin:0}
.hc-member.is-lead .od-avatar{width:118px;height:118px;background:var(--green)}
.hc-member:nth-child(2) .od-avatar{background:var(--yd-gdark)}
.hc-member.is-lead .od-role{color:#0b6b38}
.hc-member h3{margin:0;font-size:21px;font-weight:600}
.hc-member p:not(.od-role){margin:0;font-size:16px;line-height:1.7}
.hc-team .od-links{margin-top:18px}

/* Getting started: numbered steps on a rail, and the note on moving from another system */
.hc-start-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(24px,4vw,60px);align-items:end}
.hc-steps{list-style:none;margin:28px 0 0;padding:0;counter-reset:hc-step;display:grid;gap:0}
.hc-steps li{position:relative;padding:16px 62px 18px 0;border-top:1px solid var(--line);counter-increment:hc-step}
.hc-steps li:before{content:counter(hc-step);position:absolute;right:0;top:14px;width:42px;height:42px;display:grid;place-items:center;font-family:var(--yd-serif);font-size:22px;font-weight:700;color:var(--paper);background:var(--navy);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.hc-steps li:last-child:before{background:var(--green)}
.hc-steps h3{margin:0 0 4px;font-size:20px;font-weight:600}
.hc-steps p{margin:0;font-size:17px;line-height:1.7}
.hc-start-more{margin:12px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:16.5px;font-weight:600}
.hc-move{padding:22px 24px;background:var(--green);color:#04220f}
.hc-move h3{margin:0 0 8px;font-size:21px;font-weight:600}
.hc-move p{margin:0;font-size:16.5px;line-height:1.7}

/* Videos */
.hc-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px}
.hc-video-grid .yd-video{margin:0}
.hc-video-grid.is-one{grid-template-columns:minmax(0,760px)}

/* FAQ, related pages, facts */
.hc-qa .v5-qa-list{margin-top:22px}
.hc-qa .v5-qa-item summary h3{font-size:clamp(19px,1.9vw,25px)}
.hc-related{margin-top:clamp(56px,7vw,96px)}
.hc-related h2{font-size:clamp(22px,2vw,28px)}
.hc-end{max-width:900px;margin-inline:auto}
.hc-end .yd-facts{margin-top:0}
.pg-sherutim-hanhalat-cheshbonot .yd-cta{margin-top:clamp(56px,7vw,96px)}

@media(min-width:1000px){
  .hc-rail{max-width:none;padding:34px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
  .hc-rail:before,.hc-rail:after{right:0;left:0;top:9px;bottom:auto;width:auto;height:2px}
  .hc-rail:after{transform-origin:right;transform:scaleX(var(--hc-p))}
  .hc-rail>li{padding:0}
  .hc-rail>li:before{right:0;top:-31px}
  .hc-rail>li.is-key:before{right:-2px;top:-33px}
}
@media(max-width:980px){
  .hc-hero-grid{grid-template-columns:1fr}
  .hc-stage{order:2}
  .hc-ways-grid,.hc-start-grid{grid-template-columns:1fr}
  .hc-fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hc-team-grid{grid-template-columns:1fr 1fr}
  .hc-member.is-lead{grid-column:1/-1}
}
@media(max-width:620px){
  .hc-hero h1{font-size:clamp(34px,10vw,46px)}
  .hc-stage{width:min(100%,320px)}
  .hc-chat{min-height:350px}
  .hc-check{grid-template-columns:1fr}
  .hc-fit-grid,.hc-team-grid,.hc-video-grid{grid-template-columns:1fr}
  .hc-member.is-lead{grid-template-columns:1fr}
  .hc-switch{display:grid;width:100%}
  .hc-switch button{padding:8px 10px;font-size:15px}
  .hc-quote p{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.hc-switch-ball{transition:none}}
