body{margin:0;padding:40px 20px;background:#f0eeff;min-height:100vh}#wrap{max-width:960px;margin:0 auto;background:#fff;border-radius:20px;box-shadow:0 8px 48px rgba(79,70,229,.15);overflow:hidden}*{box-sizing:border-box;margin:0;padding:0}#lf{font-family:'DM Sans',system-ui,sans-serif;background:#fff;width:100%;display:flex;flex-direction:column;min-height:680px}#lf-bar{height:60px;background:#fff;border-bottom:2px solid #f0eeff;display:flex;align-items:center;padding:0 48px;gap:0;flex-shrink:0}.lf-logo{font-size:18px;font-weight:900;color:#1a1a2e;letter-spacing:-.5px;margin-right:32px;flex-shrink:0;display:flex;align-items:center;gap:8px}.lf-logo em{color:#4f46e5;font-style:normal}.lf-step-pill{display:flex;align-items:center;gap:8px;background:#f6f4ff;border-radius:99px;padding:5px 14px 5px 6px;flex-shrink:0}.lf-step-circle{width:26px;height:26px;border-radius:50%;background:#4f46e5;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}.lf-step-text{font-size:12px;font-weight:700;color:#4f46e5;white-space:nowrap}.lf-prog-track{flex:1;height:4px;background:#f0eeff;border-radius:2px;overflow:hidden;margin:0 24px}.lf-prog-fill{height:4px;background:linear-gradient(90deg,#4f46e5,#ff385c);border-radius:2px;transition:width .5s cubic-bezier(.4,0,.2,1)}.lf-wp-badge{display:flex;align-items:center;gap:7px;border:2px solid #e0e7ff;border-radius:99px;padding:5px 14px;flex-shrink:0;background:#fff}.lf-wp-dot{width:7px;height:7px;border-radius:50%;background:#ff385c;animation:blink 2s infinite}@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}.lf-wp-label{font-size:11px;color:#94a3b8;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.lf-wp-val{font-size:15px;font-weight:800;color:#4f46e5;min-width:36px;text-align:right}#lf-canvas{flex:1;display:flex;flex-direction:column;align-items:stretch;padding:32px 48px 24px;max-width:840px;width:100%;margin:0 auto;min-height:520px}.lf-screen{display:none;flex-direction:column;align-items:center;width:100%;min-height:100%;flex:1}.lf-screen.on{display:flex;flex:1;flex-direction:column;align-items:center}.lf-illus{margin-bottom:14px;flex-shrink:0}.lf-q-head{font-size:34px;font-weight:800;color:#0f0c1e;text-align:center;letter-spacing:-.7px;line-height:1.2;margin-bottom:8px;max-width:640px}.lf-q-sub{font-size:15px;color:#8b8fa8;text-align:center;font-weight:400;line-height:1.5;max-width:500px;margin-bottom:8px}.lf-enforce{font-size:13px;color:#7c3aed;text-align:center;background:#faf9ff;border-radius:8px;padding:8px 20px;margin-bottom:24px;max-width:520px;font-weight:500;line-height:1.5}.lf-enforce strong{color:#4f46e5}.lf-sel-wrap{position:relative;width:100%;max-width:460px;margin-bottom:4px}.lf-sel{width:100%;padding:15px 48px 15px 20px;font-size:16px;font-weight:600;border:2px solid #e0e7ff;border-radius:14px;background:#fff;cursor:pointer;appearance:none;-webkit-appearance:none;font-family:'DM Sans',system-ui,sans-serif;outline:none;transition:border-color .15s;line-height:1.4}.lf-sel:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}.lf-sel[data-empty="true"]{color:#94a3b8}.lf-sel:not([data-empty="true"]){color:#0f0c1e}.lf-sel option{color:#0f0c1e;font-weight:500}.lf-sel-arr{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none;color:#a78bfa}.lf-yesno{display:flex;gap:12px;width:100%;max-width:460px;margin-bottom:4px}.lf-yn{flex:1;padding:14px 20px;border-radius:14px;border:2px solid #e0e7ff;font-size:16px;font-weight:700;cursor:pointer;background:#fff;color:#374151;transition:all .15s;text-align:center;user-select:none}.lf-yn:hover{border-color:#4f46e5;color:#4f46e5;background:#f6f4ff}.lf-yn.on{border-color:#4f46e5;background:#4f46e5;color:#fff;box-shadow:0 4px 14px rgba(79,70,229,.25)}.lf-yn.red.on{border-color:#ff385c;background:#ff385c;color:#fff}.lf-yn.red:hover{border-color:#ff385c;color:#ff385c;background:#fff5f7}.lf-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%;max-width:640px;margin-bottom:4px}.lf-chip{padding:12px 18px;border-radius:12px;border:2px solid #e0e7ff;font-size:14px;font-weight:600;cursor:pointer;background:#fff;color:#374151;transition:all .15s;user-select:none;display:flex;align-items:center;gap:8px}.lf-chip:hover{border-color:#4f46e5;color:#4f46e5;background:#f6f4ff}.lf-chip.on{border-color:#4f46e5;background:#f6f4ff;color:#4f46e5}.lf-chip-box{width:17px;height:17px;border-radius:5px;border:2px solid currentColor;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;flex-shrink:0}.lf-chip.on .lf-chip-box::after{content:'✓'}.lf-upload-wrap{margin-top:12px;width:100%;max-width:460px}.lf-upload-btn{display:flex;align-items:center;gap:10px;padding:12px 20px;border:2px dashed #c7d2fe;border-radius:12px;background:#f8f7ff;color:#4f46e5;font-size:14px;font-weight:600;cursor:pointer;width:100%;font-family:'DM Sans',system-ui,sans-serif;transition:all .15s}.lf-upload-btn:hover{border-color:#4f46e5;background:#f0eeff}.lf-upload-note{font-size:11px;color:#a78bfa;margin-top:5px;text-align:center}.lf-upload-done{display:none;align-items:center;gap:6px;font-size:13px;color:#059669;font-weight:600;margin-top:6px}.lf-upload-done.on{display:flex}.lf-inp-group{width:100%;max-width:500px;display:flex;flex-direction:column;gap:12px}.lf-inp-row{display:flex;gap:12px}.lf-inp{flex:1;padding:14px 18px;font-size:15px;font-weight:500;border:2px solid #e0e7ff;border-radius:12px;background:#fff;color:#0f0c1e;outline:none;font-family:'DM Sans',system-ui,sans-serif;transition:border-color .15s}.lf-inp:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}.lf-inp::placeholder{color:#c4c9d4;font-weight:400}.lf-dq{background:#fff5f5;border:2px solid #fecaca;border-radius:10px;padding:11px 18px;font-size:14px;color:#dc2626;display:none;text-align:center;max-width:480px;line-height:1.5;margin-top:4px}.lf-dq.on{display:block}
.lf-field-err{font-size:11px;color:#dc2626;margin-top:4px;display:none;font-family:'DM Sans',system-ui,sans-serif;line-height:1.4}
#lf-nav{padding:18px 48px 24px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;flex-shrink:0;border-top:2px solid #f8f7ff;margin-top:auto;gap:12px}.lf-nav-left{display:flex;align-items:center;justify-content:flex-start}.lf-nav-mid{display:flex;align-items:center;justify-content:center}.lf-nav-right{display:flex;align-items:center;justify-content:flex-end}#step-error{font-size:13px;color:#dc2626;background:#fff5f5;border:1px solid #fecaca;border-radius:8px;padding:7px 14px;text-align:center;font-family:'DM Sans',system-ui,sans-serif;visibility:hidden;min-height:36px;display:flex;align-items:center;justify-content:center}.lf-trust{display:flex;gap:20px}.lf-trust-i{font-size:12px;color:#c4b5fd;font-weight:600;display:flex;align-items:center;gap:5px}.lf-trust-i::before{content:'';width:5px;height:5px;border-radius:50%;background:#4ade80;display:block}.lf-nav-btns{display:flex;align-items:center;gap:10px}.lf-back-btn{padding:11px 22px;font-size:14px;font-weight:700;border:2px solid #e0e7ff;border-radius:12px;background:#fff;color:#a78bfa;cursor:pointer;font-family:'DM Sans',system-ui,sans-serif;transition:all .15s}.lf-back-btn:hover{border-color:#4f46e5;color:#4f46e5;background:#f6f4ff}.lf-continue{padding:14px 40px;font-size:15px;font-weight:800;border-radius:12px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:none;cursor:pointer;font-family:'DM Sans',system-ui,sans-serif;transition:all .2s;display:flex;align-items:center;gap:8px;box-shadow:0 4px 16px rgba(79,70,229,.3)}.lf-continue:hover{background:linear-gradient(135deg,#4338ca,#6d28d9);transform:translateY(-1px);box-shadow:0 8px 24px rgba(79,70,229,.4)}

.r-hero{text-align:center;margin-bottom:22px}
.r-ai-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#4f46e5;background:#eef2ff;padding:5px 12px;border-radius:99px;margin-bottom:12px}
.r-hero-title{font-size:26px;font-weight:800;color:#0f0c1e;letter-spacing:-.5px;line-height:1.2;margin-bottom:4px}
.r-hero-sub{font-size:13px;color:#8b8fa8;font-weight:400}

.r-scores{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
.r-score-card{border-radius:14px;padding:20px 22px;text-align:center}
.rsc-ind{background:#eef2ff;border:1px solid #c7d2fe}
.rsc-grn{background:#f0fdf4;border:1px solid #bbf7d0}
.rsc-lbl{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#6b7280;margin-bottom:6px}
.rsc-ind .rsc-lbl{color:#6366f1}
.rsc-grn .rsc-lbl{color:#059669}
.rsc-num{font-size:42px;font-weight:900;letter-spacing:-2px;line-height:1;color:#4f46e5}
.rsc-grn .rsc-num{color:#059669}
.rsc-val{font-size:24px;margin-top:4px;letter-spacing:-1px}
.rsc-sub{font-size:11px;color:#6b7280;margin-top:8px;font-weight:400;line-height:1.4}
.r-wp-track{height:5px;background:#c7d2fe;border-radius:3px;margin:10px 0 8px;overflow:hidden}
.r-wp-track-fill{height:5px;border-radius:3px;background:#4f46e5;width:0;transition:width 1s cubic-bezier(.4,0,.2,1)}

.r-sw-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.r-panel{border-radius:12px;padding:16px 18px}
.r-panel-str{background:#f0fdf4;border:1px solid #bbf7d0}
.r-panel-wk{background:#fff8f0;border:1px solid #fed7aa}
.r-panel-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.r-panel-str .r-panel-title{color:#15803d}
.r-panel-wk .r-panel-title{color:#c2410c}
.r-flag{padding:8px 0;border-bottom:1px solid rgba(0,0,0,.05);display:flex;align-items:flex-start;gap:8px}
.r-flag:last-child{border-bottom:none}
.r-compliment{font-size:12px;color:#c2410c;font-style:italic;padding:8px 0;line-height:1.5}

.r-report-block{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f8f7ff;border:1px solid #e0e7ff;border-radius:14px;padding:18px 20px;margin-bottom:16px}
.r-report-left{flex:1}
.r-report-title{font-size:14px;font-weight:700;color:#0f0c1e;margin-bottom:4px}
.r-report-sub{font-size:12px;color:#6b7280;line-height:1.5}
.r-report-btn{display:flex;align-items:center;gap:8px;padding:10px 18px;background:#4f46e5;color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;font-family:'DM Sans',system-ui,sans-serif;flex-shrink:0;transition:background .15s}
.r-report-btn:hover{background:#4338ca}

.r-next-section{background:#f0eeff;border-radius:14px;padding:22px 24px;margin-bottom:14px;border:1px solid #e0e7ff}
.r-next-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#4f46e5;margin-bottom:16px}
.r-steps{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.r-step{display:flex;align-items:flex-start;gap:12px}
.r-step-num{width:24px;height:24px;border-radius:50%;background:#4f46e5;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.r-step-title{font-size:13px;font-weight:600;color:#0f0c1e;margin-bottom:2px}
.r-step-desc{font-size:12px;color:#6b7280;line-height:1.5}
.r-cta-badges{display:flex;gap:8px;flex-wrap:wrap}
.r-cta-badge{background:#fff;border:1px solid #c7d2fe;border-radius:99px;padding:5px 12px;font-size:11px;font-weight:600;color:#4f46e5}

.r-reset{width:100%;padding:12px;font-size:13px;font-weight:600;background:transparent;border:1px solid #e0e7ff;border-radius:10px;cursor:pointer;color:#94a3b8;font-family:'DM Sans',system-ui,sans-serif;transition:all .15s;margin-top:2px}
.r-reset:hover{background:#f6f4ff;color:#4f46e5;border-color:#c7d2fe}

#disclaimer-nav-wrap{display:none}

@media(max-width:580px){
  #lf-results{padding:20px 18px 28px}
  .r-scores,.r-sw-grid{grid-template-columns:1fr}
  .r-hero-title{font-size:22px}
  .rsc-num{font-size:34px}
  .r-report-block{flex-direction:column;align-items:flex-start}
  .r-report-btn{width:100%;justify-content:center}
}

/* ============================================
   SC8 — Phone + Send code button
   ============================================ */
/* #btn-send-code is a flex sibling of #i-phone inside .lf-phone-row —
   static position, rounded right side only */
#btn-send-code{
  padding:0 16px;background:#4f46e5;color:#fff;
  border:2px solid #4f46e5;border-left:none;
  border-radius:0 14px 14px 0;font-size:13px;font-weight:800;cursor:pointer;
  font-family:'DM Sans',system-ui,sans-serif;white-space:nowrap;
  transition:background .15s,border-color .15s,opacity .15s;flex-shrink:0;
}
#btn-send-code:hover{background:#4338ca;border-color:#4338ca}
#btn-send-code:disabled{opacity:.6;cursor:not-allowed}
#btn-send-code.sent{background:#059669;border-color:#059669}

#i-phone{padding-right:18px}

/* OTP row */
#otp-row{margin-top:0}
#otp-inline-input{
  width:100%;
  /* Inherits all .lf-inp styles — no overrides except verified state below */
  transition:border-color .2s,color .2s;
}
#otp-inline-input.verified{
  border-color:#059669;
  color:#059669;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23059669'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:44px;
}
#otp-status-icon{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  font-size:20px;font-weight:700;pointer-events:none;
}
#otp-feedback{
  font-size:12px;margin-top:5px;text-align:center;
  font-family:'DM Sans',system-ui,sans-serif;line-height:1.4;
}
#otp-resend-btn{
  display:none;align-self:flex-end;margin-top:4px;
  background:none;border:none;color:#a78bfa;font-size:12px;
  cursor:pointer;font-family:'DM Sans',system-ui,sans-serif;
  text-decoration:underline;padding:2px 0;
}
#otp-resend-btn:disabled{opacity:.5;pointer-events:none}
#otp-resend-timer{color:#94a3b8;font-size:11px;margin-left:3px}

/* Continue button disabled state */
#btn-next:disabled{opacity:.5;cursor:not-allowed;transform:none !important;box-shadow:none !important}



/* ── Results page fixes ── */
#lf-results{
  font-family:'DM Sans',system-ui,sans-serif;
  display:none;
  padding:32px 40px 40px;
  max-width:780px;
  width:100%;
  margin:0 auto;
}
#lf-results.on{display:block}
#lf.results-shown{min-height:0;display:block}
#results-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 0 20px 0;
  border-bottom:2px solid #f0eeff;
  margin-bottom:22px;
}
@media(max-width:580px){
  #lf-results{padding:20px 18px 28px}
  #results-header{padding:0 0 16px 0}
}

/* ── Compact upload buttons ── */
.lf-upload-compact{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 12px;border:1.5px dashed #c7d2fe;border-radius:8px;
  background:#f8f7ff;color:#4f46e5;font-size:12px;font-weight:600;
  cursor:pointer;font-family:'DM Sans',system-ui,sans-serif;
  transition:all .15s;white-space:nowrap;
}
.lf-upload-compact:hover{border-color:#4f46e5;background:#f0eeff}
.lf-upload-compact svg{flex-shrink:0;color:#4f46e5}
.lf-upload-done-inline{color:#059669;font-weight:700;display:none}
.lf-upload-done-inline.on{display:inline}

/* ── Report cards ── */
.r-report-cards{
  display:grid;grid-template-columns:1fr 1.6fr;
  gap:14px;margin-bottom:16px;
}
.r-card-free{
  background:#f8f7ff;border:1.5px solid #e0e7ff;border-radius:14px;
  padding:20px;display:flex;flex-direction:column;gap:10px;
}
.r-card-premium{
  background:linear-gradient(145deg,#1e1b4b,#312e81);
  border:1.5px solid #4f46e5;border-radius:14px;
  padding:20px;display:flex;flex-direction:column;gap:10px;
  position:relative;overflow:hidden;
}
.r-card-premium::before{
  content:'';position:absolute;top:-40px;right:-40px;
  width:120px;height:120px;border-radius:50%;
  background:rgba(139,92,246,.2);pointer-events:none;
}
.r-card-premium-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:linear-gradient(90deg,#f59e0b,#ef4444);
  color:#fff;font-size:10px;font-weight:800;
  padding:3px 10px;border-radius:99px;letter-spacing:.05em;
  text-transform:uppercase;align-self:flex-start;
}
.r-card-label{
  font-size:10px;font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;color:#6366f1;
}
.r-card-title{
  font-size:15px;font-weight:800;color:#0f0c1e;
  letter-spacing:-.3px;line-height:1.3;
}
.r-card-desc{font-size:12px;color:#6b7280;line-height:1.5}
.r-card-bullets{
  list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:6px;
}
.r-card-bullets li{
  font-size:12px;color:rgba(255,255,255,.85);
  line-height:1.4;display:flex;align-items:flex-start;gap:6px;
}
.r-card-price-row{display:flex;align-items:baseline;gap:8px;margin-top:2px}
.r-card-price{font-size:28px;font-weight:900;color:#fff;letter-spacing:-1px}
.r-card-price-sub{font-size:11px;color:rgba(255,255,255,.55);line-height:1.4}
.r-card-btn-free{
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:11px 16px;background:#fff;border:1.5px solid #e0e7ff;
  border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;
  color:#4f46e5;font-family:'DM Sans',system-ui,sans-serif;
  transition:all .15s;margin-top:auto;
}
.r-card-btn-free:hover{background:#f0eeff;border-color:#4f46e5}
.r-card-btn-premium{
  display:flex;align-items:center;justify-content:center;
  padding:13px 16px;background:linear-gradient(135deg,#f59e0b,#ef4444);
  border:none;border-radius:10px;font-size:14px;font-weight:800;
  cursor:pointer;color:#fff;font-family:'DM Sans',system-ui,sans-serif;
  transition:all .2s;box-shadow:0 4px 16px rgba(239,68,68,.35);
  letter-spacing:-.2px;
}
.r-card-btn-premium:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(239,68,68,.4)}
.r-card-btn-test{
  display:flex;align-items:center;justify-content:center;
  padding:8px 12px;background:rgba(255,255,255,.1);
  border:1px dashed rgba(255,255,255,.3);border-radius:8px;
  font-size:11px;font-weight:600;cursor:pointer;color:rgba(255,255,255,.7);
  font-family:'DM Sans',system-ui,sans-serif;transition:all .15s;
}
.r-card-btn-test:hover{background:rgba(255,255,255,.18)}
.r-card-trust{
  font-size:10px;color:rgba(255,255,255,.45);text-align:center;
  line-height:1.5;
}
@media(max-width:580px){
  .r-report-cards{grid-template-columns:1fr}
}

/* ── Report section header ── */
.r-section-header{margin-bottom:12px}
.r-section-title{font-size:17px;font-weight:800;color:#0f0c1e;letter-spacing:-.4px;margin-bottom:4px}
.r-section-sub{font-size:12px;color:#8b8fa8;line-height:1.5}

/* ── Report cards stacked ── */
.r-report-cards{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.r-card-free{
  background:#f8f7ff;border:1.5px solid #e0e7ff;border-radius:14px;
  padding:18px 20px;
}
.r-card-premium{
  background:linear-gradient(145deg,#1e1b4b,#312e81);
  border:1.5px solid #4f46e5;border-radius:14px;
  padding:20px;position:relative;overflow:hidden;
}
.r-card-premium::before{
  content:'';position:absolute;top:-40px;right:-40px;
  width:120px;height:120px;border-radius:50%;
  background:rgba(139,92,246,.2);pointer-events:none;
}
.r-card-premium-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:linear-gradient(90deg,#f59e0b,#ef4444);
  color:#fff;font-size:10px;font-weight:800;
  padding:3px 10px;border-radius:99px;letter-spacing:.05em;
  text-transform:uppercase;align-self:flex-start;
}
.r-card-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#6366f1}
.r-card-title{font-size:14px;font-weight:800;color:#0f0c1e;letter-spacing:-.3px;line-height:1.3;margin-top:4px}
.r-card-desc{font-size:12px;color:#6b7280;line-height:1.5}
.r-card-bullets{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px}
.r-card-bullets li{font-size:12px;color:rgba(255,255,255,.85);line-height:1.4}
.r-card-price-row{display:flex;align-items:baseline;gap:8px}
.r-card-price{font-size:28px;font-weight:900;color:#fff;letter-spacing:-1px}
.r-card-price-sub{font-size:11px;color:rgba(255,255,255,.5);line-height:1.4}
.r-card-btn-free{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 18px;background:#fff;border:1.5px solid #e0e7ff;
  border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;
  color:#4f46e5;font-family:'DM Sans',system-ui,sans-serif;
  transition:all .15s;white-space:nowrap;flex-shrink:0;
}
.r-card-btn-free:hover{background:#f0eeff;border-color:#4f46e5}
.r-card-btn-premium{
  width:100%;padding:13px 16px;background:linear-gradient(135deg,#f59e0b,#ef4444);
  border:none;border-radius:10px;font-size:14px;font-weight:800;
  cursor:pointer;color:#fff;font-family:'DM Sans',system-ui,sans-serif;
  transition:all .2s;box-shadow:0 4px 16px rgba(239,68,68,.35);letter-spacing:-.2px;
}
.r-card-btn-premium:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(239,68,68,.4)}
.r-card-btn-test{
  width:100%;padding:8px 12px;background:rgba(255,255,255,.1);
  border:1px dashed rgba(255,255,255,.3);border-radius:8px;
  font-size:11px;font-weight:600;cursor:pointer;color:rgba(255,255,255,.7);
  font-family:'DM Sans',system-ui,sans-serif;transition:all .15s;
}
.r-card-btn-test:hover{background:rgba(255,255,255,.18)}
.r-card-trust{font-size:10px;color:rgba(255,255,255,.4);text-align:center;line-height:1.5}

/* ── What happens next open style ── */
.r-next-open{margin-bottom:16px}
.r-next-open .r-steps{display:flex;flex-direction:column;gap:12px}

/* ── Consistent form step sizing ── */
.lf-q-head{margin-bottom:6px}
.lf-q-sub{margin-bottom:6px}
.lf-enforce{margin-bottom:18px}

@media(max-width:580px){
  #lf-canvas{padding:24px 20px 20px;min-height:440px}
  .r-card-free{padding:14px 16px}
  .r-card-premium{padding:16px}
  .r-card-price{font-size:22px}
}

/* ── Case comparison bar ── */
.r-comparison-bar{
  display:none;align-items:flex-start;gap:8px;
  background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;
  padding:10px 14px;margin-bottom:18px;
  font-size:13px;color:#3730a3;font-weight:500;line-height:1.5;
}
.r-comparison-bar strong{color:#4f46e5}

/* ── Attorney match preview ── */
.r-atty-preview{
  display:none;background:#fff;border:1.5px solid #c7d2fe;
  border-radius:16px;padding:16px 20px;margin-bottom:16px;
  box-shadow:0 4px 20px rgba(79,70,229,.08);
}
.r-atty-preview-label{
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  color:#059669;margin-bottom:12px;display:flex;align-items:center;gap:6px;
}
.r-atty-card{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}

/* Avatar with online dot */
.r-atty-avatar-wrap{position:relative;flex-shrink:0}
.r-atty-avatar{
  width:52px;height:52px;border-radius:50%;background:#4f46e5;
  color:#fff;font-size:17px;font-weight:900;display:flex;
  align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(79,70,229,.3);
  font-family:'DM Sans',system-ui,sans-serif;letter-spacing:-.5px;
}
.r-atty-online-dot{
  position:absolute;bottom:1px;right:1px;
  width:13px;height:13px;border-radius:50%;
  background:#22c55e;border:2px solid #fff;
}

/* Info block */
.r-atty-info{flex:1;min-width:160px}
.r-atty-name{font-size:15px;font-weight:800;color:#0f0c1e}
.r-atty-stars{color:#f59e0b;font-size:12px;letter-spacing:1px}
.r-atty-meta{font-size:12px;color:#6b7280;margin:3px 0 8px}
.r-atty-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.r-atty-badge{
  font-size:10px;font-weight:700;padding:3px 9px;border-radius:99px;
  background:#f0eeff;border:1px solid #c7d2fe;color:#4f46e5;
}
.r-atty-recent-win{
  display:flex;align-items:center;gap:5px;
  font-size:11px;color:#15803d;font-weight:600;
  background:#f0fdf4;border:1px solid #bbf7d0;
  border-radius:7px;padding:4px 9px;
  width:fit-content;
}

/* Call ETA column */
.r-atty-call-eta{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:10px 14px;background:#f0fdf4;border:1.5px solid #bbf7d0;
  border-radius:12px;flex-shrink:0;text-align:center;min-width:80px;
}
.r-atty-call-dot{
  width:9px;height:9px;border-radius:50%;background:#22c55e;
  animation:blink 1.8s infinite;margin-bottom:2px;
}

/* ── Don't delay urgency block ── */
.r-urgency-block{
  background:#fff8f0;border:1.5px solid #fed7aa;border-radius:14px;
  padding:16px 18px;margin-bottom:16px;
}
.r-urgency-title{
  font-size:13px;font-weight:800;color:#c2410c;margin-bottom:12px;
}
.r-urgency-items{display:flex;flex-direction:column;gap:10px}
.r-urgency-item{
  display:flex;align-items:flex-start;gap:10px;
  font-size:12px;color:#6b7280;line-height:1.55;
}
.r-urgency-icon{font-size:16px;flex-shrink:0;margin-top:1px}
.r-urgency-item strong{color:#0f0c1e}

@media(max-width:580px){
  .r-atty-card{flex-direction:column}
  .r-atty-call-eta{flex-direction:row;gap:10px;align-self:flex-start;min-width:0}
  .r-comparison-bar{font-size:12px}
}

/* ── Custom dropdown — portal-based, escapes overflow:hidden ── */
.lf-dd-wrap{position:relative;margin-bottom:4px}
.lf-dd{position:relative;width:100%}
.lf-dd-trigger{
  width:100%;padding:15px 48px 15px 20px;font-size:16px;font-weight:600;
  border:2px solid #e0e7ff;border-radius:14px;background:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;
  font-family:'DM Sans',system-ui,sans-serif;user-select:none;
  transition:border-color .15s;min-height:54px;
}
.lf-dd-trigger:hover{border-color:#4f46e5}
.lf-dd.open .lf-dd-trigger{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.1)}
.lf-dd-label{flex:1;color:#94a3b8;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lf-dd-label.selected{color:#0f0c1e}
.lf-dd-arrow{flex-shrink:0;transition:transform .2s;color:#a78bfa}
.lf-dd.open .lf-dd-arrow{transform:rotate(180deg)}
/* List is rendered in #dd-portal; display & position controlled entirely by JS */
.lf-dd-list{
  display:none;
  position:fixed;
  background:#fff;border:2px solid #4f46e5;
  border-radius:14px;z-index:9999;
  box-shadow:0 8px 32px rgba(79,70,229,.18);
  overflow-y:auto;max-height:240px;
  scrollbar-width:thin;scrollbar-color:#c7d2fe #f0eeff;
}
.lf-dd-list::-webkit-scrollbar{width:6px}
.lf-dd-list::-webkit-scrollbar-track{background:#f0eeff;border-radius:3px}
.lf-dd-list::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:3px}
.lf-dd-item{
  padding:13px 20px;font-size:16px;font-weight:600;cursor:pointer;
  color:#374151;font-family:'DM Sans',system-ui,sans-serif;
  border-bottom:1px solid #f0eeff;transition:background .1s;
  display:flex;align-items:center;gap:10px;
}
.lf-dd-item:last-child{border-bottom:none}
.lf-dd-item:hover{background:#f6f4ff;color:#4f46e5}
.lf-dd-item.selected{background:#eef2ff;color:#4f46e5;font-weight:700}
.lf-dd-item.selected::after{content:'\2713';margin-left:auto;font-size:14px;color:#4f46e5}

/* ── Phone + OTP — two columns, always 50/50 like email/zip ── */
.lf-phone-otp-row{display:flex;gap:10px;align-items:flex-start}
.lf-phone-col{flex:1;min-width:0;display:flex;flex-direction:column}
.lf-otp-col{flex:1;min-width:0;display:flex;flex-direction:column}
.lf-phone-row{display:flex;align-items:stretch;min-width:0;width:100%}
.lf-phone-row .lf-inp{flex:1;min-width:0;border-right:none!important;border-radius:14px 0 0 14px!important}
.lf-send-code-btn{
  padding:0 16px;background:#4f46e5;color:#fff;
  border:2px solid #4f46e5;border-left:none;
  border-radius:0 14px 14px 0;font-size:13px;font-weight:800;cursor:pointer;
  font-family:'DM Sans',system-ui,sans-serif;white-space:nowrap;
  transition:background .15s,border-color .15s;flex-shrink:0;
}
.lf-send-code-btn:hover{background:#4338ca;border-color:#4338ca}
.lf-send-code-btn:disabled{opacity:.6;cursor:not-allowed}
.lf-send-code-btn.sent{background:#059669;border-color:#059669}

@media(max-width:580px){
  .lf-dd-trigger{font-size:15px;padding:13px 44px 13px 16px}
  .lf-dd-item{font-size:15px;padding:12px 16px}
  .lf-dd-list{max-height:200px}
  .lf-phone-otp-row{flex-direction:column}
  .lf-phone-col,.lf-otp-col{flex:none;width:100%}
  .lf-inp-row{flex-wrap:wrap}
}

/* ── Confirmation cards (replaces modal) ── */
.r-confirm-card{background:#f8f7ff;border:1.5px solid #e0e7ff;border-radius:16px;padding:20px 22px}
.r-confirm-card-premium{background:linear-gradient(135deg,#1e1b4b 0%,#312e81 100%);border:none}
.r-confirm-row{display:flex;align-items:flex-start;gap:12px}
.r-confirm-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.r-confirm-icon-green{background:#dcfce7}
.r-confirm-icon-blue{background:#dbeafe}
.r-confirm-title{font-size:14px;font-weight:700;color:#0f0c1e;line-height:1.3}
.r-confirm-card-premium .r-confirm-title{color:#fff}
.r-confirm-sub{font-size:12px;color:#6b7280;margin-top:2px;line-height:1.4}
.r-confirm-card-premium .r-confirm-sub{color:rgba(255,255,255,.6)}
.r-confirm-card-premium .r-confirm-sub strong{color:#a5b4fc}
.r-confirm-hint{font-size:11px;font-weight:700;color:#4f46e5;text-align:center;margin-top:16px;letter-spacing:.04em;text-transform:uppercase}
.r-confirm-card-premium .r-confirm-hint{color:#a78bfa}

/* ── Inline report container ── */
#r-inline-report,
#r-inline-report-ai{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 40px rgba(79,70,229,.12);
  background:#fff;
}
#r-inline-report .page,
#r-inline-report-ai .page{
  max-width:100% !important;
  margin:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* ── AI generation progress card ── */
.r-progress-steps{display:flex;flex-direction:column;gap:8px}
.r-progress-step{font-size:13px;color:rgba(255,255,255,.35);padding:8px 12px;border-radius:8px;transition:all .4s}
.r-progress-step-active{color:#fff;background:rgba(255,255,255,.1);font-weight:600}
.r-progress-step-done{color:rgba(255,255,255,.55)}
.r-progress-step-done::before{content:'\2713  ';color:#4ade80}


/* ============================================
   REPORT PAGE  (#rp-page)
   Full-viewport takeover when .active is set.
   All layout, color, typography here — JS only
   sets text content and adds/removes classes.
============================================ */

/* Page-level takeover */
#rp-page {
  display: none;
  position: fixed;
  inset: 0;
  background: #f0eeff;
  overflow-y: auto;
  z-index: 200;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #1a1a2e;
}
#rp-page.active { display: block; }

/* ── Top bar ── */
.rp-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e0e7ff;
  box-shadow: 0 2px 8px rgba(79,70,229,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.rp-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #4f46e5;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .15s;
}
.rp-back-btn:hover { background: #f0eeff; }
.rp-topbar-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 900;
  color: #0f0c1e;
  letter-spacing: -.3px;
}
.rp-topbar-logo em { color: #4f46e5; font-style: normal; }
.rp-topbar-spacer { width: 120px; }

/* ── Inner layout ── */
.rp-inner {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

/* ── Single unified card ── */
.rp-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(79,70,229,.13);
  overflow: hidden;
}

/* ── 1. Confirmation banner ── */
.rp-confirm {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  padding: 22px 28px;
  border-bottom: 1px solid #e0e7ff;
}
.rp-confirm-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #4f46e5;
  margin-bottom: 16px;
}
.rp-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.rp-confirm-row:last-child { margin-bottom: 0; }
.rp-confirm-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 2px solid transparent;
}
.rp-confirm-icon--green { background: #dcfce7; border-color: #86efac; }
.rp-confirm-icon--blue  { background: #dbeafe; border-color: #93c5fd; }
.rp-confirm-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f0c1e;
  line-height: 1.3;
}
.rp-confirm-sub {
  font-size: 13px;
  color: #6b7280;
  margin-top: 3px;
}
.rp-confirm-sub strong { color: #0f0c1e; }

/* ── 2. Report body ── */
.rp-report-header {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
  padding: 36px 44px 32px;
  color: #fff;
}
.rp-report-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.4px;
  margin-bottom: 18px;
}
.rp-report-header-logo em { color: #a5b4fc; font-style: normal; }
.rp-report-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .55;
  margin-bottom: 10px;
}
.rp-report-name {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.8px;
  line-height: 1.15;
  margin-bottom: 6px;
}
.rp-report-sub {
  font-size: 12px;
  opacity: .6;
  line-height: 1.5;
}

/* Score boxes */
.rp-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid #f0eeff;
}
.rp-score-box {
  padding: 24px 32px;
  text-align: center;
}
.rp-score-box--right { border-left: 2px solid #f0eeff; }
.rp-score-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin-bottom: 8px;
}
.rp-score-val {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #4f46e5;
}
.rp-score-range {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  padding-top: 6px;
  color: #4f46e5;
}
.rp-score-sub {
  font-size: 11px;
  color: #6b7280;
  margin-top: 6px;
}

/* Sections */
.rp-section {
  padding: 24px 36px;
  border-bottom: 1px solid #f0eeff;
}
.rp-section--last { border-bottom: none; }
.rp-section-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #4f46e5;
  margin-bottom: 14px;
}

/* Facts grid */
.rp-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rp-fact {
  background: #f8f7ff;
  border-radius: 8px;
  padding: 9px 13px;
}
.rp-fact-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 2px;
}
.rp-fact-val {
  font-size: 13px;
  font-weight: 600;
  color: #0f0c1e;
}

/* Strengths / weaknesses */
.rp-str-grid {
  background: #f0fdf4;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.rp-wk-grid {
  background: #fff8f0;
  border-radius: 12px;
  padding: 16px 20px;
}
.rp-grid-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.rp-grid-lbl--str { color: #15803d; }
.rp-grid-lbl--wk  { color: #c2410c; }
.rp-flag-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.rp-flag-item:last-child { border-bottom: none; }
.rp-flag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.rp-flag-icon--str { background: #dcfce7; color: #16a34a; }
.rp-flag-icon--wk  { background: #fed7aa; color: #c2410c; }
.rp-flag-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f0c1e;
  margin-bottom: 2px;
}
.rp-flag-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}

/* Action plan steps */
.rp-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f0eeff;
}
.rp-step:last-child { border-bottom: none; }
.rp-step-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.rp-step-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f0c1e;
  margin-bottom: 2px;
}
.rp-step-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* Disclaimer */
.rp-disclaimer {
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 11px;
  color: #92400e;
  line-height: 1.65;
}

/* Report footer (inside card) */
.rp-report-footer {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  padding: 16px;
  background: #f8f7ff;
}

/* ── 3. Upgrade CTA ── */
.rp-upgrade {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 100%);
  padding: 28px;
  color: #fff;
}
.rp-upgrade-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #a5b4fc;
  margin-bottom: 10px;
}
.rp-upgrade-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.rp-upgrade-sub {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 18px;
}
.rp-upgrade-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rp-upgrade-bullets li {
  font-size: 13px;
  color: rgba(255,255,255,.85);
  display: flex;
  gap: 10px;
}
.rp-upgrade-bullets li span { flex-shrink: 0; }
.rp-upgrade-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.rp-upgrade-price {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.6px;
}
.rp-upgrade-price-sub {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}
.rp-upgrade-btn {
  background: #fbbf24;
  color: #1e1b4b;
  border: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(251,191,36,.4);
  transition: transform .15s, box-shadow .15s;
}
.rp-upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(251,191,36,.5);
}
.rp-upgrade-trust {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-top: 16px;
  text-align: center;
}

/* ── Page footer ── */
.rp-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.7;
}
.rp-footer span { font-size: 10px; }

/* ── Responsive ── */
@media (max-width: 580px) {
  .rp-report-header { padding: 24px 20px 20px; }
  .rp-report-name   { font-size: 26px; }
  .rp-scores        { grid-template-columns: 1fr; }
  .rp-score-box--right { border-left: none; border-top: 2px solid #f0eeff; }
  .rp-section       { padding: 18px 20px; }
  .rp-facts         { grid-template-columns: 1fr; }
  .rp-upgrade       { padding: 20px; }
  .rp-upgrade-bottom { flex-direction: column; align-items: stretch; }
  .rp-upgrade-btn   { text-align: center; }
  .rp-topbar-spacer { width: 40px; }
  .rp-confirm       { padding: 18px 20px; }
}

/* ── PDF print styles (for the emaild PDF — same HTML) ── */
@media print {
  #rp-page { position: static; overflow: visible; }
  .rp-topbar, .rp-upgrade, .rp-footer { display: none; }
  .rp-card { box-shadow: none; border-radius: 0; }
  .rp-section { page-break-inside: avoid; }
  @page { margin-bottom: 28mm; }
  body::after {
    content: "This report is AI-generated for informational purposes only and does not constitute legal advice.";
    position: fixed;
    bottom: 0; left: 0; right: 0;
    text-align: center;
    font-size: 9px;
    color: #94a3b8;
    padding: 6px 20px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
  }
}
