﻿.de-homepage-v2 {
    --dehp-navy: #07172f;
    --dehp-navy-2: #10284d;
    --dehp-blue: #1976d2;
    --dehp-blue-dark: #145ea8;
    --dehp-light: #f5f8fc;
    --dehp-soft: #eef6fb;
    --dehp-white: #ffffff;
    --dehp-text: #13243a;
    --dehp-muted: #526070;
    --dehp-border: rgba(19, 36, 58, 0.12);
    --dehp-shadow: 0 18px 44px rgba(7, 23, 47, 0.08);
    --dehp-radius-xl: 32px;
    --dehp-radius-lg: 24px;
    --dehp-container: 1180px;
    color: var(--dehp-text);
    background: var(--dehp-light);
    font-family: inherit;
    overflow-x: clip;
}

    .de-homepage-v2 *,
    .de-homepage-v2 *::before,
    .de-homepage-v2 *::after {
        box-sizing: border-box;
        min-width: 0;
    }

.de-homepage-v2__container {
    width: min(var(--dehp-container), calc(100% - 32px));
    margin-inline: auto;
}

.de-homepage-v2 a {
    color: inherit;
    text-decoration: none;
}

.de-homepage-v2 img {
    display: block;
    max-width: 100%;
    height: auto;
}

.de-homepage-v2 .btn,
.de-homepage-v2 .btn-hollow {
    border-radius: 999px;
    transition: all 0.2s ease;
}

    .de-homepage-v2 .btn:hover,
    .de-homepage-v2 .btn-hollow:hover {
        transform: translateY(-2px);
    }

.de-homepage-v2__section {
    padding: clamp(58px, 7vw, 96px) 0;
}

.de-homepage-v2__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px !important;
    color: var(--dehp-blue);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: uppercase;
}

.de-homepage-v2__title {
    margin: 0;
    color: var(--dehp-navy);
    font-family: inherit;
    font-size: clamp(38px, 5.6vw, 64px) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.de-homepage-v2__section-title {
    margin: 0;
    color: var(--dehp-navy);
    font-family: inherit;
    font-size: clamp(30px, 3.4vw, 44px) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.de-homepage-v2__lead {
    margin: 0 !important;
    color: var(--dehp-muted);
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 400;
    line-height: 1.65;
}

/* Hero */
.de-homepage-v2__hero {
    position: relative;
    padding: clamp(78px, 8vw, 118px) 0 clamp(64px, 7vw, 96px);
    background: radial-gradient(circle at top left, rgba(25, 118, 210, 0.12), transparent 36%), radial-gradient(circle at bottom right, rgba(10, 163, 166, 0.08), transparent 32%), linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.de-homepage-v2__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.de-homepage-v2__hero-copy {
    max-width: 760px;
}

.de-homepage-v2__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--dehp-blue-dark);
    background: var(--dehp-white);
    border: 1px solid #d7e8ff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(7, 23, 47, 0.06);
    white-space: normal;
}

.de-homepage-v2__hero-copy .de-homepage-v2__lead {
    margin-top: 26px !important;
    max-width: 680px;
}

.de-homepage-v2__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.de-homepage-v2__hero-panel {
    border-radius: var(--dehp-radius-xl);
    background: rgba(255, 255, 255, 0.82);
    padding: clamp(18px, 2vw, 24px);
    box-shadow: var(--dehp-shadow);
    border: 1px solid rgba(229, 237, 246, 0.95);
    backdrop-filter: blur(16px);
}

.de-homepage-v2__dashboard {
    display: grid;
    gap: 18px;
    min-height: 430px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 26px;
    color: var(--dehp-text);
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid rgba(229, 237, 246, 0.95);
}

.de-homepage-v2__dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.de-homepage-v2__dashboard-label {
    color: var(--dehp-blue);
    font-weight: 600;
}

.de-homepage-v2__dashboard h2 {
    margin: 8px 0 0;
    color: var(--dehp-navy);
    font-family: inherit;
    font-size: clamp(28px, 3.4vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.de-homepage-v2__pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--dehp-blue);
    background: rgba(25, 118, 210, 0.08);
    border: 1px solid rgba(25, 118, 210, 0.12);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.de-homepage-v2__dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.de-homepage-v2__metric {
    min-height: 118px;
    padding: 20px;
    border-radius: 20px;
    background: var(--dehp-white);
    border: 1px solid rgba(229, 237, 246, 0.95);
    box-shadow: 0 10px 28px rgba(7, 23, 47, 0.06);
}

    .de-homepage-v2__metric strong {
        display: block;
        margin-bottom: 14px;
        color: var(--dehp-blue);
        font-size: 28px;
        line-height: 1;
        font-weight: 700;
    }

/* Intro */
.de-homepage-v2__intro {
    background: var(--dehp-white);
    padding-bottom: 50px;
}

.de-homepage-v2__split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
}

.de-homepage-v2__copy p {
    margin: 0 0 18px !important;
    color: var(--dehp-muted);
    font-size: 18px;
    line-height: 1.65;
}

    .de-homepage-v2__copy p:last-child {
        margin-bottom: 0 !important;
        color: var(--dehp-text);
        font-weight: 600;
    }

.de-homepage-v2__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 46px;
}

