/* ===================================================================
   Sterling Meridian Bank — public landing page
   Standalone marketing surface: full-bleed, own palette, no app shell.
   Ink navy / platinum / brass. No external fonts or images.
   =================================================================== */
.lp{
  --lp-crimson:      #12263f;
  --lp-crimson-deep: #0a1728;
  --lp-crimson-lift: #1d3a5c;
  --lp-ink:          #0d1622;
  --lp-ink-soft:     #5b6675;
  --lp-cream:        #f7f5f1;
  --lp-line:         rgba(13,22,34,.10);
  --lp-white:        #ffffff;

  background:var(--lp-cream);
  color:var(--lp-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  margin:0;
}
.lp *{box-sizing:border-box}
.lp-wrap{max-width:1120px; margin:0 auto; padding:0 1.15rem}
.lp h1,.lp h2,.lp h3,.lp p{margin:0}
.lp a:not(.lp-btn){color:inherit}

/* ---------- header ---------- */
.lp-head{
  position:sticky; top:0; z-index:30;
  background:rgba(251,248,245,.92);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--lp-line);
}
.lp-head-in{display:flex; align-items:center; gap:1rem; height:62px}
.lp-brand{display:flex; align-items:center; gap:.5rem; font-weight:800;
          letter-spacing:-.025em; font-size:1.02rem; text-decoration:none}
.lp-mark{width:29px; height:29px; border-radius:8px; display:grid; place-items:center;
         background:var(--lp-crimson); color:#fff; font-weight:800; font-size:.95rem;
         letter-spacing:0}
.lp-nav{display:none; gap:1.5rem; margin-left:1.5rem; font-size:.87rem;
        font-weight:560; color:var(--lp-ink-soft)}
.lp-nav a{text-decoration:none}
.lp-nav a:hover{color:var(--lp-ink)}
.lp-head-cta{margin-left:auto; display:flex; align-items:center; gap:.55rem}
.lp-signin{font-size:.86rem; font-weight:640; text-decoration:none; padding:.5rem .3rem; color:var(--lp-ink)}
@media (min-width:880px){
  .lp-nav{display:flex}
  .lp-signin{padding:.5rem .75rem}
}

