/* CrestBank public landing page (standalone, does not affect app styles) */
.lp { --p:#0866E8; --pd:#063B78; --pdd:#031F45; --pl:#EAF3FF; --text:#152238; --muted:#5B6B82; --line:#E4ECF6; --bg:#F5F8FC;
  margin:0; font-family:"Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text); background:#fff; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
.lp *, .lp *::before, .lp *::after { box-sizing:border-box; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul, .lp ol { margin:0; padding:0; }
.lp ul, .lp ol { list-style:none; }
.lp a { color:inherit; text-decoration:none; }
.lp svg { display:block; }
.lp-wrap { width:100%; max-width:1120px; margin:0 auto; padding:0 20px; }
.lp-skip { position:absolute; left:-999px; top:8px; background:var(--p); color:#fff; padding:10px 14px; border-radius:10px; z-index:200; }
.lp-skip:focus { left:8px; }
.lp a:focus-visible, .lp label:focus-visible, .lp input:focus-visible + .lp-burger { outline:3px solid rgba(8,102,232,.55); outline-offset:2px; border-radius:8px; }

/* top bar */
.lp-topbar { background:var(--pdd); color:rgba(255,255,255,.88); font-size:.82rem; padding-top:env(safe-area-inset-top,0px); }
.lp-topbar-in { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:8px; padding-bottom:8px; }
.lp-topbar strong { color:#fff; }
.lp-topbar a { color:#fff; text-decoration:underline; white-space:nowrap; }

/* header */
.lp-header { position:sticky; top:0; z-index:50; background:#fff; border-bottom:1px solid var(--line); }
.lp-header-in { display:flex; align-items:center; justify-content:space-between; min-height:68px; position:relative; }
.lp-brand { display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:1.3rem; letter-spacing:-.02em; color:var(--pd); }
.lp-nav { display:flex; align-items:center; gap:22px; font-weight:600; font-size:.95rem; }
.lp-nav a:not(.lp-btn):hover { color:var(--p); }
.lp-nav-toggle { position:absolute; opacity:0; pointer-events:none; }
.lp-burger { display:none; width:44px; height:44px; cursor:pointer; flex-direction:column; justify-content:center; align-items:center; gap:5px; border-radius:10px; }
.lp-burger span { width:22px; height:2.5px; background:var(--pd); border-radius:2px; transition:transform .2s, opacity .2s; }

/* buttons */
.lp-btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 18px; border-radius:10px; font-weight:700; font-size:.95rem; border:2px solid transparent; transition:background .15s, transform .15s, box-shadow .15s; cursor:pointer; text-align:center; }
.lp-btn-lg { padding:14px 26px; font-size:1.02rem; }
.lp-btn-solid { background:var(--p); color:#fff !important; box-shadow:0 6px 18px rgba(8,102,232,.32); }
.lp-btn-solid:hover { background:#0A58CC; transform:translateY(-1px); }
.lp-btn-ghost { color:var(--pd) !important; border-color:var(--line); }
.lp-btn-ghost:hover { background:var(--pl); }
.lp-btn-light { background:#fff; color:var(--pd) !important; }
.lp-btn-light:hover { background:var(--pl); transform:translateY(-1px); }
.lp-btn-outline { border-color:rgba(255,255,255,.6); color:#fff !important; }
.lp-btn-outline:hover { background:rgba(255,255,255,.12); }

/* hero */
.lp-hero { background:radial-gradient(120% 90% at 20% 0%, #0B4BA8 0%, #063B78 50%, #031F45 100%); color:#fff; overflow:hidden; }
.lp-hero-in { display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:32px; padding-top:64px; padding-bottom:72px; }
.lp-pill { display:inline-block; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); padding:6px 14px; border-radius:999px; font-size:.82rem; font-weight:600; margin-bottom:18px; }
.lp-hero h1 { font-size:clamp(2.4rem,6vw,4rem); line-height:1.05; font-weight:800; letter-spacing:-.03em; }
.lp-lead { margin-top:18px; font-size:1.12rem; color:rgba(255,255,255,.86); max-width:520px; }
.lp-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.lp-cta-center { justify-content:center; }
.lp-hero-points { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:28px; font-size:.9rem; color:rgba(255,255,255,.88); }
.lp-hero-points li { display:inline-flex; align-items:center; gap:8px; }
.lp-hero-art svg { width:100%; height:auto; max-width:520px; margin:0 auto; filter:drop-shadow(0 24px 40px rgba(0,0,0,.3)); }

/* support strip */
.lp-support-strip { background:var(--pl); border-bottom:1px solid var(--line); }
.lp-strip-in { display:flex; align-items:center; gap:20px; padding-top:22px; padding-bottom:22px; }
.lp-strip-icon { flex:none; width:56px; height:56px; border-radius:16px; background:var(--p); color:#fff; display:grid; place-items:center; }
.lp-strip-text { flex:1; }
.lp-strip-text h2 { font-size:1.2rem; color:var(--pd); }
.lp-strip-text p { color:var(--muted); font-size:.95rem; margin-top:2px; }

/* sections */
.lp-section { padding:72px 0; }
.lp-alt { background:var(--bg); }
.lp-head { text-align:center; max-width:640px; margin:0 auto 40px; }
.lp-eyebrow { display:inline-block; color:var(--p); font-weight:700; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:8px; }
.lp-head h2, .lp-sec-copy h2 { font-size:clamp(1.6rem,3.6vw,2.25rem); line-height:1.2; letter-spacing:-.02em; color:var(--pd); }
.lp-head p { margin-top:10px; color:var(--muted); }
.lp-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.lp-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:26px; box-shadow:0 1px 2px rgba(8,38,90,.04), 0 6px 20px rgba(8,38,90,.05); transition:transform .15s, box-shadow .15s; }
.lp-card:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(8,38,90,.12); }
.lp-ico { width:48px; height:48px; border-radius:14px; background:var(--pl); color:var(--p); display:grid; place-items:center; margin-bottom:16px; }
.lp-card h3 { font-size:1.08rem; margin-bottom:6px; }
.lp-card p { color:var(--muted); font-size:.95rem; }

.lp-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.lp-steps li { background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 24px; text-align:center; }
.lp-num { display:inline-grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--p); color:#fff; font-weight:800; margin-bottom:12px; }
.lp-steps h3 { font-size:1.08rem; margin-bottom:6px; }
.lp-steps p { color:var(--muted); font-size:.95rem; }

.lp-sec-in { display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
.lp-sec-copy p { margin-top:12px; color:var(--muted); }
.lp-checks { margin-top:22px; display:grid; gap:12px; }
.lp-checks li { display:flex; align-items:flex-start; gap:10px; font-weight:500; }
.lp-checks svg { color:#16A34A; flex:none; margin-top:3px; }
.lp-sec-art svg { width:100%; max-width:260px; margin:0 auto; }

.lp-contact { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; max-width:900px; margin:0 auto; }
.lp-contact-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:26px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; transition:transform .15s, box-shadow .15s; }
.lp-contact-card:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(8,38,90,.12); }
.lp-contact-card svg { color:var(--p); margin-bottom:4px; }
.lp-contact-card h3 { font-size:1.05rem; }
.lp-contact-card p { color:var(--muted); font-size:.92rem; word-break:break-word; }

.lp-final { background:linear-gradient(135deg,#0B4BA8,#063B78 60%,#031F45); color:#fff; text-align:center; padding:64px 0; }
.lp-final h2 { font-size:clamp(1.6rem,3.6vw,2.2rem); letter-spacing:-.02em; }
.lp-final p { margin-top:8px; color:rgba(255,255,255,.85); }

/* footer */
.lp-footer { background:var(--pdd); color:rgba(255,255,255,.75); padding:36px 0 calc(28px + env(safe-area-inset-bottom,0px)); font-size:.9rem; }
.lp-foot-top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; }
.lp-brand-foot { color:#fff; font-size:1.2rem; }
.lp-footer nav { display:flex; flex-wrap:wrap; gap:20px; }
.lp-footer nav a:hover { color:#fff; text-decoration:underline; }
.lp-reg { margin-top:20px; font-size:.78rem; color:rgba(255,255,255,.55); }
.lp-copy { margin-top:14px; font-size:.8rem; color:rgba(255,255,255,.55); }

/* tablet */
@media (max-width: 900px) {
  .lp-hero-in { grid-template-columns:1fr; padding-top:44px; padding-bottom:48px; text-align:center; }
  .lp-lead { margin-left:auto; margin-right:auto; }
  .lp-cta, .lp-hero-points { justify-content:center; }
  .lp-hero-art { order:-1; }
  .lp-hero-art svg { max-width:380px; }
  .lp-grid { grid-template-columns:repeat(2,1fr); }
  .lp-sec-in { grid-template-columns:1fr; text-align:center; }
  .lp-checks { text-align:left; max-width:440px; margin-left:auto; margin-right:auto; }
  .lp-sec-art { order:-1; }
}

/* phone */
@media (max-width: 720px) {
  .lp-burger { display:flex; }
  .lp-nav { position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); box-shadow:0 18px 30px rgba(8,38,90,.12); flex-direction:column; align-items:stretch; gap:0; padding:8px 20px 18px; display:none; }
  .lp-nav a:not(.lp-btn) { padding:14px 4px; border-bottom:1px solid var(--line); }
  .lp-nav .lp-btn { margin-top:12px; }
  .lp-nav-toggle:checked ~ .lp-nav { display:flex; }
  .lp-nav-toggle:checked ~ .lp-burger span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
  .lp-nav-toggle:checked ~ .lp-burger span:nth-child(2) { opacity:0; }
  .lp-nav-toggle:checked ~ .lp-burger span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }
  .lp-topbar-in { font-size:.76rem; }
  .lp-strip-in { flex-direction:column; text-align:center; }
  .lp-section { padding:52px 0; }
  .lp-grid, .lp-steps { grid-template-columns:1fr; }
  .lp-cta .lp-btn { flex:1 1 100%; }
  .lp-foot-top { flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion: reduce) { .lp * { transition:none !important; } }

/* real photos */
.lp-hero-photo { position:relative; margin:0; border-radius:22px; overflow:hidden; box-shadow:0 28px 60px rgba(0,0,0,.4); border:1px solid rgba(255,255,255,.25); max-width:560px; margin-left:auto; margin-right:auto; }
.lp-hero-photo img { display:block; width:100%; height:auto; }
.lp-badge { position:absolute; left:14px; bottom:14px; display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-items:center; background:#fff; color:#152238; border-radius:999px; padding:8px 18px 8px 12px; box-shadow:0 8px 20px rgba(0,0,0,.25); }
.lp-badge i { grid-row:span 2; width:12px; height:12px; border-radius:50%; background:#16A34A; box-shadow:0 0 0 4px rgba(22,163,74,.2); }
.lp-badge b { font-size:.82rem; line-height:1.1; }
.lp-badge small { font-size:.7rem; color:#5B6B82; line-height:1.1; }
.lp-show-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.lp-show { position:relative; border-radius:22px; overflow:hidden; min-height:460px; background:#031F45; box-shadow:0 10px 30px rgba(8,38,90,.18); display:flex; }
.lp-show img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.lp-show::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(3,31,69,0) 35%,rgba(3,31,69,.88)); }
.lp-show-body { position:relative; z-index:1; margin-top:auto; padding:28px; color:#fff; display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.lp-show-body h3 { font-size:1.4rem; letter-spacing:-.01em; }
.lp-show-body p { color:rgba(255,255,255,.88); max-width:380px; margin-bottom:8px; }
@media (max-width:900px) { .lp-hero-photo { max-width:460px; } }
@media (max-width:720px) { .lp-show-grid { grid-template-columns:1fr; } .lp-show { min-height:400px; } }
