/* ============================================================
   ЮРИСТЫ БУДУЩЕГО — Lead-form page (loaded after styles.css)
   ============================================================ */
.lead { min-height: 100vh; background: var(--navy-deep); position: relative; overflow: hidden; }
.lead .shard-a { top: -90px; left: -60px; width: 360px; height: 360px;
  clip-path: polygon(0 0, 100% 0, 0 100%); background: rgba(255,255,255,0.04); }
.lead .shard-b { bottom: -70px; right: -50px; width: 320px; height: 320px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); background: var(--red); opacity: .85; }
.lead-inner {
  position: relative; z-index: 3; max-width: 1180px; margin: 0 auto;
  padding: clamp(40px,5vw,72px) var(--pad-x) clamp(60px,7vw,90px);
}
.lead .back {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.7); margin-bottom: 30px; letter-spacing: .02em; transition: color .15s;
}
.lead .back:hover { color: #fff; }
.lead .back svg { width: 16px; height: 16px; }

.lead-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: start; }

/* left rail */
.lead-aside { color: #fff; padding-top: 6px; }
.lead-aside .eyebrow { color: var(--red-soft); }
.lead-aside .eyebrow::before { background: var(--red-soft); }
.lead-aside h1 {
  margin-top: 14px; font-size: clamp(32px,4vw,52px); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.02em; max-width: 13ch;
}
.lead-aside h1 em { font-style: normal; color: var(--red-soft); }
.lead-aside .sub { margin-top: 20px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.74); max-width: 460px; font-weight: 500; }
.lead-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.lead-point { display: flex; gap: 14px; align-items: flex-start; }
.lead-point .ic { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.1); color: var(--red-soft);
  display: grid; place-items: center; flex-shrink: 0; }
.lead-point .ic svg { width: 16px; height: 16px; }
.lead-point span { font-size: 15.5px; font-weight: 600; color: rgba(255,255,255,0.88); line-height: 1.45; }
.lead-founder {
  margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 16px;
}
.lead-founder img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; object-position: 50% 16%; flex-shrink: 0; }
.lead-founder .who { font-size: 15px; font-weight: 800; color: #fff; }
.lead-founder .role { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 3px; }

/* form card */
.lead-card {
  position: relative; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.lead-card-head { position: relative; background: var(--navy); color: #fff; padding: 28px 36px; overflow: hidden; }
.lead-card-head .shard { position: absolute; top: 0; right: 0; width: 130px; height: 100%;
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%); background: rgba(255,255,255,0.05); }
.lead-card-head h2 { position: relative; z-index: 2; font-size: 23px; font-weight: 800; letter-spacing: -0.01em; }
.lead-card-head p { position: relative; z-index: 2; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,0.72); font-weight: 500; }
.lead-form { padding: 30px 36px 36px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* plan picker */
.plan-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.plan-opt {
  position: relative; cursor: pointer; border: 1.5px solid var(--line-strong); border-radius: 11px;
  padding: 16px 16px 15px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.plan-opt:hover { border-color: var(--navy); }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt .po-name { display: block; font-size: 14.5px; font-weight: 800; color: var(--navy); padding-right: 24px; }
.plan-opt .po-price { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.plan-opt .po-check {
  position: absolute; top: 13px; right: 13px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--line-strong); display: grid; place-items: center; transition: .15s;
}
.plan-opt .po-check svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.plan-opt input:checked ~ .po-check { background: var(--red); border-color: var(--red); }
.plan-opt input:checked ~ .po-check svg { opacity: 1; }
.plan-opt:has(input:checked) { border-color: var(--red); background: #fdf3f3; box-shadow: 0 0 0 3px rgba(225,27,34,0.08); }

.lead-success { display: none; padding: 56px 40px; text-align: center; }
.lead-success.show { display: block; animation: modalIn .3s ease; }
.lead-success .success-ic { width: 80px; height: 80px; margin: 0 auto 24px; }
.lead-success h2 { font-size: 27px; font-weight: 800; color: var(--navy); }
.lead-success p { margin-top: 12px; font-size: 16px; color: var(--muted); font-weight: 500; max-width: 380px; margin-inline: auto; }
.lead-success .btns { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .lead-grid { grid-template-columns: 1fr; gap: 38px; }
  .lead-aside { max-width: 600px; }
}
@media (max-width: 520px) {
  .lead-row, .plan-picker { grid-template-columns: 1fr; }
  .lead-form, .lead-card-head { padding-left: 22px; padding-right: 22px; }
}
