@font-face{font-family:Karantina;font-weight:700;font-display:swap;src:url(fonts/karantina-700-hebrew.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Karantina;font-weight:700;font-display:swap;src:url(fonts/karantina-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+2013-2014,U+2018-201E,U+2026}
@font-face{font-family:Karantina;font-weight:400;font-display:swap;src:url(fonts/karantina-400-hebrew.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Frank;font-weight:300 900;font-display:swap;src:url(fonts/frank-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Frank;font-weight:300 900;font-display:swap;src:url(fonts/frank-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Heebo;font-weight:100 900;font-display:swap;src:url(fonts/heebo-400-hebrew.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:100 900;font-display:swap;src:url(fonts/heebo-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+2013-2014,U+2018-201E,U+2026}
:root{--paper:#f3eee4;--paper-2:#ebe3d3;--ink:#14213d;--ink-2:#4a5368;--mute:#7b7f8c;--rule:#e2d6bd;--navy:#0f2346;--navy-2:#18335f;--gold:#c9a24a;--gold-l:#e6c97f;--gold-d:#a57d2c;--mark:#ffd23f;--wa:#1fa855;--wa-d:#178a45}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--paper);color:var(--ink);font-family:Heebo,system-ui,sans-serif;-webkit-text-size-adjust:100%}
body{position:relative;height:100vh;height:100dvh;overflow:hidden}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
[hidden]{display:none!important}
h1,h2{font-family:Heebo,sans-serif;font-weight:900}
/* ===== full-screen photo ===== */
#viewer{position:fixed!important;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:var(--navy);touch-action:none}
#tagLayer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#marker{position:absolute;left:0;top:0;border:3px solid var(--mark);border-radius:50%;pointer-events:none;z-index:3;display:none;box-sizing:border-box}
#marker::after{content:"";position:absolute;inset:-6px;border:1.5px solid rgba(0,0,0,.65);border-radius:50%}
.fab{width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(230,201,127,.9);background:rgba(15,35,70,.62);color:#fff;display:grid;place-items:center;padding:0;font-size:24px;font-weight:600;line-height:1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fab svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.fab svg .f{fill:#fff;stroke:none}
.fab.js-lang{font-size:15px;font-weight:700;letter-spacing:.3px}
.fab-top{position:fixed;top:calc(10px + env(safe-area-inset-top));inset-inline-end:10px;display:flex;gap:8px;z-index:30}
.fab-zoom{position:fixed;inset-inline-end:10px;bottom:calc(34px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px;z-index:6}
body.intro-open .fab-top .fab:not(.js-lang),body.intro-open .fab-zoom,body.intro-open .fab-lbl,body.sheet-open .fab-top,body.sheet-open .fab-zoom,body.sheet-open .fab-lbl{display:none}
.photo-credit{position:fixed;bottom:calc(6px + env(safe-area-inset-bottom));inset-inline-start:10px;z-index:5;margin:0;font-size:10.5px;line-height:1.3;color:rgba(255,255,255,.88);background:rgba(15,35,70,.5);padding:2px 8px;border-radius:999px}
.photo-credit a{color:#fff;text-decoration:none}
.toast{position:fixed;left:50%;transform:translateX(-50%);top:calc(66px + env(safe-area-inset-top));z-index:7;max-width:calc(100% - 28px);width:max-content;background:rgba(15,35,70,.86);color:#fff;border:1px solid rgba(230,201,127,.7);border-radius:14px;padding:9px 16px;font-size:15.5px;line-height:1.4;text-align:center;pointer-events:none}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:8;background:var(--paper);border-top:2px solid var(--gold);padding:14px 16px calc(12px + env(safe-area-inset-bottom));text-align:center;box-shadow:0 -6px 20px rgba(15,35,70,.18)}
.bar-text{margin:0 0 12px;font-size:17px;line-height:1.45;color:var(--ink)}
.bar-tag{margin:0 0 12px}
.bar-tag b{display:block;font-weight:900;font-size:28px;line-height:1.1;color:var(--navy)}
.bar-tag span{color:var(--ink-2);font-size:16px}
.row{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}
.primary{background:var(--navy);border:2px solid var(--gold);color:#fff;font-weight:800;font-size:18px;min-height:52px;padding:10px 26px;border-radius:999px}
.primary:active{background:var(--navy-2)}
.primary[disabled]{opacity:.45}
.plain,.btn{background:transparent;border:1.5px solid var(--navy);color:var(--navy);font-size:17px;font-weight:600;min-height:50px;padding:10px 20px;border-radius:999px;line-height:1.5;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.plain.icon{min-width:50px;padding:0}
/* ===== sheets (form / search / result) ===== */
.sheet{position:fixed;inset:0;z-index:20;background:var(--paper);overflow:auto;-webkit-overflow-scrolling:touch}
.panel-in,.render-in{padding:calc(18px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px}
.panel h2,.render h2{font-size:32px;line-height:1.1;margin:0;color:var(--navy)}
.panel h2::after,.render h2::after{content:"";display:block;width:120px;height:9px;margin:10px auto 0;background:linear-gradient(var(--gold),var(--gold)) center/100% 1px no-repeat,linear-gradient(45deg,transparent 40%,var(--gold-l) 40% 60%,transparent 60%) center/9px 9px no-repeat}
label{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:17px;font-weight:600;color:var(--ink);width:100%}
.req{color:var(--gold-d)}
input[type=text],input:not([type]),input[type=search]{font:inherit;font-size:18px;min-height:52px;padding:11px 14px;border:1.5px solid #d4c39c;background:#fff;color:var(--ink);border-radius:12px;width:100%;text-align:center}
input:focus{border-color:var(--navy);outline:none}
input::placeholder{color:#a69c8f}
.results{list-style:none;margin:0;padding:0;width:100%;display:flex;flex-direction:column;gap:8px}
.results li button{display:block;width:100%;text-align:center;background:#fff;border:1px solid #ecdfc4;border-radius:12px;padding:12px;min-height:58px}
.results b{display:block;font-size:19px;color:var(--navy)}
.results span{font-size:15px;color:var(--ink-2)}
.note{font-size:15px;color:var(--mute);line-height:1.5;margin:0}
#preview,#result{width:min(58vw,270px);aspect-ratio:9/16;height:auto;background:var(--navy);display:block;border:2px solid var(--gold);border-radius:10px}
.progress{width:100%;max-width:360px;height:6px;background:var(--rule);border-radius:3px;overflow:hidden}
.progress i{display:block;height:100%;width:0;background:var(--gold)}
.adjust{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;background:#fff;border:1px solid #ecdfc4;border-radius:14px;padding:12px}
#framePrev{width:min(46vw,190px);aspect-ratio:9/16;height:auto;background:var(--navy);touch-action:none;cursor:grab;border:2px solid var(--gold);border-radius:8px}
.adjust-ctl{width:100%}
.adj-title{margin:0 0 2px;font-size:17px;font-weight:700;color:var(--navy)}
.adjust-ctl .note{margin:0 0 6px}
.zoomrow{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--mute)}
.zoomrow input{flex:1;min-width:0;height:44px;accent-color:var(--navy)}
.wa-btn{background:var(--wa);border:0;color:#fff;font-weight:800;font-size:21px;min-height:62px;width:100%;max-width:360px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 3px 10px rgba(23,138,69,.3)}
.wa-btn:active{background:var(--wa-d)}
.wa-btn svg{width:28px;height:28px;fill:#fff}
#resultActions{flex-direction:column;width:100%}
/* ===== opening overlay ===== */
.intro{display:flex;flex-direction:column;overflow:hidden;background:var(--paper)}
.hero{position:relative;flex:0 0 auto;background:var(--navy);color:#fff}
.hero-photo{position:relative;padding-top:env(safe-area-inset-top);background:var(--navy)}
.hero-photo img{display:block;width:100%;height:auto}
.hero-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:46%;background:linear-gradient(to bottom,rgba(15,35,70,0),var(--navy))}
.hero-text{position:relative;z-index:2;text-align:center;padding:clamp(2px,.6vh,8px) 18px 0;margin-top:clamp(-14px,-1.4vh,-6px)}
.hero-text h1{margin:0;font-weight:900;font-size:min(6.6vh,12vw,66px);line-height:1.02;letter-spacing:-.5px;color:#fff}
.gold-rule{display:flex;align-items:center;justify-content:center;gap:8px;margin:clamp(8px,1.3vh,14px) auto clamp(6px,1vh,10px);width:66%}
.gold-rule i{flex:1;height:1px;background:linear-gradient(to left,rgba(201,162,74,0),var(--gold))}
.gold-rule i:last-child{background:linear-gradient(to right,rgba(201,162,74,0),var(--gold))}
.gold-rule b{width:7px;height:7px;background:var(--gold-l);transform:rotate(45deg);flex:0 0 auto}
.hero .kicker{margin:0;font-size:min(2.6vh,5vw,22px);line-height:1.3;font-weight:600;color:var(--gold-l);padding:0 10px}
.hero-curve{display:block;width:100%;height:clamp(22px,3.6vh,34px);margin-bottom:-1px;background:var(--paper)}
.hero-curve .navy{fill:var(--navy)}
.hero-curve .gold{fill:none;stroke:var(--gold);stroke-width:2;vector-effect:non-scaling-stroke}
.how{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding:0 18px;gap:clamp(8px,1.6vh,16px)}
.steps3{list-style:none;margin:0;padding:0;display:flex;align-items:flex-start;justify-content:center;gap:6px;width:100%;max-width:440px}
.steps3 li{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:min(2.1vh,4vw,16px);font-weight:700;line-height:1.2;color:var(--navy)}
.steps3 li.arr{flex:0 0 auto;font-size:26px;color:var(--gold-d);padding-top:min(2.2vh,16px);font-weight:400}
html[dir=ltr] .steps3 li.arr{transform:scaleX(-1)}
.steps3 .ico{width:min(7.4vh,62px);height:min(7.4vh,62px);border-radius:50%;background:#fff;border:1.5px solid var(--gold);display:grid;place-items:center}
.steps3 .ico svg{width:56%;height:56%;fill:none;stroke:var(--navy);stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.steps3 .ico svg .f{fill:var(--navy);stroke:none}
.mode{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:440px;border:2px solid var(--navy);border-radius:16px;padding:4px;gap:4px;background:#fff}
.mode button{border:0;border-radius:12px;background:transparent;color:var(--navy);padding:min(1.3vh,11px) 6px;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:58px;justify-content:center}
.mode button b{font-size:min(2.4vh,4.6vw,19px);font-weight:800;line-height:1.15}
.mode button small{font-size:min(1.8vh,3.5vw,14px);color:var(--ink-2)}
.mode button[aria-checked=true]{background:var(--navy);color:#fff}
.mode button[aria-checked=true] small{color:var(--gold-l)}
.cta{width:100%;max-width:440px;min-height:min(8vh,64px);border-radius:999px;background:var(--navy);color:#fff;border:2px solid var(--gold);font-size:min(3vh,5.6vw,24px);font-weight:900;padding:6px 22px}
.cta:active{background:var(--navy-2)}
.site-foot{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--rule);background:var(--paper-2)}
.foot-logo{display:block;flex:0 0 auto;background:var(--navy);border-radius:8px;padding:5px 9px}
.foot-logo img{display:block;height:min(4.4vh,34px);width:auto}
.site-foot .credit{margin:0;font-size:11px;line-height:1.35;color:var(--mute);text-align:center}
.site-foot .credit a{color:var(--ink-2)}
@media (min-width:900px){.hero-photo img{max-height:42vh;object-fit:cover}.hero-text h1{font-size:64px}}
.hero .kicker,.bar-text,.note{text-wrap:balance}
.steps3 .ico svg.wa-g{fill:#1fa855;stroke:none;width:54%;height:54%}
.wa-btn svg.wa-g{fill:#fff;stroke:none;width:28px;height:28px}
.mode button b{text-align:center}
.steps3 li.arr{font-size:22px}
.bar-kicker{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.3px;color:var(--gold-d)}
.gl{list-style:none;margin:0 auto 12px;padding:0;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;max-width:520px}
.gl li{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e3d3ad;border-radius:999px;padding:3px 4px 3px 10px;font-size:15px;font-weight:600;color:var(--navy)}
html[dir=rtl] .gl li{padding:3px 10px 3px 4px}
.gl li b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px}
.gl .x{border:0;background:none;color:var(--mute);width:30px;height:30px;font-size:14px;padding:0}
.gnum{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-size:22px;vertical-align:middle}
.gt-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.gt-list li{background:#fff;border:1px solid #e3d3ad;border-radius:999px;padding:4px 12px;font-weight:600;color:var(--navy)}
.link-hand{background:none;border:0;color:var(--ink-2);text-decoration:underline;text-underline-offset:3px;font-size:15px;padding:6px;min-height:40px}
.brush-wrap{width:min(86vw,420px);aspect-ratio:1;border:2px solid var(--gold);border-radius:10px;overflow:hidden;background:var(--navy)}
#brushCv,#rvCv{width:100%;height:100%;display:block;touch-action:none}
.ba{width:min(80vw,360px);display:flex;flex-direction:column;gap:8px;align-items:center}.ba #rvCv{aspect-ratio:1;border:2px solid var(--gold);border-radius:10px;height:auto}
.ba-t{max-width:240px}
.warn{color:#a3361f}
.hd-link{word-break:break-all;font-weight:700;color:var(--navy);font-size:17px;background:#fff;border:1px solid #e3d3ad;border-radius:12px;padding:10px 14px}
.fab-home{position:fixed;top:calc(10px + env(safe-area-inset-top));inset-inline-start:10px;display:flex;gap:8px;z-index:40}
.fab-lbl{height:46px;border-radius:23px;border:1.5px solid rgba(230,201,127,.9);background:rgba(15,35,70,.62);color:#fff;display:flex;align-items:center;gap:6px;padding:0 14px 0 12px;font-size:15px;font-weight:700;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.fab-lbl svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round}
.intro-search{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:var(--navy);font-weight:700;font-size:min(2.2vh,16px);text-decoration:underline;text-underline-offset:4px;padding:4px 10px;min-height:40px}
.intro-search svg{width:18px;height:18px;fill:none;stroke:var(--navy);stroke-width:2.6;stroke-linecap:round}
.panel-in,.render-in{padding-top:calc(66px + env(safe-area-inset-top))}
.toast{top:calc(66px + env(safe-area-inset-top))}

.site-foot{padding-top:3px}
.site-foot .foot-logo{margin-top:-2px}
.foot-by{display:block;text-decoration:none;color:#13254a;font-size:13px;line-height:1.3;text-align:center}
.foot-by b{font-size:16px;font-weight:800}
.foot-by .ph{direction:ltr;unicode-bidi:isolate}

.srch-disc{font-size:12.5px;color:var(--mute);text-align:center;margin:6px 0 4px;line-height:1.4;opacity:.85}

@media (min-width:900px){.hero-photo img{max-height:30vh}.hero-text h1{font-size:clamp(30px,5.6vh,56px);line-height:1.08}.hero .kicker{font-size:clamp(14px,2.2vh,20px)}.how{gap:clamp(6px,1.2vh,14px);padding-top:6px;padding-bottom:6px}.steps3 .ico{width:clamp(34px,5vh,46px);height:clamp(34px,5vh,46px)}}
@media (min-width:900px) and (max-height:700px){.hero-photo img{max-height:24vh}.site-foot .foot-logo{max-height:30px;width:auto}}
/* ===== kids' photo (כינוס צעירי השלוחים) ===== */
.photo-pick{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:440px;margin:clamp(8px,1.3vh,14px) auto 0;padding:0 4px}
.photo-pick[hidden]{display:none}
.photo-pick button{font-family:Heebo,sans-serif;font-weight:700;font-size:min(2.25vh,4.2vw,18px);line-height:1.15;min-height:min(6vh,48px);padding:4px 8px;border-radius:999px;
  border:2px solid var(--gold);background:transparent;color:var(--gold-l);cursor:pointer}
.photo-pick button[aria-checked=true]{background:var(--gold-l);color:var(--navy);border-color:var(--gold-l);box-shadow:0 2px 10px rgba(0,0,0,.25)}
body.kids .adult-only{display:none!important}
.bar-tag .own-note{display:block;font-size:12px;color:var(--mute);margin-top:2px}

.photo-pick{max-width:300px;margin:clamp(4px,.9vh,10px) auto 0;gap:6px}
.photo-pick button{min-height:min(4.6vh,38px);font-size:min(2vh,4vw,16px)}
.try-b{font-size:min(1.7vh,3.4vw,14px);color:var(--gold-l);opacity:.9;text-align:center;margin:4px 0 0;line-height:1.3}
#results .ph-lbl{font-style:normal;font-size:12px;font-weight:700;color:var(--navy);background:var(--gold-l);padding:1px 7px;margin-inline-start:6px;white-space:nowrap}

.fab-lbl.fab-sw{padding:0 10px;font-size:15px;gap:4px}
.fab-lbl.fab-sw svg{width:18px;height:18px}

/* pb6: room for the photo switch — keep "בואו נתחיל" + "חיפוש שליח" above the footer on every phone */
@media (max-width:899px){.hero-photo img{max-height:min(19vh,165px);object-fit:cover;object-position:center 40%}
.hero-text h1{line-height:1.05}.how{gap:clamp(4px,1vh,12px);padding-top:4px;padding-bottom:4px;overflow-y:auto}
.try-b{margin-top:2px}.photo-pick{margin-top:clamp(3px,.7vh,8px)}}
@media (max-width:899px) and (max-height:700px){.hero-photo img{max-height:17vh}.steps3 .ico{width:34px;height:34px}.hero .kicker{font-size:14px}.hero-text h1{font-size:28px}.mode button{min-height:40px}.cta{min-height:46px}}

@media (max-width:899px){.hero-text h1{font-size:clamp(26px,4.3vh,38px)}.gold-rule{margin:4px auto}.hero .kicker{margin:4px 0 0}}

/* mixed family */
#bar .gph{font-size:.78em;opacity:.75;font-weight:500}
#bar .g-other{display:block;width:100%;margin:6px 0 2px;font-weight:700;color:#0f2346;background:#f3ead2;border:1px solid #e6c97f;border-radius:10px;padding:9px 10px}
