/* Namespaced so page-specific landing/blog styles cannot change the site navigation. */
@font-face{font-family:Vazirmatn;src:url('/static/fonts/Vazirmatn-Variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
.public-site-actions .theme-toggle::before{display:none}
html[data-theme=dark] .public-site-actions .theme-toggle__thumb{transform:none;background:transparent;box-shadow:none}
.public-site-header,.public-site-footer{font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;line-height:1.6;direction:rtl;box-sizing:border-box}
.public-site-header *,.public-site-footer *{box-sizing:border-box}
.public-site-header a,.public-site-footer a{text-decoration:none;color:inherit}
.public-site-header{position:sticky;top:0;z-index:60;padding:14px 24px;background:transparent}
.public-site-bar{max-width:1540px;min-height:86px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:24px;border:1px solid var(--theme-border,#e3e7e1);border-radius:22px;background:var(--theme-surface,#fff);color:var(--theme-text,#172124);box-shadow:0 10px 30px #123c2810}
.public-site-header .public-site-brand,.public-site-footer .public-site-brand{display:flex;align-items:center;gap:10px;font-size:1.5rem;font-weight:900;white-space:nowrap}
.public-site-brand img{display:block;width:50px;height:50px;object-fit:contain}
.public-site-menu{display:flex;align-items:center;justify-content:center;gap:24px;flex:1}
.public-site-menu a{position:relative;font-size:.82rem;font-weight:750;white-space:nowrap;padding:12px 0}
.public-site-menu a:hover,.public-site-menu a[aria-current]{color:var(--theme-accent,#0b604f)}
.public-site-menu a[aria-current]:after{content:'';position:absolute;bottom:0;right:calc(50% - 9px);width:18px;height:3px;border-radius:4px;background:#53b779}
.public-site-actions{display:flex;gap:8px;align-items:center}.public-site-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:10px;font-size:.76rem;font-weight:800;white-space:nowrap}
.public-site-actions .public-login{border:1px solid var(--theme-border,#d6e2da);color:var(--theme-accent,#0b604f)}.public-site-actions .public-start{background:#0b604f;color:#fff}
.public-site-actions .theme-toggle{position:static;order:0;flex:0 0 44px;width:44px;min-width:44px;height:44px;margin:0;padding:0;border:1px solid var(--theme-border,#d6e2da);border-radius:10px;background:var(--theme-surface,#fff);color:var(--theme-accent,#0b604f);display:grid;place-items:center;box-shadow:none}
.public-site-actions .theme-toggle__thumb{position:static;transform:none;width:25px;height:25px;background:transparent;box-shadow:none;display:grid;place-items:center}.public-site-actions .theme-toggle svg{width:22px;height:22px}
.public-menu-toggle{display:none;font:inherit;cursor:pointer}.public-site-header :focus-visible,.public-site-footer :focus-visible{outline:3px solid #d3ac4d;outline-offset:4px}
.public-site-footer{position:relative;margin:40px 0 0;padding:44px 24px 18px;background:#063f35;color:#e4f3e9;border:0;border-radius:0;text-align:right}
.public-footer-inner{max-width:1492px;margin:auto;display:grid;grid-template-columns:1fr 1.5fr auto;align-items:start;gap:32px}
.public-footer-brand p{color:#bdd4c9;margin:12px 0 0;font-size:.8rem}.public-footer-links{display:flex;flex-wrap:wrap;gap:12px 24px;align-content:start;padding-top:12px}.public-footer-links a{font-size:.82rem;min-height:32px}.public-footer-links a:hover{color:#ecd17e}.public-footer-contact{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.public-footer-contact>a:first-child{direction:ltr;font-size:.78rem}.public-footer-contact img{display:block;width:72px;height:84px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}.public-footer-bottom{grid-column:1/-1;text-align:center;margin:0;padding-top:20px;border-top:1px solid #ffffff25;font-size:.73rem;color:#bdd4c9}
html[data-theme=dark] .public-site-footer{background:#061e18}
@media(max-width:1200px){.public-site-bar{gap:14px}.public-site-menu{gap:15px}.public-site-header .public-site-brand{font-size:1.2rem}.public-site-menu a{font-size:.75rem}.public-site-actions>a{padding:10px}}
@media(max-width:1050px){.public-site-bar{flex-wrap:wrap;gap:12px}.public-menu-toggle{display:grid;place-items:center;order:2;width:44px;min-width:44px;min-height:44px;padding:0;border:1px solid var(--theme-border,#d6e2da);border-radius:10px;background:var(--theme-surface,#fff);color:var(--theme-accent,#0b604f)}.public-site-actions{margin-right:auto;order:1}.public-site-menu{display:none;order:3;flex-basis:100%;align-items:stretch;gap:3px;max-height:60vh;max-height:60dvh;overflow-y:auto;border-top:1px solid var(--theme-border,#d6e2da);padding-top:12px}.public-site-menu.is-open{display:flex;flex-direction:column}.public-site-menu a{font-size:.88rem;padding:12px;border-radius:10px;min-height:44px}.public-site-menu a[aria-current]{background:var(--theme-accent-soft,#e4f4ed)}.public-site-menu a[aria-current]:after{display:none}.public-footer-inner{grid-template-columns:1fr 1fr}.public-footer-contact{grid-column:1/-1;justify-content:space-between}}
@media(max-width:600px){.public-site-header{padding:8px}.public-site-bar{padding:10px;min-height:68px;border-radius:16px;gap:8px}.public-site-brand img{width:38px;height:38px}.public-site-header .public-site-brand span{display:none}.public-site-actions{gap:6px}.public-site-actions>a{font-size:.68rem;padding:8px}.public-site-footer{padding:30px 20px 18px}.public-footer-inner{grid-template-columns:1fr;gap:24px}.public-footer-links{gap:10px 20px}.public-footer-links a{min-height:44px;display:flex;align-items:center}.public-footer-contact{gap:16px}}
@media(max-width:380px){.public-site-bar{padding:8px;gap:4px}.public-site-actions{gap:4px}.public-site-header .public-site-brand img{width:32px;height:32px}}
.public-scroll-top{position:fixed;left:max(20px,env(safe-area-inset-left));bottom:calc(20px + env(safe-area-inset-bottom));z-index:55;width:56px;height:56px;min-width:56px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:var(--theme-surface,#fff);color:var(--theme-accent,#0b604f);box-shadow:0 5px 22px #073f3526;cursor:pointer;transition:box-shadow .2s,background .2s}
.public-scroll-top svg{display:block;width:56px;height:56px;fill:none;overflow:visible}.public-scroll-top .scroll-track{stroke:var(--theme-border,#e3e7e1);stroke-width:2}.public-scroll-top .scroll-progress{stroke:currentColor;stroke-width:3;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:28px 28px;stroke-linecap:butt}.public-scroll-top .scroll-arrow{stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.public-scroll-top:hover{box-shadow:0 7px 26px #073f3540}.public-scroll-top:focus-visible{outline:3px solid #d3ac4d;outline-offset:4px}
@media(max-width:600px){.public-scroll-top{left:max(14px,env(safe-area-inset-left));bottom:calc(14px + env(safe-area-inset-bottom));width:50px;height:50px;min-width:50px}.public-scroll-top svg{width:50px;height:50px}}
.public-scroll-top{opacity:var(--scroll-top-opacity,0);visibility:hidden;pointer-events:none;transition:opacity .15s ease,box-shadow .2s,background .2s}
.public-scroll-top.is-visible{visibility:visible;pointer-events:auto}
@media(prefers-reduced-motion:reduce){.public-scroll-top{transition:none}}
.public-support{font-family:Vazirmatn,Tahoma,sans-serif;direction:rtl;box-sizing:border-box;width:calc(100% - 48px);max-width:1492px;margin:36px auto 0;padding:26px 30px!important;border:1px solid var(--theme-border,#e3e7e1);border-radius:20px;background:linear-gradient(115deg,var(--theme-accent-soft,#e4f4ed),var(--theme-surface,#fff));color:var(--theme-text,#172124);display:grid;grid-template-columns:1fr auto;gap:18px 28px;align-items:center;box-shadow:0 14px 35px -28px #073f3540}
.public-support-copy{display:flex;align-items:center;gap:16px;min-width:0}.public-support-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid var(--theme-border,#d6e2da);background:var(--theme-surface,#fff);border-radius:16px;color:var(--theme-accent,#0b604f);font-size:1.5rem}.public-support h2{font-size:1.05rem;margin:0 0 6px;color:var(--theme-text,#172124);line-height:1.7}.public-support p{font-size:.78rem;line-height:1.9;margin:0;color:var(--theme-muted,#66716f)}.public-support-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.public-support a{text-decoration:none}.public-support-email{color:var(--theme-accent,#0b604f);direction:ltr;font-size:.83rem;padding:10px 0}.public-support-consult{display:flex;align-items:center;justify-content:center;gap:14px;min-height:46px;box-sizing:border-box;border-radius:11px;background:#0b604f;color:#fff!important;padding:12px 18px;font-size:.78rem;font-weight:800}.public-support .public-support-member{grid-column:1/-1;padding-top:14px;border-top:1px solid var(--theme-border,#d6e2da)}.public-support-member a{color:var(--theme-accent,#0b604f);text-decoration:underline;text-underline-offset:4px}.public-support a:focus-visible{outline:3px solid #d3ac4d;outline-offset:4px}.public-support+.public-site-footer{margin-top:28px}
@media(max-width:1100px){.public-support{grid-template-columns:1fr}.public-support-actions{justify-content:space-between}}@media(max-width:600px){.public-support{width:calc(100% - 28px);padding:20px!important;border-radius:16px}.public-support-actions{flex-direction:column;align-items:stretch;gap:10px}.public-support-email{text-align:center}.public-support-consult{font-size:.74rem}.public-support-copy{gap:12px}.public-support h2{font-size:.95rem}}

/* Moon stays on the left; sun stays on the right. */
.public-site-actions .theme-toggle{position:relative;display:inline-flex;justify-content:flex-start;flex:0 0 56px;width:56px;min-width:56px;height:44px;padding:4px;border-radius:999px;overflow:hidden;isolation:isolate}
.public-site-actions .theme-toggle::before{display:block}
.public-site-actions .theme-toggle__thumb{position:relative;z-index:1;width:24px;height:24px;margin:0;transform:translateX(0);background:#fff;box-shadow:0 3px 10px rgba(20,57,48,.25)}
html[data-theme="dark"] .public-site-actions .theme-toggle__thumb{transform:translateX(-22px);background:#243c34;box-shadow:0 3px 11px rgba(0,0,0,.45)}

/* 22px visual track, while keeping a full 44px touch target. */
.public-site-actions .theme-toggle{height:44px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.public-site-actions .theme-toggle::before{display:block;inset:auto;left:0;top:11px;width:56px;height:22px;border:1px solid #ccd9d3;border-radius:999px;box-sizing:border-box;z-index:0}
.public-site-actions .theme-toggle__thumb{position:absolute;top:9px;right:0;width:26px;height:26px;transform:translateX(0);border:1px solid #d9e4de}
html[data-theme="dark"] .public-site-actions .theme-toggle__thumb{transform:translateX(-30px)}
.public-site-actions .theme-toggle__moon,.public-site-actions .theme-toggle__sun{width:22px;height:22px}
.public-site-actions .theme-toggle__moon{left:3px}.public-site-actions .theme-toggle__sun{right:3px}
.public-site-actions .theme-toggle__moon svg,.public-site-actions .theme-toggle__sun svg{width:19px;height:19px;stroke-width:2.15}
