/* ============================================================================
   PUBLIC LANDING / LOGIN  ·  prefix: lp-  ·  the onepager anonymous visitors see
   ----------------------------------------------------------------------------
   Direction A ("data sheet"): the page must feel like the app itself — a precise
   technical instrument. Rectangular character: sections and cards at 0–4px
   radius (never above 8), flat surfaces, 1px hairlines instead of drop shadows,
   teal ONLY as accent (kickers, links, icon badges, primary buttons, short
   underline rules beneath section headings). Only buttons and inputs are
   rounded (8px). MIRACLE is the brand on the page; ChemServe anchors the
   footer. Tokens from mds.css.
   ============================================================================ */

.lp {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--mds-surface);
    color: var(--mds-text);
    font-family: var(--mds-font);
    font-size: var(--mds-text-sm);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 32px);
    box-sizing: border-box;
}

/* teal kicker + short rule beneath section headings — the app's signature */
.lp-kicker {
    display: block; margin-bottom: 12px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--mds-accent-ink);
}
.lp-heading {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 32px); line-height: 1.2;
    letter-spacing: -.015em; font-weight: 700; color: var(--mds-title);
}
.lp-heading::after {
    content: ""; display: block; width: 44px; height: 3px;
    margin-top: 14px; background: var(--mds-accent);
}

/* ============================================================================
   HERO  ·  flat deep navy, ruled hairline texture, copy left / sign-in right
   ============================================================================ */
/* tanker photo behind a navy wash — dark enough on the left for the copy,
   opening up toward the right so the deck reads through under the card */
.lp-hero {
    position: relative;
    background:
        linear-gradient(100deg,
            rgba(13, 33, 48, .96) 0%,
            rgba(16, 41, 60, .86) 52%,
            rgba(18, 48, 68, .62) 100%),
        #14374E url("../images/landing/hero-tanker.jpg") center 62% / cover no-repeat;
    color: #fff;
    border-bottom: 3px solid var(--mds-accent);
}
.lp-hero .lp-container { position: relative; z-index: 1; }

.lp-topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.lp-topbar__brand img { height: 42px; width: auto; display: block; }  /* MIRACLE.svg is white */
.lp-topbar__trial {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .4);
    border-radius: var(--mds-radius-lg);
    color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}
.lp-topbar__trial:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.lp-topbar__trial .fa-arrow-right { font-size: .8em; color: #8FD3DC; }

.lp-hero__grid {
    display: grid; grid-template-columns: 1fr; gap: 44px;
    padding: clamp(40px, 6vw, 76px) 0;
    align-items: center;
}
@media (min-width: 920px) {
    .lp-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 80px; }
}

.lp-hero__copy { max-width: 41rem; }
.lp-hero__flag {
    display: inline-block; margin-bottom: 22px; padding-bottom: 8px;
    border-bottom: 2px solid var(--mds-accent);
    font-size: 12px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #8FD3DC;
}
.lp-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06;
    letter-spacing: -.02em; font-weight: 800; color: #fff;
}
.lp-hero__sub {
    margin: 0 0 28px; max-width: 46ch;
    font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8);
}
.lp-hero__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lp-hero__points li {
    position: relative; padding-left: 32px;
    font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9);
}
.lp-hero__points .fa-check {
    position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; border-radius: var(--mds-radius);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--mds-accent); color: #10293C; font-size: 10px;
}

