@font-face{font-family:'Heebo';font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/heebo-hebrew-wght-normal.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:'Heebo';font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/heebo-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Suez One';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/suez-one-hebrew-400-normal.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:'Suez One';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/suez-one-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+2000-206F}
/* Instagram look. Light by default, dark by the phone's setting. */
:root{
  --bg:#fff; --fg:#262626; --muted:#737373; --line:#DBDBDB; --chip:#EFEFEF;
  --blue:#0095F6; --blue-press:#1877F2;
  --bar:rgba(255,255,255,.72);
  --grad:linear-gradient(45deg,#FEDA75 0%,#FA7E1E 25%,#D62976 50%,#962FBF 75%,#4F5BD5 100%);
  --ring-grad:conic-gradient(from 200deg,#FEDA75,#FA7E1E,#D62976,#962FBF,#4F5BD5,#FEDA75);
  --font:"Heebo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --display:"Suez One","Heebo",serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#000; --fg:#fff; --muted:#A8A8A8; --line:#262626; --chip:#262626;
    --bar:rgba(38,38,38,.72);
  }
}
:root[data-theme="dark"]{
  --bg:#000; --fg:#fff; --muted:#A8A8A8; --line:#262626; --chip:#262626;
  --bar:rgba(38,38,38,.72);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);font-size:16px;line-height:1.45}
body.lock{overflow:hidden}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
a{color:inherit}
img{display:block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:6px}

.app{max-width:470px;margin:0 auto;min-height:100vh;padding-bottom:calc(130px + env(safe-area-inset-bottom));
  border-inline:1px solid var(--line)}
@media (max-width:500px){.app{border-inline:0}}

/* top bar */
.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;
  height:54px;padding:0 16px;background:var(--bg);border-bottom:1px solid var(--line)}
