/* FinPilot — Developed by GD Technology (https://www.gdtecho.com) */
:root{
  --navy:#0E1A33; --navy-2:#16244A; --blue:#2D4BF0; --blue-d:#1F38C8; --blue-soft:#EAEEFF;
  --mint:#3DDC97; --green:#12A26E; --red:#E5484D; --amber:#E8930C; --violet:#7C5CFF;
  --bg:#F4F6FB; --surface:#FFFFFF; --ink:#0F1729; --ink-2:#3B4560; --muted:#69728A; --line:#E3E7F0;
  --r-lg:20px; --r-md:14px; --r-sm:10px;
  --display:"Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow:0 1px 2px rgba(14,26,51,.06), 0 8px 24px -12px rgba(14,26,51,.18);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--body);font-size:16px;line-height:1.55;color:var(--ink);background:var(--bg)}
img,svg{max-width:100%}
a{color:var(--blue)}
h1,h2,h3{font-family:var(--display);line-height:1.12;letter-spacing:-.02em;margin:0 0 .4em}
h1{font-size:clamp(1.6rem,2.2vw + 1rem,2.2rem);font-weight:700}
h2{font-size:1.15rem;font-weight:700}
p{margin:0 0 1em}
.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.muted{color:var(--muted)} .small{font-size:.875rem} .tiny{font-size:.75rem} .center{text-align:center}
.pos{color:var(--green)} .neg{color:var(--red)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:8px;z-index:100}
.skip:focus{left:8px}
:focus-visible{outline:3px solid #8EA2FF;outline-offset:2px;border-radius:6px}
.wrap{width:min(1180px,100% - 40px);margin-inline:auto}
hr{border:0;border-top:1px solid var(--line);margin:18px 0}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;border-radius:12px;border:1px solid transparent;
  font:600 .95rem/1.2 var(--body);text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .05s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--blue);color:#fff} .btn-primary:hover{background:var(--blue-d)}
.btn-dark{background:var(--navy);color:#fff} .btn-dark:hover{background:var(--navy-2)}
.btn-outline{background:#fff;border-color:var(--line);color:var(--ink)} .btn-outline:hover{border-color:var(--blue);color:var(--blue)}
.btn-ghost{background:transparent;color:var(--ink-2)} .btn-ghost:hover{background:rgba(14,26,51,.06)}
.btn-soft{background:var(--blue-soft);color:var(--blue)} .btn-soft:hover{background:#dce3ff}
.btn-light{background:#fff;color:var(--navy)}
.btn-danger{background:var(--red);color:#fff} .btn-danger-text{background:none;color:var(--red);padding-left:0}
.btn-lg{padding:14px 22px;font-size:1rem;border-radius:14px} .btn-sm{padding:7px 12px;font-size:.85rem;border-radius:10px}
.btn-block{width:100%}
[aria-disabled=true]{opacity:.6;cursor:default}
.link{font-weight:600;text-decoration:none} .link:hover{text-decoration:underline}

/* Brand */
.brand{display:inline-flex;align-items:center;gap:10px;font:800 1.2rem var(--display);color:var(--navy);text-decoration:none;letter-spacing:-.02em}
.brand.light{color:#fff}
.logo-mark{width:32px;height:32px;flex:none}
.gd-link{font-weight:700;color:inherit}

/* ---------- Public site ---------- */
.site-header{position:sticky;top:0;z-index:40;background:rgba(244,246,251,.85);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid rgba(227,231,240,.7)}
.nav{display:flex;align-items:center;gap:28px;height:70px}
.nav-links{display:flex;gap:26px;margin-right:auto}
.nav-links a{color:var(--ink-2);text-decoration:none;font-weight:500} .nav-links a:hover{color:var(--blue)}
.nav-cta{display:flex;gap:8px;align-items:center}
.menu-btn{display:none;width:42px;height:42px;border:0;background:transparent;border-radius:10px;cursor:pointer;flex-direction:column;justify-content:center;gap:6px;padding:10px}
.menu-btn span{display:block;height:2px;background:var(--ink);border-radius:2px}
.mobile-nav{display:none}
.mobile-nav.open{display:flex;flex-direction:column;padding:8px 20px 18px}
.mobile-nav a{padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:600}

.hero{padding:56px 0 40px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(2.8rem,6.4vw,5.6rem);font-weight:800;letter-spacing:-.045em;line-height:.95;color:var(--navy);margin-bottom:.35em}
.lede{font-size:1.18rem;color:var(--ink-2);max-width:38ch}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 18px}
.trust{display:flex;align-items:center;gap:8px}
.trust svg,.secure-note svg{width:18px;height:18px;fill:none;stroke:var(--green);stroke-width:2;flex:none}

.phone{justify-self:center;width:min(320px,100%);aspect-ratio:9/18.5;background:var(--navy);border-radius:44px;padding:12px;
  box-shadow:0 40px 80px -30px rgba(14,26,51,.55);transform:rotate(3deg)}
.phone-screen{height:100%;background:#fff;border-radius:34px;padding:18px 16px;overflow:hidden;font-size:.82rem}
.ph-top{display:flex;justify-content:space-between;font-weight:700;font-size:.72rem;color:var(--ink-2);margin-bottom:14px}
.ph-hi{font:700 1rem var(--display);margin-bottom:10px}
.ph-card{background:var(--bg);border-radius:18px;padding:14px;margin-bottom:14px}
.ph-card small{display:block;color:var(--muted)} .ph-card .pos{color:var(--green);font-weight:600}
.ph-card strong{font:800 2rem var(--display);letter-spacing:-.03em;display:block}
.ph-bars{display:flex;align-items:flex-end;gap:6px;height:56px;margin-top:10px}
.ph-bars i{flex:1;height:var(--h);background:var(--blue);border-radius:5px 5px 2px 2px;opacity:.9}
.ph-bars i:nth-child(3n){background:var(--mint)}
.ph-label{font-weight:700;margin-bottom:8px}
.ph-row{display:flex;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}
.ph-row span{display:flex;flex-direction:column;font-weight:600} .ph-row small{color:var(--muted);font-weight:400}
.ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:.75rem;flex:none}
.ic.amber{background:#FFF3DF;color:var(--amber)} .ic.red{background:#FDE8E9;color:var(--red)} .ic.blue{background:var(--blue-soft);color:var(--blue)}

.band{background:#fff;padding:72px 0;border-block:1px solid var(--line)}
.band-dark{background:var(--navy);color:#fff;border:0}
.band-dark p{color:#C3CBE0}
.section-title{font-size:clamp(1.6rem,2.4vw + .8rem,2.4rem);max-width:24ch;margin-bottom:36px}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.feature-grid.two{grid-template-columns:repeat(2,1fr);gap:20px}
.feature h3,.feature h2{font-size:1.1rem}
.feature p{color:var(--ink-2)}
.feature-grid.two .feature{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px}
.feature-grid:not(.two) .feature{border-top:3px solid var(--blue);padding-top:18px}
.steps-section{padding:72px 0}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:s}
.steps li{counter-increment:s;display:flex;flex-direction:column;gap:4px}
.steps li::before{content:counter(s);font:800 2.6rem var(--display);color:var(--blue);line-height:1;margin-bottom:8px}
.steps span{color:var(--muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.split h2{font-size:clamp(1.8rem,3vw,2.6rem);color:#fff}
.chat-preview{display:flex;flex-direction:column;gap:12px}
.faq{padding:72px 0}
.faq details{border-bottom:1px solid var(--line);padding:18px 0;max-width:780px}
.faq summary{font-weight:700;cursor:pointer;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::after{content:"+";color:var(--blue);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:10px 0 0;color:var(--ink-2);max-width:68ch}
.final-cta{text-align:center;padding:72px 0 88px}
.final-cta h2{font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:20px}
.page-head{padding:64px 0 32px} .page-head.narrow,.prose{max-width:760px}
.prose{padding-bottom:72px} .prose h2{margin-top:1.6em} .prose p{color:var(--ink-2)}

/* Pricing */
.billing-toggle{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px;margin-bottom:24px}
.billing-toggle button{border:0;background:transparent;padding:8px 16px;border-radius:9px;font:600 .9rem var(--body);cursor:pointer;color:var(--ink-2)}
.billing-toggle button.on{background:var(--navy);color:#fff}
.save-tag{font-size:.72rem;color:var(--green);margin-left:4px} .billing-toggle .on .save-tag{color:var(--mint)}
.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:72px}
.plan{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px 22px;display:flex;flex-direction:column}
.plan.featured{border:2px solid var(--blue);box-shadow:var(--shadow)}
.ribbon{position:absolute;top:-12px;left:22px;background:var(--blue);color:#fff;font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:99px}
.price{margin:6px 0 0} .price .num{font:800 2.2rem var(--display);letter-spacing:-.03em} .price small{color:var(--muted)}
.plan-tag{font-weight:600;margin:10px 0}
.plan ul{list-style:none;padding:0;margin:0 0 22px;flex:1}
.plan li{padding:6px 0 6px 26px;position:relative;font-size:.92rem;color:var(--ink-2)}
.plan li::before{content:"";position:absolute;left:0;top:10px;width:14px;height:8px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg)}

/* Footer */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:48px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px}
.site-footer h2{font:700 .9rem var(--body);margin-bottom:10px;color:var(--ink)}
.site-footer nav a{display:block;color:var(--ink-2);text-decoration:none;padding:4px 0} .site-footer nav a:hover{color:var(--blue)}
.footer-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:32px;padding-top:18px}

/* ---------- Auth / onboarding ---------- */
.auth{background:linear-gradient(180deg,#EEF1FA,var(--bg))}
.auth-wrap{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:32px 16px;gap:22px}
.auth-card{width:min(480px,100%);background:#fff;border-radius:24px;padding:32px;box-shadow:var(--shadow)}
.form{display:flex;flex-direction:column;gap:14px}
.form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.9rem}
.form label.check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:500}
input,select{font:inherit;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);width:100%}
input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(45,75,240,.18)}
input[type=checkbox]{width:18px;height:18px;padding:0;accent-color:var(--blue);flex:none}
.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.85rem;margin:18px 0}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line)}
.progress-dots{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 20px}
.progress-dots li{height:5px;flex:1;border-radius:4px;background:var(--line)} .progress-dots li.on{background:var(--blue)}
.search{margin:6px 0 14px}
.bank-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.bank{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px;border:1.5px solid var(--line);border-radius:14px;cursor:pointer;font-weight:600;font-size:.85rem;text-align:center}
.bank input{position:absolute;opacity:0}
.bank:has(input:checked){border-color:var(--blue);background:var(--blue-soft)}
.bank:has(input:focus-visible){outline:3px solid #8EA2FF}
.bank-badge{width:38px;height:38px;border-radius:11px;background:var(--c);color:#fff;display:grid;place-items:center;font:800 1rem var(--display);flex:none}
.secure-note{display:flex;gap:8px;align-items:center;margin:16px 0 0}
.goal-list{display:flex;flex-direction:column;gap:8px}
.goal-opt{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer;font-weight:600}
.goal-opt:has(input:checked){border-color:var(--blue);background:var(--blue-soft)}
.processing{text-align:center}
.ring{--p:0;width:150px;height:150px;border-radius:50%;margin:8px auto 22px;display:grid;place-items:center;
  background:conic-gradient(var(--blue) calc(var(--p)*1%),var(--line) 0)}
.ring span{width:122px;height:122px;border-radius:50%;background:#fff;display:grid;place-items:center;font:800 1.8rem var(--display)}
.checklist{list-style:none;padding:0;text-align:left;margin:20px auto 0;max-width:300px}
.checklist li{padding:7px 0 7px 32px;position:relative;color:var(--muted)}
.checklist li::before{content:"";position:absolute;left:0;top:8px;width:20px;height:20px;border-radius:50%;border:2px solid var(--line)}
.checklist li.done{color:var(--ink)} .checklist li.done::before{background:var(--green);border-color:var(--green)}
.checklist li.done::after{content:"";position:absolute;left:6px;top:13px;width:8px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}

/* ---------- App shell ---------- */
.app{display:grid;grid-template-columns:248px 1fr;min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#C3CBE0;padding:22px 14px;display:flex;flex-direction:column;gap:22px;overflow:auto}
.sidebar .brand{padding:0 8px}
.side-nav{display:flex;flex-direction:column;gap:2px}
.sidebar a:not(.brand):not(.upgrade-card){display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:11px;color:#C3CBE0;text-decoration:none;font-weight:500}
.sidebar a:not(.brand):hover{background:rgba(255,255,255,.06);color:#fff}
.sidebar a.on{background:rgba(45,75,240,.28);color:#fff}
.sidebar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pill-count{margin-left:auto;background:var(--red);color:#fff;font-size:.7rem;padding:1px 7px;border-radius:99px}
.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.upgrade-card{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:14px;background:linear-gradient(140deg,var(--blue),#5B3DF5);color:#fff;text-decoration:none}
.upgrade-card span{font-size:.8rem;opacity:.85}
.me{display:flex;gap:10px;align-items:center;padding:10px 8px;border-top:1px solid rgba(255,255,255,.08)}
.me strong{display:block;color:#fff;font-size:.9rem} .me small{font-size:.75rem}
.avatar{width:36px;height:36px;border-radius:50%;background:var(--mint);color:var(--navy);display:grid;place-items:center;font-weight:800;flex:none}
.app-main{min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:12px;padding:16px 28px;position:sticky;top:0;background:rgba(244,246,251,.9);backdrop-filter:blur(10px);z-index:20}
.ask{flex:1;max-width:460px;margin-left:auto;position:relative}
.ask svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2}
.ask input{padding-left:38px;background:#fff;border-radius:12px}
.icon-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;border:1px solid var(--line);color:var(--ink)}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.icon-btn .dot{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid #fff}
.content{padding:4px 28px 32px;display:flex;flex-direction:column;gap:20px}
.app-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 28px 28px;font-size:.8rem;color:var(--muted);margin-top:auto}
.mobile-only,.bottom-nav{display:none}
.page-title p{margin:0}
.page-title.row,.row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.flash{padding:12px 16px;border-radius:12px;font-weight:500;font-size:.92rem;margin-bottom:12px}
.flash-ok{background:#E3F7EE;color:#0B6B48} .flash-error{background:#FDE8E9;color:#A1262B} .flash-info{background:var(--blue-soft);color:var(--blue-d)}
.card{background:var(--surface);border-radius:var(--r-lg);padding:22px;border:1px solid var(--line)}
.card-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.grid-2.wide-left{grid-template-columns:1fr 1.1fr}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stats.three{grid-template-columns:repeat(3,1fr)}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:18px;display:flex;flex-direction:column;gap:2px;color:inherit;text-decoration:none;transition:border-color .15s}
a.stat:hover{border-color:#B9C4F9}
.stat small{color:var(--muted);font-weight:600}
.stat strong{font:800 1.75rem var(--display);letter-spacing:-.03em} .stat strong small{font-size:.9rem;color:var(--muted)}
.stat-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:800;margin-bottom:8px}
.stat-ic.green{background:#E3F7EE;color:var(--green)} .stat-ic.amber{background:#FFF3DF;color:var(--amber)}
.stat-ic.blue{background:var(--blue-soft);color:var(--blue)} .stat-ic.mint{background:#E0FAEF;color:#0E8A5A}
.insights,.alert-list,.acc-list,.tx-list,.sub-list,.ops,.bars{list-style:none;padding:0;margin:0}
.insights li,.alert-list li{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.insights li:last-child{border:0}
.insights li div,.alert-list li div{flex:1;display:flex;flex-direction:column}
.alert-list li{align-items:flex-start} .alert-list p{margin:2px 0}
.alert-list li.unread strong::after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--blue);margin-left:8px;vertical-align:middle}
.ins-ic{width:36px;height:36px;border-radius:11px;flex:none;background:var(--blue-soft);position:relative}
.ins-ic::after{content:"";position:absolute;inset:11px;border-radius:4px;background:currentColor}
.t-bills{color:var(--amber);background:#FFF3DF} .t-subscriptions{color:var(--red);background:#FDE8E9}
.t-income{color:var(--violet);background:#EFEBFF} .t-spending{color:var(--blue)}
.chart-box{position:relative;height:260px} .chart-box.tall{height:360px}
.bars li{display:grid;grid-template-columns:110px 1fr 70px;gap:12px;align-items:center;padding:7px 0;font-size:.9rem}
.bars i{height:10px;border-radius:6px;background:linear-gradient(90deg,var(--blue),#6A83FF);width:var(--w)}
.bars b{text-align:right}
.goal-mini{display:grid;grid-template-columns:1fr 1fr 40px;gap:12px;align-items:center;padding:10px 0}
.goal-mini div:first-child{display:flex;flex-direction:column}
.meter{height:10px;background:var(--line);border-radius:6px;overflow:hidden}
.meter i{display:block;height:100%;width:var(--w);background:var(--green);border-radius:6px}
.big{font:800 2.4rem var(--display);letter-spacing:-.03em;margin:2px 0 14px} .mid{font:700 1.6rem var(--display);margin:2px 0}
.acc-list li,.tx-list li,.sub-list li{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.acc-list li div,.tx-list li div,.sub-list .grow{flex:1;display:flex;flex-direction:column;min-width:0}
.tx-list li:first-child{border:0}
.tabs{display:flex;gap:4px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);padding:4px;border-radius:12px;width:fit-content;max-width:100%;overflow-x:auto}
.tabs a,.tabs button{padding:8px 14px;border-radius:9px;text-decoration:none;color:var(--ink-2);font:600 .88rem var(--body);border:0;background:none;cursor:pointer;white-space:nowrap}
.tabs .on{background:var(--blue-soft);color:var(--blue)}
.card .tabs{margin-bottom:18px}
.fc-head{display:flex;gap:48px;flex-wrap:wrap;margin-bottom:8px}
.upsell{background:var(--blue-soft);padding:12px 14px;border-radius:12px;margin:12px 0 0}
.tag{font-size:.75rem;font-weight:700;padding:4px 10px;border-radius:99px;white-space:nowrap}
.tag-red{background:#FDE8E9;color:var(--red)} .tag-amber{background:#FFF3DF;color:#A4650A}
.inline-actions{display:flex;gap:6px}
.goal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.goal{display:flex;flex-direction:column;gap:12px}
.goal h2{margin:0}
.goal-top{display:flex;gap:14px;align-items:center} .goal-top p{margin:0}
.goal-ring{--p:0;width:64px;height:64px;border-radius:50%;background:conic-gradient(var(--green) calc(var(--p)*1%),var(--line) 0);display:grid;place-items:center;flex:none}
.goal-ring b{width:50px;height:50px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:.85rem}
.add-funds{display:flex;gap:8px} .add-funds input{padding:8px 10px}
.edit summary{cursor:pointer;color:var(--blue);font-weight:600}
.form.compact{margin:12px 0;gap:10px}
.empty{text-align:center;padding:40px}
.modal{border:0;border-radius:22px;padding:26px;width:min(440px,92vw);box-shadow:var(--shadow)}
.modal::backdrop{background:rgba(14,26,51,.45)}
.row-end{display:flex;justify-content:flex-end;gap:8px}
.chat{display:flex;flex-direction:column;gap:14px;min-height:60vh}
.chat-log{flex:1;display:flex;flex-direction:column;gap:12px;overflow-y:auto;max-height:58vh;padding-right:4px}
.bubble{max-width:76%;padding:12px 15px;border-radius:16px;line-height:1.5;margin:0;white-space:normal}
.bubble.me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:5px}
.bubble.bot{align-self:flex-start;background:var(--bg);color:var(--ink);border-bottom-left-radius:5px}
.band-dark .bubble.bot{background:var(--navy-2);color:#E7EBF7}
.bubble.typing::after{content:"…";animation:blink 1s infinite}
@keyframes blink{50%{opacity:.2}}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:7px 13px;font:500 .85rem var(--body);cursor:pointer;color:var(--blue)}
.chip:hover{border-color:var(--blue)}
.chat-form{display:flex;gap:8px}
.lede-sm{font-size:1.05rem}
.ops li{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line)} .ops li span{flex:1}
.offer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.offer{display:flex;flex-direction:column;gap:2px} .offer h2{margin:4px 0} .offer p{margin:0 0 6px}
.offer .save{font:800 1.2rem var(--display);color:var(--green)}
.offer .btn{margin-top:auto;align-self:flex-start}
.plans{padding-bottom:20px}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .plans{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .nav-links,.nav-cta .btn-ghost{display:none}
  .menu-btn{display:flex}
  .hero-grid,.split,.grid-2,.grid-2.wide-left{grid-template-columns:1fr}
  .phone{transform:none;width:min(290px,80%)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .app{grid-template-columns:1fr}
  .sidebar{display:none}
  .mobile-only{display:inline-flex}
  .topbar{padding:12px 16px}
  .ask{display:none}
  .topbar .icon-btn{margin-left:auto}
  .content{padding:4px 16px 96px}
  .app-footer{padding:12px 16px 100px}
  .bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:30}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.7rem;color:var(--muted);text-decoration:none;padding:6px 0;font-weight:600}
  .bottom-nav a.on{color:var(--blue)}
  .bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media (max-width:560px){
  .stats,.stats.three,.plans,.feature-grid,.feature-grid.two,.steps,.footer-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr} .stat strong{font-size:1.35rem}
  .auth-card{padding:24px 18px}
  .bank-grid{grid-template-columns:repeat(2,1fr)}
  .sub-list li{flex-wrap:wrap} .sub-list .inline-actions{width:100%;justify-content:flex-end}
  .bubble{max-width:90%}
  .topbar .logout{display:none}
  .bars li{grid-template-columns:90px 1fr 60px}
  .chart-box{height:220px} .chart-box.tall{height:280px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.more-menu{display:none}
@media (max-width:900px){
  .more-menu{display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .more-menu a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:var(--bg);color:var(--ink);text-decoration:none;font-weight:600;font-size:.9rem}
  .more-menu svg{width:20px;height:20px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .more-menu form{grid-column:1/-1;margin-top:6px}
}

.phone-screen{display:flex;flex-direction:column}
.ph-goal{margin-top:12px;background:var(--bg);border-radius:14px;padding:10px 12px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;font-weight:600}
.ph-goal small{color:var(--muted);font-weight:400}
.ph-goal i{grid-column:1/-1;height:7px;background:var(--line);border-radius:5px;overflow:hidden;margin-top:6px}
.ph-goal i b{display:block;height:100%;background:var(--green)}
.ph-tabs{margin-top:auto;display:flex;justify-content:space-around;padding-top:10px;border-top:1px solid var(--line)}
.ph-tabs b{width:22px;height:6px;border-radius:4px;background:var(--line)} .ph-tabs b.on{background:var(--blue)}

@media (min-width:901px){.app{background:linear-gradient(90deg,var(--navy) 248px,var(--bg) 0)}}