/* ---- sign-in card: white, 1px border, flat ------------------------------- */
.lp-login {
    background: #fff; border: 1px solid var(--mds-line);
    border-radius: var(--mds-radius-lg);
    padding: clamp(26px, 3vw, 34px);
    max-width: 25.5rem; width: 100%; justify-self: center; box-sizing: border-box;
}
@media (min-width: 920px) { .lp-login { justify-self: end; } }
.lp-login__head {
    margin-bottom: 22px; padding-bottom: 14px;
    border-bottom: 2px solid var(--mds-accent);
}
.lp-login__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--mds-title); }
.lp-login__sub { margin: 2px 0 0; font-size: 13px; color: var(--mds-muted); }
.lp-login__group { margin-bottom: 15px; }
.lp-login__label {
    display: block; margin-bottom: 6px;
    font-size: 13px; font-weight: 600; color: var(--mds-title);
}
.lp-login__input {
    width: 100%; box-sizing: border-box; padding: 11px 13px;
    border: 1px solid var(--mds-line); border-radius: var(--mds-radius-lg);
    font-family: inherit; font-size: 15px; color: var(--mds-text); background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lp-login__input:focus {
    outline: none; border-color: var(--mds-accent);
    box-shadow: 0 0 0 3px rgba(71, 163, 175, .16);
}
.lp-login__options {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 2px 0 18px; font-size: 13px;
}
.lp-login__remember {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--mds-text); cursor: pointer;
}
.lp-login__remember input { accent-color: var(--mds-accent); }
.lp-login__forgot { color: var(--mds-accent-ink); text-decoration: none; font-weight: 600; }
.lp-login__forgot:hover { text-decoration: underline; }
.lp-login__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px 26px; border: 0; border-radius: var(--mds-radius-lg);
    background: var(--mds-accent); color: var(--mds-on-accent);
    font-family: var(--mds-font); font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .12s ease;
}
.lp-login__submit:hover:not(:disabled) { background: var(--mds-teal-600); }
.lp-login__submit:disabled { opacity: .65; cursor: default; }
.lp-login__error {
    margin: 0 0 16px; padding: 11px 13px;
    background: #FBEDEC; border: 1px solid #F2C7C3; border-radius: var(--mds-radius);
    color: #8C2B22; font-size: 13.5px; line-height: 1.4;
}
.lp-login__divider {
    display: flex; align-items: center; gap: 12px; margin: 22px 0 14px;
    color: var(--mds-muted); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.lp-login__divider::before,
.lp-login__divider::after { content: ""; flex: 1; height: 1px; background: var(--mds-line); }
.lp-login__activate {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; box-sizing: border-box; padding: 11px 22px;
    border: 1px solid var(--mds-line); border-radius: var(--mds-radius-lg);
    background: var(--mds-canvas); color: var(--mds-title);
    font-size: 14px; font-weight: 700; text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}
.lp-login__activate:hover { border-color: var(--mds-accent); background: var(--mds-tint); }
.lp-login__trial { margin: 13px 0 0; text-align: center; font-size: 13px; color: var(--mds-muted); }
.lp-login__trial a { color: var(--mds-accent-ink); font-weight: 600; text-decoration: none; }
.lp-login__trial a:hover { text-decoration: underline; }

/* device-verification step of the sign-in card (new-device e-mail code) */
.lp-login__code {
    font-size: 24px; font-weight: 700; letter-spacing: .45ch; text-align: center;
}
.lp-login__resend {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 16px; font-size: 13px; color: var(--mds-muted);
}
.lp-login__link {
    padding: 0; border: 0; background: none; cursor: pointer;
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--mds-accent-ink);
}
.lp-login__link:hover { text-decoration: underline; }

/* ============================================================================
   TRUST STRIP  ·  white, hairline-bounded
   ============================================================================ */
.lp-trust {
    padding: 36px 0; text-align: center;
    border-bottom: 1px solid var(--mds-line);
}
.lp-trust__label {
    display: block; margin: 0 0 24px;
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--mds-muted);
}
.lp-trust__logos {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 22px 44px;
}
.lp-trust__logos img {
    height: 27px; width: auto; max-width: 122px; object-fit: contain;
    filter: grayscale(1); opacity: .55;
    transition: filter .2s ease, opacity .2s ease;
}
.lp-trust__logos img:hover { filter: none; opacity: 1; }

/* ============================================================================
   PRODUCT SECTION  ·  copy + framed live shot
   ============================================================================ */
.lp-offer { padding: clamp(56px, 7vw, 88px) 0; }
.lp-offer__grid {
    display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center;
}
@media (min-width: 920px) {
    .lp-offer__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
}
.lp-offer p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--mds-text); }

