/* Service page "ליווי עוסק פטור" (sherutim/osek-patur/), built by assemble-pages.cjs. On top of yeda-v5.css and pages-v5.css.
   Motion pieces from the motion library, all shown in their final state under reduced motion or without JavaScript:
   ceiling meter that fills toward the 2026 line (graphic/versus) with a count-up, checklist that ticks itself
   (site/sec-checklist), a switch that slides between the three authorities (site/btn-toggle), a sticky note that
   lands once (graphic/sticky-notes), the year line that fills as you scroll (site/scr-timeline), steps that come in
   one after another, markers on the answers (word/marker), and the stamp, rolling digits and in-place video of yeda-v5. */
.pg-sherutim-osek-patur{--op-pad:clamp(20px,4.2vw,80px);--op-max:1240px;--op-card:var(--yd-white,#fbfbf6)}
.op-wrap{max-width:var(--op-max);margin-inline:auto;padding-inline:var(--op-pad);box-sizing:content-box}
.op-section{margin-top:clamp(56px,7vw,96px)}
.op-section>h2,.op-head h2{margin:0;font-size:clamp(28px,3vw,44px);line-height:1.15;font-weight:600;letter-spacing:-.02em;text-wrap:balance}
.op-sub{margin:10px 0 0;max-width:62ch;font-size:18px;line-height:1.7;color:var(--yd-muted)}
/* Links inside running text: one style for the whole page, underlined like the shared template */
.op-quiz a,.op-check p a,.op-incl-note a:not(.op-more),.op-panel a,.op-sticky figcaption a,.op-year p a,.op-solo-col a,.op-steps p a,.op-qa .v5-answer a{color:var(--yd-gdark);border-bottom:1px solid currentColor}
.op-more{color:var(--navy);text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:2px;text-underline-offset:4px}
.op-more:hover{color:var(--yd-gdark)}

/* Hero: title, short answer, two buttons, and the ceiling meter */
.op-hero{padding-top:30px}
.op-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(28px,5vw,80px);align-items:end}
.op-hero h1{margin:0;font-size:clamp(38px,5.4vw,78px);line-height:1.04;font-weight:600;letter-spacing:-.035em}
.op-hero h1 span{display:block;margin-top:.18em;font-family:var(--yd-serif);font-weight:400;font-size:.6em;line-height:1.2;letter-spacing:-.01em;color:var(--yd-gdark)}
.op-hero .yd-meta{margin-top:16px}
.op-hero .yd-answer{margin:26px 0 0}
.op-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.op-btn-line{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 20px;color:var(--navy);font-size:16px;font-weight:500;box-shadow:inset 0 0 0 1.5px var(--navy);transition:background .2s,color .2s}
.op-btn-line:hover{background:var(--navy);color:var(--paper)}
.op-quiz{margin:14px 0 0;font-size:15px;color:var(--yd-muted)}
.op-quiz a{font-weight:500}

.op-meter{margin:0;padding:22px 22px 18px;background:var(--op-card);border-top:3px solid var(--navy);box-shadow:0 1px 0 var(--line)}
.op-meter-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;font-size:14px;color:var(--yd-muted)}
.op-meter-head b{font-size:clamp(28px,2.8vw,38px);font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.op-meter-head small{font-size:.5em;font-weight:500;margin-inline-start:4px}
.op-meter-bar{position:relative;height:16px;margin:18px 0 8px;background:#10284814}
.op-meter-fill{position:absolute;inset-block:0;right:0;width:78%;background:linear-gradient(270deg,#10985055,var(--green))}
.op-meter-line{position:absolute;top:-7px;bottom:-7px;left:10%;width:3px;background:var(--navy)}
.op-meter-scale{display:flex;justify-content:space-between;font-size:12.5px;color:var(--yd-muted)}
.op-meter-scale span:last-child{padding-inline-end:6%}
.op-meter figcaption{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:15px;line-height:1.6}

.op-facts{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.op-facts li{padding:14px 16px;background:var(--op-card);border-top:3px solid var(--green);display:grid;gap:4px;align-content:start}
.op-facts b{font-size:clamp(22px,2.2vw,30px);font-weight:600;line-height:1.1;color:var(--navy)}
.op-facts span{font-size:14.5px;line-height:1.5;color:var(--yd-muted)}
.pg-sherutim-osek-patur .yd-review{margin-top:26px}

/* What's included: a checklist that ticks itself, one item after another */
.op-check{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px}
.op-check>li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 16px;padding:20px 0;border-top:1px solid var(--line)}
.op-check h3{margin:0;font-size:20px;line-height:1.35;font-weight:600}
.op-check p{grid-column:2;margin:0;font-size:16.5px;line-height:1.7}
.op-check p a{white-space:nowrap}
.op-tick{position:relative;width:22px;height:22px;margin:4px 4px 0;border:2px solid var(--yd-gdark);background:var(--yd-gdark);transform:rotate(45deg)}
.op-tick svg{position:absolute;inset:1px;width:16px;height:16px;transform:rotate(-45deg);fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:0}
.op-incl-note{margin:18px 0 0;padding:14px 18px;background:var(--op-card);border-inline-start:3px solid var(--navy);font-size:16.5px;line-height:1.7;max-width:80ch}
@media(prefers-reduced-motion:no-preference){
  .xr-armed .op-check[data-reveal]:not(.is-in) .op-tick{background:transparent}
  .xr-armed .op-check[data-reveal]:not(.is-in) .op-tick svg{stroke-dashoffset:24}
  .op-check[data-reveal] .op-tick{transition:background .3s var(--ease) calc(var(--i,0) * 140ms + .15s)}
  .op-check[data-reveal] .op-tick svg{transition:stroke-dashoffset .45s var(--ease) calc(var(--i,0) * 140ms + .3s)}
}

/* Three authorities: a switch that slides, one panel at a time (all panels shown without JavaScript) */
.op-auth-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.42fr);gap:clamp(28px,4vw,64px);align-items:start;margin-top:26px}
.op-switch{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;max-width:100%;padding:4px;background:#e1e4dc;border-radius:999px;isolation:isolate}
.op-switch[hidden]{display:none}
.op-switch button{position:relative;z-index:1;min-height:44px;padding:8px clamp(12px,2vw,24px);border:0;background:none;border-radius:999px;font:inherit;font-size:16px;font-weight:500;color:var(--navy);cursor:pointer;white-space:nowrap;transition:color .25s}
.op-switch button[aria-selected="true"]{color:var(--paper)}
.op-switch-pill{position:absolute;z-index:0;top:4px;bottom:4px;left:0;width:0;background:var(--navy);border-radius:999px;transition:transform .35s var(--ease),width .35s var(--ease)}
.op-panel{margin-top:22px;padding:22px 24px 24px;background:var(--op-card);border-top:3px solid var(--green)}
.op-panel+.op-panel{margin-top:16px}
.op-auth.is-tabs .op-panel+.op-panel{margin-top:22px}
.op-panel h3{margin:0;font-size:clamp(21px,2vw,26px);line-height:1.3;font-weight:600}
.op-panel-lead{margin:8px 0 14px;font-size:17.5px;line-height:1.7}
.op-panel dl{margin:0;display:grid;gap:12px}
.op-panel dt{font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--yd-gdark)}
.op-panel dd{margin:2px 0 0;font-size:16.5px;line-height:1.7}
.op-panel blockquote{margin:0 0 14px;padding:2px 16px;border-inline-start:3px solid var(--green);font-family:var(--yd-serif);font-size:19px;line-height:1.55}
.op-panel blockquote footer{margin-top:4px;font-family:var(--font);font-size:13.5px;color:var(--yd-muted)}
.op-panel:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.op-sticky{margin:8px 0 0;max-width:320px;justify-self:center}
.op-sticky .v5-sticky-note{font-size:clamp(22px,2.1vw,28px)}
.op-sticky figcaption{font-size:14px;color:var(--yd-muted)}

/* The year of an exempt dealer: the line fills as you scroll and each stop lights up */
.op-year-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:clamp(28px,4vw,64px);align-items:start;margin-top:30px}
.op-year-video{margin:0;position:sticky;top:120px}
.op-year-video figcaption,.op-solo .yd-video figcaption{display:block}
.op-year-video figcaption span,.op-solo .yd-video figcaption span{display:block;margin-top:2px}
.op-year{--op-p:1;position:relative;list-style:none;margin:0;padding:0 46px 0 0;max-width:820px;display:grid;gap:30px}
.op-year:before,.op-year:after{content:'';position:absolute;right:12px;top:10px;bottom:10px;width:3px;background:#dfe2da}
.op-year:after{background:var(--green);transform-origin:top;transform:scaleY(var(--op-p))}
.op-year>li{position:relative}
.op-year>li:before{content:'';position:absolute;right:-41px;top:6px;width:15px;height:15px;transform:rotate(45deg);background:var(--green);border:3px solid var(--green);z-index:1;transition:background .3s,border-color .3s}
.op-when{display:inline-block;margin-bottom:4px;padding:2px 10px;background:var(--navy);color:var(--paper);font-size:13.5px;font-weight:500}
.op-year h3{margin:0;font-size:clamp(20px,1.9vw,25px);line-height:1.3;font-weight:600}
.op-year p{margin:4px 0 0;font-size:16.5px;line-height:1.7;max-width:64ch}
.op-year-note{margin:22px 0 0;font-size:14.5px;color:var(--yd-muted);max-width:70ch}
.op-year.is-armed>li:not(.is-on):before{background:var(--paper);border-color:#c9cdc3}

/* On your own, or with us: an honest answer, two lists and Eran's video */
.op-solo-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 280px;gap:clamp(24px,3.5vw,52px);align-items:start;margin-top:26px}
.op-solo-col h3{margin:0 0 10px;font-size:20px;font-weight:600}
.op-solo-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.op-solo-col li{position:relative;padding-inline-start:24px;font-size:16.5px;line-height:1.65}
.op-solo-col li:before{content:'';position:absolute;right:2px;top:.62em;width:8px;height:8px;border:2px solid var(--yd-muted);transform:rotate(45deg)}
.op-solo-col.is-with li:before{background:var(--green);border-color:var(--green)}
.op-solo-col.is-with{padding:20px 22px;background:var(--op-card);border-top:3px solid var(--green)}
.op-solo-col.is-alone{padding:20px 0 0}
.op-solo .yd-video{margin:0}
.op-solo-lead{margin:14px 0 0;max-width:68ch;font-size:18px;line-height:1.75}
.op-solo-lead a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:2px;text-underline-offset:4px}

/* Getting started: four steps that come in one after another */
.op-steps{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.op-steps li{padding:20px 20px 22px;background:var(--op-card);border-top:3px solid var(--navy)}
.op-step-no{display:block;font-family:var(--yd-serif);font-size:30px;line-height:1;color:var(--yd-gdark)}
.op-steps h3{margin:12px 0 6px;font-size:20px;line-height:1.3;font-weight:600}
.op-steps p{margin:0;font-size:16px;line-height:1.7}
@media(prefers-reduced-motion:no-preference){
  .xr-armed .op-steps[data-reveal]:not(.is-in) li{transform:translateY(16px)}
  .op-steps[data-reveal] li{transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(var(--i,0) * 110ms)}
}

/* Questions (the home page accordion, v5-qa-item in sections-v5.css) */
.op-qa .v5-qa-list{margin-top:22px}
.op-qa .v5-qa-item summary h3{font-size:clamp(19px,1.9vw,26px)}

/* Reading on, facts, author */
.op-read{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;list-style:none;margin:22px 0 0;padding:0}
.op-read li{border-top:1px solid var(--line)}
.op-read a{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;font-size:17px;line-height:1.5}
.op-read a small{display:block;font-size:13.5px;color:var(--yd-muted)}
.op-read a>span:last-child{flex:none;color:var(--green);transition:transform .3s var(--ease)}
.op-read a:hover{color:var(--yd-gdark)}
.op-read a:hover>span:last-child{transform:translate(-4px,-4px)}
.op-read-h{margin:34px 0 0;font-size:20px;font-weight:600}
.op-end{max-width:900px}
.op-end .yd-facts{margin-top:0}
.op-end .yd-author{margin-top:1.6em}

@media(prefers-reduced-motion:no-preference){
  .xr-armed .op-meter[data-reveal]:not(.is-in) .op-meter-fill{width:0}
  .op-meter[data-reveal] .op-meter-fill{transition:width 1.4s var(--ease) .2s}
}
@media(prefers-reduced-motion:reduce){
  .op-switch-pill,.op-switch button,.op-year>li:before{transition:none}
}

@media(max-width:980px){
  .op-hero-grid{grid-template-columns:1fr;align-items:start}
  .op-meter{max-width:520px}
  .op-auth-grid{grid-template-columns:1fr}
  .op-sticky{order:-1;justify-self:start;margin:0 0 4px}
  .op-solo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .op-solo .yd-video{grid-column:1/-1;max-width:300px}
  .op-year-grid{grid-template-columns:1fr}
  .op-year-video{position:static;max-width:300px}
  .op-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .op-hero h1{font-size:clamp(34px,9.6vw,44px)}
  /* On a phone the buttons come right after the title, above the bot button's corner (QA M-3). Focus order is unchanged: the summary has no links */
  .op-hero-copy{display:flex;flex-direction:column}
  .op-hero .yd-answer{order:1}
  .op-quiz{order:2}
  .op-facts{grid-template-columns:1fr}
  .op-facts li{grid-template-columns:auto 1fr;align-items:baseline;column-gap:12px}
  .op-check{grid-template-columns:1fr}
  .op-check h3{font-size:19px}
  .op-check p{font-size:16px}
  .op-switch{display:grid;width:100%}
  .op-switch button{padding:8px 6px;font-size:15px}
  .op-panel{padding:18px 18px 20px}
  .op-year{padding-right:38px;gap:26px}
  .op-year:before,.op-year:after{right:8px}
  .op-year>li:before{right:-37px}
  .op-solo-grid{grid-template-columns:1fr}
  .op-solo-col.is-alone{padding-top:0}
  .op-steps{grid-template-columns:1fr}
  .op-read{grid-template-columns:1fr}
  .op-sub,.op-solo-lead{font-size:17px}
}
