/* TaxFetch Bank Statement Analyser promo — scoped under .tfap */
.tfap{--tfap-ink:#13213a;--tfap-muted:#53627a;--tfap-brand:#4f46e5;--tfap-brand-2:#7c3aed;--tfap-sky:#0ea5e9;--tfap-paper:#fbfaff;--tfap-line:#e3e1f5;
  position:relative;margin:1.75rem 0;padding:clamp(1.25rem,3vw,2.25rem);border-radius:1.25rem;background:var(--tfap-paper);border:1px solid var(--tfap-line);color:var(--tfap-ink);overflow:hidden;font-family:inherit;text-align:left;
  box-shadow:0 1px 0 rgba(79,70,229,.05),0 24px 48px -32px rgba(49,46,129,.35)}
.tfap *{box-sizing:border-box}
.tfap::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--tfap-sky),var(--tfap-brand) 45%,var(--tfap-brand-2))}
.tfap-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(1.25rem,3vw,2.5rem);align-items:center}
.tfap-eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tfap-brand);margin-bottom:.75rem}
.tfap-eyebrow::before{content:"";width:18px;height:2px;background:currentColor;border-radius:2px}
.tfap h2{font-size:clamp(1.35rem,2.6vw,1.85rem);line-height:1.18;letter-spacing:-.02em;color:var(--tfap-ink);margin:0 0 .7rem;font-weight:800}
.tfap h2 em{font-style:normal;color:var(--tfap-brand)}
.tfap-lede{color:var(--tfap-muted);font-size:.95rem;line-height:1.6;margin:0 0 1rem}
.tfap-compare{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:0 0 1.1rem;padding:0;list-style:none}
.tfap-compare li{border-radius:.75rem;padding:.7rem .8rem;font-size:.82rem;line-height:1.45}
.tfap-compare strong{display:block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.25rem}
.tfap-compare .is-sheet{background:#f1f5f9;color:#475569}
.tfap-compare .is-sheet strong{color:#64748b}
.tfap-compare .is-insight{background:#eef2ff;color:#312e81;border:1px solid #c7d2fe}
.tfap-compare .is-insight strong{color:var(--tfap-brand)}
.tfap-feats{list-style:none;margin:0 0 1.25rem;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.tfap-feats li{font-size:.76rem;font-weight:600;color:#3730a3;background:#fff;border:1px solid var(--tfap-line);padding:.3rem .6rem;border-radius:999px}
.tfap-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.tfap-cta{display:inline-flex;align-items:center;gap:.5rem;background:var(--tfap-brand);color:#fff!important;text-decoration:none;font-weight:700;font-size:.95rem;padding:.8rem 1.3rem;border-radius:.65rem;transition:transform .18s ease,background-color .18s ease;box-shadow:0 10px 22px -12px rgba(79,70,229,.8)}
.tfap-cta:hover{background:#4338ca;transform:translateY(-1px)}
.tfap-cta:focus-visible,.tfap a:focus-visible{outline:3px solid #a5b4fc;outline-offset:3px}
.tfap-cta svg{width:16px;height:16px}
.tfap-note{font-size:.78rem;color:var(--tfap-muted);line-height:1.45;max-width:30ch}
.tfap-shots{position:relative;margin:0}
.tfap-frame{background:#fff;border:1px solid var(--tfap-line);border-radius:.85rem;overflow:hidden;box-shadow:0 18px 36px -24px rgba(30,27,75,.45)}
.tfap-frame img{display:block;width:100%;height:auto}
.tfap-frame-bar{display:flex;gap:5px;padding:.45rem .6rem;background:#f5f4fd;border-bottom:1px solid var(--tfap-line)}
.tfap-frame-bar i{width:8px;height:8px;border-radius:50%;background:#d6d3f0}
.tfap-shot-b{width:88%;margin:-1.5rem 0 0 auto;position:relative}
.tfap-shots figcaption{margin-top:.6rem;font-size:.72rem;color:var(--tfap-muted);text-align:right}
.tfap-shots figcaption a{display:inline-block;margin-top:.4rem;color:#4338ca;text-underline-offset:3px;font-weight:600}
.tfap-tag{position:absolute;top:.6rem;left:.6rem;z-index:2;background:rgba(19,33,58,.82);color:#fff;font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.25rem .5rem;border-radius:.35rem}
/* success reinforcement */
.tfap-done{display:none;margin-bottom:1rem;padding:.75rem .9rem;border-radius:.7rem;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:.86rem;line-height:1.5}
.tfap.is-converted .tfap-done{display:block}
.tfap-inline{display:none;margin-top:1rem;padding:.9rem 1rem;border-radius:.75rem;background:#eef2ff;border:1px solid #c7d2fe;text-align:left;font-size:.86rem;color:#312e81;line-height:1.5}
.tfap-inline.show{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;justify-content:space-between}
.tfap-inline p{margin:0;flex:1 1 260px;color:#312e81}
.tfap-inline a{display:inline-flex;background:#4f46e5;color:#fff!important;text-decoration:none;font-weight:700;padding:.55rem 1rem;border-radius:.55rem;font-size:.86rem;white-space:nowrap}
.tfap-inline a:hover{background:#4338ca}
/* restrained reveal */
.tfap.tfap-pre{opacity:0;transform:translateY(12px)}
.tfap.tfap-in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}
.tfap.is-pulse{animation:tfapPulse 1.2s ease 1}
@keyframes tfapPulse{0%{box-shadow:0 0 0 0 rgba(79,70,229,.35)}100%{box-shadow:0 0 0 14px rgba(79,70,229,0)}}
@media (max-width:760px){.tfap-grid{grid-template-columns:1fr}.tfap-shots{order:-1}.tfap-compare{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.tfap.tfap-pre{opacity:1;transform:none}.tfap.tfap-in,.tfap-cta{transition:none}.tfap.is-pulse{animation:none}}
/* Download preview dialog (window.showAnalyserDownloadPreview) */
.tfdp-lock{overflow:hidden}
.tfdp{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(19,33,58,.55);opacity:0;transition:opacity .25s ease;font-family:inherit;text-align:left}
.tfdp.is-open{opacity:1}
.tfdp *{box-sizing:border-box}
.tfdp-card{position:relative;width:100%;max-width:760px;max-height:calc(100dvh - 2rem);overflow:auto;background:#fbfaff;color:#13213a;border-radius:1.1rem;border:1px solid #e3e1f5;box-shadow:0 30px 60px -24px rgba(30,27,75,.55);padding:clamp(1.1rem,3vw,1.75rem);transform:translateY(14px) scale(.98);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.tfdp.is-open .tfdp-card{transform:none}
.tfdp-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#0ea5e9,#4f46e5 45%,#7c3aed)}
.tfdp-x{position:absolute;top:.7rem;right:.7rem;width:36px;height:36px;border-radius:.55rem;border:1px solid #e3e1f5;background:#fff;color:#53627a;cursor:pointer;display:grid;place-items:center}
.tfdp-x svg{width:16px;height:16px}
.tfdp-x:hover{color:#13213a;background:#f5f4fd}
.tfdp-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:1.25rem;align-items:center}
.tfdp h2{font-size:clamp(1.2rem,2.4vw,1.5rem);line-height:1.2;letter-spacing:-.02em;margin:0 2rem .5rem 0;font-weight:800;color:#13213a}
.tfdp h2 em{font-style:normal;color:#4f46e5}
.tfdp-lede{color:#53627a;font-size:.88rem;line-height:1.55;margin:0 0 .85rem}
.tfdp-feats{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.tfdp-feats li{font-size:.8rem;line-height:1.45;color:#475569;background:#fff;border:1px solid #e3e1f5;border-left:3px solid #4f46e5;border-radius:.55rem;padding:.5rem .7rem;opacity:0;transform:translateX(-8px);animation:tfdpIn .45s ease forwards}
.tfdp-feats li:nth-child(2){animation-delay:.12s}.tfdp-feats li:nth-child(3){animation-delay:.24s}
.tfdp-feats strong{display:block;color:#312e81;font-size:.82rem}
.tfdp-shots{position:relative}
.tfdp-shot{position:relative;background:#fff;border:1px solid #e3e1f5;border-radius:.75rem;overflow:hidden;box-shadow:0 16px 30px -22px rgba(30,27,75,.5);animation:tfdpIn .5s ease .1s both}
.tfdp-shot img{display:block;width:100%;height:auto}
.tfdp-shot-b{width:90%;margin:-.75rem 0 0 auto;animation-delay:.3s}
.tfdp-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:1.2rem;padding-top:1rem;border-top:1px solid #e3e1f5}
.tfdp-count{display:flex;align-items:center;gap:.6rem;font-size:.84rem;font-weight:600;color:#53627a;flex:1 1 220px}
.tfdp-bar{flex:0 0 90px;height:6px;border-radius:99px;background:#e3e1f5;overflow:hidden}
.tfdp-bar i{display:block;height:100%;background:#4f46e5;transform-origin:left;animation:tfdpBar 6s linear forwards}
.tfdp-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.tfdp-alt,.tfdp-now{display:inline-flex;align-items:center;font:inherit;font-weight:700;font-size:.88rem;padding:.65rem 1.05rem;border-radius:.6rem;cursor:pointer;text-decoration:none}
.tfdp-alt{color:#4338ca!important;background:#eef2ff;border:1px solid #c7d2fe}
.tfdp-alt:hover{background:#e0e7ff}
.tfdp-now{color:#fff;background:#4f46e5;border:1px solid #4f46e5}
.tfdp-now:hover{background:#4338ca}
.tfdp a:focus-visible,.tfdp button:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}
@keyframes tfdpIn{to{opacity:1;transform:none}}
@keyframes tfdpBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (max-width:640px){.tfdp-body{grid-template-columns:1fr}.tfdp-shot-b{display:none}.tfdp-actions{width:100%}.tfdp-alt,.tfdp-now{flex:1;justify-content:center}}
@media (prefers-reduced-motion:reduce){.tfdp,.tfdp-card{transition:none}.tfdp-card{transform:none}.tfdp-feats li,.tfdp-shot{animation:none;opacity:1;transform:none}.tfdp-bar i{animation:none;transform:none}}
