/* «آنالیز رایگان پیج» right on the home page (owner, 2026-11-29): the page's username in the hero and in the closing call to
   action; it opens the same panel as «شروع رایگان», already filled in (public/free-start.js). The site's own colours. */
.page-check{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;width:min(100%,520px);margin-top:26px}
.page-check-field{position:relative;flex:1;min-width:0;direction:ltr}
.page-check-field span{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#9a95a3;font-size:17px;font-weight:700;pointer-events:none}
.page-check-field input{display:block;width:100%;height:58px;padding:0 16px 0 38px;border:1px solid #e7e3ed;border-radius:14px;background:#fff;color:#201d2d;outline:0;
  font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;font-weight:500;direction:ltr;text-align:left;box-shadow:0 10px 26px rgba(47,34,88,.06);transition:border-color .18s,box-shadow .18s}
.page-check-field input::placeholder{color:#aaa5b1;font-weight:400;text-align:right;direction:rtl}
.page-check-field input:focus{border-color:#6d4aff;box-shadow:0 0 0 3px rgba(109,74,255,.13)}
.page-check .button{flex:none;min-height:58px;white-space:nowrap}
/* in the flow, on its own line under the field: it used to sit over «بدون ثبت‌نام · …» below */
.page-check-error{flex-basis:100%;order:3;margin:0;color:#c83f5f;font-size:13px;line-height:1.8}
.page-check-error[hidden]{display:none}
.page-check-light .page-check-error{color:#ffe1e8}
.page-check-note{margin:12px 0 0;color:#716f7e;font-size:13px}
.hero-copy .hero-actions{margin-top:18px}
.cta .page-check{margin-top:0;width:min(100%,460px)}
.cta .page-check-field input{border-color:transparent;box-shadow:none}
@media (max-width:760px){
  .page-check{flex-direction:column;width:100%}
  .page-check .button{width:100%}
  .cta .page-check{width:100%}
}
/* the hero's «با ریپلو می‌تونی …» (hero-rotate.js): one colour, one line, the underline drawn in after the words */
.hero-copy .hero-rotate{display:flex;flex-wrap:nowrap;align-items:baseline;gap:8px;margin:18px 0 6px;font-size:clamp(15px,4.6vw,21px);line-height:1.8;color:#5d5a69;min-height:2.2em;white-space:nowrap}
.hero-rotate .rot-fixed{flex:none;font-weight:600}
.hero-rotate .rot-word{position:relative;display:inline-block;white-space:nowrap;font-weight:900;color:#6d4aff;text-decoration:none;padding-bottom:10px;
  transition:opacity .26s ease,transform .26s ease,filter .26s ease}
/* the line under it (owner, 2026-11-29): a soft curve that is always there, and a faint light that runs along it from the
   right a moment after the words come in, instead of the line drawing itself */
.hero-rotate .rot-word::before,.hero-rotate .rot-word::after{content:"";position:absolute;left:-2px;right:-2px;bottom:0;height:10px;pointer-events:none}
.hero-rotate .rot-word::before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23a43df5'/%3E%3Cstop offset='1' stop-color='%236d4aff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 9 C 55 2.5, 140 2, 197 6.5' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;opacity:.85}
.hero-rotate .rot-word::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23a43df5'/%3E%3Cstop offset='1' stop-color='%236d4aff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 9 C 55 2.5, 140 2, 197 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23a43df5'/%3E%3Cstop offset='1' stop-color='%236d4aff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 9 C 55 2.5, 140 2, 197 6.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.8),rgba(255,255,255,0)) no-repeat;background-size:40% 100%;background-position:140% 0;opacity:0}
.hero-rotate .rot-word.rot-draw::after{animation:rotGlow 1.4s ease-in-out .5s both}
@keyframes rotGlow{0%{background-position:140% 0;opacity:0}20%{opacity:1}80%{opacity:1}100%{background-position:-40% 0;opacity:0}}
.hero-rotate .rot-word:focus-visible{outline:2px solid #6d4aff;outline-offset:3px;border-radius:4px}
.hero-rotate .rot-word.rot-out{opacity:0;transform:translateY(-8px);filter:blur(2px)}
.hero-rotate .rot-word.rot-in{opacity:0;transform:translateY(8px);filter:blur(2px);transition:none}
.hero-copy .hero-sub{margin:0;color:#716f7e;font-size:15px;line-height:1.95;max-width:520px}
@media (max-width:760px){.hero-copy .hero-rotate{justify-content:center}.hero-copy .hero-sub{margin:0 auto;text-align:center}}
@media (prefers-reduced-motion:reduce){.hero-rotate .rot-word{transition:none}.hero-rotate .rot-word.rot-draw::after{animation:none}}
/* a phone's first screen was crowded (owner, 2026-11-29): tighter spaces between the hero's parts, nothing removed */
@media (max-width:760px){
  section.hero.container{padding-top:18px}
  .hero-copy .eyebrow{margin-bottom:4px}
  .hero-copy h1{margin:8px 0 2px}
  .hero-copy .hero-rotate{margin:6px 0 0}
  .hero-copy .hero-sub{font-size:14px}
  .page-check{margin-top:16px;gap:8px}
  .page-check-field input,.page-check .button{height:54px;min-height:54px}
  .page-check-note{margin-top:8px;font-size:12.5px}
  .hero-copy .hero-actions{margin-top:8px}
}
