/* HyperDAF Premium About Us page. Theme-owned static-page presentation only. */
.hdf-about {
    background: var(--hdf-color-page);
    color: var(--hdf-color-text);
}

.hdf-about__frame {
    box-sizing: border-box;
    width: min(100%, var(--hdf-about-content-width, 1120px));
    max-width: var(--hdf-about-content-width, 1120px);
    margin-inline: auto;
    padding-block: 34px 52px;
}

.hdf-about-section,
.hdf-about-hero {
    box-sizing: border-box;
    min-width: 0;
}

.hdf-about-section {
    margin-top: var(--hdf-about-section-gap, 28px);
}

.hdf-about-eyebrow {
    margin: 0 0 8px;
    color: var(--hdf-color-primary-hover);
    font-family: var(--hdf-font-ui);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hdf-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    align-items: stretch;
    gap: 18px;
    padding: clamp(26px, 3.5vw, 44px);
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: var(--hdf-about-card-radius, 16px);
    background: var(--hdf-about-hero-background, #FFF7ED);
}

.hdf-about-hero__copy {
    display: grid;
    align-content: center;
    min-width: 0;
}

.hdf-about-hero h1,
.hdf-about-section h2 {
    margin: 0;
    color: var(--hdf-color-heading, var(--hdf-color-text));
    font-family: var(--hdf-font-heading);
    font-weight: 700;
    letter-spacing: -.025em;
}

.hdf-about-hero h1 {
    max-width: 13ch;
    font-size: var(--hdf-about-title-size, 46px);
    line-height: 1.06;
}

.hdf-about-hero__intro {
    max-width: 62ch;
    margin: 16px 0 0;
    color: var(--hdf-color-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.hdf-about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.hdf-about-button {
    display: inline-flex;
    box-sizing: border-box;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: max(9px, calc(var(--hdf-about-card-radius, 16px) - 6px));
    font-family: var(--hdf-font-ui);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color var(--hdf-transition), background-color var(--hdf-transition), color var(--hdf-transition);
}

.hdf-about-button--primary,
.hdf-about-button--primary:visited {
    border-color: var(--hdf-color-primary-hover);
    background: var(--hdf-color-primary);
    color: var(--hdf-color-on-primary);
}

.hdf-about-button--primary:hover,
.hdf-about-button--primary:focus-visible {
    border-color: var(--hdf-color-primary-hover);
    background: var(--hdf-color-primary-hover);
    color: var(--hdf-color-on-primary-hover, var(--hdf-color-on-primary));
}

.hdf-about-button--secondary,
.hdf-about-button--secondary:visited {
    border-color: var(--hdf-about-border, var(--hdf-color-border));
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
    color: var(--hdf-color-text);
}

.hdf-about-button--secondary:hover,
.hdf-about-button--secondary:focus-visible {
    border-color: var(--hdf-color-primary);
    background: color-mix(in srgb, var(--hdf-color-primary) 7%, var(--hdf-about-card-background, var(--hdf-color-surface)));
    color: var(--hdf-color-primary-hover);
}

.hdf-about-hero__visual {
    position: relative;
    display: grid;
    align-content: center;
    min-width: 0;
    gap: 10px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--hdf-color-primary) 22%, var(--hdf-about-border, var(--hdf-color-border)));
    border-radius: max(12px, calc(var(--hdf-about-card-radius, 16px) - 2px));
    background: color-mix(in srgb, var(--hdf-about-card-background, #FFFFFF) 88%, transparent);
}

.hdf-about-hero__visual.has-image {
    align-content: end;
    min-height: 360px;
}

.hdf-about-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdf-about-assurances {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
    padding: 14px;
}

.hdf-about-hero__visual.has-image .hdf-about-assurances {
    margin: 12px;
    border: 1px solid color-mix(in srgb, var(--hdf-about-border, var(--hdf-color-border)) 85%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--hdf-about-card-background, #FFFFFF) 92%, transparent);
}

.hdf-about-assurance,
.hdf-about-story__highlights article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: 11px;
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
}

.hdf-about-icon {
    display: grid;
    box-sizing: border-box;
    width: 38px;
    height: 38px;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid color-mix(in srgb, var(--hdf-color-primary) 42%, var(--hdf-about-border, var(--hdf-color-border)));
    border-radius: 10px;
    background: color-mix(in srgb, var(--hdf-color-primary) 7%, var(--hdf-about-card-background, var(--hdf-color-surface)));
    color: var(--hdf-color-primary-hover);
}

.hdf-about-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
}

.hdf-about-assurance__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.hdf-about-assurance strong,
.hdf-about-story__highlights strong,
.hdf-about-value-card strong,
.hdf-about-process-card strong,
.hdf-about-category-card > strong {
    color: var(--hdf-color-text);
    font-family: var(--hdf-font-heading);
    font-weight: 700;
}

.hdf-about-assurance strong {
    font-size: .78rem;
}

.hdf-about-assurance small {
    color: var(--hdf-color-muted);
    font-size: .67rem;
    line-height: 1.4;
}

.hdf-about-section-heading {
    max-width: 720px;
    margin: 0 auto 18px;
    text-align: center;
}

.hdf-about-section-heading--left {
    margin: 0;
    text-align: start;
}

.hdf-about-section h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.18;
}

.hdf-about-section-heading > p:last-child,
.hdf-about-cta > div > p:last-child {
    margin: 10px 0 0;
    color: var(--hdf-color-muted);
    font-size: .88rem;
    line-height: 1.62;
}

.hdf-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    grid-template-areas:
        "copy visual"
        "highlights visual";
    gap: 14px 20px;
    padding: 24px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: var(--hdf-about-card-radius, 16px);
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
}

