/* ADP Invest landing — navy platform palette, varied product sections */
:root {
    --lp-bg: #0B1D3A;
    --lp-bg-raise: #102544;
    --lp-text: #F8FAFC;
    --lp-muted: #94A3B8;
    --lp-lead: #CBD5E1;
    --lp-line: #1E3A5F;
    --lp-blue: #2563EB;
    --lp-blue-dark: #1D4ED8;
    --lp-teal: #14B8A6;
    --lp-teal-ink: #042F2E;
    --lp-sky: #60A5FA;
    --lp-rose: #FCA5A5;
    --lp-font: Inter, "Segoe UI", system-ui, sans-serif;
    --lp-max: 1080px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.lp {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.5;
    color-scheme: dark;
}

::selection {
    background: rgba(37, 99, 235, 0.45);
    color: #fff;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.lp-skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--lp-blue);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 20;
}

.lp-skip:focus {
    top: 12px;
}

.lp-wrap {
    width: min(var(--lp-max), calc(100% - 40px));
    margin: 0 auto;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 29, 58, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.35);
}

.lp-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

.lp-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
    text-decoration: none;
}

.lp-brand__plate {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 6px 12px;
    line-height: 0;
}

.lp-brand__plate img {
    display: block;
    height: 38px;
    width: auto;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.lp-nav a {
    color: var(--lp-lead);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.lp-nav a:hover {
    color: #fff;
}

.lp-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--lp-line);
    background: transparent;
    color: var(--lp-lead);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lp-nav-toggle__icon,
.lp-nav-toggle__icon::before,
.lp-nav-toggle__icon::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    position: relative;
}

.lp-nav-toggle__icon::before,
.lp-nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.lp-nav-toggle__icon::before { top: -5px; }
.lp-nav-toggle__icon::after { top: 5px; }

.lp-nav__demo { display: none; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--lp-blue);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.lp-btn:hover { background: var(--lp-blue-dark); }

.lp-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lp-btn--ghost {
    background: transparent;
    color: #DBEAFE;
    border-color: #24508A;
}

.lp-btn--ghost:hover { background: rgba(37, 99, 235, 0.16); }

.lp-btn--nav {
    font-size: 13px;
    padding: 11px 16px;
}

.lp-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--lp-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lp-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.lp-hero {
    padding: 56px 0 64px;
}

.lp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    gap: 36px;
    align-items: center;
}

.lp-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5.4vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.lp-hero h1 span {
    color: var(--lp-blue);
}

.lp-lead,
.lp-copy {
    margin: 16px 0 0;
    color: var(--lp-lead);
    font-size: 17px;
    line-height: 1.55;
    max-width: 62ch;
}

.lp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.lp-chips span {
    border: 1px solid var(--lp-line);
    background: #0E2240;
    color: #A9B8CA;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.lp-note {
    margin: 16px 0 0;
    color: var(--lp-muted);
    font-size: 14px;
    max-width: 62ch;
}

.lp-hero__mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px 24px;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background:
        radial-gradient(280px 140px at 100% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
        var(--lp-bg-raise);
}

.lp-hero__mark img {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    height: 64px;
    width: auto;
}

