/* ============================================================
   lead.css -- /get-your-path aur /free-class

   `leads.js` bilkul nahi chhui gayi. Wo in naamon par tikti hai
   aur HTML me wo waise ke waise hain:

     #leadForm #formState #thanksState #thanksName
     #lSubmit  #lError    #waJoin
     field: name / phone / city / experience / occupation / website

   `source` JS khud pehchan leta hai:
     /free-class              -> free_class
     /get-your-path?src=popup -> popup
     baaki                    -> path

   Honeypot (.hp) CSS se chhupa hai, type="hidden" se NAHI --
   bot hidden field chhod dete hain, par CSS se chhupe hue bhar
   dete hain. Yahi use pakadta hai.

   theme.css ke token par chalti hai.
   ============================================================ */

.lead-wrap { padding-block: 42px 80px; }
@media (max-width: 700px) { .lead-wrap { padding-block: 26px 56px; } }

.lead-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 54px; align-items: start;
}
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------ baayan hissa */

.lead-left h1 {
  font-family: var(--font-display); font-size: clamp(31px, 4.6vw, 48px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 16px;
}
.lead-lede { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); max-width: 460px; }

.lead-points { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 11px; }
.lead-points li {
  position: relative; padding-left: 26px;
  font-size: 15px; line-height: 1.6; color: var(--text); max-width: 440px;
}
.lead-points li::before {
  content: ''; position: absolute; left: 3px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); opacity: .55;
}

.lead-by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
}
.lb-ini {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; flex: 0 0 auto;
}
.lb-n { display: block; font-size: 14.5px; font-weight: 600; }
.lb-s { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }

/* ------------------------------------------------- dayan hissa */

.lead-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl, 26px); padding: 30px 28px;
  box-shadow: 0 20px 54px -30px rgba(28,26,23,.2);
}
@media (max-width: 520px) { .lead-card { padding: 24px 20px; } }

.lead-form { display: flex; flex-direction: column; gap: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
@media (max-width: 460px) { .two { grid-template-columns: 1fr; } }

.lead-fine {
  font-size: 12.5px; color: var(--text-dim); text-align: center;
  margin-top: 4px; line-height: 1.55;
}
.lead-fine a { color: var(--accent); }
.lead-fine a:hover { text-decoration: underline; text-underline-offset: 3px; }

.msg { border-radius: var(--r-md); padding: 12px 14px; font-size: 13.5px; line-height: 1.6; }
.msg.err { background: rgba(154,59,38,.07); border: 1px solid rgba(154,59,38,.25); color: var(--error, #9a3b26); }

.full { width: 100%; }
/* leads.js submit ke waqt button ko disabled karta hai */
.btn:disabled { opacity: .6; cursor: default; }

/* ---- honeypot ----
   Nazar se poori tarah gayab, par DOM me maujood. Screen reader se
   bhi hata diya (aria-hidden HTML me hai). */
.hp {
  position: absolute !important;
  left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

/* ---- shukriya wala parda ----
   leads.js #formState ko chhupa kar isme .show lagata hai. */
.lead-thanks { display: none; text-align: center; }
.lead-thanks.show { display: block; }
.lt-ico {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.lt-ico svg { width: 26px; height: 26px; }
.lead-thanks h2 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  letter-spacing: -.025em; margin-bottom: 10px;
}
.lead-thanks p {
  font-size: 15px; line-height: 1.7; color: var(--text-muted);
  max-width: 340px; margin: 0 auto 22px;
}
.lead-thanks .btn { display: inline-flex; }