.hdf-about-story .hdf-about-section-heading {
    grid-area: copy;
}

.hdf-about-story__visual {
    grid-area: visual;
    display: grid;
    min-height: 260px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: 12px;
    background: var(--hdf-about-subtle-background, var(--hdf-color-subtle));
}

.hdf-about-story__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hdf-about-story__mark {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--hdf-color-primary) 46%, var(--hdf-about-border, var(--hdf-color-border)));
    border-radius: 24px;
    background: var(--hdf-about-card-background, #FFFFFF);
    color: var(--hdf-color-primary-hover);
}

.hdf-about-story__mark svg {
    width: 44px;
    height: 44px;
}

.hdf-about-story__highlights {
    grid-area: highlights;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hdf-about-story__highlights article {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    padding: 10px;
}

.hdf-about-story__highlights .hdf-about-icon {
    width: 34px;
    height: 34px;
}

.hdf-about-story__highlights .hdf-about-icon svg {
    width: 17px;
    height: 17px;
}

.hdf-about-story__highlights strong {
    display: block;
    font-size: .75rem;
    line-height: 1.3;
}

.hdf-about-story__highlights p {
    margin: 3px 0 0;
    color: var(--hdf-color-muted);
    font-size: .66rem;
    line-height: 1.4;
}

.hdf-about-marketplace,
.hdf-about-values,
.hdf-about-process {
    padding: 24px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: var(--hdf-about-card-radius, 16px);
    background: var(--hdf-about-subtle-background, var(--hdf-color-subtle));
}

.hdf-about-category-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--hdf-about-card-gap, 12px);
}

.hdf-about-category-card,
.hdf-about-category-card:visited {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 9px;
    padding: 15px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: 12px;
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
    color: var(--hdf-color-text);
    text-decoration: none;
    transition: border-color var(--hdf-transition), background-color var(--hdf-transition), color var(--hdf-transition);
}

.hdf-about-category-card:hover,
.hdf-about-category-card:focus-visible {
    border-color: color-mix(in srgb, var(--hdf-color-primary) 62%, var(--hdf-about-border, var(--hdf-color-border)));
    background: color-mix(in srgb, var(--hdf-color-primary) 5%, var(--hdf-about-card-background, var(--hdf-color-surface)));
    color: var(--hdf-color-primary-hover);
}

.hdf-about-category-card > strong {
    font-size: .82rem;
}

.hdf-about-category-card > small {
    min-height: 4.2em;
    color: var(--hdf-color-muted);
    font-size: .67rem;
    line-height: 1.4;
}

.hdf-about-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    color: var(--hdf-color-primary-hover);
    font-size: .68rem;
    font-weight: 700;
}

.hdf-about-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hdf-about-card-gap, 12px);
}

.hdf-about-value-card,
.hdf-about-process-card {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 9px;
    padding: 16px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: 12px;
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
}

.hdf-about-value-card strong,
.hdf-about-process-card strong {
    font-size: .8rem;
}

.hdf-about-value-card p,
.hdf-about-process-card p {
    margin: 0;
    color: var(--hdf-color-muted);
    font-size: .69rem;
    line-height: 1.48;
}

.hdf-about-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--hdf-about-card-gap, 12px);
}

.hdf-about-process-card {
    position: relative;
    padding-inline-end: 42px;
}

.hdf-about-process-card__number {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--hdf-color-primary) 45%, var(--hdf-about-border, var(--hdf-color-border)));
    border-radius: 50%;
    color: var(--hdf-color-primary-hover);
    font-size: .67rem;
    font-weight: 700;
}

