/*
 * 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: .75rem 3rem 2.75rem;
    /* Logo centred over the headline, as large as the screen height allows */
    --lp-logo-w: min(47.5rem, 57vw, 75vh); }

/* ---------- Hero ---------- */
.lp-hero { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; align-self: start; }
.lp-logos { display: flex; flex-direction: column; align-items: center; width: var(--lp-logo-w); max-width: 100%; align-self: center; margin-bottom: 2.75rem; }
.lp-company { width: 78%; height: auto; margin-bottom: .875rem; }
.lp-logo { width: 100%; height: 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.375rem; }
.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-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: 940px) { .lp-logos { margin-bottom: 1.75rem; } .lp-route { max-width: 30rem; margin: .25rem 0 0; } }
@media (min-width: 992px) and (max-height: 680px) { .lp-route { display: none; } .lp-features { margin-top: 1.5rem; } }
@media (min-width: 992px) and (max-height: 760px) {
    .lp-route { max-width: 26rem; }
    .lp-mini { display: none; }
    .lp-device { height: min(40rem, calc(100dvh - 4rem)); }
}
@media (min-width: 992px) and (max-height: 640px) {
    .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(.375rem, env(safe-area-inset-top)) 1rem 2.5rem; align-items: start; }
    .lp-hero { align-items: center; text-align: center; }
    .lp-logos { width: min(31rem, 100%); margin-bottom: 1.75rem; }
    .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(27.5rem, 100%); margin-bottom: 1rem; } .lp-company { margin-bottom: .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(21rem, 92%); margin-bottom: .625rem; } .lp-company { margin-bottom: .375rem; }
    .lp-headline { display: none; }
    .lp-remember, .lp-window { display: none; }
    .lp-input { margin-bottom: .5rem; } .lp-submit { margin-top: .25rem; }
}

/* ---------- Dinbhar One / company brand (tokens from brand.css; --dn-* are the logo's four colours) ---------- */
.lp-brand { --lp-bg: var(--page); background: var(--page); color: var(--text); }
.lp-brand .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: var(--gold-dark); margin-bottom: .625rem; }
.lp-brand .lp-eyebrow span { display: inline-block; width: 2.25rem; height: 1px; background: var(--gold); }
.lp-brand .lp-title { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.lp-brand .lp-title em { font-style: normal; background: linear-gradient(90deg, var(--gold), var(--gold-3) 50%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-brand .lp-sub { font-family: "Poppins", sans-serif; font-weight: 500; color: var(--text); }
.lp-brand .lp-bigpin { filter: drop-shadow(0 .5rem .75rem rgba(var(--bs-primary-rgb), .35)); }
.lp-brand .lp-features, .lp-brand .lp-benefit, .lp-brand .lp-screen { box-shadow: 0 0 0 1px var(--line), 0 .75rem 1.5rem rgba(15,23,42,.06); }
.lp-brand .lp-feature { color: var(--ink-2); border-left-color: var(--line); font-weight: 500; }
.lp-brand .lp-benefits::before, .lp-brand .lp-benefit::before { border-color: var(--line); }
.lp-brand .lp-benefit { color: var(--ink-2); }
.lp-brand .lp-device { background: var(--ink); box-shadow: 0 0 0 2px #1e293b, 0 1.5rem 3rem rgba(15,23,42,.25); }
.lp-brand .lp-notch { background: var(--ink); }
.lp-brand .lp-appbar span, .lp-brand .lp-form-title { font-family: "Poppins", sans-serif; color: var(--ink); }
.lp-brand .lp-mini-head { color: var(--gold-dark); font-family: "Poppins", sans-serif; }
.lp-brand .lp-submit { background-image: linear-gradient(90deg, var(--gold), var(--gold-3)) !important; color: var(--on-brand) !important; border-radius: 999px !important;
    font-family: "Poppins", sans-serif; font-weight: 600 !important; letter-spacing: .01em; box-shadow: 0 .5rem 1rem rgba(var(--bs-primary-rgb), .3); }
.lp-brand .lp-submit:hover { background-image: linear-gradient(90deg, var(--gold-dark), var(--gold) 60%, var(--gold-3)) !important; }
.lp-brand .lp-input .form-control { border-radius: .75rem; border-color: var(--line); background: #fff; }
.lp-brand .lp-input .form-control:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .18) !important; }
.lp-brand .lp-getapp { color: var(--gold-dark); border-top-color: var(--line); }
.lp-brand .lp-live { background: var(--gold-tint); color: var(--gold-dark); }
.lp-brand .lp-dot { background: var(--gold); box-shadow: 0 0 0 .1875rem rgba(var(--bs-primary-rgb), .25); }
@media (max-width: 991.98px) {
    .lp-brand .lp-device { background: none; box-shadow: none; }
    .lp-brand .lp-eyebrow { font-size: .625rem; letter-spacing: .2em; margin-bottom: .25rem; }
    .lp-brand .lp-eyebrow span { width: 1.25rem; }
}
@media (max-width: 991.98px) and (max-height: 760px) { .lp-brand .lp-eyebrow { display: none; } }

/* Company shown on its sign-in page (subdomain or remembered company code) */
.lp-company-card { display: flex; align-items: center; gap: .625rem; padding: .5rem .625rem; margin-bottom: .625rem; border-radius: .75rem;
    background: var(--gold-tint); color: var(--ink); font-size: .8125rem; }
.lp-company-card img { max-height: 2rem; max-width: 5.5rem; object-fit: contain; }
.lp-company-card b { display: block; font-family: "Poppins", sans-serif; line-height: 1.2; }
.lp-company-card .lp-change { margin-left: auto; font-size: .75rem; white-space: nowrap; }
.lp-logos .lp-company { max-height: 4.5rem; max-width: 14rem; object-fit: contain; }

/* ---------- Logo signature: four team colours ---------- */
.lp-blobs { opacity: .07; filter: blur(40px); }
.lp-brand .lp-eyebrow span { height: 3px; border-radius: 3px; width: 2.75rem; background: var(--dn-stripe); }
.lp-brand .lp-title em { background: none; color: var(--dn-red); }
.lp-brand .lp-form-title::after { content: ""; display: block; width: 3rem; height: 3px; border-radius: 3px; margin-top: .25rem; background: var(--dn-stripe); }
.lp-brand .lp-getapp i { color: var(--dn-green); }
.lp-brand .lp-window .lp-dot, .lp-brand .lp-live .lp-dot { background: var(--dn-green); box-shadow: 0 0 0 .1875rem rgba(10,161,73,.22); }
.lp-brand .lp-live { background: var(--dn-green-tint); color: #07803a; }
.lp-brand .lp-benefit-icon { box-shadow: 0 .375rem .75rem rgba(15,23,42,.12); }
@media (max-width: 991.98px) {
    .lp-brand .lp-screen { position: relative; }
    .lp-brand .lp-screen::before { content: ""; position: absolute; top: 0; left: 1.25rem; right: 1.25rem; height: 4px; border-radius: 0 0 4px 4px; background: var(--dn-stripe); }
}
