@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

.dh-nav,
.dh-hero,
.dh-steps,
.dh-devices,
.dh-care,
.dh-login {
    font-family: Manrope, "Segoe UI", sans-serif;
    color: #122033;
}

.dh-kicker {
    margin: 0 0 0.7rem;
    color: #2f6bff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dh-lead {
    max-width: 34rem;
    color: #5d6d84;
    font-size: 1.05rem;
    line-height: 1.55;
}

.dh-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    width: auto !important;
    max-width: none !important;
    text-decoration: none;
}

.dh-brand__logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(240px, 58vw);
    object-fit: contain;
    background: transparent;
}
.dh-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    flex-shrink: 0;
}

.dh-brand__name {
    color: #122033;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dh-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0 1.05rem;
    border: 1px solid #1d4ed8;
    border-radius: 10px;
    background: #1d4ed8;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dh-cta--ghost {
    background: #fff;
    color: #1d4ed8 !important;
}

.dh-cta--lg { min-height: 48px; padding: 0 1.2rem; }
.dh-cta--block { width: 100%; border: 0; cursor: pointer; }

.dh-login-link {
    color: #122033 !important;
    font-weight: 700;
    text-decoration: none;
}

/* Nav */
@media (min-width: 992px) {
    #navbar-responsive.landing-nav.dh-nav {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: space-between;
        gap: 1rem;
        min-height: 72px;
        padding: 0 1.5rem !important;
        background: #fff !important;
    }

    #navbar-responsive.dh-nav .landing-nav__collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 1.25rem;
    }

    #navbar-responsive.dh-nav .landing-nav__col--center {
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    #navbar-responsive.dh-nav .dh-nav__menu {
        flex-direction: row;
        align-items: center;
        gap: 1.15rem;
        margin: 0;
    }
}

#navbar-responsive.dh-nav .dh-nav__menu .nav-link {
    color: #243044 !important;
    font-weight: 600 !important;
    font-size: 0.92rem;
    padding: 0.35rem 0 !important;
}

#navbar-responsive.dh-nav .landing-nav__col--logo {
    max-width: none;
}

#navbar-responsive.landing-nav:not(.dh-nav) .language-btn-black {
    background: #fff !important;
    color: #1e3a5f !important;
    border: 1px solid #d7e0ea;
    border-radius: 999px;
    padding: 0.45rem 0.85rem !important;
    gap: 0.4rem;
}
#navbar-responsive.landing-nav:not(.dh-nav) .language-btn-black .header-icon,
#navbar-responsive.landing-nav:not(.dh-nav) .language-btn-black .aidoc-lang__label {
    color: #1e3a5f !important;
}
#navbar-responsive.landing-nav:not(.dh-nav) .header-languages .dropdown-menu {
    z-index: 1080;
}

#navbar-responsive.dh-nav .dh-lang,
.dh-login .dh-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent !important;
    color: #122033 !important;
    font-weight: 800;
    padding: 0 !important;
    box-shadow: none;
}