/* framed screenshot with a slim toolbar */
.lp-shot {
    border: 1px solid var(--mds-line); border-radius: var(--mds-radius);
    overflow: hidden; background: #fff;
}
.lp-shot__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 9px 14px; background: var(--mds-gray-100);
    border-bottom: 1px solid var(--mds-line);
}
.lp-shot__dots { display: flex; gap: 5px; }
.lp-shot__dots i {
    width: 8px; height: 8px; border-radius: var(--mds-radius-sm);
    background: var(--mds-line);
}
.lp-shot__bar span {
    font-size: 11px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: var(--mds-muted);
}
.lp-shot img { display: block; width: 100%; height: auto; }

/* ============================================================================
   FEATURES  ·  editorial split: tank-inspection photo | numbered feature rows
   ============================================================================ */
.lp-feat {
    padding: clamp(56px, 7vw, 88px) 0;
    background: var(--mds-canvas);
    border-top: 1px solid var(--mds-line);
    border-bottom: 1px solid var(--mds-line);
}
.lp-feat__head { max-width: 44rem; margin-bottom: clamp(30px, 4vw, 44px); }
.lp-feat__head p { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: var(--mds-muted); }
.lp-feat__split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: stretch; }
@media (min-width: 920px) { .lp-feat__split { grid-template-columns: .95fr 1.05fr; gap: 56px; } }

/* photo from inside a cargo tank, filling the column, with a factual caption */
.lp-feat__photo {
    position: relative; overflow: hidden;
    border: 1px solid var(--mds-line); border-radius: var(--mds-radius);
    min-height: 300px;
}
.lp-feat__photo img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.lp-feat__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    background: rgba(13, 33, 48, .78);
    color: #fff; font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
}
.lp-feat__caption b { color: #8FD3DC; font-weight: 700; }

/* numbered rows instead of card boxes */
.lp-featrows { display: flex; flex-direction: column; justify-content: center; }
.lp-featrow {
    display: grid; grid-template-columns: 68px 1fr; gap: 16px; align-items: start;
    padding: 20px 0; border-top: 1px solid var(--mds-line);
}
.lp-featrow:first-child { border-top: none; padding-top: 0; }
.lp-featrow:last-child { padding-bottom: 0; }
.lp-featrow__num {
    font-size: 34px; font-weight: 250; line-height: 1.1;
    letter-spacing: -.01em; color: rgba(71, 163, 175, .55);
    transition: color .15s ease, font-weight .15s ease;
}
.lp-featrow:hover .lp-featrow__num { color: var(--mds-accent); }
.lp-featrow__title { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: var(--mds-title); }
.lp-featrow__desc { margin: 0; max-width: 52ch; font-size: 14px; line-height: 1.55; color: var(--mds-muted); }

/* ============================================================================
   STATS BAND  ·  flat navy, hairline-divided figures
   ============================================================================ */
.lp-stats { background: #14374E; color: #fff; padding: clamp(34px, 5vw, 48px) 0; }
.lp-stats__grid { display: grid; gap: 24px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 700px) {
    .lp-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
    .lp-stats__grid > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
}
.lp-stat__value {
    display: block; font-size: clamp(28px, 3.6vw, 38px); font-weight: 800;
    letter-spacing: -.02em; color: #fff;
}
.lp-stat__label {
    display: block; margin-top: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: #8FD3DC;
}

/* ============================================================================
   TESTIMONIALS  ·  white cards, hairline borders
   ============================================================================ */
.lp-quotes { padding: clamp(56px, 7vw, 88px) 0; }
.lp-quotes__head { max-width: 44rem; margin-bottom: clamp(30px, 4vw, 44px); }
.lp-quotes__head p { margin: 18px 0 0; font-size: 16px; line-height: 1.6; color: var(--mds-muted); }
.lp-quotes__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .lp-quotes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-quote {
    display: flex; flex-direction: column;
    background: var(--mds-surface); border: 1px solid var(--mds-line);
    border-radius: var(--mds-radius); padding: 24px 22px;
}
.lp-quote .fa-quote-left { font-size: 18px; color: var(--mds-accent); margin-bottom: 14px; }
.lp-quote__text {
    margin: 0 0 20px; flex: 1;
    font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--mds-title);
}
.lp-quote__by {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--mds-line);
}
.lp-quote__by img { height: 24px; width: auto; max-width: 110px; object-fit: contain; }
.lp-quote__by a {
    font-size: 12.5px; font-weight: 600; color: var(--mds-muted); text-decoration: none;
}
.lp-quote__by a:hover { color: var(--mds-accent-ink); }

