/* Homepage finishing layer: retain approved composition, artwork and copy. */
.has-video-hero {
    --home-ease: cubic-bezier(.22,.61,.36,1);
    --home-focus: #13a9c3;
}
.has-video-hero :is(.mh-activities-heading>p,.mh-activity-copy p,.mh-why-card p,.mh-ai-demo-card p,.mh-ai-demo-note,.mh-rec-person p) {
    font-weight:500;
}
.has-video-hero :is(.mh-activities-heading h2,.mh-market-copy h2,.mh-why-heading h2,.mh-ai-heading h2,.mh-rec-heading h2) {
    text-wrap:balance;
}
.has-video-hero :is(.mh-activity-copy p,.mh-why-card p,.mh-ai-demo-card p,.mh-rec-heading p) {
    text-wrap:pretty;
}
.has-video-hero :is(.mh-activities,.mh-why,.mh-ai-demo) {
    box-shadow:none;
}
.has-video-hero .mahalla-video-hero { box-shadow:none; }
.has-video-hero .mh-market {width:100%;min-width:0;}
.has-video-hero .strip-items {flex-wrap:wrap;row-gap:10px;min-width:0;}
.has-video-hero .mh-activity-card {
    border-color:#dce7ee;
    box-shadow:0 2px 0 -1px #bad4df,0 12px 25px -12px #123f5a18;
    transition:transform .28s var(--home-ease),box-shadow .28s var(--home-ease),border-color .28s;
}
.has-video-hero .mh-activity-card img { filter:drop-shadow(0 10px 8px #153e5718); }
.has-video-hero .mh-activity-copy p { font-size:16px;line-height:1.85; }
.has-video-hero .mh-why-card {
    box-shadow:inset 0 1px 0 #fff,0 3px 0 -1px #c2dee6,0 15px 28px -13px #17465e18;
}
.has-video-hero .mh-why-art {
    box-shadow:inset 0 2px 3px #ffffffee,inset 0 -1px 2px #91aab51c,0 8px 16px -8px #183e5a30;
}
.has-video-hero .mh-ai-search {
    border-color:#a8e2e9;
    box-shadow:inset 0 0 0 4px #fff,0 3px 0 -1px #c2edf0,0 12px 32px -12px #0795ab35;
}
.has-video-hero .mh-ai-search input { cursor:default; }
.has-video-hero .mh-ai-mascot { mix-blend-mode:multiply; }
.has-video-hero .mh-ai-demo-card {
    border-top-color:#fff;
    box-shadow:inset 0 1px 0 #fff,0 3px 0 -2px #bfdce5,0 12px 28px -10px #0b5e7620;
}
.has-video-hero .mh-ai-demo-card p {font-size:15px;line-height:1.9;}
.has-video-hero .mh-ai-demo-note {line-height:1.9;margin-top:22px;}
.has-video-hero .mh-rec-panel {
    background:radial-gradient(ellipse at 0 0,#e4ffff12,transparent 65%),linear-gradient(130deg,#e6fdff25,#60c9de0e);
    box-shadow:inset 0 1px 0 #ecffff8c,inset 0 -1px 0 #8ce0ef1a,0 20px 45px -12px #00152470;
}
.has-video-hero .mh-rec-row {
    box-shadow:inset 0 1px 0 #e6fcff0c,0 4px 14px -8px #001c3540;
}
.has-video-hero .mh-rec-person p {color:#bed8e2;line-height:1.75;}
.has-video-hero .mh-rec-rating small {color:#b6d6e0;font-size:10px;}
.has-video-hero .mh-rec-disclaimer {line-height:1.9;color:#b5d0dc;font-size:11px;}
.has-video-hero :is(.mh-ai-examples button,.mh-rec-tabs button) {
    min-height:36px;
    transition:background .2s,border-color .2s,box-shadow .2s,transform .2s var(--home-ease);
}
.has-video-hero :is(.mh-ai-examples button,.mh-rec-tabs button)[aria-pressed="true"] {
    box-shadow:inset 0 1px 0 #ffffff30,0 3px 8px -4px #064c6b35;
}
.has-video-hero :is(.mahalla-hero-cta,.mahalla-hero-playback,.mh-activities-actions a,.mh-market-actions a,.mh-ai-search button,.mh-ai-download,.mh-rec-cta) {
    transition:transform .24s var(--home-ease),box-shadow .24s var(--home-ease),border-color .24s,background .24s;
}
.has-video-hero :is(.mh-ai-download,.mh-rec-cta) {min-height:46px;}
.has-video-hero :is(.mh-activity-card,.mh-activities-actions a,.mh-market-actions a,.mh-ai-search button,.mh-ai-examples button,.mh-rec-tabs button,.mh-ai-download,.mh-rec-cta):focus-visible {
    outline:3px solid var(--home-focus);outline-offset:4px;
}
.has-video-hero .mh-rec :is(a,button):focus-visible {outline-color:#a2f6ff;}
.has-video-hero .mh-rec+.discovery-strip {border-top:1px solid #9ed5df;}
@media(hover:hover) and (pointer:fine) {
    .has-video-hero .mh-activity-card:hover {border-color:#77c6d7;box-shadow:0 3px 0 -1px #a3d8e2,0 18px 32px -14px #0f648334;}
    .has-video-hero .mh-ai-demo-card:hover {box-shadow:inset 0 1px 0 #fff,0 3px 0 -2px #a9d4df,0 17px 30px -12px #0b5e7630;}
}
@media(prefers-reduced-motion:no-preference) {
    .has-video-hero :is(.mh-activities-actions a,.mh-market-actions a,.mh-ai-search button,.mh-ai-examples button,.mh-rec-tabs button,.mh-ai-download,.mh-rec-cta):active {transform:translateY(1px) scale(.98);}
}
@media(max-width:650px) {
    .has-video-hero :is(.mh-ai-examples button,.mh-rec-tabs button) {min-height:44px;}
    .has-video-hero .mh-activity-copy p {font-size:15px;}
    .has-video-hero .mh-ai-demo-card p {font-size:14px;}
    .has-video-hero .mh-activities-actions {gap:12px;}
    .has-video-hero .mh-rec-tabs {gap:6px;}
    .has-video-hero .mh-rec-tabs button {padding-inline:11px;}
    .has-video-hero .mh-rec-disclaimer {font-size:10px;}
}
@media(min-width:769px) and (max-width:1050px) {
    .has-video-hero .mobile-toggle {display:grid;}
    .has-video-hero .site-nav {display:none;position:absolute;top:84px;inset-inline:0;padding:20px 24px;background:#061f34;border-bottom:1px solid #264356;box-shadow:0 16px 30px #001b3530;flex-direction:column;align-items:stretch;gap:16px;}
    .has-video-hero .site-nav.is-open {display:flex;}
    .has-video-hero .site-nav a::after {display:none;}
}
html.dark .has-video-hero .mh-activity-card {border-color:#294557;box-shadow:inset 0 1px 0 #b9e7ff07,0 12px 25px -12px #0005;}
html.dark .has-video-hero .mh-why-card {box-shadow:inset 0 1px 0 #b9e7ff09,0 3px 0 -1px #294956,0 15px 28px -13px #0005;}
/* These two artwork-based scenes intentionally keep their approved light canvas in both themes. */
@media(prefers-reduced-motion:reduce) {
    .has-video-hero :is(.mh-activity-card,.mh-why-card,.mh-ai-demo-card,.mh-activities-actions a,.mh-market-actions a,.mh-ai-search button,.mh-ai-examples button,.mh-rec-tabs button,.mh-ai-download,.mh-rec-cta) {transition:none;}
}
