/* Industry and feature landing page layouts, scenarios, related cards and responsive previews. */

.site .subpage {
    padding-bottom: 0;
}

.site .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--mut);
    padding: 9px 18px 20px;
}

.site .crumb a {
    color: var(--prih);
}

.site .sub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--sub-bg,var(--blue));
    min-height: 475px;
    display: flex;
    align-items: center;
    padding: 64px 56px;
}

.site .sub-hero .container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: 48px;
}

.site .sub-hero h1 {
    font-size: clamp(34px,3.8vw,54px);
    max-width: 660px;
}

.site .sub-lead {
    font-size: 18px;
    line-height: 1.75;
    color: var(--mut);
    margin-top: 22px;
    max-width: 560px;
}

.site .sub-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.site .sub-note {
    font-size: 13px;
    color: var(--mut);
    margin-top: 14px;
}

.site .sub-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 62%;
    z-index: -1;
    margin: 0;
}

.site .sub-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site .sub-hero-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,var(--sub-bg) 0%,var(--sub-bg) 8%,color-mix(in srgb,var(--sub-bg) 92%,transparent) 20%,color-mix(in srgb,var(--sub-bg) 65%,transparent) 38%,transparent 68%);
}

.site .sub-hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.site .sub-photo-hero .container {
    grid-template-columns: minmax(0,47%) minmax(0,53%);
    gap: 0;
}

.site .sub-hero-badge {
    align-self: end;
    justify-self: end;
    background: white;
    max-width: 300px;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 16px 42px #16343a25;
    margin-top: 160px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.site .sub-hero-badge strong {
    display: block;
    font-size: 16px;
}

.site .sub-hero-badge small {
    display: block;
    font-size: 12px;
    color: var(--mut);
}

.site .sub-check {
    width: 42px;
    height: 42px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--mint);
    color: var(--prih);
    font-size: 22px;
}

.site .sub-plain {
    padding: 42px 12px;
}

.site .sub-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.site .sub-center p {
    margin-top: 12px;
    color: var(--mut);
    font-size: 17px;
}

.site .sub-benefits {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.site .sub-benefit {
    background: var(--tile);
    padding: 28px;
    border-radius: 24px;
    min-width: 0;
}

.site .sub-benefit svg {
    width: 30px;
    height: 30px;
}

.site .sub-icon {
    display: grid;
    place-items: center;
    background: #ffffffc9;
    border-radius: 15px;
    width: 54px;
    height: 54px;
    color: var(--prih);
    margin-bottom: 20px;
}

.site .sub-benefit h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.site .sub-benefit p {
    font-size: 16px;
    color: var(--mut);
    line-height: 1.7;
}

.site .sub-case {
    background: var(--lav);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.site .sub-case:before,.site .sub-feature-hero:before {
    content: '';
    position: absolute;
    right: -80px;
    top: -140px;
    width: 360px;
    height: 330px;
    border-radius: 46% 54% 60% 40%;
    background: #dfd3f7;
    z-index: -1;
    opacity: .65;
}

.site .sub-case .container {
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
    gap: 48px;
    align-items: center;
}

.site .sub-case .muted {
    font-size: 17px;
    margin-top: 16px;
    line-height: 1.75;
}

.site .sub-scenario {
    background: #fff;
    border-radius: 22px;
    padding: 25px;
    box-shadow: 0 16px 44px #16343a10;
}

.site .sub-scenario-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bd);
}

.site .sub-scenario-top strong {
    font-size: 18px;
}

.site .sub-timeline {
    display: grid;
    gap: 0;
    margin-top: 10px;
}

.site .sub-timeline-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f2;
}

.site .sub-timeline-row:last-child {
    border: 0;
}

.site .sub-timeline-row .sub-check {
    width: 36px;
    height: 36px;
    font-size: 17px;
}

.site .sub-timeline-row b {
    display: block;
    font-size: 15px;
}

.site .sub-timeline-row small {
    color: var(--mut);
    display: block;
    font-size: 13px;
}

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