/* ============================================================================
   CONTACT / CTA BAND  ·  dark navy band like the Cargo Guides close: MIRACLE
   logo, warm invitation, teal CTA with glow, ghost contact chips
   ============================================================================ */
.lp-cta {
    padding: clamp(56px, 7vw, 84px) 0; text-align: center;
    background: linear-gradient(135deg, #16344A 0%, var(--mds-chrome) 55%, #245063 140%);
    color: #fff;
}
.lp-cta__logo { height: 40px; width: auto; display: block; margin: 0 auto 24px; }
.lp-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15;
    letter-spacing: -.015em; font-weight: 800; color: #fff;
}
.lp-cta p {
    margin: 0 auto 30px; max-width: 42rem;
    font-size: 16px; line-height: 1.6; color: #E8EEF2;
}
.lp-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border: 0; border-radius: 999px;
    background: var(--mds-accent); color: var(--mds-on-accent);
    font-size: 15px; font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 28px rgba(71, 163, 175, .4);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.lp-btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05);
    box-shadow: 0 16px 34px rgba(71, 163, 175, .52); }
.lp-btn-primary .fa-arrow-right { font-size: .82em; }
.lp-cta__contacts {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 10px 12px; margin-top: 28px;
}
.lp-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 18px; background: transparent;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--mds-radius-lg);
    color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.lp-chip:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.lp-chip i { color: #8FD3DC; font-size: .95em; }

/* ============================================================================
   FOOTER  ·  ChemServe's home — flat deep navy, hairline-structured, rich
   ============================================================================ */
.lp-footer {
    background: #10293C; color: #fff;
    border-top: 3px solid var(--mds-accent);
    padding-top: clamp(44px, 6vw, 64px);
}
.lp-footer__grid {
    display: grid; gap: 36px 48px; grid-template-columns: 1fr;
    padding-bottom: 44px;
}
@media (min-width: 760px) { .lp-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1020px) { .lp-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr; } }

.lp-footer__brand img { height: 25px; width: auto; display: block; margin-bottom: 18px;
    filter: brightness(0) invert(1); }   /* navy ChemServe wordmark -> white */
.lp-footer__brand p {
    margin: 0 0 12px; max-width: 40ch;
    font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, .68);
}
.lp-footer__head {
    display: block; margin: 0 0 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 11px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: #8FD3DC;
}
.lp-footer__col { display: flex; flex-direction: column; align-items: stretch; gap: 11px; }
.lp-footer__col a {
    color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px;
    transition: color .12s ease;
}
.lp-footer__col a:hover { color: #fff; }
.lp-footer__col a .fa-arrow-right { font-size: .7em; margin-left: 6px; color: #8FD3DC; }
.lp-footer__contact { display: flex; flex-direction: column; gap: 12px; }
.lp-footer__contact a {
    display: inline-flex; align-items: center; gap: 11px;
    color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px;
}
.lp-footer__contact a:hover { color: #fff; }
.lp-footer__contact i {
    flex: none; width: 30px; height: 30px; border-radius: var(--mds-radius);
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(143, 211, 220, .14); color: #8FD3DC; font-size: 13px;
}
.lp-footer__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 10px 24px; padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.lp-footer__copy { color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.lp-footer__lockup {
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255, 255, 255, .5); font-size: 12.5px;
}
.lp-footer__lockup img { height: 14px; width: auto; opacity: .8; }