#navbar-responsive.dh-nav .dh-lang .header-icon { display: none; }
#navbar-responsive.dh-nav .dh-lang i,
.dh-login .dh-lang i { font-size: 0.65rem; color: #64748b; }

/* Hero */
.dh-hero {
    padding: 1.5rem 0 2.5rem;
    background:
        radial-gradient(circle at 78% 18%, rgba(96, 165, 250, 0.18), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}

.dh-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.dh-hero h1,
.dh-login h1 {
    margin: 0 0 0.8rem;
    color: #101828;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.dh-hero h1 span,
.dh-login h1 span { color: #1d4ed8; }

.dh-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.3rem 0 0.8rem; }
.dh-note { margin: 0; color: #7b8ba3; font-size: 0.92rem; }

.dh-stage { position: relative; min-height: 0; }
.dh-stage__shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    pointer-events: none;
    user-select: none;
}
.dh-app {
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 340px;
    border: 1px solid #e4ecf7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(30, 64, 120, 0.12);
    overflow: hidden;
}
.dh-app__side {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 0.8rem;
    background: #f8fbff;
    border-right: 1px solid #e8eef6;
    color: #607089;
    font-size: 0.72rem;
}
.dh-app__side strong { color: #122033; margin-bottom: 0.4rem; }
.dh-app__main { padding: 1rem 1rem 1rem 1.1rem; }
.dh-app__search {
    margin-bottom: 0.8rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #f3f6fb;
    color: #8aa0b8;
    font-size: 0.75rem;
}
.dh-app__main h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.dh-app__main > p { margin: 0.15rem 0 0.7rem; color: #7b8ba3; font-size: 0.75rem; }
.dh-app__tiles, .dh-app__panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.dh-app__panels { grid-template-columns: 1.3fr 0.8fr; margin-top: 0.45rem; }
.dh-app__tiles div, .dh-app__chat, .dh-app__care {
    padding: 0.55rem;
    border: 1px solid #e7eef8;
    border-radius: 12px;
    background: #fff;
}
.dh-app__tiles b, .dh-app__chat b, .dh-app__care b { display: block; font-size: 0.75rem; }
.dh-app__tiles small, .dh-app__chat em, .dh-app__care em { color: #7b8ba3; font-size: 0.68rem; font-style: normal; }
.dh-phone {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 148px;
    padding: 0.7rem;
    border: 8px solid #111827;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}
.dh-phone__bar { font-size: 0.68rem; font-weight: 800; margin-bottom: 0.4rem; }
.dh-phone p, .dh-phone span { display: block; margin: 0 0 0.35rem; font-size: 0.68rem; color: #4b5d75; }
.dh-phone span { padding: 0.35rem 0.4rem; border-radius: 8px; background: #f3f7ff; }

.dh-steps { padding: 1.6rem 0 1.2rem; background: #fff; }
.dh-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.dh-steps article {
    padding: 0.2rem 1.15rem 0.4rem;
    border-right: 1px solid #e6edf5;
}
.dh-steps article:last-child { border-right: 0; }
.dh-step__head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}
.dh-steps span { color: #9aa8bc; font-size: 0.95rem; font-weight: 800; }
.dh-step__head svg { width: 22px; height: 22px; color: #2563eb; flex-shrink: 0; }
.dh-steps h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.dh-steps p { margin: 0; color: #667890; font-size: 0.86rem; line-height: 1.45; }

.dh-devices {
    margin: 0.5rem auto 2.5rem;
    padding: 2.4rem 1.2rem 2rem;
    max-width: 1180px;
    border-radius: 28px;
    background: #f3f7fd;
    text-align: center;
}
.dh-devices h2 {
    margin: 0 auto 0.45rem;
    max-width: 16ch;
    color: #101828;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.dh-devices .dh-lead { margin: 0 auto 1.4rem; color: #5d6d84; }
.dh-devices__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem; text-align: left; }
.dh-device {
    display: flex;
    flex-direction: column;
    padding: 0.7rem 0.7rem 0.95rem;
    border: 1px solid #e6eef8;
    border-radius: 18px;
    background: #fff;
}
.dh-device__art {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}
.dh-device__art svg { width: 86%; height: 130px; }
.dh-device__art img { width: 100%; height: 150px; object-fit: contain; }
.dh-device__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.dh-device h3 { margin: 0.75rem 0.15rem 0.3rem; font-size: 0.98rem; font-weight: 800; color: #122033; }
.dh-device a, .dh-device__link span { margin: 0 0.15rem; color: #1d4ed8; font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.dh-device a:hover, .dh-device__link:hover span { text-decoration: underline; }
.dh-soon {
    margin: 0 0.15rem;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
}
.dh-devices__cta { margin-top: 1.25rem; }

.dh-care { padding: 0 0 3rem; }
.dh-care h2 { margin: 0 0 1rem; text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.dh-care__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.dh-care__grid a {
    display: block;
    padding: 1.1rem 1rem;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
}
.dh-care__grid b { display: block; margin-bottom: 0.3rem; color: #122033; }
.dh-care__grid span { color: #667890; font-size: 0.9rem; }

/* Login */
body:has(.dh-login),
body:has(.dh-login) .page,
body:has(.dh-login) .page-main,
body:has(.dh-login) .main-content,
body:has(.dh-login) .side-app {
    min-height: 100vh;
    background: #f7fbff !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.dh-login {
    position: relative;
    min-height: 100vh;
    padding: 1.2rem 4vw 2rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(147, 197, 253, 0.25), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #fff 42%, #eef5ff 100%);
    overflow: hidden;
}
.dh-login:after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -80px;
    height: 180px;
    background: #dbeafe;
    border-radius: 50%;
    z-index: 0;
}
.dh-login__top, .dh-login__grid { position: relative; z-index: 1; }
.dh-login__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.dh-login__top-actions { display: flex; align-items: center; gap: 0.8rem; }
.dh-login__split { width: 1px; height: 16px; background: #cbd5e1; }
.dh-login__back { color: #122033; font-weight: 700; text-decoration: none; }
.dh-login__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
    gap: 3rem;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}
.dh-login__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem 1.2rem;
    margin: 1.4rem 0 1.5rem;
    padding: 0;
    list-style: none;
}
.dh-login__features a { color: #243044; font-weight: 600; text-decoration: none; }
.dh-login__features i { color: #1d4ed8; margin-right: 0.35rem; }
.dh-login__devices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    align-items: center;
    padding-top: 0.9rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.82rem;
}
.dh-login__devices b { color: #122033; font-weight: 700; }
.dh-login__legal { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; margin-top: 1.4rem; color: #94a3b8; font-size: 0.78rem; }
.dh-login__legal a { color: #64748b; text-decoration: none; }
.dh-login__card {
    padding: 1.6rem 1.4rem 1.3rem;
    border: 1px solid #e5edf7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(30, 64, 120, 0.08);
}
.dh-login__card h2 { margin: 0; text-align: center; font-size: 1.8rem; font-weight: 800; }
.dh-login__card > p { margin: 0.25rem 0 1.1rem; text-align: center; color: #667890; }
.dh-login__card label { display: block; margin: 0.75rem 0 0.35rem; font-size: 0.86rem; font-weight: 700; }
.dh-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.8rem;
    min-height: 46px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
}
.dh-field i { color: #94a3b8; }
.dh-field input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    min-width: 0;
    font: inherit;
}
.dh-eye { border: 0; background: transparent; color: #64748b; cursor: pointer; }
.dh-error { color: #dc2626; font-size: 0.78rem; }
.dh-login__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin: 0.9rem 0 1rem; font-size: 0.86rem; }
.dh-check { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 !important; font-weight: 600; }
.dh-login__row a { color: #1d4ed8; font-weight: 700; text-decoration: none; }
.dh-login__switch { margin: 0.9rem 0 0; text-align: center; color: #667890; font-size: 0.88rem; }
.dh-login__switch a { color: #1d4ed8; font-weight: 800; text-decoration: none; }
.dh-login__social { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.dh-login__social a { padding: 0.35rem 0.6rem; border: 1px solid #dbe3ef; border-radius: 999px; color: #122033; font-size: 0.78rem; text-decoration: none; }

html:has(.dh-login--fit),
body:has(.dh-login--fit),
body:has(.dh-login--fit) .page,
body:has(.dh-login--fit) .page-main,
body:has(.dh-login--fit) .main-content,
body:has(.dh-login--fit) .side-app {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    overflow: visible !important;
}

.dh-login--fit {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0.7rem 2.5vw 1.2rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.dh-login--fit:after { display: none; }
.dh-login--fit .dh-login__top { margin-bottom: 0.25rem; flex: 0 0 auto; }
.dh-login--fit .dh-brand__logo { height: 64px; max-width: 280px; }
.dh-login--fit .dh-login__grid {
    flex: 1 1 auto;
    min-height: 0;
    align-items: center;
    gap: 1.25rem;
    max-width: 920px;
}
.dh-login--fit h1 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin-bottom: 0.25rem; }
.dh-login--fit .dh-kicker { margin-bottom: 0.25rem; }
.dh-login--fit .dh-lead { margin: 0; font-size: 0.86rem; }
.dh-login--fit .dh-login__features { margin: 0.45rem 0 0; gap: 0.28rem 0.8rem; }
.dh-login--fit .dh-login__card {
    width: 100%;
    max-width: 440px;
    justify-self: end;
    padding: 1.45rem 1.4rem 1.2rem;
}
.dh-login--fit .dh-login__card h2 { font-size: 1.75rem; }
.dh-login--fit .dh-login__card > p { margin: 0.2rem 0 0.85rem; font-size: 0.95rem; color: #667890; }
.dh-login--fit .dh-login__card label { margin: 0.55rem 0 0.3rem; font-size: 0.9rem; font-weight: 800; color: #122033; }
.dh-login--fit .dh-field { min-height: 46px; border-radius: 12px; }
.dh-login--fit .dh-field input,
.dh-login--fit .dh-field select { font-size: 0.95rem; height: auto; }
.dh-login--fit .dh-cta--lg { min-height: 48px; font-size: 1rem; }
.dh-login--fit .dh-login__switch { margin-top: 0.85rem; font-size: 0.9rem; }
.dh-login--fit .dh-login__social { margin-bottom: 0.45rem; }
.dh-field select {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    color: inherit;
    height: 34px;
}
.dh-reg__pair { display: grid; grid-template-columns: 1fr; gap: 0; }
.dh-reg__agree { display: grid; gap: 0.45rem; margin: 0.85rem 0 0.9rem; }
.dh-reg__agree .dh-check { align-items: flex-start; color: #122033; font-size: 0.86rem; font-weight: 700; line-height: 1.35; }
.dh-reg__agree input { margin-top: 0.2rem; }

@media (max-width: 991.98px) {
    .dh-hero__grid, .dh-care__grid, .dh-login__grid, .dh-login__features {
        grid-template-columns: 1fr;
    }
    .dh-steps__grid, .dh-devices__grid { grid-template-columns: 1fr 1fr; }
    .dh-steps article:nth-child(2) { border-right: 0; }
    .dh-stage {
        max-width: 560px;
        margin: 0.4rem auto 0;
    }
    .dh-login { padding: 1rem; }
    .dh-login--fit {
        height: auto;
        min-height: 100dvh;
        padding: 0.7rem 0.8rem 1.2rem;
        overflow: visible;
    }
    .dh-login--fit .dh-login__card { max-width: 460px; justify-self: center; }
    .dh-login--fit .dh-login__story { display: none; }
    .dh-login--fit .dh-login__grid {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .dh-login--fit .dh-login__card { padding: 1.15rem 1rem 1rem; }
}
