/* Stage 85 — public-site polish, story letter and accessible BaharChat widget. */
:root{--s85-ink:#173f2e;--s85-paper:#fffaf2;--s85-gold:#c4a35f;--s85-line:rgba(31,84,61,.18)}
html{width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth}body,#main-content{width:100%;max-width:100%;margin-inline:0;overflow-x:hidden}.b81-hero,.b81-reviews,.b81-review-viewport{width:100%;max-width:100%;margin-inline:0;overflow-x:hidden}

/* Keep the original cream/glass header at the top and after scrolling. */
.site-header:not(.is-scrolled){background:rgba(255,250,241,.86)!important;border-color:rgba(72,88,73,.22)!important;box-shadow:none!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
html[data-theme=dark] .site-header:not(.is-scrolled){background:rgba(9,25,17,.86)!important;border-color:rgba(215,176,102,.25)!important}
.site-header.is-scrolled{min-height:66px!important;width:min(1140px,calc(100% - 30px))!important}
.is-scrolled .public-header-inner>.brand{font-size:1.52rem!important;gap:10px!important}
.is-scrolled .public-header-inner>.brand img{width:53px!important;height:53px!important}

/* Hero: more of the photograph is visible on desktop, while the title keeps a clean first line. */
.b81-hero{min-height:clamp(610px,72vh,760px)!important}
.b81-hero-copy{width:min(880px,90%)!important}
.b81-hero-copy h1{font-size:clamp(2.45rem,4.2vw,4.1rem)!important;font-weight:950!important;white-space:normal;-webkit-text-stroke:.28px currentColor}
.b81-hero-copy h1>span{display:block}
.b81-download h2{font-weight:850!important;-webkit-text-stroke:.12px currentColor}
.b81-primary{position:relative;z-index:3;pointer-events:auto;cursor:pointer;box-shadow:0 12px 30px rgba(15,78,53,.24)}
.b81-content-thumb{position:relative;overflow:hidden;background-image:none!important}
.b81-content-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.b81-content-thumb::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(rgba(18,54,39,.08),rgba(18,54,39,.25));pointer-events:none}
.b81-content-thumb>svg{position:relative;z-index:2}
@media(min-width:980px){.b81-hero-copy h1{white-space:normal}.b81-hero>img{object-position:center 54%}}

/* Footer has a soft upward curve and only the two requested primary actions. */
.site-footer{position:relative!important;margin-top:95px!important;padding-top:88px!important}
.site-footer::before{content:"";position:absolute;z-index:0;top:-66px;right:-5%;width:110%;height:120px;border-radius:50% 50% 0 0/100% 100% 0 0;background:#164a35}
.site-footer>*{position:relative;z-index:1}
body.stage81-home{background:#eee3cf!important}
body.stage81-home #main-content{background:var(--b81-cream)}
body.stage81-home .site-footer{margin-top:82px!important}
html[data-theme=dark] body.stage81-home{background:#19271f!important}
.site-footer .footer-grid{grid-template-columns:1.35fr 1fr 1fr!important;align-items:start}
.footer-primary-links button{padding:0;border:0;background:none;color:rgba(255,250,239,.82);font:inherit;cursor:pointer;text-align:right;transition:color .2s ease,transform .2s ease}
.footer-primary-links button:hover{color:#fff;transform:translateX(-3px)}
.site-footer .social-row{direction:rtl!important;gap:14px!important}
.site-footer .social-row a{width:42px!important;height:42px!important;padding:6px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.site-footer .social-row a:hover{border:0!important;background:transparent!important;box-shadow:none!important}
.site-footer .social-row img{display:block!important;width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:contain!important}
.site-footer .social-bale img{transform:scale(1)!important}
.site-footer .social-eitaa img{transform:scale(.72)!important}

/* Story letter */
.story-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 20px);padding:0;border:0;border-radius:28px;background:transparent;color:var(--s85-ink);overflow:auto;scrollbar-width:none}
.story-dialog::-webkit-scrollbar{display:none}
.story-dialog::backdrop{background:rgba(7,24,16,.7);backdrop-filter:blur(8px)}
.story-letter{position:relative;overflow:visible;padding:clamp(26px,5vw,48px);border:1px solid rgba(185,147,76,.38);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.74),transparent 42%),repeating-linear-gradient(0deg,rgba(112,84,44,.022) 0 1px,transparent 1px 27px),#fffaf0;box-shadow:0 22px 65px rgba(4,19,12,.22)}
.story-letter::before,.story-letter::after{content:"";position:absolute;width:105px;height:105px;border:1px solid rgba(181,140,75,.25);border-radius:50%}
.story-letter::before{top:-48px;right:-36px}.story-letter::after{bottom:-50px;left:-32px}
.story-close{position:sticky;z-index:4;top:0;float:left;width:40px;height:40px;border:1px solid var(--s85-line);border-radius:14px;background:rgba(255,255,255,.74);color:var(--s85-ink);font-size:1.55rem;cursor:pointer}
.story-letter header{text-align:center;padding:8px 34px 24px;border-bottom:1px solid rgba(181,140,75,.28)}
.story-letter header span{color:#a47d3e;font-size:.72rem}.story-letter h2{margin:7px 0 0;font-size:clamp(1.35rem,4vw,2rem);line-height:1.7}.story-letter-body{padding-top:17px}.story-letter p{margin:0 0 11px;line-height:1.95;font-size:.82rem;text-align:justify}.story-highlight{padding:11px 15px;border-right:4px solid #639978;border-radius:13px;background:rgba(99,153,120,.09);color:#174b36;font-weight:900}.story-author{text-align:right!important;margin-top:19px!important}.story-author small{color:#6f7b73}.story-signatures{display:flex;flex-direction:column;align-items:flex-end;margin:9px 0 3px;padding-left:8%}.story-signatures img{display:block;width:auto;object-fit:contain}.tree-signature{height:79px}.bahariom-signature{height:40px;margin:1px 42px 0 0}.story-date{margin-top:16px!important;padding-top:12px;border-top:1px dashed rgba(181,140,75,.36);color:#836b43;font-size:.76rem!important;text-align:center!important}

/* BaharChat appears after the visitor begins scrolling. */
.bahar-chat{position:fixed;z-index:150;left:clamp(14px,2.4vw,30px);bottom:clamp(14px,2.4vw,28px);direction:rtl;opacity:0;transform:translateY(20px) scale(.92);pointer-events:none;transition:opacity .35s ease,transform .45s cubic-bezier(.2,.8,.2,1)}
.bahar-chat.is-visible,.bahar-chat.is-open{opacity:1;transform:none;pointer-events:auto}
.bahar-chat-launcher{position:relative;width:62px;height:62px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:22px;background:linear-gradient(145deg,#225f45,#123d2c);color:#fff;box-shadow:0 15px 35px rgba(15,56,39,.3);cursor:pointer;transition:transform .25s ease}
.bahar-chat-launcher:hover{transform:translateY(-3px)}.bahar-chat-launcher svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-unread{position:absolute;top:-7px;right:-7px;width:25px;height:25px;display:grid;place-items:center;border:3px solid #fffaf1;border-radius:50%;background:#df4f4f;color:#fff;font:700 .68rem Dana,Tahoma,sans-serif}
.bahar-chat-panel{position:absolute;left:0;bottom:76px;width:min(380px,calc(100vw - 28px));max-height:min(520px,calc(100dvh - 130px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(31,84,61,.18);border-radius:24px;background:#fffaf2;color:#173f2e;box-shadow:0 24px 60px rgba(8,31,20,.25);transform-origin:bottom left;animation:chat-in .28s ease both}
.bahar-chat-panel[hidden]{display:none!important}
@keyframes chat-in{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
.bahar-chat-panel>header{padding:13px 15px;display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;background:linear-gradient(135deg,#174b36,#236a4c);color:#fff}.chat-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.14);font-size:1.05rem}.bahar-chat-panel header div{display:grid}.bahar-chat-panel header strong{font-size:.84rem}.bahar-chat-panel header small{margin-top:2px;color:rgba(255,255,255,.72);font-size:.54rem}.bahar-chat-panel header button{width:29px;height:29px;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:1.2rem;cursor:pointer}.chat-welcome{margin:12px 14px 2px;padding:10px 12px;border-radius:14px 14px 5px 14px;background:#edf3eb}.chat-welcome p{margin:0 0 3px;font-size:.72rem;font-weight:900}.chat-welcome span{font-size:.6rem;color:#647268}.bahar-chat form{padding:11px 14px 14px;display:grid;gap:8px}.bahar-chat form[hidden]{display:none!important}.bahar-chat label{display:grid;gap:4px;color:#53665a;font-size:.6rem}.bahar-chat label small{display:inline}.bahar-chat select,.bahar-chat textarea,.bahar-chat input{width:100%;padding:9px 11px;border:1px solid rgba(31,84,61,.16);border-radius:11px;background:#fffdf8;color:#173f2e;font:inherit;outline:none}.bahar-chat textarea{min-height:68px;resize:vertical}.bahar-chat select:focus,.bahar-chat textarea:focus,.bahar-chat input:focus{border-color:#4b8e6a;box-shadow:0 0 0 3px rgba(75,142,106,.11)}.bahar-chat form>button{min-height:40px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;background:#1b5a40;color:#fff;font:700 .68rem Dana,Tahoma,sans-serif;cursor:pointer}.bahar-chat form>button:disabled{opacity:.6;cursor:wait}.bahar-chat form>button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.chat-status{min-height:15px;margin:0;text-align:center;font-size:.6rem}.chat-status.is-success{color:#277348}.chat-status.is-error{color:#a53d3d}.chat-honeypot{position:absolute!important;left:-9999px!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-scroll{overflow:auto;overscroll-behavior:contain}.chat-faq{padding:8px 14px 9px}.chat-faq>strong{display:block;margin-bottom:4px;font-size:.66rem}.chat-faq details{border-bottom:1px solid rgba(31,84,61,.1)}.chat-faq summary{padding:7px 0;cursor:pointer;font-size:.62rem;font-weight:800}.chat-faq details p{margin:0 0 8px;color:#68766c;font-size:.59rem;line-height:1.75}.chat-compose-toggle{width:100%;margin-top:10px;padding:10px 12px;border:1px solid rgba(31,84,61,.18);border-radius:11px;background:#edf3eb;color:#174b36;font:800 .62rem Dana,Tahoma,sans-serif;cursor:pointer}.chat-history{padding:8px 14px;display:grid;gap:8px}.chat-history[hidden]{display:none!important}.chat-message{display:grid;gap:5px}.chat-bubble{max-width:88%;padding:9px 11px;border-radius:14px 14px 5px 14px;background:#eaf2e8;font-size:.63rem;line-height:1.75;white-space:pre-wrap}.chat-bubble small{display:block;margin-top:3px;color:#7b897f;font-size:.51rem}.chat-reply{margin-right:auto;border-radius:14px 14px 14px 5px;background:#1b5a40;color:#fff}.chat-reply small{color:rgba(255,255,255,.68)}.chat-waiting{color:#917039;font-size:.55rem}.bahar-chat form{flex:0 0 auto;border-top:1px solid rgba(31,84,61,.1);background:#fffaf2}

html[data-theme=dark] .story-letter{background:linear-gradient(135deg,rgba(255,255,255,.03),transparent),#132a20;color:#f4ead6;border-color:rgba(215,176,102,.3)}
html[data-theme=dark] .story-highlight{color:#e8d4a9;background:rgba(99,153,120,.16)}
html[data-theme=dark] .bahar-chat-panel{background:#10231a;color:#f4ead6;border-color:rgba(215,176,102,.22)}
html[data-theme=dark] .chat-welcome{background:#1b382a}html[data-theme=dark] .chat-welcome span,html[data-theme=dark] .bahar-chat label{color:#b9c6bd}html[data-theme=dark] .bahar-chat select,html[data-theme=dark] .bahar-chat textarea,html[data-theme=dark] .bahar-chat input{background:#142d21;color:#f4ead6;border-color:rgba(215,176,102,.2)}
html[data-theme=dark] .chat-faq details p,html[data-theme=dark] .chat-history-empty{color:#b9c6bd}html[data-theme=dark] .chat-bubble{background:#1b382a}html[data-theme=dark] .bahar-chat form{background:#10231a}

@media(max-width:600px){
  .site-header.is-scrolled{min-height:62px!important}.is-scrolled .public-header-inner>.brand{font-size:1.27rem!important}.is-scrolled .public-header-inner>.brand img{width:49px!important;height:49px!important}
  .b81-hero-copy{margin-top:25px!important;transform:translateY(-28px)}.b81-hero-copy h1{font-size:2.02rem!important}.b81-hero-copy p{margin-bottom:17px!important}
  .b81-hero{width:100%!important;max-width:100%!important;margin:0!important;inset-inline:0!important;transform:none!important}body.stage81-home .site-footer{margin-top:58px!important;padding-top:48px!important}.site-footer::before{top:-38px;height:68px}.site-footer .footer-grid{grid-template-columns:1fr!important;gap:20px!important;padding-bottom:20px!important}.site-footer .footer-bottom{padding-block:13px!important}.footer-primary-links button{text-align:center}
  .story-dialog{width:calc(100% - 16px)}.story-letter{padding:22px 18px;border-radius:24px}.story-letter p{font-size:.75rem;line-height:1.9}.tree-signature{height:62px}.bahariom-signature{height:31px;margin-right:30px}
  .bahar-chat{left:12px;bottom:12px}.bahar-chat-launcher{width:54px;height:54px;border-radius:18px}.bahar-chat-panel{bottom:64px;max-height:min(460px,calc(100dvh - 105px))}
}

/* Stage 93: optimized hero media, accessible contrast and balanced story marks. */
.b81-hero > video,
.b81-hero > noscript > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.b81-hero-video { background: #d8c7a7; }
.b81-hero-shade {
  background: linear-gradient(90deg,rgba(247,242,232,.16),rgba(247,242,232,.38) 47%,rgba(247,242,232,.88));
}
.b81-hero-copy p {
  display: table;
  margin: 12px auto 24px;
  padding: 4px 14px;
  border: 1px solid rgba(18,63,53,.12);
  border-radius: 999px;
  background: rgba(255,250,241,.86);
  box-shadow: 0 5px 18px rgba(18,63,53,.1);
  color: #174b36;
  font-weight: 800;
  text-shadow: 0 1px rgba(255,255,255,.65);
  backdrop-filter: blur(7px);
}
html[data-theme=dark] .b81-hero-copy p {
  color: #f8edd9;
  background: rgba(8,25,16,.72);
  border-color: rgba(255,255,255,.16);
  text-shadow: none;
}
.footer-primary-links :is(button,a) {
  display: block;
  margin: 5px 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255,250,239,.82);
  font: 500 13px/1.8 Dana,Tahoma,sans-serif;
  cursor: pointer;
  text-align: right;
  transition: color .2s ease,transform .2s ease;
}
.footer-primary-links :is(button,a):hover {
  color: #fff;
  transform: translateX(-3px);
}
.story-signatures {
  gap: 2px;
  margin: 7px 0 2px;
  padding-left: 5%;
}
.story-signatures img,
.story-signatures .tree-signature,
.story-signatures .bahariom-signature {
  display: block;
  width: 104px;
  height: 34px;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 600px) {
  .b81-hero > video,
  .b81-hero > noscript > img { object-position: center; }
  .b81-hero-copy p {
    color: #fff9ed;
    background: rgba(8,29,18,.68);
    border-color: rgba(255,255,255,.18);
    font-size: .78rem;
    text-shadow: none;
  }
  .story-signatures img,
  .story-signatures .tree-signature,
  .story-signatures .bahariom-signature {
    width: 92px;
    height: 30px;
  }
  .footer-primary-links :is(button,a) { text-align: center; }
}
@media(min-width:601px) and (max-width:900px){
  body.stage81-home #main-content,.b81-hero,.b81-reviews{width:100%!important;max-width:100%!important;margin-inline:0!important;transform:none!important}
  body.stage81-home .site-footer{margin-top:72px!important}
}
@media(prefers-reduced-motion:reduce){.bahar-chat,.bahar-chat-panel,.bahar-chat-launcher{transition:none!important;animation:none!important}}

/* Stage 94: calmer hero, compact signatures and tighter footer geometry. */
.b81-hero-video {
  transform: scale(1.018);
  filter: brightness(.58) saturate(.9) contrast(1.08);
}
.b81-hero-shade {
  background:
    radial-gradient(circle at 50% 42%,rgba(255,218,156,.08),rgba(6,24,16,.22) 62%,rgba(6,24,16,.42)),
    linear-gradient(90deg,rgba(7,26,17,.2),rgba(7,26,17,.08) 48%,rgba(7,26,17,.34));
}
.story-signatures img.tree-signature {
  width: 82px;
  height: 27px;
}
.story-signatures img.bahariom-signature {
  width: 59px;
  height: 19px;
  margin-left: 11px;
}
html[data-theme=dark] .story-signatures .tree-signature {
  filter: brightness(0) invert(92%) sepia(20%) saturate(390%) hue-rotate(349deg) brightness(104%);
}
html[data-theme=dark] .story-signatures .bahariom-signature {
  filter: brightness(1.45) saturate(.88);
}
.site-footer::before {
  top: -92px;
  right: -7%;
  width: 114%;
  height: 166px;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}
.site-footer .social-row {
  gap: 0!important;
}
.site-footer .social-row a {
  width: 36px!important;
  height: 38px!important;
  padding: 5px!important;
}
.footer-community h2 { margin-bottom: 5px!important; }
.footer-enamad { margin-top: 8px!important; }
.site-footer .footer-bottom { justify-content: center; }

@media(max-width:600px){
  .b81-hero-video { filter: brightness(.52) saturate(.88) contrast(1.1); }
  .b81-hero-shade {
    background:linear-gradient(180deg,rgba(6,22,15,.18),rgba(6,22,15,.38) 55%,rgba(6,22,15,.62));
  }
  .story-signatures img.tree-signature { width: 75px;height: 25px; }
  .story-signatures img.bahariom-signature { width: 53px;height: 17px;margin-left: 10px; }
  .site-footer::before { top:-58px;height:104px; }
}

/* Stage 95: local hero media, untouched video colour and compact brand footer. */
.b81-hero-video {
  transform: none!important;
  filter: none!important;
}
.b81-hero-shade { display:none!important; }
html[data-theme=dark] .b81-hero-video {
  filter:none!important;
}
.public-header-inner>.brand img {
  width:auto!important;
  height:66px!important;
  aspect-ratio:220/260;
}
.is-scrolled .public-header-inner>.brand img {
  width:auto!important;
  height:53px!important;
}
.b81-hero-copy {
  display:grid;
  justify-items:center;
  row-gap:15px;
}
.b81-hero-copy h1 {
  margin:0!important;
  color:#f3d79c!important;
  line-height:1.52!important;
  letter-spacing:-.035em;
  text-wrap:balance;
  text-shadow:0 2px 2px rgba(20,34,24,.72),0 8px 25px rgba(9,25,16,.48);
  -webkit-text-stroke:.2px rgba(63,45,19,.35)!important;
}
.b81-hero-copy h1>span+span { margin-top:4px; }
.b81-hero-copy p {
  margin:0!important;
  padding:7px 17px!important;
  border:1px solid rgba(255,250,239,.25)!important;
  background:#173f2e!important;
  color:#fffaf1!important;
  box-shadow:0 8px 20px rgba(6,22,15,.23)!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.b81-primary,.b81-secondary {
  min-height:50px!important;
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease!important;
}
.b81-primary {
  margin-top:5px;
  box-shadow:0 12px 28px rgba(8,44,29,.3)!important;
}
.b81-primary:hover,.b81-secondary:hover {
  transform:translateY(-2px);
}
.b81-secondary {
  margin:0!important;
  border-color:rgba(255,250,239,.68)!important;
  background:rgba(19,53,39,.82)!important;
  color:#fffaf1!important;
  box-shadow:0 8px 20px rgba(6,22,15,.18);
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.site-footer {
  padding-top:58px!important;
}
.site-footer .footer-grid {
  grid-template-columns:1fr 1fr 1fr!important;
  align-items:center!important;
  gap:clamp(22px,5vw,64px)!important;
  padding-bottom:25px!important;
}
.site-footer .footer-brand .brand {
  gap:3px!important;
  margin:0!important;
}
.site-footer .footer-brand .brand img {
  display:block;
  width:63px!important;
  height:auto!important;
  aspect-ratio:220/260;
  object-fit:contain!important;
}
.site-footer .footer-brand .brand span {
  color:#f4d99f!important;
  font:900 15px/1.35 DanaMedium,Dana,Tahoma,sans-serif;
  white-space:nowrap;
}
.site-footer .footer-bottom {
  min-height:46px;
  padding:10px 0!important;
  display:flex!important;
  justify-content:center!important;
  gap:clamp(14px,3vw,34px);
}
.site-footer .footer-bottom strong {
  color:#f4d99f!important;
  font-weight:900;
}

@media(max-width:600px){
  .public-header-inner>.brand img { width:auto!important;height:58px!important; }
  .is-scrolled .public-header-inner>.brand img { width:auto!important;height:49px!important; }
  .b81-hero-copy { row-gap:11px; }
  .b81-hero-copy h1 { line-height:1.56!important; }
  .b81-hero-copy p { font-size:.72rem!important;padding:6px 12px!important; }
  .b81-primary,.b81-secondary { min-height:47px!important; }
  body.stage81-home .site-footer { padding-top:38px!important; }
  .site-footer .footer-grid { grid-template-columns:1fr!important;gap:16px!important;padding-bottom:17px!important; }
  .site-footer .footer-brand .brand img { width:57px!important;height:auto!important; }
  .site-footer .footer-bottom { gap:6px;min-height:52px; }
}

/* Shared presentation for restored public modules. */
.s95-page{min-height:70vh;padding:150px 0 80px}.s95-page-heading{max-width:720px;margin:0 auto 30px;text-align:center}.s95-page-heading h1,.s95-card h1{margin:6px 0 10px;color:var(--b81-text);font-size:clamp(1.8rem,4vw,3rem)}.s95-page-heading p,.s95-card p{color:var(--b81-muted);line-height:2}.s95-kicker{color:var(--b81-gold);font-size:.78rem;font-weight:900}.s95-card{padding:clamp(22px,4vw,38px);border:1px solid var(--b81-line);border-radius:28px;background:var(--b81-paper);box-shadow:var(--b81-shadow)}.s95-empty-state{text-align:center}.s95-action{min-height:46px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;background:var(--b81-green);color:#fffaf1!important;font:800 .78rem Dana,Tahoma,sans-serif;cursor:pointer}.s95-action:disabled{opacity:.6;cursor:wait}.s95-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.s95-stats{margin:25px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.s95-stats div{padding:12px;border-radius:15px;background:color-mix(in srgb,var(--b81-green) 8%,var(--b81-paper))}.s95-stats dt{color:var(--b81-muted);font-size:.65rem}.s95-stats dd{margin:4px 0 0;font-weight:900}.s95-leaderboard{margin:15px 0 0;padding:0;list-style-position:inside}.s95-leaderboard li{padding:10px 4px;display:flex;justify-content:space-between;border-bottom:1px solid var(--b81-line);font-size:.75rem}.s95-term-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.s95-term-grid a{display:grid;gap:8px;text-align:center}.s95-term-grid strong{color:var(--b81-green);font-size:.72rem}.s95-center{text-align:center;margin-top:25px}.s95-notice{padding:13px;border-radius:14px;background:color-mix(in srgb,var(--b81-gold) 12%,var(--b81-paper))}.s95-ai-form,.s95-payment-form{display:grid;gap:10px}.s95-ai-form textarea{min-height:150px;resize:vertical}.s95-ai-form textarea,.s95-payment-form input{padding:13px;border:1px solid var(--b81-line);border-radius:13px;background:var(--b81-paper);color:var(--b81-text);font:inherit}.s95-ai-answer{margin-top:20px;padding:18px;border-radius:16px;background:color-mix(in srgb,var(--b81-green) 9%,var(--b81-paper));white-space:pre-wrap;line-height:2}.s95-ai-status{min-height:24px;margin:0!important;color:#a45646!important}.s95-payment-form label{display:grid;gap:8px}
@media(max-width:800px){.s95-module-grid{grid-template-columns:1fr}.s95-term-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.s95-page{padding:115px 0 55px}.s95-card{border-radius:21px}.s95-stats{grid-template-columns:1fr 1fr}.s95-term-grid{grid-template-columns:1fr}}

.global-notifications{position:relative;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:#174b36!important}.global-notifications b{position:absolute;top:-4px;right:-4px;width:20px;height:20px;display:grid;place-items:center;border:2px solid #fffaf1;border-radius:50%;background:#df4f4f;color:#fff;font-size:.65rem}.header-tools:has(.global-notifications){display:flex;align-items:center;gap:4px}.s95-profile-status{margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.s95-profile-status div{padding:12px;text-align:center;border-radius:14px;background:color-mix(in srgb,var(--b81-green) 7%,var(--b81-paper))}.s95-profile-status span{display:block;color:var(--b81-muted);font-size:.7rem}.s95-profile-status strong{display:block;margin-top:4px}.s95-bootcamp-days,.s95-activity-list{display:grid;gap:9px}.s95-bootcamp-days article,.s95-activity-list article{padding:12px;border:1px solid var(--b81-line);border-radius:14px}.s95-bootcamp-days article{display:grid;grid-template-columns:1fr auto;gap:5px}.s95-bootcamp-days small{grid-column:1/-1}.s95-activity-list article.is-unread{border-right:4px solid var(--b81-gold)}.s95-activity-list p{margin:4px 0;color:var(--b81-muted);font-size:.73rem}.s95-activity-list small{color:var(--b81-gold);font-size:.62rem}
@media(max-width:600px){.s95-profile-status{grid-template-columns:1fr}.global-notifications{width:32px;height:32px}}

/* Stage 96: cinematic hero with unobtrusive glass controls. */
.b81-hero-video {
  transform:scale(1.035)!important;
  filter:blur(1.15px) brightness(.72) saturate(.88) contrast(1.04)!important;
}
html[data-theme=dark] .b81-hero-video {
  filter:blur(1.15px) brightness(.66) saturate(.86) contrast(1.05)!important;
}
.b81-hero-shade {
  display:block!important;
  background:
    radial-gradient(circle at 50% 38%,rgba(255,213,143,.06),rgba(6,22,15,.13) 52%,rgba(4,17,12,.4)),
    linear-gradient(180deg,rgba(5,18,12,.06),rgba(5,20,14,.19) 55%,rgba(4,16,11,.46))!important;
  backdrop-filter:blur(.3px);
  -webkit-backdrop-filter:blur(.3px);
}
.b81-hero-copy h1 {
  color:#ffe7ad!important;
  text-shadow:0 2px 11px rgba(4,15,10,.55),0 0 28px rgba(173,107,37,.16)!important;
}
.b81-hero-copy p,
.b81-hero-copy .b81-primary,
.b81-hero-copy .b81-secondary {
  border:1px solid rgba(255,255,255,.4)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.25),rgba(255,255,255,.09))!important;
  color:#fffdf7!important;
  box-shadow:0 14px 34px rgba(3,16,10,.23),inset 0 1px 0 rgba(255,255,255,.32)!important;
  text-shadow:0 1px 7px rgba(3,15,10,.48)!important;
  backdrop-filter:blur(14px) saturate(1.24)!important;
  -webkit-backdrop-filter:blur(14px) saturate(1.24)!important;
}
.b81-hero-copy .b81-primary,
.b81-hero-copy .b81-secondary {
  transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease!important;
}
.b81-hero-copy .b81-primary:hover,
.b81-hero-copy .b81-secondary:hover {
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.7)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(255,255,255,.14))!important;
  box-shadow:0 18px 42px rgba(3,16,10,.31),inset 0 1px 0 rgba(255,255,255,.45)!important;
}
html[data-theme=dark] .b81-hero-copy p,
html[data-theme=dark] .b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(10,31,22,.2))!important;
}
@media(max-width:600px){
  .b81-hero-video{transform:scale(1.045)!important;filter:blur(1px) brightness(.68) saturate(.89) contrast(1.05)!important}
  html[data-theme=dark] .b81-hero-video{filter:blur(1px) brightness(.63) saturate(.87) contrast(1.06)!important}
  .b81-hero-shade{background:linear-gradient(180deg,rgba(4,16,11,.07),rgba(4,18,12,.22) 52%,rgba(3,14,9,.49))!important}
}

/* Stage 97: restrained video treatment, clear action hierarchy and balanced borders. */
.b81-hero-video,
html[data-theme=dark] .b81-hero-video {
  transform:scale(1.018)!important;
  filter:blur(.38px) brightness(.77) saturate(.94) contrast(1.025)!important;
}
.b81-hero-shade,
html[data-theme=dark] .b81-hero-shade {
  display:block!important;
  background:linear-gradient(180deg,rgba(5,18,12,.03),rgba(5,19,13,.14) 55%,rgba(4,16,11,.34))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.b81-hero-copy p,
html[data-theme=dark] .b81-hero-copy p {
  padding:5px 15px!important;
  border:1px solid rgba(247,231,199,.52)!important;
  background:rgba(20,55,41,.84)!important;
  color:#fffaf1!important;
  font-weight:500!important;
  box-shadow:0 5px 14px rgba(3,16,10,.16)!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-primary {
  border-color:rgba(255,248,231,.64)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.34),rgba(235,220,189,.2))!important;
  color:#fffdf7!important;
  font-weight:900!important;
  box-shadow:0 14px 34px rgba(3,16,10,.25),inset 0 1px 0 rgba(255,255,255,.48)!important;
}
.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  border-color:rgba(238,220,184,.44)!important;
  background:rgba(13,43,31,.5)!important;
  color:rgba(255,253,247,.91)!important;
  font-weight:600!important;
  box-shadow:0 9px 24px rgba(3,16,10,.18)!important;
}
.b81-download {
  border:2px solid transparent!important;
  background:
    linear-gradient(#fffaf1,#fffaf1) padding-box,
    linear-gradient(120deg,#6f9f80 0%,#eadfc7 46%,#d0b77e 66%,#6f9f80 100%) border-box!important;
}
html[data-theme=dark] .b81-download {
  border-color:transparent!important;
  background:
    linear-gradient(#10231a,#10231a) padding-box,
    linear-gradient(120deg,#6f9f80 0%,#d8c8a5 48%,#a98c56 68%,#6f9f80 100%) border-box!important;
}
.footer-primary-links h2 {
  margin:0 0 8px!important;
  color:#f4d99f!important;
  font-size:14px!important;
  font-weight:850!important;
}
.site-footer .footer-bottom {
  flex-direction:column!important;
  align-items:center!important;
  gap:2px!important;
  text-align:center!important;
}
.site-footer .footer-bottom strong { order:1; }
.site-footer .footer-bottom span { order:2; }
@media(max-width:600px){
  .b81-hero-video,html[data-theme=dark] .b81-hero-video{transform:scale(1.022)!important;filter:blur(.3px) brightness(.74) saturate(.93) contrast(1.03)!important}
  .b81-hero-shade,html[data-theme=dark] .b81-hero-shade{background:linear-gradient(180deg,rgba(4,16,11,.04),rgba(4,18,12,.16) 52%,rgba(3,14,9,.38))!important}
  .footer-primary-links h2{display:none}
}

/* Stage 98: two-slot hero video, clearer hierarchy and stable compact overlays. */
.b81-hero{background:#07140e!important}
.b81-hero-video,
html[data-theme=dark] .b81-hero-video{
  opacity:0!important;
  transform:none!important;
  filter:brightness(.76) saturate(.95) contrast(1.03)!important;
  transition:opacity .34s ease!important;
  will-change:opacity;
  background:transparent!important;
}
.b81-hero-video.is-ready{opacity:1!important}
.b81-hero-copy{opacity:0;transition:opacity .3s ease}
.b81-hero.is-video-ready .b81-hero-copy{opacity:1}
.b81-hero-copy h1 .b81-title-primary{font-weight:1000!important;-webkit-text-stroke:.42px currentColor}
.b81-hero-copy h1 .b81-title-secondary{font-weight:850!important;-webkit-text-stroke:.18px currentColor}
.b81-hero-copy p,
html[data-theme=dark] .b81-hero-copy p{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fffaf1!important;
  font-weight:650!important;
  text-shadow:0 2px 8px rgba(2,13,8,.92),0 1px 2px rgba(2,13,8,.95)!important;
}
.b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-primary{font-weight:950!important;-webkit-text-stroke:.15px currentColor}

.story-letter-body,.story-letter p,.story-author{text-align:center!important}
.story-highlight{border-right:0!important;border-bottom:3px solid #639978!important}
.story-signatures{align-items:center!important;padding:0!important}
.story-signatures img.bahariom-signature{margin-left:0!important}

/* Explicit card layout avoids duplicated paint layers on older Android WebViews. */
.b81-download{
  min-height:0!important;
  padding:30px clamp(16px,4vw,30px)!important;
  gap:18px!important;
  contain:none!important;
  isolation:isolate!important;
}
.b81-download>div,.b81-store-row,.b81-store-row button{transform:none!important;backface-visibility:visible!important}
.b81-store-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.b81-store-row button{min-width:0!important;min-height:58px!important;padding:8px 10px!important}

.bahar-chat-panel{width:min(360px,calc(100vw - 24px))!important;max-height:min(430px,calc(100dvh - 108px))!important;border-radius:20px!important}
.bahar-chat-panel>header{padding:10px 12px!important}
.chat-welcome{margin:8px 11px 0!important;padding:8px 10px!important}
.chat-faq{padding:5px 11px 7px!important}
.chat-faq summary{padding:6px 0!important}
.chat-compose-toggle{margin-top:7px!important;padding:8px 10px!important}
.bahar-chat form{padding:8px 11px 10px!important;gap:6px!important;overflow:auto}
.bahar-chat textarea{min-height:56px!important;max-height:90px!important}

@media(max-width:600px){
  .b81-hero-video,html[data-theme=dark] .b81-hero-video{transform:none!important;filter:brightness(.72) saturate(.94) contrast(1.03)!important}
  .b81-hero-copy{transform:translateY(-103px)!important}
  .b81-download{width:calc(100% - 24px)!important;margin-inline:auto!important;padding:24px 14px!important;gap:14px!important;border-radius:24px!important}
  .b81-download h2{font-size:1.28rem!important}
  .b81-store-row{grid-template-columns:1fr!important;gap:7px!important}
  .b81-store-row button{min-height:52px!important;border-radius:14px!important}
  .bahar-chat-panel{bottom:62px!important;max-height:min(400px,calc(100dvh - 92px))!important}
}
@media(prefers-reduced-motion:reduce){.b81-hero-video,.b81-hero-copy{transition:none!important}}

/* Stage 108: balanced hero position + reliable daytime video in both themes. */
.b81-hero-video,
html[data-theme=dark] .b81-hero-video {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  filter:brightness(.78) saturate(.96) contrast(1.025)!important;
  background:#9caf68 url(../images/hero-day-poster-v127.webp) center/cover no-repeat!important;
}
.b81-hero-copy,
.b81-hero.is-video-ready .b81-hero-copy {
  opacity:1!important;
}
html[data-theme=dark] .b81-hero {
  background:#9caf68 url(../images/hero-day-poster-v127.webp) center/cover no-repeat!important;
}
@media (min-width: 901px) {
  .b81-hero-copy {
    margin-top:0!important;
    transform:translateY(-8px)!important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .b81-hero-copy {
    margin-top:0!important;
    transform:translateY(-6px)!important;
  }
}
@media (max-width: 600px) {
  .b81-hero-copy {
    transform:translateY(-38px)!important;
  }
  .b81-hero-video,
  html[data-theme=dark] .b81-hero-video {
    filter:brightness(.74) saturate(.95) contrast(1.03)!important;
  }
}

/* Stage 111: stronger and more readable mobile hero title. */
@media (max-width: 600px) {
  .b81-hero-copy {
    width:min(92%, 340px)!important;
    row-gap:13px!important;
  }
  .b81-hero-copy h1 {
    font-size:2.55rem!important;
    line-height:1.34!important;
    font-weight:1000!important;
    letter-spacing:-.022em!important;
    color:#f6dda6!important;
    text-wrap:balance!important;
    text-shadow:0 3px 10px rgba(8,18,12,.62),0 10px 28px rgba(8,18,12,.34)!important;
    -webkit-text-stroke:.28px rgba(92,66,24,.38)!important;
  }
  .b81-hero-copy h1 > span + span {
    margin-top:6px!important;
  }
}

/* Stage 113: based on Stage 111 — move the complete mobile hero content lower. */
@media (max-width: 600px) {
  .b81-hero-copy {
    transform:translateY(-18px)!important;
  }
}

/* Stage 115: make hero CTA buttons match the polished mobile style across views. */
.b81-hero-copy .b81-primary,
.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  width:min(292px,100%)!important;
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-inline:auto!important;
  padding:0 18px!important;
  border-radius:17px!important;
  gap:12px!important;
  font-size:.92rem!important;
  letter-spacing:-.01em!important;
  text-align:center!important;
  box-shadow:0 12px 28px rgba(6,18,12,.18)!important;
}

.b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-primary {
  margin-top:8px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.38),rgba(233,221,191,.20))!important;
  border:1px solid rgba(255,247,227,.78)!important;
  color:#fffdf8!important;
  font-weight:950!important;
  box-shadow:0 14px 34px rgba(6,18,12,.24), inset 0 1px 0 rgba(255,255,255,.45)!important;
}

.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  margin:10px auto 0!important;
  background:linear-gradient(135deg,rgba(16,48,35,.72),rgba(16,48,35,.56))!important;
  border:1px solid rgba(240,225,193,.30)!important;
  color:#fffaf2!important;
  font-weight:800!important;
  box-shadow:0 10px 24px rgba(6,18,12,.18)!important;
}

.b81-hero-copy .b81-primary:hover,
.b81-hero-copy .b81-secondary:hover,
.b81-hero-copy .b81-primary:active,
.b81-hero-copy .b81-secondary:active {
  transform:none!important;
}

/* Stage 116: reduce spacing between hero buttons to match the tighter mobile feel. */
.b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-primary {
  margin-top:6px!important;
  margin-bottom:0!important;
}

.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  margin-top:6px!important;
}

/* Stage 119: compact hero CTA pair requested for the cleaned one-page build. */
.b81-hero-copy .b81-primary,
.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  width:min(276px,100%)!important;
  border-radius:13px!important;
}
.b81-hero-copy .b81-primary,
html[data-theme=dark] .b81-hero-copy .b81-primary {
  margin-top:4px!important;
  margin-bottom:0!important;
}
.b81-hero-copy .b81-secondary,
html[data-theme=dark] .b81-hero-copy .b81-secondary {
  margin-top:-8px!important;
}

/* Stage 122: softer author text + emphasized 'درخت زندگی' + refreshed signatures */
.story-author {
  text-align:center!important;
  margin-top:18px!important;
  line-height:1.95!important;
}
.story-author .story-author-soft,
.story-author small {
  color:#8a918c!important;
}
.story-author .story-author-soft {
  font-size:1.02rem!important;
  font-weight:500!important;
}
.story-author small {
  font-size:.98rem!important;
  font-weight:400!important;
}
.story-author small strong {
  color:#556d61!important;
  font-weight:900!important;
}
.story-signatures {
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  margin-top:10px!important;
}
.story-signatures img.tree-signature {
  width:min(250px,78vw)!important;
  height:auto!important;
  opacity:.96!important;
}
.story-signatures img.bahariom-signature {
  width:min(170px,54vw)!important;
  height:auto!important;
  margin:0!important;
  opacity:.98!important;
}
html[data-theme=dark] .story-author .story-author-soft,
html[data-theme=dark] .story-author small {
  color:#9aa59f!important;
}
html[data-theme=dark] .story-author small strong {
  color:#d6e0da!important;
}
@media (max-width: 600px) {
  .story-author .story-author-soft {font-size:.95rem!important;}
  .story-author small {font-size:.90rem!important;}
  .story-signatures img.tree-signature {width:min(220px,82vw)!important;}
  .story-signatures img.bahariom-signature {width:min(150px,60vw)!important;}
}

/* Stage 125: stack signatures exactly under each other with tight spacing */
.story-signatures {
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  margin-top:6px!important;
  padding:0!important;
}
.story-signatures img,
.story-signatures .tree-signature,
.story-signatures .bahariom-signature {
  display:block!important;
  margin:0 auto!important;
}
.story-signatures img.tree-signature {
  width:min(188px,72vw)!important;
  height:auto!important;
}
.story-signatures img.bahariom-signature {
  width:min(96px,42vw)!important;
  height:auto!important;
  margin-top:-2px!important;
}
@media (max-width: 600px) {
  .story-signatures {gap:1px!important; margin-top:5px!important;}
  .story-signatures img.tree-signature {width:min(176px,78vw)!important;}
  .story-signatures img.bahariom-signature {width:min(90px,46vw)!important; margin-top:-3px!important;}
}


/* Stage 126: tighter stacked signatures + smaller soft author line + refreshed lesson images */
.story-author .story-author-soft {
  font-size: .84rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.story-author small {
  font-size: .96rem !important;
}
.story-signatures {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  margin-top: 2px !important;
  padding: 0 !important;
}
.story-signatures img,
.story-signatures .tree-signature,
.story-signatures .bahariom-signature {
  display: block !important;
  margin: 0 auto !important;
}
.story-signatures img.tree-signature {
  width: min(188px, 72vw) !important;
  height: auto !important;
  margin-bottom: -7px !important;
}
.story-signatures img.bahariom-signature {
  width: min(96px, 42vw) !important;
  height: auto !important;
  margin-top: -9px !important;
}
@media (max-width: 600px) {
  .story-author .story-author-soft {font-size: .76rem !important;}
  .story-author small {font-size: .88rem !important;}
  .story-signatures {gap: 0 !important; margin-top: 1px !important;}
  .story-signatures img.tree-signature {width: min(176px, 78vw) !important; margin-bottom: -8px !important;}
  .story-signatures img.bahariom-signature {width: min(90px, 46vw) !important; margin-top: -10px !important;}
}