.site .sub-related a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--bd);
    border-radius: 22px;
    padding: 25px;
    background: #fff;
    transition: transform .2s,box-shadow .2s;
}

.site .sub-related a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #16343a12;
}

.site .sub-related h3 {
    font-size: 20px;
}

.site .sub-related p {
    font-size: 15px;
    color: var(--mut);
}

.site .sub-related .text-link {
    margin-top: auto;
    color: var(--prih);
    font-size: 15px;
    font-weight: 600;
}

.site .sub-cta {
    background: var(--mint);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    padding: 48px 32px;
}

.site .sub-cta:before {
    content: '';
    position: absolute;
    bottom: -105px;
    left: -75px;
    width: 280px;
    height: 250px;
    background: #bae5da;
    border-radius: 45% 55% 40% 60%;
    z-index: -1;
}

.site .sub-cta:after {
    content: '';
    position: absolute;
    top: -90px;
    right: -55px;
    width: 210px;
    height: 210px;
    border: 24px solid #c7eae2;
    border-radius: 50%;
    z-index: -1;
}

.site .sub-cta p {
    max-width: 620px;
    margin: 14px auto;
    color: var(--mut);
    font-size: 17px;
}

.site .sub-cta .sub-actions {
    justify-content: center;
}

.site .sub-feature-hero {
    min-height: 430px;
}

.site .sub-feature-hero .container {
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: 36px;
}

.site .sub-feature-hero .dashboard {
    max-width: 100%;
    min-width: 0;
}

.site .sub-feature-hero .dashboard-window {
    min-height: 285px;
}

.site .sub-preview-label {
    font-size: 12px;
    color: var(--mut);
    margin-top: 12px;
    text-align: right;
}

.site .sub-preview {
    min-width: 0;
    overflow: hidden;
}

.site .sub-preview .dashboard-sidebar {
    flex-shrink: 0;
}

.site .sub-preview .dashboard {
    pointer-events: none;
}

.site .sub-preview .dashboard-row {
    min-width: 0;
}

.site .sub-mobile-demo {
    max-width: 300px;
    margin: auto;
    background: var(--ink);
    border-radius: 32px;
    padding: 9px;
    box-shadow: 0 20px 55px #16343a30;
}

.site .sub-mobile-screen {
    background: white;
    border-radius: 25px;
    padding: 20px;
    font-size: 14px;
}

.site .sub-mobile-screen .dashboard-row {
    padding: 12px 0;
}

.site .sub-mobile-screen .button {
    width: 100%;
    margin-top: 16px;
}

.site .sub-mini-header {
    text-align: center;
    background: var(--blue);
}

.site .sub-mini-header h1 {
    font-size: clamp(34px,4vw,52px);
}

.site .sub-mini-header p {
    margin: 16px auto 0;
    max-width: 680px;
    color: var(--mut);
    font-size: 18px;
}

.site .sub-table-wrap {
    overflow: auto;
}

.site .sub-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 580px;
    font-size: 15px;
    text-align: left;
}

.site .sub-table th,.site .sub-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--bd);
}

.site .sub-table thead th {
    background: var(--mint);
    font-weight: 600;
}

.site .sub-table tbody th {
    font-weight: 500;
}

.site .sub-table td:not(:first-child) {
    text-align: center;
}

.site .sub-page-contact .contact-section {
    margin-top: 0 !important;
}

.site .sub-faq-note {
    padding: 22px 26px;
    background: var(--cream);
    border-radius: 20px;
    font-size: 15px;
    color: var(--mut);
    margin-top: 20px;
}

.site footer .unavailable-link {
    display: block;
    opacity: .65;
    font-size: inherit;
}

.site footer span .unavailable-link {
    display: inline;
}

.site .sub-current {
    color: var(--prih);
    background: var(--mint);
}

.mobile-menu-open #type-lab {
    display: none !important;
}

.site .subpage #kontakt h1.section-heading {
    font-size: clamp(1.9rem,3.2vw,2.4rem);
}

