@font-face{font-family:Vazirmatn;src:url("fonts/Vazirmatn-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url("fonts/Vazirmatn-Medium.woff2") format("woff2");font-style:normal;font-weight:500 600;font-display:swap}
@font-face{font-family:Vazirmatn;src:url("fonts/Vazirmatn-Bold.woff2") format("woff2");font-style:normal;font-weight:700 900;font-display:swap}
:root{color-scheme:dark;--bg:#09090b;--surface:#111113;--surface-2:#151517;--text:#f3f2f5;--muted:#a09da8;--dim:#74717d;--line:rgba(255,255,255,.11);--line-strong:rgba(255,255,255,.2);--accent:#a894ff;--accent-ink:#120d22;--soft-accent:rgba(168,148,255,.13);--shadow:0 28px 80px rgba(0,0,0,.24);--header:rgba(9,9,11,.82);--radius:22px}
html[data-theme="light"]{color-scheme:light;--bg:#f5f4f1;--surface:#fff;--surface-2:#f0efec;--text:#18171b;--muted:#65616e;--dim:#888491;--line:rgba(25,22,31,.12);--line-strong:rgba(25,22,31,.22);--accent:#5b48be;--accent-ink:#fff;--soft-accent:rgba(91,72,190,.1);--shadow:0 24px 64px rgba(34,28,55,.08);--header:rgba(245,244,241,.84)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,Arial,sans-serif;font-size:15px;line-height:1.8;-webkit-font-smoothing:antialiased;transition:background-color .2s,color .2s}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}.container{width:min(1120px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;top:8px;right:8px;z-index:100;transform:translateY(-140%);padding:9px 14px;border-radius:10px;background:var(--text);color:var(--bg)}.skip-link:focus{transform:none}:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:5px}
.site-header{height:78px;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:var(--header);backdrop-filter:blur(18px)}.nav-row{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto}.brand img{width:42px;height:42px}.brand span{display:grid;gap:0}.brand strong{font-size:14px;line-height:1.5}.brand small{color:var(--muted);font-size:10px;line-height:1.5}.main-nav{display:flex;align-items:center;gap:24px}.main-nav>a:not(.nav-download){font-size:12px;color:var(--muted);transition:color .18s}.main-nav>a:not(.nav-download):hover,.footer-link:hover{color:var(--text)}.theme-toggle,.nav-download,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}.theme-toggle{height:40px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:transparent;font-size:11px}.theme-toggle:hover,.button-secondary:hover{border-color:var(--line-strong);background:var(--surface)}.theme-toggle svg,.nav-download svg,.button svg,.text-link svg,.step-download svg,.footer-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.moon-icon{display:none}.nav-download{height:40px;padding:0 15px;border-radius:12px;background:var(--text);color:var(--bg);font-size:11px;font-weight:600}.nav-download:hover,.button-primary:hover{transform:translateY(-1px);opacity:.92}.nav-download svg,.button-primary svg{width:16px;height:16px}
.hero{min-height:590px;padding-block:90px 82px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:58px}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.02em}.eyebrow-mark{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--soft-accent)}h1,h2,h3,p{margin-top:0}.hero h1{margin:19px 0 16px;font-size:clamp(42px,5vw,66px);line-height:1.26;letter-spacing:-.045em;font-weight:700}.hero h1 span{color:var(--accent)}.hero-lead{max-width:530px;margin-bottom:25px;color:var(--muted);font-size:15px;line-height:2.05}.hero-actions{display:flex;flex-wrap:wrap;gap:10px}.button{min-height:47px;padding:0 17px;border:1px solid transparent;border-radius:13px;font-size:12px;font-weight:600}.button-primary{background:var(--accent);color:var(--accent-ink)}.button-secondary{border-color:var(--line);background:transparent;color:var(--text)}.hero-note{display:flex;align-items:center;gap:8px;margin:19px 0 0;color:var(--muted);font-size:10.5px}.hero-note svg{width:16px;height:16px;stroke:var(--accent);fill:none;stroke-width:1.8;flex:0 0 auto}
.preview-wrap{position:relative;max-width:470px;margin-inline:auto;width:100%}.preview-window{padding:14px;border:1px solid var(--line-strong);border-radius:26px;background:linear-gradient(145deg,var(--surface),var(--bg));box-shadow:var(--shadow);transform:rotate(-1.3deg)}.preview-top{height:39px;display:flex;align-items:center;gap:13px;padding-inline:4px 7px;border-bottom:1px solid var(--line)}.window-dots{display:flex;gap:5px;direction:ltr}.window-dots i{width:7px;height:7px;border-radius:50%;background:var(--line-strong)}.preview-url{height:25px;flex:1;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--dim);font:10px/1.2 ui-monospace,monospace}.preview-mark{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:700}.preview-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 5px 15px}.preview-heading>div{display:grid;gap:4px}.tiny-label,.preview-site-kicker{color:var(--muted);font-size:9.5px}.preview-heading strong{font-size:14px}.toggle-on{position:relative;width:43px;height:25px;border:1px solid var(--line-strong);border-radius:99px;background:var(--accent)}.toggle-on i{position:absolute;top:3px;right:3px;width:17px;height:17px;border-radius:50%;background:var(--accent-ink)}.preview-line{display:flex;align-items:center;gap:11px;min-height:59px;margin-bottom:8px;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:var(--surface-2)}.preview-symbol{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--accent);font-size:13px;font-weight:600}.preview-line>div{display:grid;flex:1;gap:0}.preview-line strong{font-size:11px}.preview-line small{font-size:9px;color:var(--muted)}.chevron{color:var(--muted);font-size:18px}.size-chip{padding:3px 8px;border:1px solid var(--line);border-radius:7px;font:10px ui-monospace,monospace}.preview-site{display:grid;gap:5px;margin-top:13px;padding:14px 12px;border-radius:12px;background:var(--soft-accent)}.preview-site strong{font-size:14px}.preview-site>span:last-child{color:var(--muted);font-size:9px}.preview-footer{display:flex;justify-content:space-between;margin-top:13px;padding:0 4px;color:var(--muted);font-size:9px}.status-dot{display:inline-block;width:6px;height:6px;margin-left:5px;border-radius:50%;background:#56c991}.preview-caption{display:block;margin-top:18px;text-align:center;color:var(--dim);font-size:10px}
.feature-section{padding-block:68px 100px;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-heading .eyebrow{margin-bottom:7px}.section-heading h2,.install-intro h2{margin:0;font-size:28px;line-height:1.5;letter-spacing:-.025em}.section-heading>p{margin:0 0 4px;color:var(--muted);font-size:12px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.feature-card{min-height:194px;padding:20px;border:1px solid var(--line);border-radius:17px;background:var(--surface);transition:transform .18s,border-color .18s}.feature-card:hover{transform:translateY(-3px);border-color:var(--line-strong)}.feature-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2);color:var(--accent)}.feature-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.feature-card h3{margin-bottom:6px;font-size:14px}.feature-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.9}
.install-section{padding-block:89px;background:var(--surface);border-block:1px solid var(--line)}.install-layout{display:grid;grid-template-columns:.72fr 1.28fr;align-items:start;gap:70px}.install-intro{position:sticky;top:110px}.install-intro .eyebrow{margin-bottom:8px}.install-intro h2{font-size:32px}.install-intro>p{max-width:330px;margin:13px 0 20px;color:var(--muted);font-size:13px;line-height:2}.text-link{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;font-weight:500}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.text-link svg{width:14px;height:14px}.steps{position:relative;display:grid;gap:0;margin:0;padding:0;list-style:none}.steps::before{content:"";position:absolute;top:26px;bottom:28px;right:23px;width:1px;background:var(--line-strong)}.steps li{position:relative;display:grid;grid-template-columns:47px 1fr;gap:15px;padding:0 0 25px}.steps li:last-child{padding-bottom:0}.step-number{position:relative;z-index:1;width:47px;height:47px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);color:var(--accent);font:11px/1 Vazirmatn,monospace}.steps h3{margin:2px 0 4px;font-size:13px}.steps p{max-width:550px;margin:0;color:var(--muted);font-size:11px;line-height:1.9}.address-code,.inline-code,.step-download{direction:ltr;unicode-bidi:isolate}.address-code{display:inline-block;margin-top:9px;padding:5px 9px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--accent);font:11px/1.5 ui-monospace,Consolas,monospace}.step-download{display:inline-flex;align-items:center;gap:7px;margin-top:9px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:10px/1.5 ui-monospace,Consolas,monospace}.step-download:hover{border-color:var(--accent)}.step-download svg{width:14px;height:14px;color:var(--accent)}.inline-code{display:inline-block;padding:0 5px;border-radius:5px;background:var(--bg);color:var(--accent);font:10px/1.65 ui-monospace,Consolas,monospace}
.release-section{padding-block:70px}.release-card{display:flex;align-items:center;gap:17px;padding:21px;border:1px solid var(--line);border-radius:19px;background:var(--surface)}.release-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;color:var(--accent)}.release-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.release-copy{flex:1}.release-copy .eyebrow{margin-bottom:2px}.release-copy h2{margin:0;font-size:17px}.release-copy p{margin:3px 0 0;color:var(--muted);font-size:10px}.release-card .button{min-height:41px}
.faq-section{padding-block:22px 92px}.faq-section .section-heading{margin-bottom:19px}.faq-section .section-heading h2{font-size:25px}.faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.faq-item{padding:17px;border:1px solid var(--line);border-radius:15px}.faq-item h3{margin-bottom:7px;font-size:12px}.faq-item p{margin:0;color:var(--muted);font-size:10px;line-height:1.95}.faq-item .text-link{margin-top:9px}
.site-footer{border-top:1px solid var(--line)}.footer-row{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:16px}.footer-row .brand img{width:36px;height:36px}.footer-row .brand strong{font-size:12px}.footer-row .brand small{font-size:9px}.footer-row>span{color:var(--muted);font-size:10px}.footer-link{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:10px}.footer-link svg{width:14px;height:14px}
html[data-theme="light"] .moon-icon{display:block}html[data-theme="light"] .sun-icon{display:none}
@media(max-width:900px){.container{width:min(100% - 36px,720px)}.main-nav{gap:13px}.main-nav>a:not(.nav-download){display:none}.hero{min-height:auto;padding-block:70px;gap:33px}.hero h1{font-size:48px}.install-layout{grid-template-columns:.8fr 1.2fr;gap:34px}}
@media(max-width:640px){.container{width:calc(100% - 32px)}.site-header{height:68px}.brand img{width:37px;height:37px}.main-nav{gap:7px}.main-nav>a[href="#install"]{display:inline-flex;font-size:10px;white-space:nowrap}.theme-toggle{width:39px;height:39px;padding:0;font-size:0}.theme-toggle svg{width:17px;height:17px}.nav-download{height:39px;padding:0 10px;font-size:10px}.hero{grid-template-columns:1fr;padding-block:55px 50px;gap:42px}.hero h1{font-size:45px}.hero-lead{font-size:13px}.hero-note{align-items:flex-start;font-size:10px}.preview-wrap{max-width:430px}.feature-section{padding-block:48px 62px}.section-heading{align-items:start;flex-direction:column;gap:5px}.section-heading h2{font-size:23px}.section-heading>p{font-size:11px}.feature-grid,.faq-grid{grid-template-columns:1fr}.feature-card{min-height:0;padding:17px}.feature-icon{margin-bottom:10px}.feature-card p{font-size:11px}.install-section{padding-block:58px}.install-layout{grid-template-columns:1fr;gap:31px}.install-intro{position:static}.install-intro h2{font-size:27px}.install-intro>p{max-width:440px;font-size:12px}.steps li{grid-template-columns:40px 1fr;gap:12px;padding-bottom:22px}.step-number{width:40px;height:40px;border-radius:12px;font-size:10px}.steps::before{right:19px}.steps h3{font-size:12px}.steps p{font-size:10px}.step-download{max-width:100%;font-size:9px}.release-section{padding-block:50px}.release-card{display:grid;grid-template-columns:48px 1fr;gap:10px 13px;padding:15px}.release-copy h2{font-size:15px}.release-copy p{font-size:9px}.release-card .button{grid-column:1/-1;width:100%}.faq-section{padding-block:15px 60px}.faq-item{padding:15px}.footer-row{min-height:85px;flex-wrap:wrap;justify-content:space-between;padding-block:12px}.footer-row>span{order:3;width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Product screenshots and complete capability list */
.screens-section{padding-block:42px 76px;border-top:1px solid var(--line)}
.screens-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.screen-card{overflow:hidden;margin:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);transition:transform .18s,border-color .18s}
.screen-card:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.screen-card>a{display:grid;place-items:center;min-height:260px;padding:9px;background:#09090b}
.screen-card img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}
.screen-card figcaption{display:grid;gap:2px;padding:12px 15px 15px}
.screen-card figcaption strong{font-size:12px}
.screen-card figcaption span,.screens-hint{color:var(--muted);font-size:10px}
.screens-hint{margin:13px 0 0;text-align:center}
.feature-grid-detailed{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.feature-grid-detailed .feature-card{min-height:100%;padding:21px}
.feature-grid-detailed .feature-card p{margin-bottom:9px}
.feature-grid-detailed .feature-card ul{display:grid;gap:5px;margin:0;padding:0 17px 0 0;list-style:none;color:var(--muted);font-size:10.5px;line-height:1.8}
.feature-grid-detailed .feature-card li{position:relative}
.feature-grid-detailed .feature-card li::before{content:"";position:absolute;top:.85em;right:-14px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
@media(max-width:900px){.feature-grid-detailed{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.screens-section{padding-block:33px 54px}.screens-grid,.feature-grid-detailed{grid-template-columns:1fr}.screen-card>a{min-height:0;padding:7px}.screen-card img{max-height:none}.feature-grid-detailed .feature-card{padding:17px}.feature-grid-detailed .feature-card ul{font-size:10px}}

/* Small, RTL-aware motion: reveals, responsive highlights, and useful feedback */
.scroll-progress{position:absolute;inset-inline:0;bottom:0;height:2px;overflow:hidden;pointer-events:none}
#reading-progress-bar{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:right center;background:var(--accent);box-shadow:0 0 10px var(--accent);will-change:transform}
.main-nav>a:not(.nav-download){position:relative}
.main-nav>a:not(.nav-download)::after{content:"";position:absolute;inset-inline:0;bottom:-7px;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:right center;transition:transform .24s ease}
.main-nav>a:not(.nav-download):hover::after,.main-nav>a:not(.nav-download):focus-visible::after{transform:scaleX(1)}
.main-nav>a svg,.button svg,.text-link svg,.footer-link svg{transition:transform .24s cubic-bezier(.2,.75,.25,1)}
.main-nav>a:hover svg,.button:hover svg,.text-link:hover svg,.footer-link:hover svg{transform:translateX(-3px)}
.theme-toggle svg{transition:transform .36s cubic-bezier(.2,.75,.25,1)}
.theme-toggle:hover .sun-icon{transform:rotate(45deg) scale(1.08)}
.theme-toggle:hover .moon-icon{transform:rotate(-14deg) scale(1.08)}
.hero{position:relative;isolation:isolate}
.hero::before{content:"";position:absolute;z-index:-1;top:4%;left:0;width:min(54vw,580px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,var(--soft-accent) 0%,transparent 69%);filter:blur(9px);opacity:.82;pointer-events:none}
.feature-card,.screen-card{position:relative;isolation:isolate;overflow:hidden}
.feature-card::before,.screen-card::before{content:"";position:absolute;z-index:0;inset:0;background:radial-gradient(350px circle at var(--spot-x,50%) var(--spot-y,0%),rgba(168,148,255,.14),transparent 76%);opacity:0;pointer-events:none;transition:opacity .24s ease}
.feature-card:hover::before,.feature-card:focus-within::before,.screen-card:hover::before,.screen-card:focus-within::before{opacity:1}
.feature-card>* ,.screen-card>*{position:relative;z-index:1}
.feature-card .feature-icon{transition:transform .28s cubic-bezier(.2,.75,.25,1),border-color .2s,color .2s}
.feature-card:hover .feature-icon,.feature-card:focus-within .feature-icon{transform:translateY(-2px) rotate(-4deg) scale(1.04);border-color:var(--line-strong)}
.screen-card img{transition:transform .42s cubic-bezier(.2,.75,.25,1)}
.screen-card:hover img,.screen-card:focus-within img{transform:scale(1.012)}
.button-primary,.nav-download{transition:transform .22s cubic-bezier(.2,.75,.25,1),opacity .22s,box-shadow .22s}
.button-primary:hover,.nav-download:hover{box-shadow:0 7px 24px var(--soft-accent)}
@media(prefers-reduced-motion:no-preference){
  .hero::before{animation:yar-aura-drift 13s ease-in-out infinite alternate}
  html.has-motion [data-reveal]{opacity:0;transform:translate3d(0,20px,0);transition:opacity .58s cubic-bezier(.2,.7,.25,1),transform .68s cubic-bezier(.2,.75,.25,1);transition-delay:var(--reveal-delay,0ms);will-change:opacity,transform}
  html.has-motion [data-reveal="from-right"]{transform:translate3d(24px,0,0)}
  html.has-motion [data-reveal="from-left"]{transform:translate3d(-24px,0,0)}
  html.has-motion [data-reveal].is-visible{opacity:1;transform:translate3d(0,0,0);will-change:auto}
}
@keyframes yar-aura-drift{from{transform:translate3d(-8px,8px,0) scale(.96)}to{transform:translate3d(22px,-10px,0) scale(1.04)}}
@media(prefers-reduced-motion:reduce){.hero::before{animation:none}.scroll-progress,#reading-progress-bar{transition:none!important}.feature-card,.screen-card,.feature-card::before,.screen-card::after,.screen-card::before,.screen-card img,.feature-icon,.theme-toggle svg,.main-nav>a::after{transition:none!important}.feature-card:hover,.feature-card:focus-within,.screen-card:hover,.screen-card:focus-within,.feature-card:hover .feature-icon,.feature-card:focus-within .feature-icon,.screen-card:hover img,.screen-card:focus-within img,.main-nav>a:hover svg,.button:hover svg,.text-link:hover svg,.footer-link:hover svg,.theme-toggle:hover svg,.nav-download:hover,.button-primary:hover{transform:none!important}}


/* More lively previews, staggered details, and layouts tuned for tablets */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span {
    background: linear-gradient(105deg, var(--accent), color-mix(in srgb, var(--accent), white 35%), var(--accent));
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: yar-title-glint 7s ease-in-out infinite;
  }
  .preview-wrap.is-visible .preview-window {
    animation: yar-preview-float 6.5s ease-in-out 850ms infinite;
    transform-origin: 50% 50%;
  }
  .preview-wrap.is-visible .preview-line {
    animation: yar-preview-row .65s cubic-bezier(.2,.75,.25,1) both;
  }
  .preview-wrap.is-visible .preview-line:nth-child(3) { animation-delay: 180ms; }
  .preview-wrap.is-visible .preview-line:nth-child(4) { animation-delay: 280ms; }
  .preview-wrap.is-visible .preview-site { animation: yar-preview-glow 3.8s ease-in-out 1.2s infinite; }
  .preview-wrap.is-visible .status-dot { animation: yar-status-pulse 2s ease-out 1.3s infinite; }
  .feature-card.is-visible li { animation: yar-point-enter .48s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(100ms + var(--point-index, 0) * 55ms); }
  .feature-card.is-visible li::before { animation: yar-dot-pop .45s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(100ms + var(--point-index, 0) * 55ms); }
  .feature-card.is-visible .feature-icon svg path,
  .feature-card.is-visible .feature-icon svg circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: yar-icon-draw .72s ease-out 150ms forwards;
  }
  .steps li.is-visible .step-number { animation: yar-step-pop .5s cubic-bezier(.2,.75,.25,1) both; }
  .screen-card.is-visible img { animation: yar-image-settle .8s cubic-bezier(.2,.75,.25,1) both; }
}

.preview-site { position: relative; overflow: hidden; }
.preview-site::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(450%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .preview-wrap.is-visible .preview-site::after { animation: yar-preview-sheen 1.15s ease-out 1s both; }
}
@keyframes yar-title-glint { 0%, 100% { background-position: 100% 50%; } 50% { background-position: 0 50%; } }
@keyframes yar-preview-float { 0%, 100% { transform: translateY(0) rotate(-1.3deg); } 50% { transform: translateY(-8px) rotate(-.45deg); } }
@keyframes yar-preview-row { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes yar-preview-glow { 0%, 100% { box-shadow: 0 0 0 rgba(168,148,255,0); } 50% { box-shadow: 0 0 26px var(--soft-accent); } }
@keyframes yar-status-pulse { 0% { box-shadow: 0 0 0 0 rgba(86,201,145,.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(86,201,145,0); } }
@keyframes yar-preview-sheen { to { transform: translateX(-450%); } }
@keyframes yar-point-enter { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes yar-dot-pop { from { opacity: 0; scale: .35; } to { opacity: 1; scale: 1; } }
@keyframes yar-icon-draw { to { stroke-dashoffset: 0; } }
@keyframes yar-step-pop { 0% { transform: scale(.72); box-shadow: 0 0 0 0 var(--soft-accent); } 70% { transform: scale(1.08); box-shadow: 0 0 0 8px transparent; } 100% { transform: scale(1); } }
@keyframes yar-image-settle { from { filter: saturate(.75); transform: scale(1.025); } to { filter: saturate(1); transform: scale(1); } }

@media (hover: hover) and (pointer: fine) {
  .feature-card, .screen-card { transition: transform .32s cubic-bezier(.2,.75,.25,1), border-color .24s, box-shadow .32s; }
  .feature-card:hover { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.14); }
  .screen-card:hover { transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 58px 56px; gap: 34px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(42px, 8vw, 55px); }
  .preview-wrap { max-width: 500px; }
  .feature-grid-detailed { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-layout { grid-template-columns: 1fr; gap: 32px; }
  .install-intro { position: static; }
  .install-intro > p { max-width: 600px; }
}
@media (max-width: 520px) {
  .screens-grid { grid-template-columns: 1fr; }
  .section-heading h2 { max-width: 100%; }
  .step-download { white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 26px); }
  .brand { gap: 7px; }
  .brand small { display: none; }
  .main-nav { gap: 5px; }
  .main-nav > a[href="#install"] { font-size: 9px; }
  .nav-download { padding-inline: 8px; font-size: 9px; }
  .hero h1 { font-size: 40px; }
  .hero-actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 span { animation: none; background: none; color: var(--accent); }
  .preview-site::after { display: none; }
  .feature-card:hover, .screen-card:hover { transform: none !important; }
}


/* Phone and tablet refinements */
@media (max-width: 680px) {
  .container { width: calc(100% - 30px); }
  .site-header { height: 64px; }
  .nav-row { gap: 8px; }
  .brand { gap: 7px; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 12px; white-space: nowrap; }
  .brand small { display: none; }
  .main-nav { flex: 0 0 auto; gap: 7px; }
  .main-nav > a[href="#install"] { font-size: 10px; white-space: nowrap; }
  .theme-toggle { width: 38px; height: 38px; padding: 0; flex: 0 0 auto; }
  .theme-toggle svg { width: 17px; height: 17px; }
  .nav-download { height: 38px; padding-inline: 10px; gap: 6px; flex: 0 0 auto; font-size: 10px; white-space: nowrap; }
  .nav-download svg { width: 15px; height: 15px; }

  .hero { padding-block: 42px 46px; gap: 30px; }
  .hero h1 { margin-block: 15px 13px; font-size: clamp(30px, 8.5vw, 38px); line-height: 1.36; letter-spacing: -.035em; }
  .hero-lead { margin-bottom: 19px; font-size: 13px; line-height: 1.95; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; max-width: 500px; }
  .hero-actions .button { width: 100%; min-height: 46px; padding-inline: 14px; font-size: 12px; }
  .hero-note { max-width: 500px; align-items: flex-start; font-size: 11px; line-height: 1.85; }
  .preview-wrap { max-width: 500px; }
  .preview-window { padding: 11px; border-radius: 20px; }
  .preview-heading { padding-block: 16px 12px; }
  .preview-site strong { font-size: 13px; line-height: 1.8; }
  .preview-caption { font-size: 11px; }

  .screens-section { padding-block: 32px 48px; }
  .screens-grid { gap: 12px; }
  .screen-card figcaption strong { font-size: 13px; }
  .screen-card figcaption span, .screens-hint { font-size: 11px; line-height: 1.8; }
  .feature-section { padding-block: 43px 55px; }
  .section-heading { gap: 7px; margin-bottom: 18px; }
  .section-heading h2 { font-size: clamp(21px, 5.8vw, 25px); line-height: 1.5; }
  .section-heading > p { font-size: 12px; line-height: 1.8; }
  .feature-grid-detailed { gap: 11px; }
  .feature-grid-detailed .feature-card { padding: 17px 16px; }
  .feature-card h3 { font-size: 15px; }
  .feature-grid-detailed .feature-card p { font-size: 12px; line-height: 1.9; }
  .feature-grid-detailed .feature-card ul { gap: 6px; font-size: 11.5px; line-height: 1.9; }

  .install-section { padding-block: 48px; }
  .install-layout { gap: 26px; }
  .install-intro h2 { font-size: 27px; }
  .install-intro > p { font-size: 12px; line-height: 1.9; }
  .steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding-bottom: 20px; }
  .step-number { width: 38px; height: 38px; border-radius: 11px; }
  .steps::before { right: 18px; }
  .steps h3 { font-size: 13px; line-height: 1.7; }
  .steps p { font-size: 11.5px; line-height: 1.85; }
  .step-download { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 10px; }

  .release-section { padding-block: 42px; }
  .release-card { gap: 12px; }
  .release-copy h2 { font-size: 16px; }
  .release-copy p { font-size: 11px; line-height: 1.8; }
  .faq-section { padding-block: 12px 48px; }
  .faq-section .section-heading h2 { font-size: 23px; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-item { padding: 15px; }
  .faq-item h3 { font-size: 13px; line-height: 1.7; }
  .faq-item p { font-size: 11.5px; line-height: 1.9; }
  .footer-row { min-height: 82px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 26px); }
  .nav-row { gap: 6px; }
  .brand { gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  .main-nav { gap: 6px; }
  .main-nav > a[href="#install"] { display: none; }
  .theme-toggle { width: 36px; height: 36px; }
  .nav-download { height: 36px; padding-inline: 8px; font-size: 9px; }
  .hero h1 { font-size: clamp(29px, 8vw, 32px); }
  .hero-actions .button { min-height: 44px; }
  .feature-grid-detailed .feature-card { padding-inline: 14px; }
  .steps li { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; }
  .step-number { width: 34px; height: 34px; font-size: 9px; }
  .steps::before { right: 16px; }
}


@media (min-width: 681px) and (max-width: 900px) {
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-item p { font-size: 11px; }
  .feature-grid-detailed .feature-card ul { font-size: 11px; }
}

/* Community links */
.community-section { padding-block: 5px 82px; font-family: Vazirmatn,Tahoma,Arial,sans-serif; }
.community-heading { max-width: 620px; margin: 0 auto 23px; text-align: center; }
.community-heading .eyebrow { justify-content: center; }
.community-heading h2 { margin: 7px 0 4px; font-size: clamp(22px,3vw,30px); line-height: 1.55; }
.community-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.community-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.community-card { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-family: inherit; transition: transform .24s cubic-bezier(.2,.75,.25,1),border-color .2s,box-shadow .24s,background-color .2s; }
.community-card:hover,.community-card:focus-visible { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.community-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--soft-accent); color: var(--accent); }
.community-icon svg { width: 21px; height: 21px; fill: currentColor; }
.community-magazine .community-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.community-telegram .community-icon { color: #229ed9; background: rgba(34,158,217,.12); }
.community-youtube .community-icon { color: #ff0033; background: rgba(255,0,51,.1); }
.community-aparat .community-icon { color: #ed145b; background: rgba(237,20,91,.1); }
.community-copy { min-width: 0; flex: 1; display: grid; gap: 1px; }
.community-copy strong { overflow: hidden; color: var(--text); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.community-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.community-arrow { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--dim); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s,color .2s; }
.community-card:hover .community-arrow,.community-card:focus-visible .community-arrow { color: var(--accent); transform: translate(-2px,-2px); }
@media (max-width: 900px) { .community-links { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 440px) {
  .community-section { padding-block: 0 55px; }
  .community-heading { margin-bottom: 16px; }
  .community-heading p { font-size: 11px; line-height: 1.9; }
  .community-links { grid-template-columns: 1fr; gap: 9px; }
  .community-card { padding: 11px; }
}
@media (prefers-reduced-motion: reduce) { .community-card,.community-arrow { transition: none; } .community-card:hover,.community-card:focus-visible { transform: none; } }