.lp-hero__mark strong {
    margin-top: 8px;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.lp-hero__mark strong span,
.lp-hero__mark small {
    display: block;
    color: var(--lp-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lp-section {
    padding: 72px 0;
    border-top: 1px solid rgba(37, 99, 235, 0.28);
}

.lp-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.lp-intro .lp-kicker {
    justify-content: center;
}

.lp-intro .lp-copy {
    margin-right: auto;
    margin-left: auto;
}

.lp-intro h2,
.lp-offer h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.lp-steps,
.lp-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lp-steps article,
.lp-proof article {
    border: 1px solid #2A4F86;
    border-radius: 16px;
    padding: 22px;
    background: transparent;
}

.lp-steps i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.22);
    color: #BFDBFE;
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
}

.lp-steps h3,
.lp-modules h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-steps p,
.lp-modules p {
    margin: 8px 0 0;
    color: var(--lp-muted);
    font-size: 14px;
    line-height: 1.55;
}

.lp-proof article {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-proof b {
    color: var(--lp-blue);
    font-size: 16px;
}

.lp-proof span {
    color: var(--lp-muted);
    font-size: 14px;
    line-height: 1.45;
}

.lp-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lp-module {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 20px;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: var(--lp-bg-raise);
    text-decoration: none;
}

.lp-module:hover {
    border-color: rgba(37, 99, 235, 0.7);
}

.lp-module__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.16);
    color: var(--lp-sky);
    font-size: 16px;
}

.lp-module__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.16);
    color: #99F6E4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lp-module__arr {
    color: var(--lp-sky);
    font-weight: 700;
}

.lp-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid #2A4F86;
    border-radius: 18px;
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(37, 99, 235, 0.2), transparent 70%),
        var(--lp-bg-raise);
}

.lp-offer p {
    margin: 0;
    max-width: 62ch;
    color: var(--lp-lead);
    font-size: 16px;
    line-height: 1.5;
}

.lp-demo {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background: rgba(16, 37, 68, 0.45);
}

.lp-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    width: 100%;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp-field--wide { grid-column: 1 / -1; }

.lp-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-lead);
}

.lp-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--lp-lead);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
}

.lp-field input,
.lp-field textarea {
    width: 100%;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: #0B1D3A;
    color: var(--lp-text);
    font: inherit;
    padding: 12px 14px;
}

.lp-field textarea {
    min-height: 120px;
    resize: vertical;
}

.lp-field .lp-check input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    padding: 0;
    flex: 0 0 auto;
    border: 0;
    border-radius: 4px;
    background: transparent;
    accent-color: var(--lp-blue);
}

.lp-field input:focus,
.lp-field textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.55);
    outline-offset: 1px;
    border-color: var(--lp-blue);
}

.lp-field--error input,
.lp-field--error textarea {
    border-color: #DC2626;
}

.lp-field-error {
    color: var(--lp-rose);
    font-size: 13px;
}

.lp-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.lp-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
}

.lp-alert--ok {
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(20, 184, 166, 0.45);
    color: #CCFBF1;
}

.lp-alert--bad {
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(252, 165, 165, 0.45);
    color: #FEE2E2;
}

.lp-form .lp-btn { justify-self: start; }

.lp-footer {
    margin-top: 48px;
    padding: 36px 0 28px;
    border-top: 1px solid var(--lp-line);
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.lp-footer h3 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-muted);
}

.lp-footer a {
    display: block;
    margin: 8px 0;
    color: var(--lp-lead);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.lp-footer a:hover { color: #fff; }

.lp-footer__brand p {
    margin: 12px 0 0;
    max-width: 36ch;
    color: var(--lp-muted);
    font-size: 14px;
}

.lp-footer__legal {
    margin: 28px 0 0;
    color: #64748B;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .lp-nav-toggle { display: inline-flex; }

    .lp-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 220px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #102544;
        border: 1px solid var(--lp-line);
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    }

    .lp-nav.is-open { display: flex; }
    .lp-nav a { padding: 10px 8px; }
    .lp-nav__demo { display: block; color: var(--lp-teal); }
    .lp-btn--nav { display: none; }
}

@media (max-width: 900px) {
    .lp-hero__grid,
    .lp-steps,
    .lp-proof,
    .lp-footer__grid {
        grid-template-columns: 1fr;
    }

    .lp-modules {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .lp-wrap {
        width: min(var(--lp-max), calc(100% - 28px));
    }

    .lp-modules,
    .lp-form,
    .lp-footer__grid {
        grid-template-columns: 1fr;
    }

    .lp-offer {
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-demo,
    .lp-offer {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
