/* Shared landing additions. Load after app.css and public-website.css. */
.production-home > .production-home-shell {
    padding-bottom: 0;
}

.production-home > .production-home-shell + .public-home-content {
    /* 40% of the previous combined 22px + 52px section spacing. */
    padding-top: 29.6px;
}

.production-home .production-home-heading {
    align-items: baseline;
    padding-right: 36px;
}

.production-home .production-home-brand {
    min-width: 0;
    max-width: 100%;
}

.production-home .production-home-brand h1 {
    line-height: 0;
}

.production-home .production-home-brand .turbodane-wordmark {
    max-width: 100%;
    /* Align the letters (SVG y=513.157), leaving the underline below the baseline. */
    transform: translateY(15.6625%);
}

.production-home .production-home-heading > p {
    min-width: 0;
    overflow-wrap: break-word;
}

.production-home .production-home-paths .production-home-demo,
.production-home .production-home-paths .production-home-register {
    padding-top: 20px;
    padding-bottom: 20px;
}

.production-home .production-home-demo {
    row-gap: 0;
}

.production-home .production-home-demo > p,
.production-home .production-home-register > p {
    margin-top: 12px;
    margin-bottom: 12px;
}

.production-home .home-scanner-strip {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 24px;
    border: 2px solid #8fb3f5;
    border-radius: 14px;
    background: #eff5ff;
}

.production-home .home-scanner-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 54px;
    color: #2563eb;
}

.production-home .home-scanner-icon > svg {
    width: 30px;
    height: 50px;
}

.production-home .home-scanner-copy {
    min-width: 0;
}

.production-home .home-scanner-copy h2 {
    margin: 0 0 5px;
    color: #2563eb;
    font-size: 19px;
    line-height: 1.3;
}

.production-home .home-scanner-copy p {
    margin: 0;
    color: #50617a;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.production-home .btn.home-scanner-download {
    gap: 9px;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid #2563eb;
    border-radius: 8px;
    background: #fff;
    color: #1d4ed8;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.production-home .home-scanner-download:hover {
    background: #e1ecff;
}

.production-home .public-home-product-preview {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 12px 32px;
    margin-bottom: 24px;
}

.production-home .public-home-product-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    grid-column: 1;
    grid-row: 1;
    text-align: center;
}

.production-home .public-home-product-intro {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
}

.production-home .public-home-product-figure {
    display: grid;
    grid-template-rows: subgrid;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.production-home .public-home-product-figure figcaption {
    margin-top: 0;
}

.production-home .public-home-product-copy .public-home-features {
    flex-shrink: 0;
    text-align: left;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.production-home .public-home-product-copy .public-home-features article {
    min-height: 280px;
    padding: 28px 20px;
}

.production-home .public-home-product-copy .public-home-features h3 {
    font-size: 20.9px;
}

.production-home .public-home-scanner-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    align-items: start;
    gap: 24px;
    margin: 16px 0 0;
    padding: 20px 24px;
    border: 1px solid #cbdcf7;
    border-radius: 14px;
    background: #e4eeff;
}

.production-home .public-home-scanner-story h3 {
    margin: 0;
    color: #2563eb;
    font-size: 22px;
    line-height: 1.35;
}

.production-home .public-home-scanner-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-self: stretch;
    align-items: start;
    gap: 22px;
    min-width: 0;
}

.production-home .public-home-camera {
    align-self: center;
    width: 48px;
    height: 48px;
    color: #2563eb;
}

.production-home .public-home-scanner-story p {
    margin: 0;
    color: #50617a;
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .production-home .public-home-scanner-copy-break {
        display: none;
    }

    .production-home .public-home-product-preview {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 28px;
    }

    .production-home .public-home-product-copy h2 {
        max-width: 660px;
        margin-left: auto;
        margin-right: auto;
    }

    .production-home .public-home-product-copy {
        gap: 24px;
    }

    .production-home .public-home-product-intro {
        padding: 0;
    }

    .production-home .public-home-product-copy .public-home-features article {
        min-height: 0;
    }

    .production-home .public-home-product-copy,
    .production-home .public-home-product-figure {
        grid-column: auto;
        grid-row: auto;
    }

    .production-home .public-home-product-figure {
        display: block;
    }

    .production-home .public-home-product-figure figcaption {
        margin-top: 12px;
    }
}

@media (max-width: 600px) {
    .production-home .public-home-product-copy .public-home-features,
    .production-home .public-home-scanner-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .production-home .public-home-scanner-story {
        gap: 12px;
        padding: 20px;
    }
}

.production-home .home-local-trigger {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.production-home .home-local-trigger:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
}

.production-home .home-local-trigger > svg {
    width: 20px;
    height: 20px;
}

.production-home .home-local-dialog {
    position: fixed;
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    overflow: auto;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #fff;
    color: #182230;
    box-shadow: 0 24px 80px #17233433;
}

.production-home .home-local-dialog::backdrop {
    background: #17233499;
}

.production-home .home-local-dialog h2 {
    margin: 0;
    padding-right: 70px;
    font-size: 24px;
    line-height: 1.3;
}

.production-home .home-local-dialog > p {
    margin: 12px 0 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.production-home .home-local-dialog [data-home-local-close] {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 6px 9px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #50617a;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.production-home .home-local-companies {
    display: grid;
    gap: 10px;
}

.production-home .home-local-companies form {
    min-width: 0;
    margin: 0;
}

.production-home .home-local-company {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: center;
    gap: 5px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #182230;
    font: inherit;
    text-align: left;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.production-home .home-local-company strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
}

.production-home .home-local-company small {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.production-home .home-local-company > svg { width: 20px; height: 20px; }

.production-home .home-local-company:hover,
.production-home .home-local-dialog [data-home-local-close]:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.production-home .home-scanner-download:focus-visible,
.production-home .home-local-trigger:focus-visible,
.production-home .home-local-company:focus-visible,
.production-home .home-local-dialog [data-home-local-close]:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 4px;
}

@media (max-width: 720px) {
    .production-home > .production-home-shell + .public-home-content {
        /* 40% of the previous combined 22px + 34px mobile spacing. */
        padding-top: 22.4px;
    }

    .production-home .production-home-paths .production-home-demo,
    .production-home .production-home-paths .production-home-register {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .production-home .home-scanner-strip {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        margin-top: 18px;
        padding: 18px;
    }

    .production-home .home-scanner-icon {
        width: 36px;
        align-self: start;
    }

    .production-home .home-scanner-copy h2 {
        font-size: 18px;
    }

    .production-home .home-scanner-download {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 400px) {
    .production-home .production-home-heading {
        row-gap: 12px;
    }

    .production-home .home-scanner-download {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .production-home .home-local-dialog {
        padding: 22px 18px;
    }

    .production-home .home-local-dialog h2 {
        font-size: 21px;
    }

    .production-home .home-local-dialog [data-home-local-close] {
        top: 14px;
        right: 14px;
    }
}

@media print {
    .production-home .home-local-trigger,
    .production-home .home-local-dialog {
        display: none !important;
    }
}