.de-homepage-v2__card {
    padding: 30px;
    border-radius: var(--dehp-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border: 1px solid rgba(229, 237, 246, 0.8);
    box-shadow: 0 18px 44px rgba(7, 23, 47, 0.08);
}

.de-homepage-v2__icon-box {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: var(--dehp-blue);
    background: #eaf4ff;
    font-weight: 700;
}

.de-homepage-v2__card h3 {
    margin: 0 0 10px;
    color: var(--dehp-navy);
    font-family: inherit;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.2;
    letter-spacing: normal;
}

.de-homepage-v2__card p {
    margin: 0 !important;
    color: var(--dehp-muted);
}

/* Products */
.de-homepage-v2__products {
    background: var(--dehp-white);
    padding-top: 40px;
}

.de-homepage-v2__mega-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
    margin-top: 34px;
}

.de-homepage-v2__mega-products-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.de-homepage-v2__mega-product-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(180px, 0.85fr);
    min-height: 238px;
    overflow: hidden;
    border: 1px solid rgba(229, 237, 246, 0.95);
    border-radius: 18px;
    background: #fff;
}

.de-homepage-v2__mega-product-card--school {
    background: linear-gradient(90deg, #fff 0%, #fff 45%, rgba(243, 117, 0, 0.16) 100%);
}

.de-homepage-v2__mega-product-card--college {
    background: linear-gradient(90deg, #fff 0%, #fff 45%, rgba(10, 163, 166, 0.14) 100%);
}

.de-homepage-v2__mega-product-copy {
    position: relative;
    z-index: 2;
    padding: 26px;
}

.de-homepage-v2__mega-product-logo {
    width: auto;
    max-width: 138px;
    height: 38px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 18px;
}

.de-homepage-v2__mega-product-copy strong {
    display: block;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.de-homepage-v2__mega-product-card--school .de-homepage-v2__mega-product-copy strong,
.de-homepage-v2__mega-product-card--school .de-homepage-v2__mega-product-copy span {
    color: #F37500;
}

.de-homepage-v2__mega-product-card--college .de-homepage-v2__mega-product-copy strong,
.de-homepage-v2__mega-product-card--college .de-homepage-v2__mega-product-copy span {
    color: #0AA3A6;
}

.de-homepage-v2__mega-product-copy p {
    margin: 0 0 24px !important;
    color: var(--dehp-muted);
    font-size: 15px;
    line-height: 1.55;
}

.de-homepage-v2__mega-product-copy span {
    font-size: 15px;
    font-weight: 600;
}

.de-homepage-v2__mega-product-visual {
    position: relative;
    min-height: 100%;
}

    .de-homepage-v2__mega-product-visual img {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 265px;
        max-width: none;
    }

.de-homepage-v2__mega-products-side {
    display: grid;
    gap: 28px;
    align-content: center;
    padding-left: 28px;
    border-left: 1px solid rgba(229, 237, 246, 0.95);
}

.de-homepage-v2__mega-side-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

    .de-homepage-v2__mega-side-item img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .de-homepage-v2__mega-side-item strong {
        display: block;
        color: var(--dehp-navy);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
    }

    .de-homepage-v2__mega-side-item small {
        display: block;
        margin-top: 5px;
        color: var(--dehp-muted);
        font-size: 14px;
        line-height: 1.3;
    }

/* Case studies */
.de-homepage-v2__stories {
    background: #f5f5f5;
}

.de-homepage-v2__heading-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.de-homepage-v2__stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

.de-homepage-v2__case-study-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.de-homepage-v2__story-image,
.de-homepage-v2__story-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    margin: 0 0 18px;
    padding: 26px;
    background: #f7f7f7;
    border-radius: 0;
}

    .de-homepage-v2__story-image img,
    .de-homepage-v2__story-logo img {
        max-height: 118px;
        width: auto;
        max-width: 78%;
        object-fit: contain;
    }

.de-homepage-v2__case-study-card h3 {
    margin: 0 0 8px;
    color: #000;
    font-family: inherit;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.25;
}

.de-homepage-v2__story-quote {
    min-height: 0;
    margin: 0 !important;
    color: var(--dehp-muted);
    font-size: 16px;
    line-height: 1.55;
}

.de-homepage-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-end;
    margin-top: auto;
    padding-top: 18px;
    color: #000;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .de-homepage-v2__mega-products-layout {
        grid-template-columns: 1fr;
    }

    .de-homepage-v2__mega-products-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-left: 0;
        padding-top: 24px;
        border-left: 0;
        border-top: 1px solid rgba(229, 237, 246, 0.95);
    }
}

