.hdv2-home-legacy .hdv2-faq {
    margin: 0 0 6rem;
    overflow: visible;
    color: var(--hdv2-home-text);
}

.hdv2-home-legacy .hdv2-faq .hdv2-home__container {
    overflow: visible;
}

.hdv2-home-legacy .hdv2-faq__layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: stretch;
}

.hdv2-home-legacy .hdv2-faq__media {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

.hdv2-home-legacy .hdv2-faq__media-frame {
    position: relative;
    width: 100%;
    max-width: 22rem;
    padding: 1rem 0 0 1rem;
}

.hdv2-home-legacy .hdv2-faq__media-frame::before {
    position: absolute;
    inset: 0 1rem 1rem 0;
    border-radius: 1rem;
    content: "";
    background: var(--hdv2-home-primary-soft);
}

.hdv2-home-legacy .hdv2-faq__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 26rem;
    aspect-ratio: 4 / 5;
    border-radius: 0.85rem;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    box-shadow: 0 18px 45px hsl(220 20% 10% / 0.1);
}

.hdv2-home-legacy .hdv2-faq__panel {
    display: flex;
    min-width: 0;
    min-height: 40rem;
    flex-direction: column;
    justify-content: flex-start;
}

.hdv2-home-legacy .hdv2-faq__panel .hdv2-home-heading {
    margin: 0 0 1.5rem;
}

.hdv2-home-legacy .hdv2-faq__panel .hdv2-home-heading__title-main {
    display: inline;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .hdv2-home-legacy .hdv2-faq__panel .hdv2-home-heading__title-main {
        white-space: normal;
    }
}

.hdv2-home-legacy .hdv2-faq__badge {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0 0 0.75rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hdv2-home-primary);
}

.hdv2-home-legacy .hdv2-faq__badge::before {
    width: 2.25rem;
    height: 2px;
    content: "";
    background: currentColor;
}

.hdv2-home-legacy .hdv2-faq__title {
    max-width: 34rem;
    margin: 0 0 2rem;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--hdv2-home-text-strong);
}

.hdv2-home-legacy .hdv2-faq__accordion {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 1rem;
    background: var(--hdv2-home-surface);
}

.hdv2-home-legacy .hdv2-faq__item {
    border-bottom: 1px solid var(--hdv2-home-border);
    transition: background-color 0.18s ease;
}

.hdv2-home-legacy .hdv2-faq__item:last-child {
    border-bottom: 0;
}

.hdv2-home-legacy .hdv2-faq__item[data-state="open"] {
    background: var(--hdv2-home-primary-soft);
}

.hdv2-home-legacy .hdv2-faq__header {
    margin: 0;
}

.hdv2-home-legacy .hdv2-faq__trigger {
    display: flex;
    width: 100%;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 1.35rem 1.5rem;
    border: 0;
    color: var(--hdv2-home-text-strong);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 0.18s ease;
}

.hdv2-home-legacy .hdv2-faq__trigger:hover {
    color: var(--hdv2-home-primary);
}

.hdv2-home-legacy .hdv2-faq__trigger:focus {
    outline: none;
}

.hdv2-home-legacy .hdv2-faq__trigger:focus-visible {
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--hdv2-home-primary) 28%, transparent);
}

.hdv2-home-legacy .hdv2-faq__trigger-text {
    min-width: 0;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.hdv2-home-legacy .hdv2-faq__chevron {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hdv2-home-border);
    border-radius: 50%;
    color: var(--hdv2-home-muted);
    background: var(--hdv2-home-surface);
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.hdv2-home-legacy .hdv2-faq__chevron svg {
    width: 1rem;
    height: 1rem;
}

.hdv2-home-legacy .hdv2-faq__item[data-state="open"] .hdv2-faq__chevron {
    border-color: var(--hdv2-home-primary);
    color: hsl(0 0% 100%);
    background: var(--hdv2-home-primary);
    transform: rotate(180deg);
}

.hdv2-home-legacy .hdv2-faq__content {
    height: 0;
    overflow: hidden;
    transition: height 0.28s ease;
}

.hdv2-home-legacy .hdv2-faq__content--instant {
    transition: none;
}

.hdv2-home-legacy .hdv2-faq__item--instant .hdv2-faq__chevron {
    transition: none;
}

.hdv2-home-legacy .hdv2-faq__content-inner {
    padding: 0 4.5rem 1.5rem 1.5rem;
}

.hdv2-home-legacy .hdv2-faq__content-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--hdv2-home-muted);
}

.hdv2-home-legacy .hdv2-faq__cta {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    min-height: 7.25rem;
    margin-top: 3rem;
    padding: 2rem 2.25rem;
    box-sizing: border-box;
    border-radius: 1rem;
    color: hsl(214 32% 91%);
    background: hsl(222 47% 11%);
}

.hdv2-home-legacy .hdv2-faq__cta-copy {
    min-width: 0;
}