.wordmark{font-family:var(--display);font-size:28px;text-decoration:none;line-height:1;letter-spacing:.2px}
.icon-btn{width:44px;height:44px;display:grid;place-items:center;border-radius:50%}
.icon-btn svg{width:26px;height:26px}
.icon-btn[aria-pressed="true"] svg path{fill:#ED4956;stroke:#ED4956}

/* rings */
.ring{display:grid;place-items:center;border-radius:50%;background:var(--ring-grad);flex:none;position:relative}
.ring img{border-radius:50%;object-fit:cover;object-position:50% 20%;border:3px solid var(--bg);background:#EDE8DC}
.ring.plain{background:none}
.ring.plain img{border:1px solid var(--line)}
.ring.big{width:96px;height:96px}.ring.big img{width:90px;height:90px;border-width:3px}
.ring.sm{width:38px;height:38px}.ring.sm img{width:34px;height:34px;border-width:2px}
.ring.xs{width:36px;height:36px}.ring.xs img{width:32px;height:32px;border-width:2px;border-color:#000}

/* stories */
.stories{border-bottom:1px solid var(--line)}
.stories ul{list-style:none;margin:0;padding:14px 12px 12px;display:flex;gap:14px;overflow-x:auto;scrollbar-width:none}
.stories ul::-webkit-scrollbar{display:none}
.story{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;text-decoration:none;background:none;border:0;cursor:pointer}
.story .ring{width:72px;height:72px}
.story .ring img,.story .ring .fill{width:66px;height:66px;border-radius:50%;border:3px solid var(--bg)}
.story .ring.plain img{width:68px;height:68px;border:1px solid var(--line)}
.story .fill{display:grid;place-items:center;background:var(--grad);color:#fff}
.story .fill svg{width:34px;height:34px}
.story .plus{position:absolute;inset-inline-end:-2px;bottom:-2px;width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;
  border:2px solid var(--bg);display:grid;place-items:center;font-size:17px;line-height:1;font-weight:700}
.s-name{font-size:13px;color:var(--fg);max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.story.seen .ring{background:var(--line)}

/* profile */
.profile{padding:16px 16px 12px}
.p-top{display:flex;align-items:center;gap:18px}
.p-who h1{margin:0;font-size:20px;font-weight:700;display:flex;align-items:center;gap:5px}
.check{width:20px;height:20px}
.line{margin:4px 0 0;font-size:15px;line-height:1.4}
.bio{margin:12px 0 0;font-size:15px;color:var(--muted)}
.p-actions{display:flex;gap:8px;margin-top:14px}
.btn{flex:1;display:grid;place-items:center;height:36px;border-radius:8px;background:var(--chip);color:var(--fg);
  font-weight:700;font-size:14px;text-decoration:none}
.btn.primary{background:var(--blue);color:#fff}
.btn.primary:active{background:var(--blue-press)}

/* feed posts */
.feed{border-top:1px solid var(--line)}
.post{border-bottom:1px solid var(--line);padding-bottom:12px;scroll-margin-top:60px}
.p-head{display:flex;align-items:center;gap:10px;padding:10px 12px}
.p-name{font-weight:700;font-size:14px;line-height:1.2}
.p-name small{display:block;font-weight:400;color:var(--muted);font-size:13px}
.media{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  width:100%;aspect-ratio:1/1;overflow:hidden;text-align:center;color:#fff;padding:24px}
.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m-title{font-family:var(--display);font-size:clamp(34px,10vw,48px);line-height:1.05;position:relative}
.m-sub{font-size:17px;font-weight:500;position:relative;opacity:.95}
.m-eyebrow{font-size:15px;font-weight:700;letter-spacing:.3px;position:relative;opacity:.95}
.m-time{font-size:clamp(64px,22vw,96px);font-weight:800;line-height:1;position:relative;font-variant-numeric:tabular-nums;direction:ltr}
.m-bot{background:linear-gradient(135deg,#4F5BD5 0%,#962FBF 40%,#D62976 75%,#FA7E1E 100%)}
.bubble{width:76px;height:76px;position:relative;margin-bottom:6px}
.m-ner{background:linear-gradient(160deg,#962FBF 0%,#D62976 55%,#FA7E1E 100%)}
.m-ner::after{content:"";position:absolute;inset:auto -20% -40% -20%;height:70%;background:radial-gradient(closest-side,rgba(254,218,117,.55),transparent);}
.m-work img{object-position:50% 0}
.m-work::after,.m-lect::after{content:"";position:absolute;inset:0;pointer-events:none}
.m-lect{background:var(--grad)}
.m-lect img{inset:auto;width:46%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:50% 20%;border-radius:12px;position:relative;border:3px solid #fff;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.m-lect .m-title{font-size:clamp(28px,8.5vw,40px);text-shadow:0 2px 10px rgba(0,0,0,.35)}
.m-bot .m-title,.m-ner .m-time,.m-ner .m-sub,.m-bot .m-sub{text-shadow:0 2px 12px rgba(0,0,0,.3)}
.actions{display:flex;gap:4px;padding:6px 6px 0}
.actions .icon-btn{width:40px;height:40px}
.actions .icon-btn svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.actions .sp{flex:1}
.actions [aria-pressed="true"] svg{fill:currentColor}
.actions .like[aria-pressed="true"] svg{fill:#ED4956;stroke:#ED4956}
.caption{padding:2px 14px 0;font-size:15px;line-height:1.5}
.caption b{margin-inline-end:4px}
.more{color:var(--blue);font-weight:700;padding:2px 0}

/* footer */
.foot{padding:26px 16px 10px;text-align:center}
.social{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.social a{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:72px;padding:8px 6px;text-decoration:none;font-size:13px;border-radius:12px}
.social svg{width:30px;height:30px}
.disclaimer{margin:20px 0 6px;font-size:14px;color:var(--muted)}
.legal{margin:0;font-size:13px;color:var(--muted)}
.legal a{text-decoration:none}

/* floating pill tab bar */
.tabbar{position:fixed;z-index:30;inset-inline:0;margin-inline:auto;bottom:calc(14px + env(safe-area-inset-bottom));
  width:min(340px,calc(100% - 32px));height:56px;border-radius:999px;display:flex;justify-content:space-around;align-items:center;
  background:var(--bar);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);
  box-shadow:0 8px 30px rgba(0,0,0,.22);border:1px solid var(--line)}
.tabbar button{width:48px;height:48px;border-radius:50%;display:grid;place-items:center}
.tabbar svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tabbar [aria-current="true"] svg{fill:currentColor}
.tabbar img{width:26px;height:26px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:1.5px solid var(--fg)}

/* expanded post */
.sheet{position:fixed;inset:0;z-index:50;background:var(--bg);overflow-y:auto;overscroll-behavior:contain}
.sheet[hidden],.viewer[hidden]{display:none}
.sheet-in{max-width:470px;margin:0 auto;min-height:100%}
.sheet-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:6px;height:54px;padding:0 8px;background:var(--bg);border-bottom:1px solid var(--line)}
.sheet-hd{font-weight:700}
.sheet-body{padding-bottom:40px}
.sheet-body .media{cursor:default;aspect-ratio:1/1}
.s-pad{padding:18px 18px 0}
.s-pad h2{margin:0 0 8px;font-size:24px;line-height:1.2}
.s-pad p{margin:0 0 12px;font-size:17px;line-height:1.55}
.s-pad .btn{height:46px;font-size:16px;margin-top:8px;flex:none}
.s-list{list-style:none;margin:6px 0 10px;padding:0;border-top:1px solid var(--line)}
.s-list li a{display:flex;justify-content:space-between;align-items:center;padding:13px 2px;border-bottom:1px solid var(--line);text-decoration:none;font-size:16px}
.s-list small{color:var(--muted);font-size:14px}
.s-note{color:var(--muted);font-size:14px}
.fade{animation:fade .3s .18s both}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* story viewer */
.viewer{position:fixed;inset:0;z-index:60;background:#000;display:grid;place-items:center;color:#fff}
.v-frame{position:relative;width:min(100vw,calc(100vh * 9 / 16));height:100vh;height:100dvh;max-height:100dvh;background:#111;overflow:hidden;touch-action:pan-x;
  border-radius:0}
@media (min-width:560px){.v-frame{height:min(100dvh,860px);width:calc(min(100dvh,860px) * 9 / 16);border-radius:14px}}
.bars{position:absolute;z-index:5;top:10px;inset-inline:10px;display:flex;gap:4px}
.bars i{flex:1;height:2.5px;border-radius:2px;background:rgba(255,255,255,.35);overflow:hidden}
.bars i b{display:block;height:100%;width:0;background:#fff}
.v-head{position:absolute;z-index:5;top:20px;inset-inline:10px;display:flex;align-items:center;gap:10px;padding-top:4px;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.v-name{font-weight:700;font-size:15px;flex:1}
.v-close{width:44px;height:44px;display:grid;place-items:center;color:#fff}
.v-close svg{width:26px;height:26px}
.v-media{position:absolute;inset:0}
.v-media video,.v-media img{width:100%;height:100%;object-fit:cover}
.v-text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:90px 28px 120px;background:var(--grad)}
.v-text h3{margin:0;font-family:var(--display);font-size:38px;line-height:1.1;font-weight:400}
.v-text p{margin:0;font-size:21px;line-height:1.5;font-weight:500}
.v-cap{position:absolute;inset-inline:0;bottom:0;padding:70px 20px 28px;background:linear-gradient(transparent,rgba(0,0,0,.7));font-size:20px;font-weight:700;line-height:1.3}
.zone{position:absolute;z-index:4;top:70px;bottom:90px}
.z-prev{right:0;width:35%}.z-next{left:0;width:65%}
.v-link[hidden]{display:none}
.v-link{position:absolute;z-index:6;inset-inline:20px;bottom:24px;display:grid;place-items:center;height:46px;border-radius:8px;background:var(--blue);color:#fff;font-weight:700;text-decoration:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .fade{animation:none}
}

.sheet:focus,.viewer:focus{outline:none}
.sheet-hd{flex:1}
.sheet-bar .icon-btn{width:48px;height:48px}
.v-close{width:48px;height:48px;flex:none}
.v-head .v-name{margin-inline-start:2px}
.v-head .v-close:last-child{margin-inline-start:auto}

/* live mirror of candletimes.com */
.m-ner.live{padding:0;aspect-ratio:4/5;display:block;background:#0F1A3A}
.m-ner.live::after{display:none}
.m-ner.live iframe{position:absolute;top:0;right:0;border:0;width:512px;height:640px;transform-origin:top right;pointer-events:none;background:#0F1A3A}
.m-ner.live .live-link{position:absolute;inset:0;z-index:2}
.live-badge{position:absolute;bottom:10px;left:10px;z-index:3;background:#ED4956;color:#fff;font:700 11px/1 var(--font,Heebo),sans-serif;letter-spacing:.06em;padding:5px 7px;border-radius:5px;pointer-events:none}

/* coming soon + waitlist */
.m-soon{background:linear-gradient(135deg,#4F5BD5 0%,#962FBF 40%,#D62976 75%,#FA7E1E 100%)}
.m-soon::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.22),transparent 60%);animation:soonGlow 3.2s ease-in-out infinite}
@keyframes soonGlow{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.m-soon::before{animation:none}}
.m-lock,.m-sun{width:54px;height:54px;position:relative;filter:drop-shadow(0 2px 10px rgba(0,0,0,.25))}
.m-soon .m-title,.m-soon .m-sub{text-shadow:0 2px 12px rgba(0,0,0,.3)}
.m-soon .m-sub{font-size:17px;font-weight:500}
.wait{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.wait input,.write input,.write textarea{width:100%;box-sizing:border-box;font:inherit;font-size:16px;color:var(--fg);background:var(--chip);border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.wait input:focus,.write input:focus,.write textarea:focus{outline:2px solid var(--blue);outline-offset:0;border-color:transparent}
.wait .btn{height:46px;font-size:16px;flex:none}
.w-note,.form-privacy{color:var(--muted);font-size:12.5px;line-height:1.5;margin:2px 0 0}
.w-note a,.form-privacy a{color:inherit;text-decoration:underline}
.w-done{font-weight:700;font-size:17px;line-height:1.6;margin:10px 0 0;padding:16px 18px;border-radius:14px;background:#E3F7EA;color:#0B5D33;border:1px solid #9FDDB6}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .w-done{background:#0F3B24;color:#B9F2CF;border-color:#1F7A47}}
:root[data-theme="dark"] .w-done{background:#0F3B24;color:#B9F2CF;border-color:#1F7A47}
.f-status{min-height:1.4em;font-size:14px;color:var(--muted)}
.story.soon .ring .fill{background:linear-gradient(135deg,#4F5BD5,#962FBF,#D62976)}
.write-box{padding:22px 16px 8px;border-top:1px solid var(--line)}
.write-box h2{margin:0 0 6px;font-size:20px}
.write{display:flex;flex-direction:column;gap:10px}
.write p{margin:0}
.write label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:14px}
.write .send{height:46px;font-size:16px;flex:none}
.story.wa .ring .fill{background:#25D366}
a.story{color:inherit;text-decoration:none}

/* 31.10 Itzik: the candle site as a mini phone, the soon text inside the post, "הרצאה" over the photo */
.m-ner.live{display:grid;place-items:center;background:linear-gradient(160deg,#1B2350 0%,#0F1A3A 55%,#3A2A12 100%)}
.m-ner.live .mini{position:relative;height:86%;aspect-ratio:390/844;border-radius:24px;overflow:hidden;border:5px solid #0b0b0b;box-shadow:0 14px 40px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.12);background:#0F1A3A}
.m-ner.live .mini iframe{position:absolute;top:0;right:0;width:390px;height:844px;border:0;transform-origin:top right;pointer-events:none}
.m-soon{gap:10px}
.m-note{position:relative;max-width:300px;font-size:16px;line-height:1.5;font-weight:500;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.m-cta{position:relative;margin-top:6px;background:#fff;color:#262626;font-weight:700;font-size:16px;padding:10px 22px;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.m-lect .m-eyebrow{font-family:var(--display);font-size:22px;letter-spacing:0;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.m-sun{width:84px;height:84px;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.85),0 6px 24px rgba(0,0,0,.25)}
.m-shword{width:min(62%,250px);height:auto;position:relative;filter:drop-shadow(0 3px 14px rgba(0,0,0,.28))}
/* 1.11: the Shachar post, softer and clearer: small logo, big words */
.m-soon{background:linear-gradient(170deg,#FFF6E6 0%,#FFE3C4 55%,#FBC9B4 100%);color:#2B2118;gap:8px}
.m-soon::before{background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.7),transparent 55%)}
.m-soon .m-shword{width:min(30%,120px);filter:none;margin-bottom:4px}
.s-chip{position:relative;font-size:13px;font-weight:700;letter-spacing:.4px;color:#8A5A1E;background:rgba(242,165,22,.18);padding:4px 12px;border-radius:999px}
.s-head{position:relative;font-size:clamp(24px,7.2vw,29px);font-weight:800;line-height:1.15;text-wrap:balance;max-width:330px}
.s-lead{position:relative;font-size:clamp(19px,5.6vw,23px);font-weight:600;line-height:1.3;text-wrap:balance}
.s-note{position:relative;max-width:300px;font-size:16px;line-height:1.5;color:#5A4A3C;text-wrap:balance}
.m-soon .m-cta{background:#2B2118;color:#FFF6E6;box-shadow:0 6px 18px rgba(43,33,24,.18);margin-top:8px}

/* 1.11: his face and handle on top of the Shachar card, for people who come from the invite link */
.s-by{position:relative;display:inline-flex;align-items:center;gap:10px;margin-bottom:10px;padding:5px 5px 5px 16px;border-radius:999px;background:rgba(255,255,255,.7);box-shadow:0 2px 10px rgba(43,33,24,.08);color:#2B2118;font-weight:700;font-size:16px;line-height:1.15;text-align:right}
.m-soon .s-by img,.s-by img{position:static;inset:auto;transform:none;flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #F2A516}
.s-by>span{position:static;display:block}
.s-by small{display:block;font-size:13px;font-weight:500;color:#7A5E48}

.s-home{display:flex;width:100%;justify-content:center;margin-top:14px}
/* 1.11, Itzik: the IT Solution logo on everything he builds, top corner of the Shachar post and card */
.m-soon .s-its{position:absolute;inset:auto;top:12px;left:12px;width:auto;height:26px;object-fit:contain;z-index:2;transform:none}
