/* SafeCred "Find best loan / insurance": form + results. Uses the site palette (navy, blue, yellow). */
.fd{--fd-navy:var(--rx-navy,#0b2b5e);--fd-blue:var(--rx-blue,#1d56b8);--fd-blue2:var(--rx-blue-2,#2563eb);--fd-ink:var(--rx-ink,#0f2a5c);--fd-text:var(--rx-text,#334155);--fd-mute:#64748b;--fd-line:#e3ebf7;--fd-soft:#f4f8ff;--fd-yellow:var(--rx-yellow,#facc15);--fd-green:#15803d;--fd-red:#b42318;--fd-orange:#f59e0b;
  max-width:1120px;margin:0 auto;background:#fff;border:1px solid var(--fd-line);border-radius:24px;padding:20px;box-shadow:0 24px 60px -34px rgba(11,43,94,.4);font-family:var(--rx-font,"Poppins",system-ui,sans-serif);color:var(--fd-text)}
@media(min-width:768px){.fd{padding:34px 36px}}
.fd [hidden]{display:none!important}
.fd *{box-sizing:border-box}

/* header */

/* progress */
.fd-prog{position:sticky;top:0;z-index:4;margin:0 -4px 16px;padding:10px 4px 8px;background:rgba(255,255,255,.94);backdrop-filter:blur(6px)}
.fd-prog .fd-bar0{height:6px;border-radius:99px;background:#e8eef8;overflow:hidden}
.fd-prog i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--fd-blue2),#38bdf8);transition:width .35s ease}
.fd-prog.is-done i{background:linear-gradient(90deg,#16a34a,#4ade80)}
.fd-prog p{margin:7px 0 0;font-size:13px;color:var(--fd-mute)}
.fd-prog p b{color:var(--fd-ink)}
.fd-alert{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#fef3f2;border:1px solid #fecdca;color:var(--fd-red);font-size:14px;font-weight:500}

/* sections + fields */
.fd-sec{border:1px solid var(--fd-line);border-radius:18px;padding:16px;margin-bottom:16px;background:#fff}
@media(min-width:768px){.fd-sec{padding:22px 24px}}
.fd-sh{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.fd-sh h3{margin:0;font-size:16.5px;font-weight:600;color:var(--fd-ink)}
.fd-n{flex:none;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff;background:var(--fd-navy)}
.fd-grid{display:grid;grid-template-columns:1fr;gap:16px 20px}
@media(min-width:720px){.fd-grid{grid-template-columns:1fr 1fr}.fd-f.is-full{grid-column:1/-1}}
.fd-lab{display:block;font-size:13.5px;font-weight:500;color:#1e293b;margin-bottom:7px;line-height:1.35}
.fd-lab i{color:#dc2626;font-style:normal}
.fd-in{display:block;width:100%;height:48px;padding:0 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit;font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s}
.fd-in::placeholder{color:#94a3b8}
.fd-in:hover{border-color:#94a3b8}
.fd-in:focus{border-color:var(--fd-blue2);box-shadow:0 0 0 4px rgba(37,99,235,.14)}
.fd-sel{appearance:none;-webkit-appearance:none;padding-right:38px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center;cursor:pointer}
.fd-money{display:flex;align-items:stretch}
.fd-money>span{display:flex;align-items:center;padding:0 13px;border:1px solid #cbd5e1;border-right:0;border-radius:12px 0 0 12px;background:#f1f5f9;color:#475569;font-weight:600}
.fd-money .fd-in{border-radius:0 12px 12px 0}
.fd-hint,.fd-words{margin:6px 0 0;font-size:12.5px;color:var(--fd-mute);line-height:1.4}
.fd-words{color:var(--fd-blue);font-weight:500;min-height:0}
.fd-words:empty{display:none}
.fd-err{margin:6px 0 0;font-size:12.5px;color:var(--fd-red);font-weight:500}
.fd-err:empty{display:none}
.fd-f.is-bad .fd-in,.fd-f.is-bad .fd-seg label span{border-color:#f04438}
.fd-f.is-bad .fd-in:focus{box-shadow:0 0 0 4px rgba(240,68,56,.14)}
.fd-seg{display:flex;gap:10px}
.fd-seg label,.fd-chips label{position:relative;cursor:pointer}
.fd-seg input,.fd-chips input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.fd-seg label span,.fd-chips label span{display:inline-flex;align-items:center;justify-content:center;min-width:84px;height:44px;padding:0 18px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;font-size:14.5px;font-weight:500;transition:all .15s}
.fd-seg label:hover span,.fd-chips label:hover span{border-color:var(--fd-blue2)}
.fd-seg input:checked+span,.fd-chips input:checked+span{background:var(--fd-navy);border-color:var(--fd-navy);color:#fff}
.fd-seg input:focus-visible+span,.fd-chips input:focus-visible+span{box-shadow:0 0 0 4px rgba(37,99,235,.2)}
.fd-chips{display:flex;flex-wrap:wrap;gap:10px}
.fd-chips label span{min-width:0;height:40px;padding:0 15px;font-size:14px}

/* actions */
.fd-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:6px}
.fd-go{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:54px;padding:0 30px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--fd-navy),var(--fd-blue2));color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 14px 28px -14px rgba(29,86,184,.9);transition:transform .15s,box-shadow .15s,filter .15s}
.fd-go:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 18px 32px -14px rgba(29,86,184,.95)}
.fd-go:active:not(:disabled){transform:translateY(1px)}
.fd-go:disabled{background:#cbd5e1;box-shadow:none;cursor:not-allowed}
.fd-go:focus-visible,.fd-pick:focus-visible,.fd-edit:focus-visible,.fd-clear:focus-visible{outline:3px solid var(--fd-yellow);outline-offset:2px}
.fd-clear{height:54px;padding:0 22px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#475569;font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.fd-clear:hover{border-color:#94a3b8;background:#f8fafc}
.fd-safe{display:flex;gap:7px;align-items:flex-start;margin:14px 0 0;font-size:12.5px;color:var(--fd-mute);line-height:1.5}
.fd-safe svg{flex:none;margin-top:2px}
@media(max-width:639px){.fd-go{flex:1 1 100%}.fd-clear{flex:1 1 100%}}

/* loading */
.fd-load{padding:46px 10px;text-align:center}
.fd-load h3{margin:18px 0 14px;font-size:20px;font-weight:600;color:var(--fd-ink)}
.fd-spin{display:inline-block;width:46px;height:46px;border-radius:50%;border:4px solid #dbe7fb;border-top-color:var(--fd-blue2);animation:fdSpin .8s linear infinite}
@keyframes fdSpin{to{transform:rotate(360deg)}}
.fd-steps{list-style:none;margin:0 auto;padding:0;max-width:380px;text-align:left}
.fd-steps li{position:relative;padding:8px 0 8px 28px;font-size:14.5px;color:#94a3b8;transition:color .3s}
.fd-steps li:before{content:"";position:absolute;left:4px;top:13px;width:12px;height:12px;border-radius:50%;border:2px solid #cbd5e1;background:#fff}
.fd-steps li.is-on{color:var(--fd-ink);font-weight:500}
.fd-steps li.is-on:before{border-color:var(--fd-blue2);background:var(--fd-blue2);box-shadow:0 0 0 4px rgba(37,99,235,.15)}
.fd-steps li.is-done{color:var(--fd-green)}
.fd-steps li.is-done:before{border-color:var(--fd-green);background:var(--fd-green)}
.fd-fail{padding:30px 10px;text-align:center}
.fd-fail h3{margin:0 0 8px;color:var(--fd-red)}
@media(prefers-reduced-motion:reduce){.fd-spin{animation-duration:2.4s}.fd-prog i,.fd-go,.fd-in{transition:none}}

/* result header */
.fd-result{outline:none}
.fd-rhead{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}
.fd-kicker{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--fd-blue)}
.fd-rhead h3{margin:0;font-size:24px;line-height:1.25;font-weight:600;color:var(--fd-ink)}
@media(min-width:768px){.fd-rhead h3{font-size:30px}}
.fd-rsub{margin:6px 0 0;font-size:14.5px;color:var(--fd-mute)}
.fd-edit{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 16px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:var(--fd-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.fd-edit:hover{border-color:var(--fd-blue2);color:var(--fd-blue2)}

/* advisor summary */
.fd-ai{margin-bottom:22px;padding:18px 18px 20px;border-radius:18px;background:linear-gradient(135deg,#eef5ff 0%,#f7fbff 60%,#fffbea 100%);border:1px solid #d7e5fb}
@media(min-width:768px){.fd-ai{padding:24px 26px}}
.fd-ai-h{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.fd-ai-ico{flex:none;width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;background:var(--fd-navy);color:var(--fd-yellow)}
.fd-ai-h h3{margin:0;font-size:18px;font-weight:600;color:var(--fd-ink)}
.fd-ai-h p{margin:2px 0 0;font-size:12.5px;color:var(--fd-mute)}
.fd-ai>p{margin:0 0 10px;font-size:15px;line-height:1.65;color:#1e293b}
.fd-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
@media(min-width:760px){.fd-stats{grid-template-columns:repeat(4,1fr)}}
.fd-stats div{padding:12px 14px;border-radius:13px;background:#fff;border:1px solid #e3ebf7}
.fd-stats span{display:block;font-size:12px;color:var(--fd-mute);margin-bottom:3px}
.fd-stats b{font-size:17px;color:var(--fd-ink);font-weight:600}

/* offer cards */
.fd-top3{display:grid;gap:18px;margin-bottom:22px}
.fd-card{position:relative;border:1px solid var(--fd-line);border-radius:20px;padding:18px;background:#fff;box-shadow:0 18px 40px -32px rgba(11,43,94,.55)}
@media(min-width:768px){.fd-card{padding:24px 26px}}
.fd-card.r1{border:2px solid var(--fd-blue2);box-shadow:0 22px 48px -30px rgba(37,99,235,.55)}
.fd-card.r1:before{content:"";position:absolute;left:24px;right:24px;top:-2px;height:4px;border-radius:0 0 6px 6px;background:linear-gradient(90deg,var(--fd-yellow),#fde68a)}
.fd-ch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.fd-rank{flex:none;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--fd-navy);background:#e8eef8}
.r1 .fd-rank{background:var(--fd-yellow);color:#422006}
.fd-logo,.fd-mono{flex:none;width:48px;height:48px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center}
.fd-logo{background:#fff;border:1px solid var(--fd-line);padding:5px}
.fd-logo img{width:100%;height:100%;object-fit:contain}
.fd-mono{color:#fff;font-weight:700;font-size:15px;letter-spacing:.5px}
.fd-cn{min-width:0;flex:1 1 180px}
.fd-cn h4{margin:0;font-size:18px;font-weight:600;color:var(--fd-ink);line-height:1.25}
.fd-cn p{margin:2px 0 0;font-size:13px;color:var(--fd-mute)}
.fd-tags{display:flex;gap:7px;flex-wrap:wrap}
.fd-tag{padding:5px 11px;border-radius:99px;font-size:12px;font-weight:600;background:#eef2f9;color:#334155}
.fd-tag.is-best{background:var(--fd-yellow);color:#422006}
.fd-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}
@media(min-width:760px){.fd-kpis{grid-template-columns:repeat(4,1fr)}}
.fd-kpis>div{padding:13px 14px;border-radius:14px;background:var(--fd-soft);border:1px solid #e3ecfb;min-width:0}
.fd-kpis span{display:block;font-size:12px;color:var(--fd-mute);margin-bottom:4px}
.fd-kpis b{display:block;font-size:21px;line-height:1.2;font-weight:600;color:var(--fd-ink);overflow-wrap:anywhere}
.fd-kpis b small{font-size:13px;font-weight:500;color:var(--fd-mute)}
.fd-kpis b.fd-sm{font-size:15px}
.fd-kpis em{display:block;margin-top:3px;font-size:12px;font-style:normal;color:var(--fd-mute)}
.fd-like.l-high{color:var(--fd-green);font-weight:600}
.fd-like.l-medium{color:#b45309;font-weight:600}
.fd-like.l-low{color:var(--fd-red);font-weight:600}
.fd-brk{margin-bottom:16px}
.fd-brk h5,.fd-why h5{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:14px;font-weight:600;color:var(--fd-ink)}
.fd-bar{display:flex;height:14px;border-radius:99px;overflow:hidden;background:#e8eef8}
.fd-bar i{display:block;height:100%}
.fd-bar i+i{margin-left:2px}
.fd-bar .p,.fd-legend .p{background:var(--fd-blue2)}
.fd-bar .i,.fd-legend .i{background:var(--fd-orange)}
.fd-bar .f,.fd-legend .f{background:#94a3b8}
.fd-legend{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13.5px;color:#475569}
.fd-legend li{display:flex;align-items:center;gap:7px}
.fd-legend li i{width:11px;height:11px;border-radius:3px;flex:none}
.fd-legend b{color:var(--fd-ink);font-weight:600}
.fd-total{margin:12px 0 0;font-size:15px;color:#334155}
.fd-total b{font-size:19px;color:var(--fd-ink)}
.fd-total small{display:block;margin-top:2px;font-size:12.5px;color:var(--fd-mute)}
.fd-why{margin-bottom:12px;padding:14px 16px;border-radius:14px;background:#f6fbf7;border:1px solid #dcefe1}
.fd-why ul,.fd-tips ul{list-style:none;margin:0;padding:0}
.fd-why li{display:flex;gap:9px;align-items:flex-start;padding:4px 0;font-size:14px;line-height:1.55;color:#1e293b}
.fd-why li svg{flex:none;margin-top:4px;color:var(--fd-green)}
.fd-more{margin:0 0 10px;border:1px solid var(--fd-line);border-radius:13px;background:#fff}
.fd-more summary{cursor:pointer;list-style:none;padding:12px 16px;font-size:14px;font-weight:600;color:var(--fd-ink);display:flex;justify-content:space-between;align-items:center;gap:10px}
.fd-more summary::-webkit-details-marker{display:none}
.fd-more summary:after{content:"";width:9px;height:9px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:rotate(45deg);transition:transform .2s;flex:none;margin-top:-3px}
.fd-more[open] summary:after{transform:rotate(225deg);margin-top:3px}
.fd-more summary:focus-visible{outline:3px solid var(--fd-yellow);outline-offset:2px;border-radius:13px}
.fd-more>*:not(summary){margin-left:16px;margin-right:16px}
.fd-more>*:last-child{margin-bottom:14px}
.fd-box{margin-bottom:12px}
.fd-p{margin-top:0;font-size:14px;line-height:1.6;color:#334155}
.fd-two{display:grid;gap:16px}
@media(min-width:720px){.fd-two{grid-template-columns:1fr 1fr}}
.fd-two h6{margin:0 0 7px;font-size:13px;font-weight:600;color:var(--fd-ink)}
.fd-ul{margin:0;padding-left:18px;font-size:13.5px;line-height:1.65;color:#334155}
.fd-ul li{margin-bottom:3px}
.fd-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fd-t{width:100%;border-collapse:collapse;font-size:13.5px;min-width:520px}
.fd-t th,.fd-t td{padding:9px 12px;text-align:left;border-bottom:1px solid #edf1f8;white-space:nowrap}
.fd-t thead th{background:var(--fd-soft);color:var(--fd-ink);font-weight:600;white-space:normal}
.fd-t tbody th{font-weight:500;color:#475569}
.fd-t td.is-best{color:var(--fd-green);font-weight:600;background:#f3fbf5}
.fd-pickrow{margin-top:14px}
.fd-pick{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:10px 24px;border-radius:13px;background:var(--fd-yellow);color:#1a1300;font-weight:600;font-size:15px;text-decoration:none;box-shadow:0 12px 24px -16px rgba(250,204,21,1);transition:filter .15s,transform .15s}
.fd-pick:hover{filter:brightness(.96);transform:translateY(-1px)}
@media(max-width:639px){.fd-pick{width:100%;text-align:center}}
.fd-cmp{margin:0 0 22px}
.fd-cmp h3,.fd-tips h3,.fd-none h3{margin:0 0 10px;font-size:18px;font-weight:600;color:var(--fd-ink)}
.fd-cmp .fd-tw{border:1px solid var(--fd-line);border-radius:14px}
.fd-tips{margin:0 0 18px;padding:16px 18px;border-radius:16px;background:#fffbeb;border:1px solid #fde9a6}
.fd-tips li{display:flex;gap:10px;align-items:flex-start;padding:5px 0;font-size:14.5px;line-height:1.6;color:#3b3b3b}
.fd-tips li svg{flex:none;margin-top:5px;color:#b45309}
.fd-none{margin:0 0 18px;padding:16px 18px;border-radius:16px;background:#fef3f2;border:1px solid #fecdca}
.fd-none ul{margin:0;padding-left:18px;font-size:14px;line-height:1.7;color:#4a1d1a}
.fd .hl-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.fd .hl-cta .hl-submit,.fd .hl-cta .hl-reset{height:50px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border-radius:12px;font-size:15px;text-decoration:none;cursor:pointer;font-family:inherit}
.fd .hl-cta .hl-reset{border:1px solid #cbd5e1;background:#fff;color:var(--fd-ink);font-weight:500}
.fd .hl-disc{margin:14px 0 0;font-size:12.5px;line-height:1.6;color:var(--fd-mute)}
.fd .ra-save,.fd .ra-banner{margin-bottom:12px}
@media(max-width:639px){.fd .hl-cta>*{flex:1 1 100%}}
@media print{.fd-actions,.fd-edit,.fd-pick,.hl-cta{display:none!important}.fd{box-shadow:none;border:0}.fd-more:not([open])>*:not(summary){display:block}}

/* no score yet: small link to our TransUnion CIBIL check */
.fd-cb{margin:8px 0 0}
.fd-cb-go{display:inline-flex;align-items:center;gap:0;min-height:40px;padding:0 14px;border:1px solid #bcd3f7;border-radius:999px;background:#f4f8ff;color:var(--fd-blue);font-size:13px;font-weight:600;text-decoration:none;line-height:1.2}
.fd-cb-go:hover{background:#eaf2ff;border-color:#93b8f0}
.fd-cb-go:focus-visible{outline:3px solid var(--fd-blue2);outline-offset:2px}
.fd-cb-anim{flex:none;width:0;height:28px;margin:0;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;opacity:0;transition:width .25s ease,margin .25s ease,opacity .25s ease}
.fd-cb-anim.is-ready{width:28px;margin:0 8px 0 -8px;opacity:1}
.fd-cb-anim svg{display:block;max-width:100%;max-height:100%}
.fd-cb-ok{margin:8px 0 0;padding:7px 12px;border-radius:10px;background:#ecfdf3;border:1px solid #abefc6;color:var(--fd-green);font-size:13px;font-weight:500}
@media(max-width:520px){.fd-cb-go{min-height:44px}}
@media(prefers-reduced-motion:reduce){.fd-cb-anim{transition:none}}

/* emoji next to the page heading */
.fd-emo{display:inline-block;margin-right:.35em;font-size:.8em;line-height:1;vertical-align:.04em}