.hdv2-home-legacy .hdv2-faq__cta-title {
    margin: 0;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.35;
    color: hsl(0 0% 100%);
}

.hdv2-home-legacy .hdv2-faq__cta-desc {
    margin: 0.45rem 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: hsl(215 20% 72%);
}

.hdv2-home-legacy .hdv2-faq__cta-button {
    display: inline-flex;
    min-height: 3rem;
    flex: 0 0 auto;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid hsl(0 0% 100% / 0.18);
    border-radius: 0.65rem;
    font-size: 14px;
    font-weight: 650;
    color: hsl(222 47% 11%);
    text-decoration: none;
    background: hsl(0 0% 100%);
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.hdv2-home-legacy .hdv2-faq__cta-button svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
}

.hdv2-home-legacy .hdv2-faq__cta-button:hover {
    color: hsl(221 83% 53%);
    background: hsl(214 100% 97%);
    transform: translateY(-1px);
}

.hdv2-home-legacy .hdv2-faq__cta-button:hover svg {
    transform: translateX(3px);
}

.hdv2-home-legacy .hdv2-faq__cta-button:focus-visible {
    outline: 3px solid hsl(213 94% 68% / 0.5);
    outline-offset: 3px;
}

:root[data-hdv2-theme="dark"] .hdv2-home-legacy .hdv2-faq__image {
    filter: grayscale(100%) contrast(1.05);
    box-shadow: 0 18px 45px hsl(0 0% 0% / 0.28);
}

:root[data-hdv2-theme="dark"] .hdv2-home-legacy .hdv2-faq__cta {
    border: 1px solid hsl(0 0% 100% / 0.08);
    background: hsl(222 47% 9%);
}

@media (max-width: 900px) {
    .hdv2-home-legacy .hdv2-faq__layout {
        grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
        gap: 3rem;
    }
}

@media (max-width: 760px) {
    .hdv2-home-legacy .hdv2-faq {
        margin-bottom: 4rem;
    }

    .hdv2-home-legacy .hdv2-faq .hdv2-home__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hdv2-home-legacy .hdv2-faq__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        align-items: stretch;
    }

    .hdv2-home-legacy .hdv2-faq__media,
    .hdv2-home-legacy .hdv2-faq__media-frame,
    .hdv2-home-legacy .hdv2-faq__panel,
    .hdv2-home-legacy .hdv2-faq__title,
    .hdv2-home-legacy .hdv2-faq__accordion,
    .hdv2-home-legacy .hdv2-faq__cta {
        width: 100%;
        max-width: none;
    }

    .hdv2-home-legacy .hdv2-faq__media {
        justify-content: stretch;
    }

    .hdv2-home-legacy .hdv2-faq__media-frame {
        padding: 0.65rem;
        box-sizing: border-box;
    }

    .hdv2-home-legacy .hdv2-faq__media-frame::before {
        inset: 0;
    }

    .hdv2-home-legacy .hdv2-faq__image {
        max-height: none;
        aspect-ratio: 16 / 10;
        object-position: center 42%;
    }

    .hdv2-home-legacy .hdv2-faq__panel {
        min-height: 0;
        justify-content: flex-start;
    }

    .hdv2-home-legacy .hdv2-faq__title {
        margin-bottom: 1.25rem;
    }

    .hdv2-home-legacy .hdv2-faq__cta {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .hdv2-home-legacy .hdv2-faq__title {
        margin-bottom: 1.25rem;
        font-size: 30px;
    }

    .hdv2-home-legacy .hdv2-faq__trigger {
        padding: 1.1rem 1.15rem;
    }

    .hdv2-home-legacy .hdv2-faq__content-inner {
        padding: 0 1.15rem 1.25rem;
    }

    .hdv2-home-legacy .hdv2-faq__cta {
        flex-direction: column;
        min-height: 0;
        padding: 1.5rem 1.15rem;
    }

    .hdv2-home-legacy .hdv2-faq__cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hdv2-home-legacy .hdv2-faq__layout {
        gap: 1.75rem;
    }

    .hdv2-home-legacy .hdv2-faq__media-frame {
        padding: 0.5rem;
    }

    .hdv2-home-legacy .hdv2-faq__trigger-text {
        font-size: 14px;
    }

    .hdv2-home-legacy .hdv2-faq__cta-title {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdv2-home-legacy .hdv2-faq__item,
    .hdv2-home-legacy .hdv2-faq__trigger,
    .hdv2-home-legacy .hdv2-faq__chevron,
    .hdv2-home-legacy .hdv2-faq__content,
    .hdv2-home-legacy .hdv2-faq__cta-button,
    .hdv2-home-legacy .hdv2-faq__cta-button svg {
        transition: none;
    }

    .hdv2-home-legacy .hdv2-faq__cta-button:hover {
        transform: none;
    }
}