/* ---------- buttons ---------- */
.lp-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.45rem;
  font:inherit; font-size:.88rem; font-weight:680; letter-spacing:-.01em;
  padding:.78rem 1.15rem; border-radius:999px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .12s ease, background .15s ease;
}
.lp-btn:active{transform:translateY(1px)}
.lp-btn-solid{background:var(--lp-crimson); color:#fff}
.lp-btn-solid:hover{background:var(--lp-crimson-lift)}
.lp-btn-white{background:#fff; color:var(--lp-ink)}
.lp-btn-white:hover{background:#f3ece7}
.lp-btn-ghost{border-color:rgba(255,255,255,.45); color:#fff}
.lp-btn-ghost:hover{background:rgba(255,255,255,.12)}
.lp-btn-outline{border-color:rgba(15,19,24,.18); color:var(--lp-ink)}
.lp-btn-outline:hover{background:rgba(15,19,24,.05)}
.lp-btn-lg{padding:.95rem 1.5rem; font-size:.95rem}

/* ---------- hero ---------- */
.lp-hero{
  position:relative; overflow:hidden; color:#fff;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(255,255,255,.16), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(0,0,0,.42), transparent 60%),
    linear-gradient(158deg, var(--lp-crimson-lift) 0%, var(--lp-crimson) 42%, var(--lp-crimson-deep) 100%);
  padding:3.2rem 0 8.5rem;
}
.lp-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.055) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(25deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px);
  mask-image:radial-gradient(80% 80% at 50% 0%, #000 0%, transparent 78%);
}
.lp-hero-in{position:relative; z-index:1; max-width:660px}
.lp-eyebrow{
  display:inline-flex; align-items:center; gap:.45rem; font-size:.7rem; font-weight:720;
  letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.28); border-radius:999px; padding:.34rem .7rem;
  margin-bottom:1.15rem;
}
.lp-hero h1{
  font-size:clamp(2.05rem, 7.2vw, 3.5rem); line-height:1.03;
  font-weight:800; letter-spacing:-.035em;
}
.lp-hero h1 em{font-style:normal; color:#d8c39a}
.lp-hero-sub{
  margin-top:1.05rem; font-size:clamp(.96rem, 2.6vw, 1.08rem); line-height:1.55;
  color:rgba(255,255,255,.86); max-width:33rem;
}
.lp-hero-actions{display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.6rem}
.lp-hero-note{margin-top:1rem; font-size:.78rem; color:rgba(255,255,255,.66)}

/* ---------- apply card riding the hero edge ---------- */
.lp-apply{
  position:relative; z-index:5; margin-top:-6.6rem;
  background:var(--lp-white); border-radius:22px;
  box-shadow:0 40px 70px -44px rgba(15,19,24,.55), 0 2px 0 rgba(255,255,255,.6) inset;
  padding:1.4rem 1.2rem 1.25rem; border:1px solid rgba(15,19,24,.06);
  max-width:520px;
}
.lp-apply-head{display:flex; align-items:baseline; gap:.6rem; margin-bottom:.2rem}
.lp-apply h2{font-size:1.28rem; font-weight:790; letter-spacing:-.03em}
.lp-apply p{color:var(--lp-ink-soft); font-size:.85rem; line-height:1.5; margin-top:.35rem}
.lp-choice{
  display:flex; align-items:center; gap:.8rem; text-decoration:none;
  border:1px solid rgba(15,19,24,.12); border-radius:14px; padding:.85rem .95rem;
  margin-top:.7rem; background:#fff; transition:border-color .15s ease, background .15s ease;
}
.lp-choice:hover{border-color:var(--lp-crimson); background:#fdf7f7}
.lp-choice-ico{
  width:36px; height:36px; border-radius:10px; flex:0 0 36px; display:grid; place-items:center;
  background:rgba(18,38,63,.09); color:var(--lp-crimson);
}
.lp-choice-txt{display:flex; flex-direction:column; gap:.1rem; min-width:0}
.lp-choice-txt b{font-size:.94rem; font-weight:700; letter-spacing:-.01em}
.lp-choice-txt span{font-size:.78rem; color:var(--lp-ink-soft)}
.lp-choice-go{margin-left:auto; color:var(--lp-crimson); font-weight:700; font-size:1rem}
.lp-apply-foot{margin-top:.95rem; font-size:.8rem; color:var(--lp-ink-soft); text-align:center}
.lp-apply-foot a{color:var(--lp-crimson); font-weight:680; text-decoration:none}

/* ---------- trust strip ---------- */
.lp-trust{padding:2.4rem 0 .6rem}
.lp-trust-grid{display:grid; gap:1.1rem; grid-template-columns:1fr}
.lp-trust-item{display:flex; gap:.75rem; align-items:flex-start}
.lp-trust-ico{
  width:34px; height:34px; flex:0 0 34px; border-radius:10px; display:grid; place-items:center;
  background:rgba(18,38,63,.08); color:var(--lp-crimson);
}
.lp-trust-item b{display:block; font-size:.88rem; font-weight:700; letter-spacing:-.01em}
.lp-trust-item span{display:block; font-size:.8rem; color:var(--lp-ink-soft); line-height:1.45; margin-top:.12rem}

/* ---------- generic section ---------- */
.lp-sec{padding:3rem 0}
.lp-kicker{
  font-size:.68rem; font-weight:740; letter-spacing:.16em; text-transform:uppercase;
  color:var(--lp-crimson);
}
.lp-sec-title{
  font-size:clamp(1.6rem, 5vw, 2.35rem); font-weight:800; letter-spacing:-.033em;
  line-height:1.1; margin-top:.5rem;
}
.lp-sec-sub{color:var(--lp-ink-soft); font-size:.93rem; line-height:1.55; margin-top:.6rem; max-width:34rem}

/* ---------- numbered feature cards ---------- */
.lp-cards{display:grid; gap:.85rem; margin-top:1.8rem; grid-template-columns:1fr}
.lp-card{
  background:#fff; border:1px solid rgba(15,19,24,.08); border-radius:16px;
  padding:1.15rem 1.1rem; display:flex; flex-direction:column;
}
.lp-card-num{
  font-size:.72rem; font-weight:760; letter-spacing:.1em; color:var(--lp-crimson);
  opacity:.75; margin-bottom:.55rem;
}
.lp-card h3{font-size:1rem; font-weight:730; letter-spacing:-.02em; line-height:1.25}
.lp-card p{font-size:.83rem; color:var(--lp-ink-soft); line-height:1.5; margin-top:.4rem}
@media (min-width:640px){ .lp-cards{grid-template-columns:1fr 1fr} }
@media (min-width:960px){
  .lp-cards{grid-template-columns:repeat(3,1fr)}
  .lp-card:first-child{grid-column:span 1}
}

/* ---------- dark band ---------- */
.lp-dark{
  background:linear-gradient(160deg, #14181e 0%, #0d1014 100%);
  color:#fff; padding:3.2rem 0;
}
.lp-dark .lp-kicker{color:#f0a8a8}
.lp-dark .lp-sec-sub{color:rgba(255,255,255,.72)}
.lp-dark-grid{display:grid; gap:2rem; margin-top:1.6rem; grid-template-columns:1fr}
@media (min-width:900px){ .lp-dark-grid{grid-template-columns:1.05fr .95fr; gap:3rem; align-items:center} }
.lp-check{list-style:none; padding:0; margin:0; display:grid; gap:.95rem}
.lp-check li{display:flex; gap:.7rem; align-items:flex-start; font-size:.92rem; line-height:1.45}
.lp-tick{
  width:22px; height:22px; flex:0 0 22px; border-radius:50%; display:grid; place-items:center;
  background:rgba(255,255,255,.12); color:#d8c39a; margin-top:.1rem;
}
.lp-dark .lp-btn{margin-top:1.6rem}

/* ---------- phone-ish visual ---------- */
.lp-device{
  border-radius:26px; padding:1.1rem; background:linear-gradient(165deg, #232a34, #171d25);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 40px 80px -50px rgba(0,0,0,.9);
  max-width:340px; margin:0 auto;
}
.lp-device-top{display:flex; align-items:center; justify-content:space-between;
               font-size:.7rem; color:rgba(255,255,255,.5); padding:.15rem .3rem .7rem}
.lp-device-card{
  border-radius:18px; padding:1rem; color:#fff;
  background:linear-gradient(150deg, var(--lp-crimson-lift), var(--lp-crimson-deep));
}
.lp-device-card small{font-size:.7rem; color:rgba(255,255,255,.75); letter-spacing:.02em}
.lp-device-card .amt{font-size:1.65rem; font-weight:800; letter-spacing:-.035em; margin-top:.35rem}
.lp-device-card .num{font-size:.74rem; letter-spacing:.12em; color:rgba(255,255,255,.7); margin-top:.65rem}
.lp-device-rows{display:grid; gap:.5rem; margin-top:.7rem}
.lp-device-row{
  display:flex; align-items:baseline; justify-content:space-between; gap:.6rem;
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.07);
  border-radius:12px; padding:.6rem .7rem; font-size:.78rem;
}
.lp-device-row span:first-child{color:rgba(255,255,255,.72); min-width:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.lp-device-row b{font-weight:680; flex:0 0 auto; font-variant-numeric:tabular-nums}
.lp-pill{
  font-size:.62rem; font-weight:740; letter-spacing:.06em; text-transform:uppercase;
  padding:.24rem .5rem; border-radius:999px; background:rgba(255,214,153,.16); color:#ffd699;
}

/* ---------- split feature sections ---------- */
.lp-split{display:grid; gap:1.8rem; grid-template-columns:1fr; align-items:center}
@media (min-width:900px){ .lp-split{grid-template-columns:1fr 1fr; gap:3.5rem} }
.lp-split.rev .lp-split-art{order:-1}
@media (min-width:900px){ .lp-split.rev .lp-split-art{order:0} }
.lp-split-art{
  border-radius:22px; min-height:230px; position:relative; overflow:hidden;
  background:linear-gradient(150deg, #f2e9e6, #e6d8d6);
  border:1px solid rgba(15,19,24,.07);
  display:grid; place-items:center; padding:1.2rem;
}
.lp-split-art.dark{background:linear-gradient(150deg, #1b2027, #0e1116); border-color:rgba(255,255,255,.08)}
.lp-art-note{
  position:absolute; left:1rem; bottom:1rem; right:1rem;
  background:rgba(255,255,255,.94); border-radius:12px; padding:.7rem .85rem;
  font-size:.78rem; color:var(--lp-ink-soft); box-shadow:0 18px 30px -24px rgba(0,0,0,.5);
}
.lp-art-note b{display:block; color:var(--lp-ink); font-size:.82rem; margin-bottom:.1rem}
.lp-art-note.inline{position:static; left:auto; right:auto; bottom:auto; margin-top:.85rem;
  box-shadow:none; border:1px solid rgba(15,19,24,.08)}
.lp-art-globe{
  width:150px; height:150px; border-radius:50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.9), transparent 42%),
    repeating-linear-gradient(0deg, rgba(18,38,63,.16) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(18,38,63,.16) 0 1px, transparent 1px 14px),
    #fff;
  box-shadow:0 0 0 1px rgba(18,38,63,.18), 0 22px 40px -28px rgba(106,17,32,.6) inset;
}
.lp-split-copy h2{font-size:clamp(1.5rem, 4.6vw, 2.1rem); font-weight:800; letter-spacing:-.032em; line-height:1.12}
.lp-split-copy p.lead{color:var(--lp-ink-soft); font-size:.92rem; line-height:1.55; margin-top:.6rem}
.lp-split-copy .lp-check{margin-top:1.2rem}
.lp-split-copy .lp-check li{font-size:.88rem}
.lp-split-copy .lp-tick{background:rgba(18,38,63,.1); color:var(--lp-crimson)}
.lp-split-copy .lp-btn{margin-top:1.4rem}
.lp-dark-split h2,.lp-dark-split{color:#fff}

/* ---------- steps ---------- */
.lp-steps{display:grid; gap:1rem; margin-top:1.8rem; grid-template-columns:1fr}
@media (min-width:820px){ .lp-steps{grid-template-columns:repeat(3,1fr); gap:1.3rem} }
.lp-step{
  background:#fff; border:1px solid rgba(15,19,24,.08); border-radius:16px; padding:1.25rem 1.15rem;
  position:relative;
}
.lp-step-n{
  width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
  background:var(--lp-crimson); color:#fff; font-size:.82rem; font-weight:760; margin-bottom:.7rem;
}
.lp-step h3{font-size:.98rem; font-weight:730; letter-spacing:-.02em}
.lp-step p{font-size:.83rem; color:var(--lp-ink-soft); line-height:1.5; margin-top:.35rem}

/* ---------- closing cta ---------- */
.lp-cta{
  background:linear-gradient(150deg, var(--lp-crimson-lift), var(--lp-crimson-deep));
  color:#fff; border-radius:24px; padding:2.2rem 1.4rem; text-align:center;
  margin:1rem 0 3rem;
}
.lp-cta h2{font-size:clamp(1.5rem, 5vw, 2.2rem); font-weight:800; letter-spacing:-.033em; line-height:1.1}
.lp-cta p{color:rgba(255,255,255,.82); font-size:.9rem; margin-top:.6rem; line-height:1.5}
.lp-cta .lp-hero-actions{justify-content:center}

/* ---------- footer ---------- */
.lp-foot{background:#0f1318; color:rgba(255,255,255,.6); padding:2.2rem 0 2.6rem; font-size:.8rem}
.lp-foot-in{display:flex; flex-direction:column; gap:1rem}
.lp-foot .lp-brand{color:#fff}
.lp-foot-nav{display:flex; flex-wrap:wrap; gap:1rem; font-size:.8rem}
.lp-foot-nav a{text-decoration:none; color:rgba(255,255,255,.62)}
.lp-foot-nav a:hover{color:#fff}
.lp-disclaimer{
  border-top:1px solid rgba(255,255,255,.12); padding-top:1.1rem; line-height:1.55;
  font-size:.74rem; color:rgba(255,255,255,.45);
}

/* ---------- hero photograph ---------- */
.lp-hero-photo{
  position:absolute; inset:0; background-size:cover; background-position:center 42%;
  filter:saturate(.72) contrast(1.04);
}
.lp-hero-photo::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(158deg, rgba(29,58,92,.64) 0%, rgba(18,38,63,.76) 45%, rgba(10,23,40,.88) 100%);
}
@media (max-width:640px){
  .lp-hero-photo{background-position:center 58%}
  .lp-hero-photo::after{
    background:
      radial-gradient(120% 90% at 82% -10%, rgba(255,255,255,.12), transparent 55%),
      linear-gradient(168deg, rgba(29,58,92,.74) 0%, rgba(18,38,63,.83) 45%, rgba(10,23,40,.9) 100%);
  }
}

/* ---------- photo band ---------- */
.lp-band{padding:2.6rem 0 .4rem; background:#fff}
.lp-band-grid{
  display:grid; gap:.9rem;
  grid-template-columns:repeat(3, minmax(0,1fr));   /* minmax(0,…) so a wide photo can never widen the page */
}
.lp-band-item{
  position:relative; margin:0; min-width:0; max-width:100%;
  border-radius:16px; overflow:hidden; background:#0d1622;
  box-shadow:0 10px 28px -18px rgba(15,19,24,.5);
}
/* fixed heights — no dependence on aspect-ratio support, and never the photo's
   natural 1200px width */
.lp-band-item img{
  display:block; width:100%; max-width:100%; height:210px;
  object-fit:cover; object-position:center;
}
.lp-band-item::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(12,14,18,0) 38%, rgba(12,14,18,.8) 100%);
}
.lp-band-item figcaption{
  position:absolute; z-index:2; left:0; right:0; bottom:0; padding:.8rem .9rem;
  color:#fff; display:flex; flex-direction:column; gap:.16rem;
}
.lp-band-item figcaption b{font-size:.9rem; letter-spacing:-.01em}
.lp-band-item figcaption span{font-size:.73rem; line-height:1.4; color:rgba(255,255,255,.82)}
@media (min-width:900px){ .lp-band-item img{height:260px} }
@media (max-width:820px){
  .lp-band-grid{grid-template-columns:repeat(2, minmax(0,1fr)); gap:.7rem}
  .lp-band-item img{height:170px}
  .lp-band-item:first-child{grid-column:1 / -1}
  .lp-band-item:first-child img{height:215px}
}
@media (max-width:640px){
  .lp-band{padding-top:1.8rem}
  .lp-band-grid{gap:.6rem}
  .lp-band-item{border-radius:13px}
  .lp-band-item img{height:132px}
  .lp-band-item:first-child img{height:190px}
  .lp-band-item figcaption{padding:.6rem .65rem; gap:.1rem}
  .lp-band-item figcaption b{font-size:.8rem}
  /* the same three claims are spelled out in the trust strip just above,
     so on a phone the tiles only carry the label */
  .lp-band-item figcaption span{font-size:.64rem; line-height:1.3; display:-webkit-box;
    -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
}
@media (max-width:430px){
  .lp-band-item figcaption span{display:none}   /* titles only — the trust strip above has the detail */
  .lp-band-item img{height:128px}
  .lp-band-item:first-child img{height:180px}
}

/* ---------- guard rails: no sideways scroll on the marketing page ---------- */
html, body.lp{max-width:100%; overflow-x:hidden}
.lp img{max-width:100%}
.lp-hero-photo{background-size:cover}

/* ---------- phone header: keep it on one line ---------- */
@media (max-width:470px){
  .lp-head .lp-signin{display:none}
  .lp-head-in{padding-top:.7rem; padding-bottom:.7rem}
  .lp-brand{font-size:.95rem; white-space:nowrap; letter-spacing:-.015em}
  .lp-head-cta .lp-btn-solid{padding:.62rem .85rem; font-size:.8rem; white-space:nowrap}
}

@media (max-width:400px){
  .lp-head-in{gap:.35rem; padding-left:.9rem; padding-right:.9rem}
  .lp-brand{font-size:.84rem}
  .lp-mark{width:24px; height:24px; font-size:.82rem}
  .lp-head-cta .lp-btn-solid{padding:.5rem .62rem; font-size:.72rem}
}
