/* The regular site under the skull story (calm.js): a pearl sheet that slides up over the story's held last frame, in
   the app's look — Manrope, graphite ink, emerald as the one accent, the system's own cards (cards.css) inside quiet
   panels. One idea per section: a big line, one short sentence, a picture that moves. */
/* Motion tokens (Emil Kowalski's curves): entering and leaving use --ease-out, moving on screen uses --ease-in-out. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1)}
html{scroll-behavior:smooth}
/* The cards' accents (cards.css): emerald's soft glow, and the app's warm "waiting" tone for what is owed. */
.calm{--calm-glow:color-mix(in srgb,var(--zl-brand-emerald) 30%,transparent);--calm-owed:#e9d1a3}
.calm{position:relative;z-index:6;background:var(--zl-brand-pearl);border-radius:2.2rem 2.2rem 0 0;box-shadow:0 -1.6rem 3.2rem -1.8rem color-mix(in srgb,var(--zl-brand-graphite) 28%,transparent);font-family:var(--zl-font);color:var(--zl-brand-graphite);outline:none}
.story-footer,.progress{transition:opacity .3s var(--ease-out)}
.is-in-site .story-footer,.is-in-site .progress{opacity:0}
.is-past-story .stage,.is-past-story .copy-layer,.is-past-story .system-window{visibility:hidden}
.is-past-story .copy-layer *{visibility:hidden!important}

/* Text rises in once, as it first comes into view (only with JavaScript; without it everything simply shows). */
.calm-js .calm-reveal{opacity:0;translate:0 1rem;transition:opacity .6s var(--ease-out),translate .7s var(--ease-out)}
.calm-js .calm-reveal.is-in{opacity:1;translate:0 0}

.calm-trust{margin:0;padding:2.8rem 16px 0;text-align:center;font-size:.85rem;color:var(--zl-muted)}
.calm-trust span{display:inline-flex;gap:1.6rem;margin-inline-start:1.4rem;font-size:1.02rem;letter-spacing:-.01em;color:var(--zl-ink)}
.calm-trust b{font-weight:600}
.calm-band{padding:clamp(5rem,14vh,9rem) 0}
.calm-wrap{max-width:1180px;margin:0 auto;padding:0 max(clamp(16px,5vw,64px),env(safe-area-inset-right,0px)) 0 max(clamp(16px,5vw,64px),env(safe-area-inset-left,0px))}
.calm-eyebrow{margin:0 0 1.1rem;font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--zl-brand-emerald)}
html .calm h2{margin:0;font-family:inherit;font-weight:500;font-size:clamp(2.3rem,4.3vw,4rem);line-height:1.04;letter-spacing:-.04em;text-wrap:balance;color:var(--zl-brand-graphite)}
.calm h3{margin:0;font-size:clamp(1.65rem,2.5vw,2.4rem);font-weight:500;line-height:1.1;letter-spacing:-.032em;text-wrap:balance}
.calm-copy p{margin:1.1rem 0 0;max-width:24rem;font-size:1.1rem;line-height:1.6;color:var(--zl-muted)}
.calm-head{max-width:44rem;margin-bottom:clamp(2.5rem,7vh,4.5rem)}

