/*
 * Login: "Sales Live Tracking" hero on one continuous light background.
 * Desktop: hero | phone mockup whose screen is the sign-in form | benefit chips.
 * Tablet/phone: the mockup frame drops away and the form becomes the screen.
 * Always fits one screen without scrolling.
 */
:root { --mv-navy: #071d49; --mv-blue: #0a6fe0; --mv-teal: #0d9a90; --mv-green: #22a35a; --lp-bg: #f6f9fe; }
html, body.lp { height: 100%; overflow: hidden; }
body.lp { background: var(--lp-bg); color: #1f2a3d; }
.lp-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.lp-stage { position: relative; z-index: 1; height: 100vh; height: 100dvh; display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2.5rem;
    max-width: 92rem; margin: 0 auto; padding: 1.5rem 3rem 2.75rem; }

/* ---------- Hero ---------- */
.lp-hero { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.lp-logos { display: flex; flex-direction: column; align-items: center; width: 26rem; max-width: 100%; margin-top: 2.5rem; margin-bottom: 4rem; }
.lp-company { width: 100%; height: auto; }
.lp-logo { width: 100%; height: auto; }
/* Desktop: logo pinned to the top of the hero column; headline, route and features stay centred in the space below */
@media (min-width: 992px) {
    .lp-hero { align-self: stretch; }
    .lp-headline { margin-top: auto; }
    .lp-hero::after { content: ""; margin-top: auto; }
}
.lp-headline { display: flex; align-items: center; gap: 1.25rem; }
.lp-bigpin { width: 5.25rem; height: 7.2rem; flex: none; filter: drop-shadow(0 .5rem .75rem rgba(13,154,144,.25)); }
.lp-title { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; color: var(--mv-navy); margin: 0; }
.lp-sub { font-size: clamp(1.375rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--mv-green); margin-top: .375rem; }
.lp-rule { width: 3.5rem; height: .25rem; border-radius: .25rem; background: var(--mv-green); margin-top: .75rem; }
.lp-route { width: 100%; max-width: 40rem; height: auto; margin: .75rem 0 .25rem; }
.lp-features { display: grid; grid-template-columns: repeat(6, 1fr); width: 100%; max-width: 46rem; background: #fff; border-radius: 1rem;
    padding: 1rem .5rem; box-shadow: 0 0 0 1px #e6edf6, 0 .75rem 1.5rem rgba(7,29,73,.08); }
.lp-feature { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: 0 .5rem;
    font-size: .8125rem; font-weight: 500; color: #23324d; line-height: 1.25; border-left: 1px solid #edf1f7; }
.lp-feature:first-child { border-left: 0; }
.lp-feature i { font-size: 1.75rem; line-height: 1; }

/* ---------- Phone mockup ---------- */
.lp-device-wrap { display: flex; justify-content: center; }
.lp-device { position: relative; width: 21.5rem; height: min(44rem, calc(100dvh - 5rem)); border-radius: 2.75rem; background: #10151f; padding: .75rem;
    box-shadow: 0 0 0 2px #2b3342, 0 1.5rem 3rem rgba(7,29,73,.28); }
.lp-notch { position: absolute; top: .75rem; left: 50%; transform: translateX(-50%); width: 6.5rem; height: 1.375rem; background: #10151f;
    border-radius: 0 0 1rem 1rem; z-index: 2; }
.lp-notch::after { content: ""; position: absolute; top: .375rem; left: 50%; width: .5rem; height: .5rem; margin-left: -.25rem; border-radius: 50%; background: #2c3747; }
.lp-screen { height: 100%; border-radius: 2.125rem; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.lp-status { display: flex; justify-content: space-between; padding: .5rem 1.375rem .25rem; font-size: .75rem; font-weight: 600; color: #0f1d36; flex: none; }
.lp-status i { font-size: .8125rem; }
.lp-appbar { display: flex; align-items: center; gap: .5rem; padding: .5rem 1.125rem .625rem; font-weight: 600; font-size: .9375rem; color: #0f1d36;
    border-bottom: 1px solid #eef2f7; flex: none; }
.lp-appbar img { height: 1.5rem; }
.lp-mini { margin: .75rem 1rem 0; border-radius: .875rem; overflow: hidden; box-shadow: 0 0 0 1px #e6edf6; flex: none; }
.lp-mini-head { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; font-size: .8125rem; font-weight: 600; color: var(--mv-green); background: #fff; }
.lp-mini svg { display: block; width: 100%; height: auto; }
.lp-live { display: inline-flex; align-items: center; gap: .3rem; background: #e6f6ec; color: #17803f; border-radius: 1rem; padding: .125rem .5rem; font-size: .6875rem; }
.lp-dot { width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--mv-green); box-shadow: 0 0 0 .1875rem rgba(34,163,90,.2); display: inline-block; }
.lp-form { padding: .875rem 1.125rem 1rem; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.lp-form-title { font-size: 1.25rem; font-weight: 700; color: #0f1d36; letter-spacing: -.02em; }
.lp-form-sub { font-size: .75rem; color: #6a7a93; margin-bottom: .75rem; }
.lp-form .form-label { margin-bottom: .25rem !important; }
.lp-input { position: relative; margin-bottom: .625rem; }
.lp-input i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: #7a889e; z-index: 3; }
.lp-input .form-control { padding-left: 2.25rem; min-height: 2.5rem; border-radius: .625rem; }
.lp-remember { margin: .125rem 0 .75rem; }
.lp-submit { --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; --bs-btn-active-border-color: transparent;
    background-image: linear-gradient(90deg, var(--mv-blue), #0a8fd6 55%, var(--mv-teal)); min-height: 2.75rem; border-radius: .75rem !important; font-size: .9375rem !important; }
.lp-submit:hover { background-image: linear-gradient(90deg, #0860c4, #087fbe 55%, #0b8a80); }
.lp-window { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .75rem; color: #6a7a93; margin-top: .75rem; }
.lp-getapp { display: flex; align-items: center; justify-content: center; gap: .375rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid #eef2f7;
    font-size: .75rem; font-weight: 600; color: var(--mv-teal); }

/* ---------- Benefit chips ---------- */
.lp-benefits { display: flex; flex-direction: column; gap: 1rem; width: 14rem; position: relative; padding-left: 1.25rem; }
.lp-benefits::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; border-left: 2px dashed #a9c4ea; }
.lp-benefit { position: relative; display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: .875rem; padding: .75rem .875rem;
    box-shadow: 0 0 0 1px #e6edf6, 0 .5rem 1rem rgba(7,29,73,.07); font-size: .8125rem; font-weight: 600; color: #1f2a3d; line-height: 1.25; }
.lp-benefit::before { content: ""; position: absolute; left: -1.5625rem; top: 50%; width: .625rem; height: .625rem; margin-top: -.3125rem; border-radius: 50%;
    background: #fff; border: 2px solid #a9c4ea; }
.lp-benefit-icon { width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Footer ---------- */
.lp-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0 !important; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)) !important;
    border-top: 0 !important; color: #7a889e !important; }

/* ---------- Desktop sizes ---------- */
@media (max-width: 1399.98px) { .lp-stage { gap: 2rem; padding-left: 2rem; padding-right: 2rem; } .lp-benefits { width: 12.5rem; } }
@media (max-width: 1199.98px) { .lp-stage { grid-template-columns: minmax(0, 1fr) auto; } .lp-benefits { display: none; } }
@media (min-width: 992px) and (max-height: 860px) {
    .lp-logos { width: 22rem; margin-top: 1.5rem; margin-bottom: 2.75rem; }
    .lp-bigpin { width: 4.25rem; height: 5.8rem; }
    .lp-title { font-size: clamp(2rem, 3.4vw, 2.875rem); } .lp-sub { font-size: clamp(1.25rem, 2vw, 1.625rem); }
    .lp-route { max-width: 32rem; margin-top: .25rem; }
    .lp-features { padding: .75rem .375rem; } .lp-feature i { font-size: 1.5rem; }
}
@media (min-width: 992px) and (max-height: 760px) {
    .lp-route { display: none; } .lp-features { margin-top: 1.5rem; }
    .lp-mini { display: none; }
    .lp-device { height: min(40rem, calc(100dvh - 4rem)); }
}
@media (min-width: 992px) and (max-height: 640px) {
    .lp-logos { width: 17rem; margin-top: .5rem; margin-bottom: 2rem; } .lp-features { display: none; }
    .lp-stage { padding-top: 1rem; padding-bottom: 2.25rem; }
    .lp-window { display: none; }
}

/* ---------- Tablet & phone: the form is the screen ---------- */
@media (max-width: 991.98px) {
    .lp-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding: max(1rem, env(safe-area-inset-top)) 1rem 2.5rem; align-items: start; }
    .lp-hero { align-items: center; text-align: center; }
    .lp-logos { width: min(21rem, 85%); margin-top: 1.5rem; margin-bottom: 2.25rem; }
    .lp-headline { gap: .625rem; justify-content: center; }
    .lp-bigpin { width: 2.5rem; height: 3.4rem; }
    .lp-headline > div { text-align: left; }
    .lp-title { font-size: 1.625rem; } .lp-sub { font-size: 1.0625rem; margin-top: .125rem; } .lp-rule { display: none; }
    .lp-route, .lp-features, .lp-benefits { display: none !important; }
    .lp-device-wrap { align-self: center; width: 100%; }
    .lp-device { width: 100%; max-width: 26rem; height: auto; padding: 0; background: none; border-radius: 0; box-shadow: none; }
    .lp-notch, .lp-status, .lp-appbar, .lp-mini { display: none; }
    .lp-screen { height: auto; border-radius: 1.25rem; box-shadow: 0 0 0 1px #e6edf6, 0 1rem 2rem rgba(7,29,73,.1); }
    .lp-form { padding: 1.25rem 1.25rem 1rem; }
    .lp-input .form-control { font-size: 1rem !important; min-height: 2.75rem; }
}
@media (max-width: 991.98px) and (max-height: 760px) {
    .lp-logos { width: min(17rem, 75%); margin-top: 1rem; margin-bottom: 1.5rem; }
    .lp-title { font-size: 1.375rem; } .lp-sub { font-size: .9375rem; } .lp-bigpin { width: 2rem; height: 2.75rem; }
    .lp-form { padding: 1rem 1rem .75rem; } .lp-form-sub { margin-bottom: .5rem; }
}
@media (max-width: 991.98px) and (max-height: 640px) {
    .lp-logos { width: min(14rem, 65%); margin-top: .5rem; margin-bottom: 1.125rem; }
    .lp-headline { display: none; }
    .lp-remember, .lp-window { display: none; }
    .lp-input { margin-bottom: .5rem; } .lp-submit { margin-top: .25rem; }
}

/* ---------- ASIS Edge Band brand (asisedgeband.com) ---------- */
.lp-asis { --lp-bg: #faf8f4; background: #faf8f4; color: #4a4a4a; }
.lp-asis .lp-eyebrow { display: inline-flex; align-items: center; gap: .625rem; font-family: "Montserrat", sans-serif; font-size: .75rem; font-weight: 600;
    letter-spacing: .28em; text-transform: uppercase; color: #9a7a45; margin-bottom: .625rem; }
.lp-asis .lp-eyebrow span { display: inline-block; width: 2.25rem; height: 1px; background: #c9a46a; }
.lp-asis .lp-title { font-family: "Poppins", sans-serif; font-weight: 600; color: #0f0f10; letter-spacing: -.02em; }
.lp-asis .lp-title em { font-style: normal; background: linear-gradient(90deg, #c9a46a, #d9b47a 50%, #e8cfa0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-asis .lp-sub { font-family: "Poppins", sans-serif; font-weight: 500; color: #4a4a4a; }
.lp-asis .lp-bigpin { filter: drop-shadow(0 .5rem .75rem rgba(201,164,106,.35)); }
.lp-asis .lp-features, .lp-asis .lp-benefit, .lp-asis .lp-screen { box-shadow: 0 0 0 1px #ece6da, 0 .75rem 1.5rem rgba(15,15,16,.06); }
.lp-asis .lp-feature { color: #1c1c1c; border-left-color: #f1ece2; font-weight: 500; }
.lp-asis .lp-benefits::before, .lp-asis .lp-benefit::before { border-color: #d9c4a0; }
.lp-asis .lp-benefit { color: #1c1c1c; }
.lp-asis .lp-device { background: #0f0f10; box-shadow: 0 0 0 2px #2a2a2c, 0 1.5rem 3rem rgba(15,15,16,.25); }
.lp-asis .lp-notch { background: #0f0f10; }
.lp-asis .lp-appbar span, .lp-asis .lp-form-title { font-family: "Poppins", sans-serif; color: #0f0f10; }
.lp-asis .lp-mini-head { color: #9a7a45; font-family: "Poppins", sans-serif; }
.lp-asis .lp-submit { background-image: linear-gradient(90deg, #c9a46a, #d9b47a 60%, #e0c08c) !important; color: #0f0f10 !important; border-radius: 999px !important;
    font-family: "Poppins", sans-serif; font-weight: 600 !important; letter-spacing: .01em; box-shadow: 0 .5rem 1rem rgba(201,164,106,.3); }
.lp-asis .lp-submit:hover { background-image: linear-gradient(90deg, #b8925a, #c9a46a 60%, #d9b47a) !important; }
.lp-asis .lp-input .form-control { border-radius: .75rem; border-color: #ddd5c6; background: #fff; }
.lp-asis .lp-input .form-control:focus { border-color: #c9a46a !important; box-shadow: 0 0 0 .2rem rgba(201,164,106,.18) !important; }
.lp-asis .lp-getapp { color: #9a7a45; border-top-color: #f1ece2; }
.lp-asis .lp-live { background: #f6efe2; color: #7d6236; }
.lp-asis .lp-dot { background: #c9a46a; box-shadow: 0 0 0 .1875rem rgba(201,164,106,.25); }
@media (max-width: 991.98px) {
    .lp-asis .lp-device { background: none; box-shadow: none; }
    .lp-asis .lp-eyebrow { font-size: .625rem; letter-spacing: .2em; margin-bottom: .25rem; }
    .lp-asis .lp-eyebrow span { width: 1.25rem; }
}
@media (max-width: 991.98px) and (max-height: 760px) { .lp-asis .lp-eyebrow { display: none; } }
