.home-overview { padding: clamp(45px, 7vw, 94px) 0; background: #f7fafc; color: var(--marketing-ink); scroll-margin-top: 85px; }
.home-overview h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.7vw, 46px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.04em;
}
.home-overview p { margin: 0; color: var(--marketing-muted); line-height: 1.65; }
.home-hero-actions { justify-content: center; margin-top: 16px; }
.home-intro { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; margin-bottom: 26px; }
.home-intro > div:first-child { flex: 1 1 490px; }
.home-intro p { max-width: 610px; font-size: 1.02rem; }
.home-intro .marketing-hero-actions { flex: 0 1 auto; margin-top: 0; }

.home-capabilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-capabilities a {
    position: relative;
    min-width: 0;
    padding: 20px 20px 38px;
    color: var(--marketing-ink);
    background: #fff;
    border: 1px solid var(--marketing-line);
    border-radius: 16px;
    text-decoration: none;
}
.home-capabilities a:hover { border-color: #75b5e8; background: #f2f8ff; text-decoration: none; }
.home-capabilities a:focus-visible, .home-overview summary:focus-visible { outline: 3px solid #a66200; outline-offset: 3px; }
.home-capabilities h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.35; color: var(--marketing-ink); }
.home-capabilities p { font-size: .87rem; }
.home-capabilities span { position: absolute; right: 16px; bottom: 11px; font-size: 1.25rem; color: var(--marketing-blue-dark); }

.home-ecosystem {
    --marketing-ink: #edf5fc;
    --marketing-muted: #cbdfef;
    --marketing-line: #42617b;
    margin: clamp(38px, 6vw, 76px) 0;
    background: linear-gradient(140deg, #142c43, #1d3e5a 64%, #1f4765);
}
.home-ecosystem-intro { max-width: 750px; margin-bottom: 26px; }
.ecosystem-walkthrough { margin-bottom: 14px; }
.ecosystem-walkthrough summary {
    display: list-item;
    width: fit-content;
    padding: 8px 13px;
    border: 1px solid #7ab8e8;
    border-radius: 8px;
    background: #244964;
    color: #fff;
    font-weight: 650;
    cursor: pointer;
}
.ecosystem-walkthrough summary:hover { background: #315a79; }
.ecosystem-walkthrough summary:focus-visible { outline: 3px solid #ffcb5a; outline-offset: 3px; }
.ecosystem-walkthrough[open] summary { margin-bottom: 18px; }
.ecosystem-player { position: relative; overflow: hidden; border: 1px solid #42617b; border-radius: 14px; }
.ecosystem-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b1827; }
.home-ecosystem .ecosystem-loading {
    position: absolute;
    inset: auto 12px 50px;
    margin: 0;
    padding: 7px 10px;
    border-radius: 7px;
    background: #102337ed;
    font-size: .82rem;
    pointer-events: none;
}
.home-ecosystem .ecosystem-map {
    grid-template-areas: "sources tablet scanner" "admin hub customer" "service workflow workflow";
    gap: 17px;
}
.home-ecosystem .ecosystem-map li { background: #264965; color: #fff; }
.home-ecosystem .ecosystem-map li::before { display: none; }
.home-ecosystem .ecosystem-map strong { color: #fff; font-size: .98rem; }
.home-ecosystem .ecosystem-map p { color: #dfedf8; }
.home-ecosystem .ecosystem-sources { grid-area: sources; }
.home-ecosystem .ecosystem-tablet { grid-area: tablet; }
.home-ecosystem .ecosystem-scanner { grid-area: scanner; }
.home-ecosystem .ecosystem-hub { grid-area: hub; text-align: center; justify-content: center; align-items: center; }
.home-ecosystem .ecosystem-admin { grid-area: admin; }
.home-ecosystem .ecosystem-customer { grid-area: customer; }
.home-ecosystem .ecosystem-service { grid-area: service; }
.home-ecosystem .ecosystem-workflow { grid-area: workflow; }
.home-ecosystem .ecosystem-map .ecosystem-hub { background: #0d5b9c; border-color: #69bfff; }
.home-ecosystem .ecosystem-hub strong { font-size: 1.25rem; }
.home-ecosystem .ecosystem-map .ecosystem-hub::before,
.home-ecosystem .ecosystem-hub::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    width: 17px;
    border-top: 2px solid #72b9eb;
}
.home-ecosystem .ecosystem-hub::before { right: 100%; }
.home-ecosystem .ecosystem-hub::after { left: 100%; }
.home-ecosystem .ecosystem-hub strong::before, .home-ecosystem .ecosystem-hub strong::after {
    content: "";
    position: absolute;
    left: 50%;
    height: 17px;
    border-left: 2px solid #72b9eb;
}
.home-ecosystem .ecosystem-hub strong::before { bottom: 100%; }
.home-ecosystem .ecosystem-hub strong::after { top: 100%; }
.home-ecosystem .ecosystem-map [aria-current="step"] {
    border-color: #ffcb5a;
    box-shadow: 0 0 0 2px #ffcb5a;
    background: #315978;
}
.home-ecosystem .ecosystem-note { margin-top: 15px; font-size: .85rem; }
.home-ecosystem a { color: #d8efff; text-decoration: underline; }
.home-ecosystem button[data-journey-play] { border-color: #7ab8e8; }
.home-ecosystem button:focus-visible { outline-color: #ffcb5a; }

.home-product { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(22px, 5vw, 65px); margin-bottom: clamp(40px, 6vw, 76px); }
.home-product p { margin-bottom: 17px; }
.home-product figure { margin: 0; overflow: hidden; border-radius: 17px; border: 1px solid var(--marketing-line); }
.home-product img { display: block; width: 100%; height: auto; }
.home-product-portal img { aspect-ratio: 1.72; object-fit: cover; object-position: center 55%; }
.home-product-dvla { padding: clamp(18px, 3.6vw, 40px); border: 1px solid var(--marketing-line); border-radius: 22px; background: #fff; }
.home-product-dvla figure { background: #eef4f9; padding: 7px; }
.home-text-links { display: flex; flex-wrap: wrap; gap: 12px 23px; }

.home-order-signing { display: grid; gap: 14px; margin-bottom: clamp(24px, 3vw, 36px); }
.home-order-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(22px, 3vw, 40px);
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid var(--marketing-line);
    border-radius: 26px;
    background: linear-gradient(130deg, #e8f4ff, #f5faff 49%, #fff 90%);
}
.home-order-copy .marketing-eyebrow { margin-bottom: 8px; color: var(--marketing-blue-dark); }
.home-order-copy h3 { margin: 17px 0 4px; color: var(--marketing-ink); font-size: 1rem; font-weight: 650; line-height: 1.35; }
.home-order-copy > p:not(.marketing-eyebrow) { font-size: .94rem; }
.home-order-copy .home-text-links { column-gap: 17px; row-gap: 0; }
.home-order-signing .marketing-inline-link:focus-visible { outline: 3px solid #a66200; outline-offset: 3px; }

.home-order-preview {
    position: relative;
    isolation: isolate;
    display: grid;
    min-width: 0;
    margin: 0;
    padding: 24px 12px 8px;
    font-size: .82rem;
    line-height: 1.4;
}
.home-order-preview::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 5% 6% 13%;
    border-radius: 44% 56% 57% 43%;
    background: radial-gradient(ellipse at 35% 35%, #d5edff, #edf6fb 75%);
}
.home-order-card {
    width: 79%;
    padding: 16px clamp(10px, 1.5vw, 19px);
    border: 1px solid #d5e5f6;
    border-radius: 13px;
    box-shadow: 0 14px 30px #16395d28;
}
.home-order-example { transform: rotate(-6deg); background: #f4f9ff; }
.home-order-card-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; margin-bottom: 9px; }
.home-order-card-title span { padding: 5px 8px; border-radius: 6px; background: var(--marketing-blue-dark); color: #fff; font-weight: 650; }
.home-order-example dl, .home-order-example dd { margin: 0; }
.home-order-example dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #d1e3f4; }
.home-order-example dl > div:last-child { border: 0; }
.home-order-example dt { color: var(--marketing-muted); font-weight: 400; }
.home-order-example dd { font-weight: 650; text-align: right; }
.home-signing-example {
    justify-self: end;
    margin-top: -44px;
    transform: rotate(5deg);
    border-color: #cce5dd;
    background: #fafffd;
    color: #173c38;
}
.home-signing-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.home-signing-methods > div { padding: 9px; border: 1px solid #cce5dd; border-radius: 8px; background: #fff; }
.home-signing-methods strong, .home-signing-methods small { display: block; }
.home-signing-methods small { margin-top: 2px; color: #4d6c67; font-size: .75rem; }
.home-signing-saved { display: block; margin-top: 8px; color: #126453; font-weight: 650; }
.home-order-preview figcaption { margin-top: 25px; color: var(--marketing-ink); font-size: .9rem; font-weight: 650; text-align: center; }

.home-signing-flow { padding: 12px 16px; border: 1px solid var(--marketing-line); border-radius: 15px; background: #eaf3fb; }
.home-signing-flow:not([hidden]), .home-order-workflow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; }
.home-signing-flow h3 { margin: 0; color: var(--marketing-ink); font-size: .95rem; font-weight: 650; }
.home-order-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.home-order-steps li { display: flex; align-items: center; gap: 7px; }
.home-order-step { padding: 6px 9px; border: 1px solid #d8e6f2; border-radius: 8px; background: #fff; color: #264560; font-size: .82rem; font-weight: 650; }
.home-order-arrow { color: var(--marketing-blue-dark); line-height: 1; }
.home-order-workflow { padding: clamp(16px, 2vw, 24px); border-radius: 17px; background: linear-gradient(110deg, #153653, #204d6e); color: #fff; }
.home-order-workflow > div { flex: 1 1 350px; }
.home-order-workflow h2 { margin-bottom: 5px; font-size: clamp(20px, 2vw, 24px); color: inherit; }
.home-order-workflow p { color: #dcecf8; font-size: .9rem; }
.home-order-workflow .marketing-inline-link { margin-top: 7px; color: #c7ebff; }
.home-order-workflow .marketing-inline-link:focus-visible { outline-color: #ffcb5a; }
.home-order-workflow .home-order-step { border-color: #6b8ba5; background: #294c69; color: #fff; }
.home-order-workflow .home-order-arrow { color: #b6d8f4; }

.home-order-card.home-process-screen {
    width: 100%;
    background: #f4f9ff;
    transform: rotate(-3deg);
}
.home-process-progress {
    height: 5px;
    overflow: hidden;
    margin-bottom: 9px;
    border-radius: 999px;
    background: #d5e5f6;
}
.home-process-progress::before {
    content: '';
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #167255;
    transform: scaleX(1);
    transform-origin: left;
}
.home-process-stages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-process-stages li {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 9px 4px;
    border: 1px solid #acd6c5;
    border-radius: 8px;
    background: #edf8f1;
    color: #174c3c;
    text-align: center;
}
.home-process-stages li strong { font-size: .76rem; }
.home-process-stages li small { color: #365f50; font-size: .65rem; }
.home-process-tick {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #167255;
    color: #fff;
    font-weight: 700;
}
.home-process-dashboard {
    justify-self: end;
    margin-top: -8px;
    border-color: #cce5dd;
    background: #fafffd;
    color: #173c38;
    transform: rotate(3deg);
}
.home-process-dashboard dl { margin: 6px 0 0; }
.home-process-dashboard dl > div { display: flex; justify-content: space-between; gap: 8px; padding-top: 4px; }
.home-process-dashboard dt { color: #4d6c67; font-weight: 400; }
.home-process-dashboard dd { margin: 0; text-align: right; font-weight: 650; }

@media (min-width: 781px) {
    .home-process-feature .home-process-preview { grid-area: 1 / 1; }
    .home-process-feature .home-order-copy { grid-area: 1 / 2; }
}
@media (max-width: 950px) {
    .home-process-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
    .home-process-preview {
        --home-process-step-interval: 240ms;
        --home-process-tick-duration: 340ms;
    }
    .home-process-preview.is-playing .home-process-progress::before {
        animation: home-process-fill calc(4 * var(--home-process-step-interval)) steps(4, end)
            calc(var(--home-process-tick-duration) - var(--home-process-step-interval)) backwards;
    }
    .home-process-preview.is-playing .home-process-stages li {
        animation: home-process-complete 400ms ease-out backwards;
    }
    .home-process-preview.is-playing .home-process-stages li:nth-child(2) { animation-delay: var(--home-process-step-interval); }
    .home-process-preview.is-playing .home-process-stages li:nth-child(3) { animation-delay: calc(2 * var(--home-process-step-interval)); }
    .home-process-preview.is-playing .home-process-stages li:nth-child(4) { animation-delay: calc(3 * var(--home-process-step-interval)); }
    .home-process-preview.is-playing .home-process-tick {
        animation: home-process-reveal-tick var(--home-process-tick-duration) ease-out backwards;
        animation-delay: inherit;
    }
    @keyframes home-process-fill {
        from { transform: scaleX(0); }
    }
    @keyframes home-process-complete {
        from { background: #f5f9ff; border-color: #d5e5f6; }
        65% { background: #d9f2e3; border-color: #8ecaad; }
    }
    @keyframes home-process-reveal-tick {
        from { opacity: 0; transform: scale(.7); }
        70% { opacity: 1; transform: scale(1.1); }
    }
}

.home-questions { max-width: 820px; margin-inline: auto; scroll-margin-top: 105px; }
.home-questions details { border-bottom: 1px solid #d0e1ec; padding: 14px 0; }
.home-questions details:first-of-type { border-top: 1px solid #d0e1ec; }
.home-questions summary { cursor: pointer; font-weight: 650; line-height: 1.45; }
.home-questions details p { padding: 10px 0 2px; }
.home-questions > a { margin-top: 18px; }
.home-final-cta .marketing-hero-actions { flex-shrink: 0; }

@media (max-width: 900px) {
    .home-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-final-cta .marketing-hero-actions { flex-shrink: 1; }
}
@media (max-width: 780px) {
    .home-order-feature { grid-template-columns: 1fr; }
    .home-order-preview { width: min(100%, 500px); margin-inline: auto; }
}
@media (max-width: 650px) {
    .home-product { grid-template-columns: 1fr; }
    .home-ecosystem .ecosystem-map { grid-template-columns: 1fr; grid-template-areas: none; }
    .home-ecosystem .ecosystem-map li { grid-area: auto; }
    .home-ecosystem .ecosystem-map .ecosystem-hub::before, .home-ecosystem .ecosystem-hub::after,
    .home-ecosystem .ecosystem-hub strong::before, .home-ecosystem .ecosystem-hub strong::after { display: none; }
}
@media (max-width: 400px) {
    .home-capabilities { grid-template-columns: 1fr; }
    .home-order-card { width: 95%; }
    .home-order-example { transform: rotate(-3deg); }
    .home-signing-example { margin-top: -5px; transform: rotate(3deg); }
}