/* The pain: the photo, the messages arriving over its corner, three short lines beside it. */
.calm-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(2.5rem,6vw,6rem);align-items:center}
.calm-photo{position:relative;margin:0}
.calm-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:1.6rem;box-shadow:0 2.4rem 4rem -2.6rem color-mix(in srgb,var(--zl-brand-graphite) 45%,transparent)}
.calm-notes{position:absolute;top:7%;inset-inline-end:-5%;width:min(20rem,64%)}
.calm-notes .chaos-card{inset-inline:0;--blur:0px;transform-origin:50% 100%;transition:transform .6s var(--ease-out),opacity .45s var(--ease-out)}
.calm-pains{list-style:none;margin:2.2rem 0 0;padding:0;display:grid;gap:1.15rem}
.calm-pains li{position:relative;padding-inline-start:1.4rem;font-size:1.1rem;line-height:1.5;color:var(--zl-muted)}
.calm-pains li::before{content:'';position:absolute;inset-inline-start:0;top:.6em;width:.45rem;height:.45rem;border-radius:50%;background:#e9d1a3;box-shadow:0 0 0 .22rem color-mix(in srgb,#e9d1a3 35%,transparent)}
.calm-pains b{font-weight:600;color:var(--zl-ink)}

/* How it works: a short line beside a quiet panel, sides alternating; each panel holds one moving piece. */
.calm-row{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2rem,6vw,6rem);align-items:center;padding:clamp(2.5rem,7vh,4.5rem) 0;border-top:1px solid var(--s-line)}
.calm-row.is-flip{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}   /* the panel keeps the wide column on either side */
.calm-row.is-flip .calm-copy{order:2}
.calm-step{display:block;margin-bottom:1.1rem;font-size:.8rem;font-weight:600;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:var(--zl-brand-emerald)}
.calm-stage{position:relative;min-height:27rem;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2.6rem clamp(1.2rem,3vw,2.6rem);border-radius:1.8rem;overflow:hidden;font-size:clamp(11px,.98vw,14px);color:var(--s-ink);
 background:radial-gradient(ellipse at 18% 0%,var(--zl-white),transparent 62%),radial-gradient(ellipse at 100% 100%,var(--s-sage),transparent 60%),color-mix(in srgb,var(--zl-white) 30%,var(--zl-brand-pearl));border:1px solid var(--s-line)}
.calm-folder{width:min(35em,100%);perspective:110em;perspective-origin:30% 0}
.calm .c6-slot{position:relative}
.calm-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.7em;margin-top:2.2em}
.calm-talk-orb{position:relative;flex:none;width:9em;height:9em;margin-bottom:1.5em}
.calm-talk-orb .c7-ring{inset:0}
.calm .c7-said{margin:0;max-width:27em;text-align:center;font-size:1.38em;font-weight:400;line-height:1.45;letter-spacing:-.015em;color:var(--s-ink-2);text-wrap:balance;transition:color 1s ease}
.calm .c7-fields{display:flex;flex-wrap:wrap;justify-content:center;gap:.6em;margin-top:1.8em;max-width:36em}
.calm-stage[data-motion=thread]{align-items:stretch;justify-content:flex-start}
.calm-thread-head{display:flex;flex-direction:column;gap:.3em;opacity:0}
.calm-thread-head strong{font-size:1.6em;font-weight:500;letter-spacing:-.03em}
.calm-thread-head span{font-size:.92em;color:var(--s-ink-3)}
.calm-stage .c6-bar{margin-top:1.5em}
.calm-stage .c6-thread{width:auto;margin-top:2.1em;padding-top:0}
.calm-stage[data-motion=money]{font-size:clamp(10px,.86vw,12.5px)}
.calm-stage .c8-col{width:min(40em,100%)}
.calm-stage .c8-figure{font-size:6.6em}