.site .subpage #kontakt .contact-copy h1 {
    margin-top: 12px;
}

.site .subpage .contact-copy h1+.muted {
    margin-top: 16px;
}

.site .sub-preview .dashboard {
    pointer-events: none;
}

@media (max-width:1100px) {
    .site .sub-hero .container {
        gap: 28px;
    }

    .site .sub-benefit {
        padding: 23px;
    }

    .site .sub-feature-hero .container {
        grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    }

    .site .sub-case .container {
        gap: 28px;
    }
}

@media (max-width:900px) {
    .site .sub-hero {
        padding: 38px 24px !important;
        display: block;
        min-height: 0;
    }

    .site .sub-hero .container,.site .sub-feature-hero .container,.site .sub-case .container {
        grid-template-columns: minmax(0,1fr);
        gap: 28px;
    }

    .site .sub-photo-hero {
        padding-bottom: 0 !important;
    }

    .site .sub-photo-hero .container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site .sub-photo-hero .sub-hero-copy {
        padding-bottom: 320px;
    }

    .site .sub-hero-photo {
        inset: auto 0 0;
        width: 100%;
        height: 355px;
    }

    .site .sub-hero-photo:after {
        background: linear-gradient(180deg,var(--sub-bg) 0%,color-mix(in srgb,var(--sub-bg) 85%,transparent) 12%,transparent 40%);
    }

    .site .sub-hero-badge {
        position: absolute;
        right: 16px;
        bottom: 16px;
        margin: 0;
        max-width: 260px;
        z-index: 3;
    }

    .site .sub-hero h1 {
        font-size: clamp(34px,6.6vw,48px);
    }

    .site .sub-lead {
        font-size: 17px;
    }

    .site .sub-benefits,.site .sub-related {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .site .sub-plain {
        padding: 34px 0 !important;
    }

    .site .sub-cta {
        padding: 42px 22px !important;
    }

    .site .sub-preview .dashboard-window {
        min-height: 0;
    }

    .site .sub-case:before,.site .sub-feature-hero:before {
        opacity: .42;
    }

    .site .sub-hero-badge .sub-check {
        width: 35px;
        height: 35px;
    }

    .site .sub-preview .dashboard {
        overflow-x: auto;
    }

    .site .sub-preview .dashboard.dashboard-window {
        min-width: 0;
    }

    .site .sub-preview .dashboard-sidebar {
        width: 92px;
        min-width: 92px;
    }

    .site .sub-preview .dashboard-row {
        font-size: 12px;
        padding: 9px;
    }

    .site .sub-preview .comparison-table {
        min-width: 0 !important;
    }
}

@media (max-width:560px) {
    .site .sub-benefits,.site .sub-related {
        grid-template-columns: 1fr;
    }

    .site .sub-hero-photo {
        height: 305px;
    }

    .site .sub-photo-hero .sub-hero-copy {
        padding-bottom: 275px;
    }

    .site .sub-lead {
        font-size: 16px;
    }

    .site .sub-actions .button {
        width: 100%;
    }

    .site .sub-hero h1 {
        font-size: 35px;
    }

    .site .sub-preview .dashboard-sidebar {
        display: none;
    }

    .site .sub-preview .dashboard .dashboard-content {
        min-width: 0;
        width: 100%;
    }

    .site .sub-preview .dashboard .calendar-grid {
        min-width: 440px;
    }

    .site .sub-preview .dashboard .kanban-board {
        min-width: 400px;
    }

    .site .sub-scenario {
        padding: 18px;
    }

    .site .sub-scenario-top strong {
        font-size: 16px;
    }

    .site .sub-hero-badge {
        max-width: 230px;
        padding: 13px;
    }

    .site .sub-hero-badge strong {
        font-size: 14px;
    }

    .site .sub-hero-badge small {
        font-size: 11px;
    }

    .site .crumb {
        padding-left: 4px;
        padding-right: 4px;
    }

    .site .sub-benefit h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .site .sub-related a {
        transition: none;
    }
}