@media (max-width: 980px) {
    .de-homepage-v2__hero-grid,
    .de-homepage-v2__split {
        grid-template-columns: 1fr;
    }

    .de-homepage-v2__benefits,
    .de-homepage-v2__stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .de-homepage-v2__mega-products-main,
    .de-homepage-v2__mega-products-side,
    .de-homepage-v2__stories-grid {
        grid-template-columns: 1fr;
    }

    .de-homepage-v2__mega-product-card {
        grid-template-columns: 1fr;
    }

    .de-homepage-v2__mega-product-visual {
        min-height: 155px;
    }

        .de-homepage-v2__mega-product-visual img {
            width: 230px;
        }
}

@media (max-width: 767px) {
    .de-homepage-v2__container {
        width: calc(100% - 32px);
    }

    .de-homepage-v2__section {
        padding: 48px 0;
    }

    .de-homepage-v2__hero {
        padding: 48px 0 40px;
    }

    .de-homepage-v2__title {
        font-size: 38px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em !important;
    }

    .de-homepage-v2__section-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
    }

    .de-homepage-v2__hero-badge {
        font-size: 13px;
        line-height: 1.25;
    }

    .de-homepage-v2__hero-actions .btn,
    .de-homepage-v2__hero-actions .btn-hollow {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .de-homepage-v2__hero-panel {
        padding: 12px;
        border-radius: 20px;
    }

    .de-homepage-v2__dashboard {
        min-height: auto;
        padding: 22px;
        border-radius: 18px;
    }

    .de-homepage-v2__dashboard-top {
        display: block;
    }

    .de-homepage-v2__dashboard h2 {
        font-size: 32px !important;
    }

    .de-homepage-v2__pill {
        margin-top: 12px;
    }

    .de-homepage-v2__dashboard-grid,
    .de-homepage-v2__benefits {
        grid-template-columns: 1fr;
    }

    .de-homepage-v2__intro {
        padding-bottom: 32px;
    }

    .de-homepage-v2__products {
        padding-top: 32px;
    }

    .de-homepage-v2__card,
    .de-homepage-v2__mega-product-copy,
    .de-homepage-v2__case-study-card {
        padding: 24px;
    }

    .de-homepage-v2__mega-products-side {
        gap: 20px;
    }

    .de-homepage-v2__story-image,
    .de-homepage-v2__story-logo {
        min-height: 160px;
    }
}