/* Who it's for: three people at work, one line each. */
.calm-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2.2vw,1.8rem)}
.calm-person{margin:0}
.calm-person img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:var(--focus,50% 50%);border-radius:1.4rem}
.calm-person figcaption{display:flex;flex-direction:column;gap:.35rem;padding:1.15rem .2rem 0}
.calm-person b{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--zl-ink)}
.calm-person span{font-size:1rem;line-height:1.5;color:var(--zl-muted)}
.calm-people .calm-person:nth-child(2){transition-delay:70ms}.calm-people .calm-person:nth-child(3){transition-delay:140ms}
/* The live price (pricing.js): hidden until the book answers. One big line, the trial, the bands and the examples. */
.calm-pricing[hidden]{display:none}
.price-lead{margin:1.1rem 0 0;max-width:30rem;font-size:1.1rem;line-height:1.6;color:var(--zl-muted)}
.price-from{margin:0;font-size:clamp(2.3rem,4.3vw,4rem);font-weight:500;line-height:1.04;letter-spacing:-.04em;color:var(--zl-brand-graphite)}
.price-trial{display:inline-block;margin:1.1rem 0 0;padding:.4rem .95rem;border-radius:999px;background:color-mix(in srgb,var(--zl-brand-emerald) 14%,transparent);font-size:.95rem;font-weight:600;color:var(--zl-brand-graphite)}
.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,2.2vw,1.8rem);margin-top:clamp(2rem,5vh,3.2rem)}
.price-grid>div{padding:clamp(1.3rem,2.4vw,2rem);border-radius:1.4rem;background:color-mix(in srgb,var(--zl-brand-graphite) 4%,transparent)}
.price-grid h3{margin:0 0 1rem;font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--zl-brand-emerald)}
.price-bands,.price-examples{margin:0;padding:0;list-style:none}
.price-bands li,.price-examples li{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid color-mix(in srgb,var(--zl-brand-graphite) 10%,transparent);font-size:1.05rem;color:var(--zl-muted)}
.price-bands li:first-child,.price-examples li:first-child{border-top:0}
.price-bands b,.price-examples b{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--zl-ink)}
@media (max-width:860px){.price-grid{grid-template-columns:minmax(0,1fr)}}
/* The header: graphite on pearl, its sign-up pill; on phones only the brand, the language and the pill. */
.header nav{align-items:center}
/* The language pill keeps its own padding (site.css gives header links tall 12px 0 padding for their underline). */
.header nav .language-switch{padding:6px 12px;line-height:1.2;white-space:nowrap}
.header nav .nav-cta{margin-inline-start:4px;padding:8px 16px;border-radius:999px;background:var(--zl-brand-graphite);color:var(--zl-brand-pearl);font-weight:600;letter-spacing:-.005em}
@media (hover:hover) and (pointer:fine){.header nav .nav-cta:hover{background:var(--zl-ink-2)}}
/* Press feedback on every button-like link: instant and subtle (Emil Kowalski: scale .97, 160 ms, ease-out). */
.calm .calm-cta,.calm .calm-signin,.header .nav-cta{transition:transform 160ms var(--ease-out),filter .2s ease,background .3s ease,border-color .2s ease}
.calm .calm-cta:active,.calm .calm-signin:active,.header .nav-cta:active{transform:scale(.97)}
.calm .calm-signin{display:inline-block}

/* The end: the globe turning, the lock-up drawing its 0, the sign-up. */
.calm-end{display:flex;flex-direction:column;align-items:center;padding-bottom:5.5rem;text-align:center}
.calm-globe{position:relative;width:min(34rem,82vw);aspect-ratio:1;-webkit-mask:linear-gradient(to bottom,#000 52%,transparent 94%);mask:linear-gradient(to bottom,#000 52%,transparent 94%)}
.calm-globe canvas{display:block;width:100%;height:100%;filter:invert(1)}
.calm-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem 1.5rem;margin:-3.4rem 0 0;font-size:.8rem;font-weight:500;color:var(--s-ink-2)}
.calm-legend span{display:inline-flex;align-items:center;gap:.55rem}
.calm-legend i{width:.55rem;height:.55rem;border-radius:50%;background:var(--zl-brand-emerald);box-shadow:0 0 0 .18rem color-mix(in srgb,var(--zl-brand-emerald) 22%,transparent)}
.calm-legend i.is-clinic{width:.34rem;height:.34rem}
.calm-legend i.is-supplier{width:.45rem;height:.45rem}
.calm-legend small{padding-inline-start:1.5rem;border-inline-start:1px solid var(--s-line);font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--s-ink-3)}
/* The lock-up is the brand file with its own 0 clipped off and the 0 drawn over it (cards.css .calm-zero, .calm-word); the
   box sits 8.75% of itself right so the drawing itself is centred. Without JavaScript it is simply whole. */
.calm .calm-lockup{position:relative;flex:none;width:min(26rem,72vw);aspect-ratio:400/120;margin:3rem 0 0;translate:8.75% 0;direction:ltr;color:var(--zl-brand-graphite);--draw:1;--word:1}   /* the mark reads left to right in every language */
.calm-js .calm-lockup{--draw:0;--word:0}
.calm-join p{margin:1.1rem auto 0;max-width:27rem;font-size:1.2rem;line-height:1.55;letter-spacing:-.012em;color:var(--zl-muted);text-wrap:balance}
.calm .calm-actions{margin-top:2.2rem}

