/* Service page: annual reports (sherutim/doch-shnati/). On top of yeda-v5.css and pages-v5.css (od-hero, od-section, od-sub).
   Motion, all off under reduced motion (everything is shown in its final state):
   - hero: the report sheet checks its four lines one after the other, the tax bar fills and a "שודר" stamp lands (once, about 4s)
   - audience switch (up to 980px): a pill slides to the chosen audience and the card comes in (motion library: btn-toggle, land-audience)
   - "what we do": the cards come in one after another and each check draws itself (sec-checklist)
   - steps: the line fills as you scroll and each diamond lights up (scr-timeline)
   - what to bring: the notepad lines are written one after another (graphic/notepad)
   - FAQ: the short answer gets a marker when a question opens (word/marker)
   - facts table: stamp and rolling digits (yeda-v5.js), videos that open in place (site-extras.js) */
.ds-hero{overflow-x:clip} /* the stamp lands from 1.4x: it must never widen the page on a phone */
.ds-hero-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:clamp(30px,5vw,80px);align-items:center;margin-top:10px}
.ds-hero h1{margin:0 0 24px;max-width:18ch;font-size:clamp(36px,5vw,72px);line-height:1.08;font-weight:600;letter-spacing:-.03em;text-wrap:balance}
.ds-hero h1 span{display:block;font-family:var(--yd-serif);font-weight:400;color:var(--yd-gdark)}
.ds-answer{margin:0 0 24px;max-width:62ch}
.ds-actions{display:flex;flex-wrap:wrap;gap:12px}
.ds-actions .yd-btn:not(.is-quiet){background:var(--yd-gdark)}
.ds-actions .yd-btn:not(.is-quiet):hover{background:var(--navy)}
.ds-actions .yd-btn.is-quiet,.ds-bring .yd-btn{box-shadow:inset 0 0 0 1.5px var(--navy);background:transparent;color:var(--navy)}
.ds-actions .yd-btn.is-quiet:hover,.ds-bring .yd-btn:hover{background:#10284812}
.ds-clients{margin-top:18px;font-size:16px;line-height:1.7}
.ds-clients span{color:var(--yd-muted)}
.ds-proof{list-style:none;margin:22px 0 0;padding:16px 0 0;display:flex;flex-wrap:wrap;gap:8px 22px;border-top:1px solid var(--line);font-size:14.5px;color:#40534f}
.ds-proof li{display:flex;align-items:center;gap:8px}
.ds-proof li:before{content:'';flex:none;width:7px;height:7px;background:var(--green);transform:rotate(45deg)}
.ds-clients a,.ds-who-card a,.ds-steps a,.ds-when a,.ds-faq-more a,.ds-tool-note a,.ds-scope a{font-weight:600;color:var(--yd-gdark);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.ds-clients a:hover,.ds-who-card a:hover,.ds-steps a:hover,.ds-when a:hover,.ds-faq-more a:hover,.ds-tool-note a:hover,.ds-scope a:hover{color:var(--navy)}

/* The report sheet */
.ds-doc{--ck:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");justify-self:center;width:min(340px,100%);transform:rotate(-1.5deg)}
.ds-doc-tab{display:inline-block;margin-inline-start:22px;padding:6px 16px 10px;background:var(--yd-gdark);color:#fff;font-size:14px;font-weight:600}
.ds-doc-in{position:relative;margin-top:-4px;padding:20px 18px 26px;background:var(--yd-white);border-top:3px solid var(--green);box-shadow:8px 12px 0 #e1e3d9,0 18px 40px -22px #10284866}
.ds-doc-year{margin:0 0 12px;font-size:13px;color:var(--yd-muted)}
.ds-doc-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ds-doc-list li{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#eceee6;font-size:15px;font-weight:500;color:var(--navy)}
.ds-doc-list i{flex:none;width:20px;height:20px;border:2px solid var(--green);background:var(--green) var(--ck) center/12px 12px no-repeat}
.ds-doc-calc{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:14px;font-weight:600;color:var(--navy)}
.ds-doc-calc b{flex:1;height:8px;background:#10284818;overflow:hidden}
.ds-doc-calc i{display:block;height:100%;background:var(--green);transform-origin:right}
.ds-doc-stamp{position:absolute;left:-16px;bottom:-26px;display:grid;place-items:center;width:96px;height:96px;border:3px solid var(--yd-gdark);border-radius:50%;background:#fbfbf6e6;color:var(--yd-gdark);font-family:var(--yd-serif);font-size:14px;font-weight:700;line-height:1.1;text-align:center;transform:rotate(-12deg)}
@media(prefers-reduced-motion:no-preference){
  .ds-doc{animation:ds-in .8s var(--ease) .1s both}
  .ds-doc-list i{animation:ds-tick .35s var(--ease) calc(.7s + var(--i,0) * .45s) both}
  .ds-doc-calc i{animation:ds-fill 1s var(--ease) 2.5s both}
  .ds-doc-stamp{animation:ds-stamp .45s cubic-bezier(.3,1.6,.5,1) 3.4s both}
}
@keyframes ds-in{from{opacity:0;transform:translateY(18px) rotate(-1.5deg)}}
@keyframes ds-tick{from{background-color:transparent;background-size:0 0}}
@keyframes ds-fill{from{transform:scaleX(0)}}
@keyframes ds-stamp{from{opacity:0;transform:rotate(-12deg) scale(1.4)}}

/* Who it is for: three cards, or a switch when JavaScript runs */
.ds-pick{display:none}
.ds-who.is-tabs .ds-pick{display:inline}
.ds-switch{position:relative;display:inline-flex;margin:22px 0 0;padding:5px;max-width:100%;background:#e1e4dc;border-radius:999px}
.ds-switch button{position:relative;z-index:1;min-height:44px;padding:8px 20px;border:0;border-radius:999px;background:none;color:var(--navy);font-size:16px;font-weight:600;white-space:nowrap;touch-action:manipulation;transition:color .25s}
.ds-switch button[aria-selected="true"]{color:#fff}
.ds-switch button:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.ds-switch-pill{position:absolute;top:5px;bottom:5px;left:0;width:0;background:var(--navy);border-radius:999px;transition:left .35s var(--ease),width .35s var(--ease)}
.ds-who-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.ds-who.is-tabs .ds-who-panels{display:block}
.ds-who-card{padding:24px 22px;background:var(--yd-white);border-top:3px solid var(--green)}
.ds-who.is-tabs .ds-who-card{max-width:860px}
.ds-who-card h3{margin:0 0 10px;font-size:22px;font-weight:600;line-height:1.3}
.ds-who-card p{font-size:17px;line-height:1.75}
.ds-who-card ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.ds-who-card li{position:relative;padding-inline-start:24px;font-size:16.5px;line-height:1.7}
.ds-who-card li:before{content:'';position:absolute;right:2px;top:.62em;width:9px;height:9px;background:var(--green);transform:rotate(45deg)}
.ds-who-card .ds-note{margin-top:16px;padding:12px 14px;background:#e9ece3;font-size:15.5px;line-height:1.7}
@media(prefers-reduced-motion:no-preference){.ds-who-card.is-shown{animation:ds-panel .4s var(--ease) both}}
@keyframes ds-panel{from{opacity:0;transform:translateY(10px)}}

/* What we do: cards that check themselves */
.ds-do-list{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ds-do-list li{display:flex;gap:14px;align-items:flex-start;padding:20px;background:var(--yd-white)}
.ds-do-list svg{flex:none;width:32px;height:32px;padding:5px;border-radius:50%;background:var(--green);fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ds-do-list path{stroke-dasharray:24;stroke-dashoffset:0}
.ds-do-list h3{margin:3px 0 6px;font-size:19px;font-weight:600;line-height:1.35}
.ds-do-list p{font-size:16px;line-height:1.7}
@media(prefers-reduced-motion:no-preference){
  .xr-armed .ds-do-list[data-reveal]:not(.is-in) li{transform:translateY(14px)}
  .xr-armed .ds-do-list[data-reveal]:not(.is-in) path{stroke-dashoffset:24}
  .ds-do-list li{transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i,0) * 90ms)}
  .ds-do-list path{transition:stroke-dashoffset .4s var(--ease);transition-delay:calc(.25s + var(--i,0) * 90ms)}
}

/* Steps: a line that fills as you scroll, a diamond for each step */
.ds-steps{--ds-p:0;position:relative;list-style:none;margin:30px 0 0;padding:0 36px 0 0;max-width:820px}
.ds-steps:before,.ds-steps:after{content:'';position:absolute;right:9px;top:8px;bottom:8px;width:2px;background:var(--line)}
.ds-steps:after{background:var(--green);transform-origin:top;transform:scaleY(var(--ds-p))}
.ds-steps>li{position:relative;padding:0 0 30px}
.ds-steps>li:last-child{padding-bottom:0}
.ds-steps>li:before{content:'';position:absolute;right:-33px;top:6px;z-index:1;width:14px;height:14px;background:var(--paper);border:2px solid #10284855;transform:rotate(45deg);transition:background .3s,border-color .3s}
.ds-steps>li.is-on:before{background:var(--green);border-color:var(--green)}
.ds-step-tag{display:inline-block;font-size:13px;font-weight:600;color:var(--yd-gdark)}
.ds-steps h3{margin:2px 0 6px;font-size:21px;font-weight:600}
.ds-steps p{max-width:62ch;font-size:17px;line-height:1.75}
@media(min-width:981px){
  .ds-how{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);grid-template-rows:auto auto 1fr;column-gap:clamp(40px,6vw,100px)}
  .ds-how>h2,.ds-how>.od-sub{grid-column:1}
  .ds-how>.ds-steps{grid-column:2;grid-row:1/span 3;margin-top:8px}
}

/* What to bring: a notepad */
.ds-bring-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,5vw,70px);align-items:start}
.ds-bring h2{margin:0;font-size:clamp(28px,3vw,44px);font-weight:600;letter-spacing:-.02em}
.ds-tool-note{margin-top:12px;font-size:15px;color:var(--yd-muted)}
.ds-pad{position:relative;padding:22px 26px 22px 22px;background:#fffdf3;box-shadow:6px 10px 0 #e1e3d9;transform:rotate(.8deg)}
.ds-pad:before{content:'';position:absolute;top:0;bottom:0;right:44px;width:2px;background:#10985055}
.ds-pad ul{list-style:none;margin:0;padding:0}
.ds-pad li{position:relative;padding:9px 40px 9px 0;border-bottom:1px solid #10284818;font-size:17px;line-height:1.5}
.ds-pad li:before{content:'';position:absolute;right:2px;top:13px;width:14px;height:14px;border:2px solid var(--navy)}
.ds-pad p{margin-top:14px;padding-right:40px;font-size:15px;line-height:1.7;color:var(--yd-muted)}
@media(prefers-reduced-motion:no-preference){
  .xr-armed .ds-pad[data-reveal]:not(.is-in) li{transform:translateX(-10px)}
  .ds-pad li{transition:opacity .4s var(--ease),transform .4s var(--ease);transition-delay:calc(var(--i,0) * 110ms)}
}

/* When to file */
.ds-when-lead{max-width:62ch;margin-top:12px;font-size:clamp(19px,1.6vw,22px);line-height:1.7}
.ds-when-lead strong{font-weight:600}
.ds-when>p:not(.ds-when-lead){max-width:70ch;margin-top:12px;font-size:17px;line-height:1.75}
.ds-when .ds-now{margin-top:22px;padding:14px 16px;background:#fff3a8;border-inline-start:4px solid var(--green)}

/* Videos */
.ds-videos{margin-top:0}
.ds-videos small{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--yd-muted)}
.ds-vfall{display:inline-block;padding:10px 0;font-weight:600;color:var(--yd-gdark);text-decoration:underline;text-underline-offset:4px} /* without JavaScript only */
@media(min-width:761px){.ds-videos ul{grid-template-columns:repeat(4,minmax(0,230px))}}

/* FAQ */
.ds-faq-list{max-width:980px;margin-top:24px;border-top:2px solid var(--navy)}
.ds-faq details{border-bottom:1px solid var(--line)}
.ds-faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;list-style:none;cursor:pointer;touch-action:manipulation}
.ds-faq summary::-webkit-details-marker{display:none}
.ds-faq summary h3{margin:0;font-size:clamp(19px,1.8vw,24px);font-weight:500;line-height:1.35}
.ds-faq summary>span{flex:none;font-size:28px;font-weight:300;line-height:1;transition:transform .3s var(--ease)}
.ds-faq details[open] summary>span{transform:rotate(45deg)}
.ds-faq summary:hover h3{color:var(--yd-gdark)}
.ds-faq-a{max-width:72ch;padding:0 0 22px}
.ds-faq-a p{font-size:17px;line-height:1.8}
.ds-faq-a mark{background:linear-gradient(transparent 60%,var(--yd-mark) 60%) right/100% 100% no-repeat;color:inherit;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.ds-faq-more{margin-top:10px}
@media(prefers-reduced-motion:no-preference){
  .ds-faq details[open] .ds-faq-a{animation:ds-open .35s var(--ease) both}
  .ds-faq details[open] .ds-faq-a mark{animation:ds-mark .9s var(--ease) .15s both}
}
@keyframes ds-open{from{opacity:0;transform:translateY(-6px)}}
@keyframes ds-mark{from{background-size:0% 100%}}

/* Facts, scope line, author */
.ds-facts-wrap .yd-facts{margin-top:0}
.ds-scope{margin-top:4px;font-size:15px;line-height:1.7;color:var(--yd-muted)}
.pg-sherutim-doch-shnati .yd-related{margin-top:clamp(48px,6vw,80px)}

@media(max-width:980px){
  .ds-hero-grid,.ds-who-panels,.ds-bring-grid{grid-template-columns:1fr}
  .ds-doc{width:min(300px,100%);margin-bottom:20px}
  .ds-do-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .ds-do-list{grid-template-columns:1fr}
  .ds-clients span{display:block}
  .ds-switch{display:flex;width:100%}
  .ds-switch button{flex:1 1 auto;padding:8px 10px;font-size:15px}
  .ds-steps{padding-right:30px}
  .ds-steps>li:before{right:-27px}
  .ds-pad{padding:18px 18px 18px 14px;transform:none}
  .ds-pad:before{right:34px}
  .ds-pad li{padding-right:32px}
  .ds-pad p{padding-right:32px}
  .ds-doc-stamp{width:84px;height:84px;font-size:13px;left:-6px}
}