.hdf-about-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: 12px;
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
}

.hdf-about-trust-strip > div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    text-align: center;
}

.hdf-about-trust-strip > div + div {
    border-inline-start: 1px solid var(--hdf-about-border, var(--hdf-color-border));
}

.hdf-about-trust-strip .hdf-about-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

.hdf-about-trust-strip .hdf-about-icon svg {
    width: 16px;
    height: 16px;
}

.hdf-about-trust-strip strong {
    min-width: 0;
    color: var(--hdf-color-text);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.hdf-about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 24px 26px;
    border: 1px solid color-mix(in srgb, var(--hdf-color-primary) 28%, var(--hdf-about-border, var(--hdf-color-border)));
    border-radius: var(--hdf-about-card-radius, 16px);
    background: var(--hdf-about-hero-background, #FFF7ED);
}

.hdf-about-cta h2 {
    font-size: clamp(1.35rem, 2.3vw, 1.9rem);
}

.hdf-about-cta__actions {
    margin-top: 0;
    justify-content: flex-end;
}

.hdf-about-editor-content {
    padding: 22px;
    border: 1px solid var(--hdf-about-border, var(--hdf-color-border));
    border-radius: var(--hdf-about-card-radius, 16px);
    background: var(--hdf-about-card-background, var(--hdf-color-surface));
}

@media (max-width: 1024px) {
    .hdf-about__frame {
        width: 100%;
        max-width: none;
        padding-inline: var(--hdf-about-tablet-padding-x, 24px);
    }

    .hdf-about-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
        padding: 28px;
    }

    .hdf-about-hero h1 {
        font-size: var(--hdf-about-tablet-title-size, 38px);
    }

    .hdf-about-category-rail {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: var(--hdf-about-card-gap, 12px);
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hdf-about-category-rail::-webkit-scrollbar {
        display: none;
    }

    .hdf-about-category-card {
        flex: 0 0 calc((100% - (var(--hdf-about-card-gap, 12px) * 1.5)) / 2.5);
        max-width: calc((100% - (var(--hdf-about-card-gap, 12px) * 1.5)) / 2.5);
        min-width: calc((100% - (var(--hdf-about-card-gap, 12px) * 1.5)) / 2.5);
        scroll-snap-align: start;
    }

    .hdf-about-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hdf-about__frame {
        padding-block: 22px 36px;
        padding-inline: var(--hdf-about-mobile-padding-x, 16px);
    }

    .hdf-about-hero {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }

    .hdf-about-hero h1 {
        max-width: none;
        font-size: var(--hdf-about-mobile-title-size, 32px);
    }

    .hdf-about-hero__intro {
        font-size: .86rem;
    }

    .hdf-about-hero__visual.has-image {
        min-height: 310px;
    }

    .hdf-about-assurances {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 10px;
    }

    .hdf-about-assurance {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 6px;
        padding: 9px 6px;
        text-align: center;
    }

    .hdf-about-assurance__copy {
        justify-items: center;
    }

    .hdf-about-assurance strong {
        font-size: .64rem;
        white-space: nowrap;
    }

    .hdf-about-assurance small {
        display: none;
    }

    .hdf-about-story {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "visual"
            "highlights";
        padding: 18px;
    }

    .hdf-about-story__visual {
        min-height: 220px;
    }

    .hdf-about-marketplace,
    .hdf-about-values,
    .hdf-about-process {
        padding: 18px;
    }

    .hdf-about-category-card {
        flex-basis: calc((100% - (var(--hdf-about-card-gap, 12px) * .5)) / 1.5);
        max-width: calc((100% - (var(--hdf-about-card-gap, 12px) * .5)) / 1.5);
        min-width: calc((100% - (var(--hdf-about-card-gap, 12px) * .5)) / 1.5);
    }

    .hdf-about-category-card > small {
        min-height: 0;
    }

    .hdf-about-process-grid {
        grid-template-columns: 1fr;
    }

    .hdf-about-trust-strip > div {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 5px;
        padding: 9px 5px;
    }

    .hdf-about-trust-strip strong {
        font-size: .62rem;
    }

    .hdf-about-cta {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hdf-about-cta__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .hdf-about-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .hdf-about-button {
        width: 100%;
        min-width: 0;
        padding-inline: 10px;
        font-size: .72rem;
        white-space: nowrap;
    }

    .hdf-about-story__highlights {
        grid-template-columns: 1fr;
    }

    .hdf-about-value-grid {
        grid-template-columns: 1fr;
    }

    .hdf-about-trust-strip .hdf-about-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .hdf-about-trust-strip .hdf-about-icon svg {
        width: 14px;
        height: 14px;
    }
}