.calm-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;max-width:1180px;margin:0 auto;padding:2rem max(clamp(16px,5vw,64px),env(safe-area-inset-right,0px)) calc(2.6rem + env(safe-area-inset-bottom,0px)) max(clamp(16px,5vw,64px),env(safe-area-inset-left,0px));border-top:1px solid var(--s-line);font-size:.86rem;color:var(--zl-muted)}
.calm-foot nav{display:flex;flex-wrap:wrap;gap:1.6rem}
.calm-foot a{color:var(--zl-ink);text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 30%,transparent);text-underline-offset:.22em}
@media (hover:hover) and (pointer:fine){.calm-foot a:hover{text-decoration-color:currentColor}}
.calm-foot small{flex-basis:100%;font-size:.76rem;color:var(--s-ink-3)}

@media (max-width:860px){
 .calm-split,.calm-row{grid-template-columns:minmax(0,1fr)}
 .calm-row.is-flip{grid-template-columns:minmax(0,1fr)}
 .calm-row.is-flip .calm-copy{order:0}
 .calm-notes{inset-inline-end:3%;width:min(18rem,70%)}
 .calm-stage{min-height:0}
 .calm-people{grid-template-columns:minmax(0,1fr)}
 .calm-person img{aspect-ratio:4/3}
}
@media (max-width:650px){
 .header nav{display:flex}.header nav a:not(.nav-cta):not(.language-switch){display:none}
 .header nav .nav-cta{margin:0;padding:8px 14px;font-size:12px}
 .calm{border-radius:1.4rem 1.4rem 0 0}
 /* The case folder fits a phone: a slimmer panel edge, the names wrap, and the tucked-in delivery sheet (a flourish
    that would cover the patient's name) stays out. */
 .calm-stage{padding:1.6rem .8rem}
 .calm-stage .c6-sheet{display:none}
 .calm-stage .c6-body{padding:1.5em 1.2em 1.2em}
 .calm-stage .c6-route b{white-space:normal}
 .calm-stage .c6-name{font-size:2em}
 .calm-trust span{display:flex;justify-content:center;margin:.6rem 0 0}
 .calm-notes .chaos-card{font-size:12px}
 .calm-legend small{flex-basis:100%;padding-inline-start:0;border-inline-start:0;font-size:11px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.calm-js .calm-reveal{translate:none;transition:opacity .4s ease}}
/* The language choice (English · עברית · Deutsch) in one pill on every page; the page's own language is marked and is
   not a link. On a phone each shows its short name (data-short), so the brand, the three and Sign up fit one row. */
.header nav .language-choice{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #bbc4bc;border-radius:20px;font-size:12px;line-height:1.2}
.header nav .language-choice .language-switch,.header nav .language-current{border:0;padding:5px 10px;border-radius:16px;white-space:nowrap}
.header nav .language-current{background:color-mix(in srgb,var(--zl-brand-graphite) 9%,transparent);font-weight:600}
/* Below a wide screen the header gets tight (German is long): the languages show their short names, no header word
   breaks onto a second line, and between phone and computer sizes the two section links give way (they are in the page). */
.header nav a{white-space:nowrap}
@media (max-width:1100px){
 .header nav .language-choice .language-switch,.header nav .language-current{padding:5px 7px;font-size:0}
 .header nav .language-choice .language-switch::after,.header nav .language-current::after{content:attr(data-short);font-size:11px}
}
@media (min-width:651px) and (max-width:900px){.header nav a[href^="#"]{display:none}}
@media (max-width:650px){
 .header nav{gap:10px}.header .brand img{width:112px}
 .header nav .language-choice .language-switch,.header nav .language-current{padding:5px 6px}
}
@media (max-width:360px){
 .header nav{gap:6px}.header .brand img{width:92px}
 .header nav .nav-cta{padding:8px 10px}
 .header nav .language-choice .language-switch,.header nav .language-current{padding:5px 4px}
}
